You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Service Catalog UpdateProvisionedArtifact API takes new template inputs to be passed onto CloudFormation in the field ProvisioningParametes. Boto3 applies an incorrect client-side check on the structure of the field, seemingly meant for the structure of the entire requests. This breaks upgrading any provisioned products via boto3, as the field defaults to no parameters AWS-side.
API doc: https://docs.aws.amazon.com/servicecatalog/latest/dg/API_UpdateProvisionedProduct.html
Expected Behavior
Correct check, or no check, is applied. This invocaton is valid:
Hi @f0ff-s8 thanks for reaching out. It looks like you have a typo there, ProvisioningParametes which should be ProvisioningParameters. Please try updating the spelling and let us know if you run into any further issues.
tim-finnigan
added
closing-soon
This issue will automatically close in 4 days unless further comments are made.
and removed
bug
This issue is a confirmed bug.
needs-triage
This issue or PR still needs to be triaged.
labels
Jul 6, 2023
Describe the bug
Service Catalog UpdateProvisionedArtifact API takes new template inputs to be passed onto CloudFormation in the field ProvisioningParametes. Boto3 applies an incorrect client-side check on the structure of the field, seemingly meant for the structure of the entire requests. This breaks upgrading any provisioned products via boto3, as the field defaults to no parameters AWS-side.
API doc: https://docs.aws.amazon.com/servicecatalog/latest/dg/API_UpdateProvisionedProduct.html
Expected Behavior
Correct check, or no check, is applied. This invocaton is valid:
Current Behavior
client._serializer.serialize_to_request throws botocore.exceptions.ParamValidationError: Parameter validation failed:
Unknown parameter in input: "ProvisioningParametes", must be one of: AcceptLanguage, ProvisionedProductName, ProvisionedProductId, ProductId, ProductName, ProvisioningArtifactId, ProvisioningArtifactName, PathId, PathName, ProvisioningParameters, ProvisioningPreferences, Tags, UpdateToken
Reproduction Steps
Try to pass ProvisioningParameters to an upgrade operation.
Possible Solution
No response
Additional Information/Context
This is a correct API call, I've verified by inspecting API calls made by the console - it works as documented.
SDK version used
1.27.0
Environment details (OS name and version, etc.)
Linux
The text was updated successfully, but these errors were encountered: