Skip to content

Commit 228e362

Browse files
author
awstools
committed
feat(client-cloudformation): Add new warning type 'EXCLUDED_RESOURCES'
1 parent b9d0925 commit 228e362

File tree

8 files changed

+67
-60
lines changed

8 files changed

+67
-60
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export interface DeactivateTypeCommandOutput extends DeactivateTypeOutput, __Met
3131
* <p>Deactivates a public third-party extension, such as a resource or module, or a CloudFormation
3232
* Hook when you no longer use it.</p>
3333
* <p>Deactivating an extension deletes the configuration details that are associated with it.
34-
* To temporary disable a CloudFormation Hook instead, you can use <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SetTypeConfiguration.html">SetTypeConfiguration</a>.</p>
34+
* To temporarily disable a CloudFormation Hook instead, you can use <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SetTypeConfiguration.html">SetTypeConfiguration</a>.</p>
3535
* <p>Once deactivated, an extension can't be used in any CloudFormation operation. This includes
3636
* stack update operations where the stack template includes the extension, even if no updates
3737
* are being made to the extension. In addition, deactivated extensions aren't automatically

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

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

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ export interface DescribeTypeCommandOutput extends DescribeTypeOutput, __Metadat
3333
* <p>If you specify a <code>VersionId</code>, <code>DescribeType</code> returns information
3434
* about that specific extension version. Otherwise, it returns information about the default
3535
* extension version.</p>
36+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-set-configuration.html">Edit configuration
37+
* data for extensions in your account</a> in the
38+
* <i>CloudFormation User Guide</i>.</p>
3639
* @example
3740
* Use a bare-bones client and the command you need to make an API call.
3841
* ```javascript

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ export interface ListHookResultsCommandInput extends ListHookResultsInput {}
2828
export interface ListHookResultsCommandOutput extends ListHookResultsOutput, __MetadataBearer {}
2929

3030
/**
31-
* <p>Returns summaries of invoked Hooks. For more information, see <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/hooks-view-invocations.html">View CloudFormation Hooks
32-
* invocations</a> in the <i>CloudFormation Hooks User Guide</i>.</p>
31+
* <p>Returns summaries of invoked Hooks. For more information, see <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/hooks-view-invocations.html">View invocation
32+
* summaries for CloudFormation Hooks</a> in the <i>CloudFormation Hooks User Guide</i>.</p>
3333
* <p>This operation supports the following parameter combinations:</p>
3434
* <ul>
3535
* <li>

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

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,22 @@ export interface SetTypeConfigurationCommandInput extends SetTypeConfigurationIn
2828
export interface SetTypeConfigurationCommandOutput extends SetTypeConfigurationOutput, __MetadataBearer {}
2929

3030
/**
31-
* <p>Specifies the configuration data for a registered CloudFormation extension, in the given
32-
* account and Region.</p>
33-
* <p>To view the current configuration data for an extension, refer to the
34-
* <code>ConfigurationSchema</code> element of <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeType.html">DescribeType</a>. For
35-
* more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-set-configuration.html">Edit configuration
31+
* <p>Specifies the configuration data for a CloudFormation extension, such as a resource or Hook,
32+
* in the given account and Region.</p>
33+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-set-configuration.html">Edit configuration
3634
* data for extensions in your account</a> in the
3735
* <i>CloudFormation User Guide</i>.</p>
36+
* <p>To view the current configuration data for an extension, refer to the
37+
* <code>ConfigurationSchema</code> element of <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeType.html">DescribeType</a>.</p>
3838
* <important>
3939
* <p>It's strongly recommended that you use dynamic references to restrict sensitive
40-
* configuration definitions, such as third-party credentials. For more details on dynamic
41-
* references, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html">Specify values stored in
42-
* other services using dynamic references</a> in the
40+
* configuration definitions, such as third-party credentials. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html">Specify values stored in other services using dynamic references</a> in the
4341
* <i>CloudFormation User Guide</i>.</p>
4442
* </important>
43+
* <p>For more information about setting the configuration data for resource types, see <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-model.html#resource-type-howto-configuration">Defining the account-level configuration of an extension</a> in the
44+
* <i>CloudFormation Command Line Interface (CLI) User Guide</i>. For more information about setting the configuration
45+
* data for Hooks, see the <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/what-is-cloudformation-hooks.html">CloudFormation
46+
* Hooks User Guide</a>.</p>
4547
* @example
4648
* Use a bare-bones client and the command you need to make an API call.
4749
* ```javascript

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

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ export interface ActivateTypeInput {
273273
TypeName?: string | undefined;
274274

275275
/**
276-
* <p>An alias to assign to the public extension, in this account and Region. If you specify an
276+
* <p>An alias to assign to the public extension in this account and Region. If you specify an
277277
* alias for the extension, CloudFormation treats the alias as the extension type name within this
278278
* account and Region. You must use the alias to refer to the extension in your templates, API
279279
* calls, and CloudFormation console.</p>
@@ -341,7 +341,7 @@ export interface ActivateTypeInput {
341341
*/
342342
export interface ActivateTypeOutput {
343343
/**
344-
* <p>The Amazon Resource Name (ARN) of the activated extension, in this account and
344+
* <p>The Amazon Resource Name (ARN) of the activated extension in this account and
345345
* Region.</p>
346346
* @public
347347
*/
@@ -1830,17 +1830,15 @@ export interface RollbackConfiguration {
18301830
*/
18311831
export interface Tag {
18321832
/**
1833-
* <p>
1834-
* <i>Required</i>. A string used to identify this tag. You can specify a maximum of
1833+
* <p>A string used to identify this tag. You can specify a maximum of
18351834
* 128 characters for a tag key. Tags owned by Amazon Web Services have the reserved prefix:
18361835
* <code>aws:</code>.</p>
18371836
* @public
18381837
*/
18391838
Key: string | undefined;
18401839

18411840
/**
1842-
* <p>
1843-
* <i>Required</i>. A string that contains the value for this tag. You can specify a
1841+
* <p>A string that contains the value for this tag. You can specify a
18441842
* maximum of 256 characters for a tag value.</p>
18451843
* @public
18461844
*/
@@ -2361,7 +2359,7 @@ export interface TemplateConfiguration {
23612359
export interface CreateGeneratedTemplateInput {
23622360
/**
23632361
* <p>An optional list of resources to be included in the generated template.</p>
2364-
* <p> If no resources are specified,the template will be created without any resources.
2362+
* <p>If no resources are specified,the template will be created without any resources.
23652363
* Resources can be added to the template using the <code>UpdateGeneratedTemplate</code> API
23662364
* action.</p>
23672365
* @public
@@ -3613,7 +3611,7 @@ export interface DeactivateOrganizationsAccessOutput {}
36133611
*/
36143612
export interface DeactivateTypeInput {
36153613
/**
3616-
* <p>The type name of the extension, in this account and Region. If you specified a type name
3614+
* <p>The type name of the extension in this account and Region. If you specified a type name
36173615
* alias when enabling the extension, use the type name alias.</p>
36183616
* <p>Conditional: You must specify either <code>Arn</code>, or <code>TypeName</code> and
36193617
* <code>Type</code>.</p>
@@ -3630,7 +3628,7 @@ export interface DeactivateTypeInput {
36303628
Type?: ThirdPartyType | undefined;
36313629

36323630
/**
3633-
* <p>The Amazon Resource Name (ARN) for the extension, in this account and Region.</p>
3631+
* <p>The Amazon Resource Name (ARN) for the extension in this account and Region.</p>
36343632
* <p>Conditional: You must specify either <code>Arn</code>, or <code>TypeName</code> and
36353633
* <code>Type</code>.</p>
36363634
* @public
@@ -4429,6 +4427,7 @@ export interface WarningProperty {
44294427
*/
44304428
export const WarningType = {
44314429
EXCLUDED_PROPERTIES: "EXCLUDED_PROPERTIES",
4430+
EXCLUDED_RESOURCES: "EXCLUDED_RESOURCES",
44324431
MUTUALLY_EXCLUSIVE_PROPERTIES: "MUTUALLY_EXCLUSIVE_PROPERTIES",
44334432
MUTUALLY_EXCLUSIVE_TYPES: "MUTUALLY_EXCLUSIVE_TYPES",
44344433
UNSUPPORTED_PROPERTIES: "UNSUPPORTED_PROPERTIES",
@@ -7699,8 +7698,9 @@ export interface DescribeTypeOutput {
76997698

77007699
/**
77017700
* <p>The schema that defines the extension.</p>
7702-
* <p>For more information about extension schemas, see <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html">Resource type
7703-
* schema</a> in the <i>CloudFormation Command Line Interface (CLI) User Guide</i>.</p>
7701+
* <p>For more information, see <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html">Resource type
7702+
* schema</a> in the <i>CloudFormation Command Line Interface (CLI) User Guide</i> and the <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/what-is-cloudformation-hooks.html">CloudFormation
7703+
* Hooks User Guide</a>.</p>
77047704
* @public
77057705
*/
77067706
Schema?: string | undefined;
@@ -7850,9 +7850,7 @@ export interface DescribeTypeOutput {
78507850
/**
78517851
* <p>A JSON string that represent the current configuration data for the extension in this
78527852
* account and Region.</p>
7853-
* <p>To set the configuration data for an extension, use <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SetTypeConfiguration.html">SetTypeConfiguration</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-set-configuration.html">Edit configuration
7854-
* data for extensions in your account</a> in the
7855-
* <i>CloudFormation User Guide</i>.</p>
7853+
* <p>To set the configuration data for an extension, use <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SetTypeConfiguration.html">SetTypeConfiguration</a>.</p>
78567854
* @public
78577855
*/
78587856
ConfigurationSchema?: string | undefined;
@@ -8903,7 +8901,7 @@ export interface ListGeneratedTemplatesInput {
89038901
NextToken?: string | undefined;
89048902

89058903
/**
8906-
* <p> If the number of available results exceeds this maximum, the response includes a
8904+
* <p>If the number of available results exceeds this maximum, the response includes a
89078905
* <code>NextToken</code> value that you can use for the <code>NextToken</code> parameter to
89088906
* get the next set of results. By default the <code>ListGeneratedTemplates</code> API action
89098907
* will return at most 50 results in each response. The maximum value is 100.</p>
@@ -9350,7 +9348,7 @@ export interface ListResourceScanRelatedResourcesInput {
93509348
NextToken?: string | undefined;
93519349

93529350
/**
9353-
* <p> If the number of available results exceeds this maximum, the response includes a
9351+
* <p>If the number of available results exceeds this maximum, the response includes a
93549352
* <code>NextToken</code> value that you can use for the <code>NextToken</code> parameter to
93559353
* get the next set of results. By default the <code>ListResourceScanRelatedResources</code> API
93569354
* action will return up to 100 results in each response. The maximum value is 100.</p>
@@ -9480,7 +9478,7 @@ export interface ListResourceScanResourcesInput {
94809478
NextToken?: string | undefined;
94819479

94829480
/**
9483-
* <p> If the number of available results exceeds this maximum, the response includes a
9481+
* <p>If the number of available results exceeds this maximum, the response includes a
94849482
* <code>NextToken</code> value that you can use for the <code>NextToken</code> parameter to
94859483
* get the next set of results. By default the <code>ListResourceScanResources</code> API action
94869484
* will return at most 100 results in each response. The maximum value is 100.</p>
@@ -9535,7 +9533,7 @@ export interface ListResourceScansInput {
95359533
NextToken?: string | undefined;
95369534

95379535
/**
9538-
* <p> If the number of available results exceeds this maximum, the response includes a
9536+
* <p>If the number of available results exceeds this maximum, the response includes a
95399537
* <code>NextToken</code> value that you can use for the <code>NextToken</code> parameter to
95409538
* get the next set of results. The default value is 10. The maximum value is 100.</p>
95419539
* @public

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

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,8 @@ export interface ListTypesInput {
358358
* <li>
359359
* <p>
360360
* <code>PUBLIC</code>: Extensions that are publicly visible and available to be
361-
* activated within any Amazon Web Services account. This includes extensions from Amazon Web Services, in addition to
362-
* third-party publishers.</p>
361+
* activated within any Amazon Web Services account. This includes extensions from Amazon Web Services and third-party
362+
* publishers.</p>
363363
* </li>
364364
* </ul>
365365
* <p>The default is <code>PRIVATE</code>.</p>
@@ -1211,7 +1211,7 @@ export interface SetStackPolicyInput {
12111211
*/
12121212
export interface SetTypeConfigurationInput {
12131213
/**
1214-
* <p>The Amazon Resource Name (ARN) for the extension, in this account and Region.</p>
1214+
* <p>The Amazon Resource Name (ARN) for the extension in this account and Region.</p>
12151215
* <p>For public extensions, this will be the ARN assigned when you call the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html">ActivateType</a> API operation in this account and Region. For private extensions, this
12161216
* will be the ARN assigned when you call the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html">RegisterType</a> API
12171217
* operation in this account and Region.</p>
@@ -1222,11 +1222,9 @@ export interface SetTypeConfigurationInput {
12221222
TypeArn?: string | undefined;
12231223

12241224
/**
1225-
* <p>The configuration data for the extension, in this account and Region.</p>
1226-
* <p>The configuration data must be formatted as JSON, and validate against the schema returned
1227-
* in the <code>ConfigurationSchema</code> response element of <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeType.html">DescribeType</a>. For
1228-
* more information, see <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-model.html#resource-type-howto-configuration">Defining the account-level configuration of an extension</a> in the
1229-
* <i>CloudFormation Command Line Interface (CLI) User Guide</i>.</p>
1225+
* <p>The configuration data for the extension in this account and Region.</p>
1226+
* <p>The configuration data must be formatted as JSON and validate against the extension's
1227+
* schema returned in the <code>Schema</code> response element of <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeType.html">DescribeType</a>.</p>
12301228
* @public
12311229
*/
12321230
Configuration: string | undefined;
@@ -1261,7 +1259,7 @@ export interface SetTypeConfigurationInput {
12611259
*/
12621260
export interface SetTypeConfigurationOutput {
12631261
/**
1264-
* <p>The Amazon Resource Name (ARN) for the configuration data, in this account and
1262+
* <p>The Amazon Resource Name (ARN) for the configuration data in this account and
12651263
* Region.</p>
12661264
* <p>Conditional: You must specify <code>ConfigurationArn</code>, or <code>Type</code> and
12671265
* <code>TypeName</code>.</p>

0 commit comments

Comments
 (0)