Skip to content

Commit 29090b3

Browse files
author
awstools
committed
feat(client-cloudformation): Add new warning type 'EXCLUDED_PROPERTIES'
1 parent 5f85002 commit 29090b3

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

clients/client-cloudformation/src/commands/DescribeGeneratedTemplateCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export interface DescribeGeneratedTemplateCommandOutput extends DescribeGenerate
5757
* // ResourceStatusReason: "STRING_VALUE",
5858
* // Warnings: [ // WarningDetails
5959
* // { // WarningDetail
60-
* // Type: "MUTUALLY_EXCLUSIVE_PROPERTIES" || "UNSUPPORTED_PROPERTIES" || "MUTUALLY_EXCLUSIVE_TYPES",
60+
* // Type: "MUTUALLY_EXCLUSIVE_PROPERTIES" || "UNSUPPORTED_PROPERTIES" || "MUTUALLY_EXCLUSIVE_TYPES" || "EXCLUDED_PROPERTIES",
6161
* // Properties: [ // WarningProperties
6262
* // { // WarningProperty
6363
* // PropertyPath: "STRING_VALUE",

clients/client-cloudformation/src/models/models_0.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4408,6 +4408,7 @@ export interface WarningProperty {
44084408
* @enum
44094409
*/
44104410
export const WarningType = {
4411+
EXCLUDED_PROPERTIES: "EXCLUDED_PROPERTIES",
44114412
MUTUALLY_EXCLUSIVE_PROPERTIES: "MUTUALLY_EXCLUSIVE_PROPERTIES",
44124413
MUTUALLY_EXCLUSIVE_TYPES: "MUTUALLY_EXCLUSIVE_TYPES",
44134414
UNSUPPORTED_PROPERTIES: "UNSUPPORTED_PROPERTIES",
@@ -4832,7 +4833,7 @@ export interface ScanFilter {
48324833
* the full list of supported resource types, see the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html">Resource type
48334834
* support</a> table in the <i>CloudFormation User Guide</i>.</p>
48344835
* <p>To scan all resource types within a service, you can use a wildcard, represented by an
4835-
* asterisk (<code>*</code>). You can place a asterisk at only the end of the string, for example,
4836+
* asterisk (<code>*</code>). You can place an asterisk at only the end of the string, for example,
48364837
* <code>AWS::S3::*</code>.</p>
48374838
* @public
48384839
*/

codegen/sdk-codegen/aws-models/cloudformation.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11847,7 +11847,7 @@
1184711847
"Types": {
1184811848
"target": "com.amazonaws.cloudformation#ResourceTypeFilters",
1184911849
"traits": {
11850-
"smithy.api#documentation": "<p>An array of strings where each string represents an Amazon Web Services resource type you want to scan.\n Each string defines the resource type using the format\n <code>AWS::ServiceName::ResourceType</code>, for example, <code>AWS::DynamoDB::Table</code>. For\n the full list of supported resource types, see the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html\">Resource type\n support</a> table in the <i>CloudFormation User Guide</i>.</p>\n <p>To scan all resource types within a service, you can use a wildcard, represented by an\n asterisk (<code>*</code>). You can place a asterisk at only the end of the string, for example,\n <code>AWS::S3::*</code>.</p>"
11850+
"smithy.api#documentation": "<p>An array of strings where each string represents an Amazon Web Services resource type you want to scan.\n Each string defines the resource type using the format\n <code>AWS::ServiceName::ResourceType</code>, for example, <code>AWS::DynamoDB::Table</code>. For\n the full list of supported resource types, see the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html\">Resource type\n support</a> table in the <i>CloudFormation User Guide</i>.</p>\n <p>To scan all resource types within a service, you can use a wildcard, represented by an\n asterisk (<code>*</code>). You can place an asterisk at only the end of the string, for example,\n <code>AWS::S3::*</code>.</p>"
1185111851
}
1185211852
}
1185311853
},
@@ -16722,6 +16722,12 @@
1672216722
"traits": {
1672316723
"smithy.api#enumValue": "MUTUALLY_EXCLUSIVE_TYPES"
1672416724
}
16725+
},
16726+
"EXCLUDED_PROPERTIES": {
16727+
"target": "smithy.api#Unit",
16728+
"traits": {
16729+
"smithy.api#enumValue": "EXCLUDED_PROPERTIES"
16730+
}
1672516731
}
1672616732
}
1672716733
},

0 commit comments

Comments
 (0)