aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap

[AWS::SageMaker::ModelPackage] - [BUG] - ClientToken without apparent purpose in CloudFormation context

Open
#2,452 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
No language data
Stars
1.1k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

### Name of the resource

AWS::SageMaker::ModelPackage

### Resource Name

AWS::SageMaker::ModelPackage

### Issue Description

The [resource parameters ](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-sagemaker-modelpackage.html)include ClientToken with the description `A unique token that guarantees that the call to this API is idempotent.`

I think this does not make sense in the CloudFormation context and is just a copied over remnant from the [CreateModelPackage API](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateModelPackage.html). For the API it makes sense to be idempotent, but not for the deployment model of Cloudformation.
If it serves no purpose, it should be removed.

### Expected Behavior

ClientToken having a purpose or not be a parameter.

### Observed Behavior

ClientToken being a parameter without apparent purpose.

### Test Cases

documented resource parameters

### Other Details

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.