Skip to content

Commit

Permalink
feat(client-service-catalog): This release adds ProvisioningArtifictO…
Browse files Browse the repository at this point in the history
…utputKeys to DescribeProvisioningParameters to reference the outputs of a Provisioned Product and deprecates ProvisioningArtifactOutputs.
  • Loading branch information
awstools committed Apr 4, 2022
1 parent 0964244 commit 2ef44bc
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 16 deletions.
7 changes: 7 additions & 0 deletions clients/client-service-catalog/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4253,9 +4253,16 @@ export interface DescribeProvisioningParametersOutput {
ProvisioningArtifactPreferences?: ProvisioningArtifactPreferences;

/**
* @deprecated
*
* <p>The output of the provisioning artifact.</p>
*/
ProvisioningArtifactOutputs?: ProvisioningArtifactOutput[];

/**
* <p>A list of the keys and descriptions of the outputs. These outputs can be referenced from a provisioned product launched from this provisioning artifact.</p>
*/
ProvisioningArtifactOutputKeys?: ProvisioningArtifactOutput[];
}

export namespace DescribeProvisioningParametersOutput {
Expand Down
4 changes: 4 additions & 0 deletions clients/client-service-catalog/src/protocols/Aws_json1_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8019,6 +8019,10 @@ const deserializeAws_json1_1DescribeProvisioningParametersOutput = (
output.ConstraintSummaries !== undefined && output.ConstraintSummaries !== null
? deserializeAws_json1_1ConstraintSummaries(output.ConstraintSummaries, context)
: undefined,
ProvisioningArtifactOutputKeys:
output.ProvisioningArtifactOutputKeys !== undefined && output.ProvisioningArtifactOutputKeys !== null
? deserializeAws_json1_1ProvisioningArtifactOutputs(output.ProvisioningArtifactOutputKeys, context)
: undefined,
ProvisioningArtifactOutputs:
output.ProvisioningArtifactOutputs !== undefined && output.ProvisioningArtifactOutputs !== null
? deserializeAws_json1_1ProvisioningArtifactOutputs(output.ProvisioningArtifactOutputs, context)
Expand Down
41 changes: 25 additions & 16 deletions codegen/sdk-codegen/aws-models/service-catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,21 @@
"shapes": {
"com.amazonaws.servicecatalog#AWS242ServiceCatalogService": {
"type": "service",
"traits": {
"aws.api#service": {
"sdkId": "Service Catalog",
"arnNamespace": "servicecatalog",
"cloudFormationName": "ServiceCatalog",
"cloudTrailEventSource": "servicecatalog.amazonaws.com",
"endpointPrefix": "servicecatalog"
},
"aws.auth#sigv4": {
"name": "servicecatalog"
},
"aws.protocols#awsJson1_1": {},
"smithy.api#documentation": "<fullname>AWS Service Catalog</fullname>\n <p>\n <a href=\"https://aws.amazon.com/servicecatalog/\">AWS Service Catalog</a> enables\n organizations to create and manage catalogs of IT services that are approved for AWS. To\n get the most out of this documentation, you should be familiar with the terminology\n discussed in <a href=\"http://docs.aws.amazon.com/servicecatalog/latest/adminguide/what-is_concepts.html\">AWS Service Catalog\n Concepts</a>.</p>",
"smithy.api#title": "AWS Service Catalog"
},
"version": "2015-12-10",
"operations": [
{
Expand Down Expand Up @@ -294,22 +309,7 @@
{
"target": "com.amazonaws.servicecatalog#UpdateTagOption"
}
],
"traits": {
"aws.api#service": {
"sdkId": "Service Catalog",
"arnNamespace": "servicecatalog",
"cloudFormationName": "ServiceCatalog",
"cloudTrailEventSource": "servicecatalog.amazonaws.com",
"endpointPrefix": "servicecatalog"
},
"aws.auth#sigv4": {
"name": "servicecatalog"
},
"aws.protocols#awsJson1_1": {},
"smithy.api#documentation": "<fullname>AWS Service Catalog</fullname>\n <p>\n <a href=\"https://aws.amazon.com/servicecatalog/\">AWS Service Catalog</a> enables\n organizations to create and manage catalogs of IT services that are approved for AWS. To\n get the most out of this documentation, you should be familiar with the terminology\n discussed in <a href=\"http://docs.aws.amazon.com/servicecatalog/latest/adminguide/what-is_concepts.html\">AWS Service Catalog\n Concepts</a>.</p>",
"smithy.api#title": "AWS Service Catalog"
}
]
},
"com.amazonaws.servicecatalog#AcceptLanguage": {
"type": "string",
Expand Down Expand Up @@ -3144,8 +3144,17 @@
"ProvisioningArtifactOutputs": {
"target": "com.amazonaws.servicecatalog#ProvisioningArtifactOutputs",
"traits": {
"smithy.api#deprecated": {
"message": "This property is deprecated and returns the Id and Description of the Provisioning Artifact. Use ProvisioningArtifactOutputKeys instead to get the Keys and Descriptions of the outputs."
},
"smithy.api#documentation": "<p>The output of the provisioning artifact.</p>"
}
},
"ProvisioningArtifactOutputKeys": {
"target": "com.amazonaws.servicecatalog#ProvisioningArtifactOutputs",
"traits": {
"smithy.api#documentation": "<p>A list of the keys and descriptions of the outputs. These outputs can be referenced from a provisioned product launched from this provisioning artifact.</p>"
}
}
}
},
Expand Down

0 comments on commit 2ef44bc

Please sign in to comment.