@cdk8s/awscdk-resolver 0.0.55 → 0.0.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +2 -2
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/README.md +88 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CreateGeneratedTemplateCommand.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeleteGeneratedTemplateCommand.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeGeneratedTemplateCommand.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeResourceScanCommand.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/GetGeneratedTemplateCommand.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListGeneratedTemplatesCommand.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListResourceScanRelatedResourcesCommand.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListResourceScanResourcesCommand.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListResourceScansCommand.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/StartResourceScanCommand.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/UpdateGeneratedTemplateCommand.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1677 -73
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/models/models_1.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListGeneratedTemplatesPaginator.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListResourceScanRelatedResourcesPaginator.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListResourceScanResourcesPaginator.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/pagination/ListResourceScansPaginator.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormation.js +22 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateGeneratedTemplateCommand.js +24 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteGeneratedTemplateCommand.js +24 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeGeneratedTemplateCommand.js +24 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeResourceScanCommand.js +24 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetGeneratedTemplateCommand.js +24 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListGeneratedTemplatesCommand.js +24 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListResourceScanRelatedResourcesCommand.js +24 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListResourceScanResourcesCommand.js +24 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListResourceScansCommand.js +24 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/StartResourceScanCommand.js +24 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateGeneratedTemplateCommand.js +24 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/index.js +11 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/index.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_0.js +104 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_1.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListGeneratedTemplatesPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListResourceScanRelatedResourcesPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListResourceScanResourcesPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListResourceScansPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/index.js +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +1322 -92
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +77 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +13 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateGeneratedTemplateCommand.d.ts +116 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DeleteGeneratedTemplateCommand.d.ts +75 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeGeneratedTemplateCommand.d.ts +135 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeResourceScanCommand.d.ts +168 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/GetGeneratedTemplateCommand.d.ts +100 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListGeneratedTemplatesCommand.d.ts +112 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScanRelatedResourcesCommand.d.ts +145 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScanResourcesCommand.d.ts +147 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListResourceScansCommand.d.ts +97 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/StartResourceScanCommand.d.ts +91 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/StopStackSetOperationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/TestTypeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateGeneratedTemplateCommand.d.ts +156 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackInstancesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackSetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateTerminationProtectionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ValidateTemplateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/index.d.ts +11 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +4075 -3877
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_1.d.ts +974 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListGeneratedTemplatesPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListResourceScanRelatedResourcesPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListResourceScanResourcesPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListResourceScansPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/protocols/Aws_query.d.ts +99 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormation.d.ts +187 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +66 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateGeneratedTemplateCommand.d.ts +30 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DeleteGeneratedTemplateCommand.d.ts +26 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeGeneratedTemplateCommand.d.ts +30 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeResourceScanCommand.d.ts +30 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/GetGeneratedTemplateCommand.d.ts +30 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListGeneratedTemplatesCommand.d.ts +30 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListResourceScanRelatedResourcesCommand.d.ts +30 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListResourceScanResourcesCommand.d.ts +30 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListResourceScansCommand.d.ts +29 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/StartResourceScanCommand.d.ts +29 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/StopStackSetOperationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/TestTypeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateGeneratedTemplateCommand.d.ts +30 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateStackCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateStackInstancesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateStackSetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/UpdateTerminationProtectionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ValidateTemplateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +250 -99
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_1.d.ts +132 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListGeneratedTemplatesPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListResourceScanRelatedResourcesPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListResourceScanResourcesPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListResourceScansPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/protocols/Aws_query.d.ts +132 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +3 -3
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +3 -3
- package/node_modules/@aws-sdk/client-sts/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/README.md +10 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +46 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +32 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +65 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttpTypes.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +59 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +17 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js +5 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +5 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js +42 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.browser.js +27 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +59 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttpTypes.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js +53 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/retry-wrapper.js +13 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/index.browser.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/checkUrl.d.ts +7 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.browser.d.ts +6 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.d.ts +6 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttpTypes.d.ts +69 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/requestHelpers.d.ts +11 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/retry-wrapper.d.ts +10 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/index.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/index.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/checkUrl.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.browser.d.ts +5 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.d.ts +5 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttpTypes.d.ts +18 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/requestHelpers.d.ts +7 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/retry-wrapper.d.ts +8 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/index.browser.d.ts +5 -0
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/index.d.ts +5 -0
- package/node_modules/@aws-sdk/credential-provider-http/package.json +67 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +7 -10
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js +4 -8
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveSsoCredentials.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +4 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +5 -4
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js +4 -3
- package/node_modules/@aws-sdk/credential-provider-node/dist-types/remoteProvider.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-node/package.json +5 -4
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +9 -6
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +3 -5
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +5 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/resolveSSOCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/package.json +4 -4
@@ -0,0 +1,147 @@
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
3
|
+
import { CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFormationClient";
|
4
|
+
import { ListResourceScanResourcesInput, ListResourceScanResourcesOutput } from "../models/models_0";
|
5
|
+
/**
|
6
|
+
* @public
|
7
|
+
*/
|
8
|
+
export { __MetadataBearer, $Command };
|
9
|
+
/**
|
10
|
+
* @public
|
11
|
+
*
|
12
|
+
* The input for {@link ListResourceScanResourcesCommand}.
|
13
|
+
*/
|
14
|
+
export interface ListResourceScanResourcesCommandInput extends ListResourceScanResourcesInput {
|
15
|
+
}
|
16
|
+
/**
|
17
|
+
* @public
|
18
|
+
*
|
19
|
+
* The output of {@link ListResourceScanResourcesCommand}.
|
20
|
+
*/
|
21
|
+
export interface ListResourceScanResourcesCommandOutput extends ListResourceScanResourcesOutput, __MetadataBearer {
|
22
|
+
}
|
23
|
+
declare const ListResourceScanResourcesCommand_base: {
|
24
|
+
new (input: ListResourceScanResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<ListResourceScanResourcesCommandInput, ListResourceScanResourcesCommandOutput, CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
26
|
+
};
|
27
|
+
/**
|
28
|
+
* @public
|
29
|
+
* <p>Lists the resources from a resource scan. The results can be filtered by resource identifier, resource type
|
30
|
+
* prefix, tag key, and tag value. Only resources that match all specified filters are returned. The response indicates
|
31
|
+
* whether each returned resource is already managed by CloudFormation.</p>
|
32
|
+
* @example
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
34
|
+
* ```javascript
|
35
|
+
* import { CloudFormationClient, ListResourceScanResourcesCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
|
36
|
+
* // const { CloudFormationClient, ListResourceScanResourcesCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
|
37
|
+
* const client = new CloudFormationClient(config);
|
38
|
+
* const input = { // ListResourceScanResourcesInput
|
39
|
+
* ResourceScanId: "STRING_VALUE", // required
|
40
|
+
* ResourceIdentifier: "STRING_VALUE",
|
41
|
+
* ResourceTypePrefix: "STRING_VALUE",
|
42
|
+
* TagKey: "STRING_VALUE",
|
43
|
+
* TagValue: "STRING_VALUE",
|
44
|
+
* NextToken: "STRING_VALUE",
|
45
|
+
* MaxResults: Number("int"),
|
46
|
+
* };
|
47
|
+
* const command = new ListResourceScanResourcesCommand(input);
|
48
|
+
* const response = await client.send(command);
|
49
|
+
* // { // ListResourceScanResourcesOutput
|
50
|
+
* // Resources: [ // ScannedResources
|
51
|
+
* // { // ScannedResource
|
52
|
+
* // ResourceType: "STRING_VALUE",
|
53
|
+
* // ResourceIdentifier: { // JazzResourceIdentifierProperties
|
54
|
+
* // "<keys>": "STRING_VALUE",
|
55
|
+
* // },
|
56
|
+
* // ManagedByStack: true || false,
|
57
|
+
* // },
|
58
|
+
* // ],
|
59
|
+
* // NextToken: "STRING_VALUE",
|
60
|
+
* // };
|
61
|
+
*
|
62
|
+
* ```
|
63
|
+
*
|
64
|
+
* @param ListResourceScanResourcesCommandInput - {@link ListResourceScanResourcesCommandInput}
|
65
|
+
* @returns {@link ListResourceScanResourcesCommandOutput}
|
66
|
+
* @see {@link ListResourceScanResourcesCommandInput} for command's `input` shape.
|
67
|
+
* @see {@link ListResourceScanResourcesCommandOutput} for command's `response` shape.
|
68
|
+
* @see {@link CloudFormationClientResolvedConfig | config} for CloudFormationClient's `config` shape.
|
69
|
+
*
|
70
|
+
* @throws {@link ResourceScanInProgressException} (client fault)
|
71
|
+
* <p>A resource scan is currently in progress. Only one can be run at a time for an account in a Region.</p>
|
72
|
+
*
|
73
|
+
* @throws {@link ResourceScanNotFoundException} (client fault)
|
74
|
+
* <p>The resource scan was not found.</p>
|
75
|
+
*
|
76
|
+
* @throws {@link CloudFormationServiceException}
|
77
|
+
* <p>Base exception class for all service exceptions from CloudFormation service.</p>
|
78
|
+
*
|
79
|
+
* @example To list the resources in your resource scan
|
80
|
+
* ```javascript
|
81
|
+
* // This example lists the resources in your resource scan
|
82
|
+
* const input = {
|
83
|
+
* "ResourceScanId": "arn:aws:cloudformation:us-east-1:123456789012:resourceScan/c19304f6-c4f1-4ff8-8e1f-35162e41d7e1"
|
84
|
+
* };
|
85
|
+
* const command = new ListResourceScanResourcesCommand(input);
|
86
|
+
* const response = await client.send(command);
|
87
|
+
* /* response ==
|
88
|
+
* {
|
89
|
+
* "NextToken": "AQICAHjOiFofVZCZ0aEN1VnF1m9jq/xxpTY7MyPexz72BHuAkgETVS8c+PVCFpE6uGVJDxCFAAACbjCCAmoGCSqGSIb3DQEHBqCCAlswggJXAgEAMIICUAYJKoZIhvcNAQcBMB4GCWCGSAFlAwQBLjARBAwJ9QJAYeDzUoBeimECARCAggIh8brcL6H6uMvcZafRTB79hUkdJlOoFavrhYA2U7qdlPUwyvaVqN2DvFMxsl2XC1SaWmr5esMKxg1fLjbOEF32lVQn0Jp8QuoFUvREnqEsR32ZQmiI/Oc9HmwIr/BS3rzljki2Kr8Y0nriS7aFDLUCYsdsRdQ9iL5/iCc6oW7IisCzq1VKcHijlXvuiEipZAinsxEbmYBjmWgT7UYZdrrb6Hq3COEgPzS490ucndtwPjyvuCIMiAfTLMuBgjkzEfp4U97aLwPWaiKw94dMXj/3K67uuH9BjWZO+j6d3nnyZ14FOgI7SQvvVBnxARbTmINttHWjXPrIuE9YuuSWgn6GmuzEEDqkuglOS/OeTHYSPvLPRrFieUiawblljLVoVY9/HDjL/EErSTWiCnytGXIRoMI9Ozp2Yjfm3MBwSDXvMIrscw6QAa3bUA6uJSV2skCBnDoqV8EXd8umh788OgEtDxQ7d/NlUYEhN6AJ0K9TVz/2rZgOlzLCmtvmbIy7loAZCmf/uPNkyu6WuoLWTzQz78SnA8jWPKnxrzhNyPuaIgUH23U3mExhfMRDczitpOo5JM81oHVPECslGoqktLhP55BQqMbJy4w16SZJfr993TXhF5jOZenRN1zDsK3J5cLdJgPK1Ds1Z9DnRKMfXOqoAyme2l94/h0kLIxgAtxOeJFP/g/9hUtt1qGkZeV3Xqw1nkFQnafGIg4fJoWg74Sr7yo=",
|
90
|
+
* "Resources": [
|
91
|
+
* {
|
92
|
+
* "ManagedByStack": false,
|
93
|
+
* "ResourceIdentifier": {
|
94
|
+
* "Arn": "arn:aws:amplify:us-east-1:123456789012:apps/12345678"
|
95
|
+
* },
|
96
|
+
* "ResourceType": "AWS::Amplify::App"
|
97
|
+
* },
|
98
|
+
* {
|
99
|
+
* "ManagedByStack": true,
|
100
|
+
* "ResourceIdentifier": {
|
101
|
+
* "DeploymentId": "1234567",
|
102
|
+
* "RestApiId": "abcdefgh"
|
103
|
+
* },
|
104
|
+
* "ResourceType": "AWS::ApiGateway::Deployment"
|
105
|
+
* }
|
106
|
+
* ]
|
107
|
+
* }
|
108
|
+
* *\/
|
109
|
+
* // example id: to-list-resource-scan-resources
|
110
|
+
* ```
|
111
|
+
*
|
112
|
+
* @example To list the resources in your resource scan for specific resource type
|
113
|
+
* ```javascript
|
114
|
+
* // This example lists the resources in your resource scan filtering only the resources that start with the passed in prefix
|
115
|
+
* const input = {
|
116
|
+
* "ResourceScanId": "arn:aws:cloudformation:us-east-1:123456789012:resourceScan/c19304f6-c4f1-4ff8-8e1f-35162e41d7e1",
|
117
|
+
* "ResourceTypePrefix": "AWS::S3"
|
118
|
+
* };
|
119
|
+
* const command = new ListResourceScanResourcesCommand(input);
|
120
|
+
* const response = await client.send(command);
|
121
|
+
* /* response ==
|
122
|
+
* {
|
123
|
+
* "NextToken": "AQICAHjOiFofVZCZ0aEN1VnF1m9jq/xxpTY7MyPexz72BHuAkgETVS8c+PVCFpE6uGVJDxCFAAACbjCCAmoGCSqGSIb3DQEHBqCCAlswggJXAgEAMIICUAYJKoZIhvcNAQcBMB4GCWCGSAFlAwQBLjARBAwJ9QJAYeDzUoBeimECARCAggIh8brcL6H6uMvcZafRTB79hUkdJlOoFavrhYA2U7qdlPUwyvaVqN2DvFMxsl2XC1SaWmr5esMKxg1fLjbOEF32lVQn0Jp8QuoFUvREnqEsR32ZQmiI/Oc9HmwIr/BS3rzljki2Kr8Y0nriS7aFDLUCYsdsRdQ9iL5/iCc6oW7IisCzq1VKcHijlXvuiEipZAinsxEbmYBjmWgT7UYZdrrb6Hq3COEgPzS490ucndtwPjyvuCIMiAfTLMuBgjkzEfp4U97aLwPWaiKw94dMXj/3K67uuH9BjWZO+j6d3nnyZ14FOgI7SQvvVBnxARbTmINttHWjXPrIuE9YuuSWgn6GmuzEEDqkuglOS/OeTHYSPvLPRrFieUiawblljLVoVY9/HDjL/EErSTWiCnytGXIRoMI9Ozp2Yjfm3MBwSDXvMIrscw6QAa3bUA6uJSV2skCBnDoqV8EXd8umh788OgEtDxQ7d/NlUYEhN6AJ0K9TVz/2rZgOlzLCmtvmbIy7loAZCmf/uPNkyu6WuoLWTzQz78SnA8jWPKnxrzhNyPuaIgUH23U3mExhfMRDczitpOo5JM81oHVPECslGoqktLhP55BQqMbJy4w16SZJfr993TXhF5jOZenRN1zDsK3J5cLdJgPK1Ds1Z9DnRKMfXOqoAyme2l94/h0kLIxgAtxOeJFP/g/9hUtt1qGkZeV3Xqw1nkFQnafGIg4fJoWg74Sr7yo=",
|
124
|
+
* "Resources": [
|
125
|
+
* {
|
126
|
+
* "ManagedByStack": true,
|
127
|
+
* "ResourceIdentifier": {
|
128
|
+
* "Name": "test-access-point"
|
129
|
+
* },
|
130
|
+
* "ResourceType": "AWS::S3::AccessPoint"
|
131
|
+
* },
|
132
|
+
* {
|
133
|
+
* "ManagedByStack": false,
|
134
|
+
* "ResourceIdentifier": {
|
135
|
+
* "Bucket": "a-random-bucket"
|
136
|
+
* },
|
137
|
+
* "ResourceType": "AWS::S3::BucketPolicy"
|
138
|
+
* }
|
139
|
+
* ]
|
140
|
+
* }
|
141
|
+
* *\/
|
142
|
+
* // example id: to-list-resource-scan-resources-with-resource-type-prefix
|
143
|
+
* ```
|
144
|
+
*
|
145
|
+
*/
|
146
|
+
export declare class ListResourceScanResourcesCommand extends ListResourceScanResourcesCommand_base {
|
147
|
+
}
|
@@ -0,0 +1,97 @@
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
3
|
+
import { CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFormationClient";
|
4
|
+
import { ListResourceScansInput, ListResourceScansOutput } from "../models/models_0";
|
5
|
+
/**
|
6
|
+
* @public
|
7
|
+
*/
|
8
|
+
export { __MetadataBearer, $Command };
|
9
|
+
/**
|
10
|
+
* @public
|
11
|
+
*
|
12
|
+
* The input for {@link ListResourceScansCommand}.
|
13
|
+
*/
|
14
|
+
export interface ListResourceScansCommandInput extends ListResourceScansInput {
|
15
|
+
}
|
16
|
+
/**
|
17
|
+
* @public
|
18
|
+
*
|
19
|
+
* The output of {@link ListResourceScansCommand}.
|
20
|
+
*/
|
21
|
+
export interface ListResourceScansCommandOutput extends ListResourceScansOutput, __MetadataBearer {
|
22
|
+
}
|
23
|
+
declare const ListResourceScansCommand_base: {
|
24
|
+
new (input: ListResourceScansCommandInput): import("@smithy/smithy-client").CommandImpl<ListResourceScansCommandInput, ListResourceScansCommandOutput, CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
26
|
+
};
|
27
|
+
/**
|
28
|
+
* @public
|
29
|
+
* <p>List the resource scans from newest to oldest. By default it will return up to 10 resource scans.</p>
|
30
|
+
* @example
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
32
|
+
* ```javascript
|
33
|
+
* import { CloudFormationClient, ListResourceScansCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
|
34
|
+
* // const { CloudFormationClient, ListResourceScansCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
|
35
|
+
* const client = new CloudFormationClient(config);
|
36
|
+
* const input = { // ListResourceScansInput
|
37
|
+
* NextToken: "STRING_VALUE",
|
38
|
+
* MaxResults: Number("int"),
|
39
|
+
* };
|
40
|
+
* const command = new ListResourceScansCommand(input);
|
41
|
+
* const response = await client.send(command);
|
42
|
+
* // { // ListResourceScansOutput
|
43
|
+
* // ResourceScanSummaries: [ // ResourceScanSummaries
|
44
|
+
* // { // ResourceScanSummary
|
45
|
+
* // ResourceScanId: "STRING_VALUE",
|
46
|
+
* // Status: "IN_PROGRESS" || "FAILED" || "COMPLETE" || "EXPIRED",
|
47
|
+
* // StatusReason: "STRING_VALUE",
|
48
|
+
* // StartTime: new Date("TIMESTAMP"),
|
49
|
+
* // EndTime: new Date("TIMESTAMP"),
|
50
|
+
* // PercentageCompleted: Number("double"),
|
51
|
+
* // },
|
52
|
+
* // ],
|
53
|
+
* // NextToken: "STRING_VALUE",
|
54
|
+
* // };
|
55
|
+
*
|
56
|
+
* ```
|
57
|
+
*
|
58
|
+
* @param ListResourceScansCommandInput - {@link ListResourceScansCommandInput}
|
59
|
+
* @returns {@link ListResourceScansCommandOutput}
|
60
|
+
* @see {@link ListResourceScansCommandInput} for command's `input` shape.
|
61
|
+
* @see {@link ListResourceScansCommandOutput} for command's `response` shape.
|
62
|
+
* @see {@link CloudFormationClientResolvedConfig | config} for CloudFormationClient's `config` shape.
|
63
|
+
*
|
64
|
+
* @throws {@link CloudFormationServiceException}
|
65
|
+
* <p>Base exception class for all service exceptions from CloudFormation service.</p>
|
66
|
+
*
|
67
|
+
* @example Listing Resource Scans
|
68
|
+
* ```javascript
|
69
|
+
* // This example shows how to list resource scans
|
70
|
+
* const input = {};
|
71
|
+
* const command = new ListResourceScansCommand(input);
|
72
|
+
* const response = await client.send(command);
|
73
|
+
* /* response ==
|
74
|
+
* {
|
75
|
+
* "ResourceScanSummaries": [
|
76
|
+
* {
|
77
|
+
* "PercentageCompleted": 37.4,
|
78
|
+
* "ResourceScanId": "arn:aws:cloudformation:us-east-1:123456789012:resourceScan/51448627-817f-40f0-b37c-f6e0f974340c",
|
79
|
+
* "StartTime": "2024-01-24T00:33:29.673000+00:00",
|
80
|
+
* "Status": "IN_PROGRESS"
|
81
|
+
* },
|
82
|
+
* {
|
83
|
+
* "EndTime": "2024-01-02T23:25:48.075000+00:00",
|
84
|
+
* "PercentageCompleted": 100,
|
85
|
+
* "ResourceScanId": "arn:aws:cloudformation:us-east-1:123456789012:resourceScan/c19304f6-c4f1-4ff8-8e1f-35162e41d7e1",
|
86
|
+
* "StartTime": "2024-01-02T22:15:18.382000+00:00",
|
87
|
+
* "Status": "COMPLETE"
|
88
|
+
* }
|
89
|
+
* ]
|
90
|
+
* }
|
91
|
+
* *\/
|
92
|
+
* // example id: to-list-resource-scans
|
93
|
+
* ```
|
94
|
+
*
|
95
|
+
*/
|
96
|
+
export declare class ListResourceScansCommand extends ListResourceScansCommand_base {
|
97
|
+
}
|
@@ -0,0 +1,91 @@
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
3
|
+
import { CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFormationClient";
|
4
|
+
import { StartResourceScanInput, StartResourceScanOutput } from "../models/models_1";
|
5
|
+
/**
|
6
|
+
* @public
|
7
|
+
*/
|
8
|
+
export { __MetadataBearer, $Command };
|
9
|
+
/**
|
10
|
+
* @public
|
11
|
+
*
|
12
|
+
* The input for {@link StartResourceScanCommand}.
|
13
|
+
*/
|
14
|
+
export interface StartResourceScanCommandInput extends StartResourceScanInput {
|
15
|
+
}
|
16
|
+
/**
|
17
|
+
* @public
|
18
|
+
*
|
19
|
+
* The output of {@link StartResourceScanCommand}.
|
20
|
+
*/
|
21
|
+
export interface StartResourceScanCommandOutput extends StartResourceScanOutput, __MetadataBearer {
|
22
|
+
}
|
23
|
+
declare const StartResourceScanCommand_base: {
|
24
|
+
new (input: StartResourceScanCommandInput): import("@smithy/smithy-client").CommandImpl<StartResourceScanCommandInput, StartResourceScanCommandOutput, CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
26
|
+
};
|
27
|
+
/**
|
28
|
+
* @public
|
29
|
+
* <p>Starts a scan of the resources in this account in this Region. You can the status of a scan using the
|
30
|
+
* <code>ListResourceScans</code> API action.</p>
|
31
|
+
* @example
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
33
|
+
* ```javascript
|
34
|
+
* import { CloudFormationClient, StartResourceScanCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
|
35
|
+
* // const { CloudFormationClient, StartResourceScanCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
|
36
|
+
* const client = new CloudFormationClient(config);
|
37
|
+
* const input = { // StartResourceScanInput
|
38
|
+
* ClientRequestToken: "STRING_VALUE",
|
39
|
+
* };
|
40
|
+
* const command = new StartResourceScanCommand(input);
|
41
|
+
* const response = await client.send(command);
|
42
|
+
* // { // StartResourceScanOutput
|
43
|
+
* // ResourceScanId: "STRING_VALUE",
|
44
|
+
* // };
|
45
|
+
*
|
46
|
+
* ```
|
47
|
+
*
|
48
|
+
* @param StartResourceScanCommandInput - {@link StartResourceScanCommandInput}
|
49
|
+
* @returns {@link StartResourceScanCommandOutput}
|
50
|
+
* @see {@link StartResourceScanCommandInput} for command's `input` shape.
|
51
|
+
* @see {@link StartResourceScanCommandOutput} for command's `response` shape.
|
52
|
+
* @see {@link CloudFormationClientResolvedConfig | config} for CloudFormationClient's `config` shape.
|
53
|
+
*
|
54
|
+
* @throws {@link ResourceScanInProgressException} (client fault)
|
55
|
+
* <p>A resource scan is currently in progress. Only one can be run at a time for an account in a Region.</p>
|
56
|
+
*
|
57
|
+
* @throws {@link ResourceScanLimitExceededException} (client fault)
|
58
|
+
* <p>The limit on resource scans has been exceeded. Reasons include:</p>
|
59
|
+
* <ul>
|
60
|
+
* <li>
|
61
|
+
* <p>Exceeded the daily quota for resource scans.</p>
|
62
|
+
* </li>
|
63
|
+
* <li>
|
64
|
+
* <p>A resource scan recently failed. You must wait 10 minutes before starting a new resource scan.</p>
|
65
|
+
* </li>
|
66
|
+
* <li>
|
67
|
+
* <p>The last resource scan failed after exceeding 100,000 resources. When this happens, you must wait 24 hours
|
68
|
+
* before starting a new resource scan.</p>
|
69
|
+
* </li>
|
70
|
+
* </ul>
|
71
|
+
*
|
72
|
+
* @throws {@link CloudFormationServiceException}
|
73
|
+
* <p>Base exception class for all service exceptions from CloudFormation service.</p>
|
74
|
+
*
|
75
|
+
* @example To start a resource scan
|
76
|
+
* ```javascript
|
77
|
+
* // This example shows how to start a new resource scan
|
78
|
+
* const input = {};
|
79
|
+
* const command = new StartResourceScanCommand(input);
|
80
|
+
* const response = await client.send(command);
|
81
|
+
* /* response ==
|
82
|
+
* {
|
83
|
+
* "ResourceScanId": "arn:aws:cloudformation:us-east-1:123456789012:resourceScan/88f09db1-d211-4cb7-964b-434e2b8469ca"
|
84
|
+
* }
|
85
|
+
* *\/
|
86
|
+
* // example id: to-start-a-generated-template
|
87
|
+
* ```
|
88
|
+
*
|
89
|
+
*/
|
90
|
+
export declare class StartResourceScanCommand extends StartResourceScanCommand_base {
|
91
|
+
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
3
3
|
import { CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFormationClient";
|
4
|
-
import { StopStackSetOperationInput, StopStackSetOperationOutput } from "../models/
|
4
|
+
import { StopStackSetOperationInput, StopStackSetOperationOutput } from "../models/models_1";
|
5
5
|
/**
|
6
6
|
* @public
|
7
7
|
*/
|
package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/TestTypeCommand.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
3
3
|
import { CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFormationClient";
|
4
|
-
import { TestTypeInput, TestTypeOutput } from "../models/
|
4
|
+
import { TestTypeInput, TestTypeOutput } from "../models/models_1";
|
5
5
|
/**
|
6
6
|
* @public
|
7
7
|
*/
|
@@ -0,0 +1,156 @@
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
3
|
+
import { CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFormationClient";
|
4
|
+
import { UpdateGeneratedTemplateInput, UpdateGeneratedTemplateOutput } from "../models/models_1";
|
5
|
+
/**
|
6
|
+
* @public
|
7
|
+
*/
|
8
|
+
export { __MetadataBearer, $Command };
|
9
|
+
/**
|
10
|
+
* @public
|
11
|
+
*
|
12
|
+
* The input for {@link UpdateGeneratedTemplateCommand}.
|
13
|
+
*/
|
14
|
+
export interface UpdateGeneratedTemplateCommandInput extends UpdateGeneratedTemplateInput {
|
15
|
+
}
|
16
|
+
/**
|
17
|
+
* @public
|
18
|
+
*
|
19
|
+
* The output of {@link UpdateGeneratedTemplateCommand}.
|
20
|
+
*/
|
21
|
+
export interface UpdateGeneratedTemplateCommandOutput extends UpdateGeneratedTemplateOutput, __MetadataBearer {
|
22
|
+
}
|
23
|
+
declare const UpdateGeneratedTemplateCommand_base: {
|
24
|
+
new (input: UpdateGeneratedTemplateCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateGeneratedTemplateCommandInput, UpdateGeneratedTemplateCommandOutput, CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
26
|
+
};
|
27
|
+
/**
|
28
|
+
* @public
|
29
|
+
* <p>Updates a generated template. This can be used to change the name, add and remove resources, refresh resources,
|
30
|
+
* and change the <code>DeletionPolicy</code> and <code>UpdateReplacePolicy</code> settings. You can check the status of
|
31
|
+
* the update to the generated template using the <code>DescribeGeneratedTemplate</code> API action.</p>
|
32
|
+
* @example
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
34
|
+
* ```javascript
|
35
|
+
* import { CloudFormationClient, UpdateGeneratedTemplateCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
|
36
|
+
* // const { CloudFormationClient, UpdateGeneratedTemplateCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
|
37
|
+
* const client = new CloudFormationClient(config);
|
38
|
+
* const input = { // UpdateGeneratedTemplateInput
|
39
|
+
* GeneratedTemplateName: "STRING_VALUE", // required
|
40
|
+
* NewGeneratedTemplateName: "STRING_VALUE",
|
41
|
+
* AddResources: [ // ResourceDefinitions
|
42
|
+
* { // ResourceDefinition
|
43
|
+
* ResourceType: "STRING_VALUE", // required
|
44
|
+
* LogicalResourceId: "STRING_VALUE",
|
45
|
+
* ResourceIdentifier: { // ResourceIdentifierProperties // required
|
46
|
+
* "<keys>": "STRING_VALUE",
|
47
|
+
* },
|
48
|
+
* },
|
49
|
+
* ],
|
50
|
+
* RemoveResources: [ // JazzLogicalResourceIds
|
51
|
+
* "STRING_VALUE",
|
52
|
+
* ],
|
53
|
+
* RefreshAllResources: true || false,
|
54
|
+
* TemplateConfiguration: { // TemplateConfiguration
|
55
|
+
* DeletionPolicy: "DELETE" || "RETAIN",
|
56
|
+
* UpdateReplacePolicy: "DELETE" || "RETAIN",
|
57
|
+
* },
|
58
|
+
* };
|
59
|
+
* const command = new UpdateGeneratedTemplateCommand(input);
|
60
|
+
* const response = await client.send(command);
|
61
|
+
* // { // UpdateGeneratedTemplateOutput
|
62
|
+
* // GeneratedTemplateId: "STRING_VALUE",
|
63
|
+
* // };
|
64
|
+
*
|
65
|
+
* ```
|
66
|
+
*
|
67
|
+
* @param UpdateGeneratedTemplateCommandInput - {@link UpdateGeneratedTemplateCommandInput}
|
68
|
+
* @returns {@link UpdateGeneratedTemplateCommandOutput}
|
69
|
+
* @see {@link UpdateGeneratedTemplateCommandInput} for command's `input` shape.
|
70
|
+
* @see {@link UpdateGeneratedTemplateCommandOutput} for command's `response` shape.
|
71
|
+
* @see {@link CloudFormationClientResolvedConfig | config} for CloudFormationClient's `config` shape.
|
72
|
+
*
|
73
|
+
* @throws {@link AlreadyExistsException} (client fault)
|
74
|
+
* <p>The resource with the name requested already exists.</p>
|
75
|
+
*
|
76
|
+
* @throws {@link GeneratedTemplateNotFoundException} (client fault)
|
77
|
+
* <p>The generated template was not found.</p>
|
78
|
+
*
|
79
|
+
* @throws {@link LimitExceededException} (client fault)
|
80
|
+
* <p>The quota for the resource has already been reached.</p>
|
81
|
+
* <p>For information about resource and stack limitations, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html">CloudFormation quotas</a> in the
|
82
|
+
* <i>CloudFormation User Guide</i>.</p>
|
83
|
+
*
|
84
|
+
* @throws {@link CloudFormationServiceException}
|
85
|
+
* <p>Base exception class for all service exceptions from CloudFormation service.</p>
|
86
|
+
*
|
87
|
+
* @example To update a generated template's name
|
88
|
+
* ```javascript
|
89
|
+
* // This example updates a generated template with a new name.
|
90
|
+
* const input = {
|
91
|
+
* "GeneratedTemplateName": "JazzyTemplate",
|
92
|
+
* "NewGeneratedTemplateName": "JazzierTemplate"
|
93
|
+
* };
|
94
|
+
* const command = new UpdateGeneratedTemplateCommand(input);
|
95
|
+
* const response = await client.send(command);
|
96
|
+
* /* response ==
|
97
|
+
* {
|
98
|
+
* "GeneratedTemplateId": "arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/88f09db1-d211-4cb7-964b-434e2b8469ca"
|
99
|
+
* }
|
100
|
+
* *\/
|
101
|
+
* // example id: to-update-a-generated-template-new-name
|
102
|
+
* ```
|
103
|
+
*
|
104
|
+
* @example To remove resources from a generated template
|
105
|
+
* ```javascript
|
106
|
+
* // This example removes resources from a generated template
|
107
|
+
* const input = {
|
108
|
+
* "GeneratedTemplateName": "JazzyTemplate",
|
109
|
+
* "RemoveResources": [
|
110
|
+
* "LogicalResourceId1",
|
111
|
+
* "LogicalResourceId2"
|
112
|
+
* ]
|
113
|
+
* };
|
114
|
+
* const command = new UpdateGeneratedTemplateCommand(input);
|
115
|
+
* const response = await client.send(command);
|
116
|
+
* /* response ==
|
117
|
+
* {
|
118
|
+
* "GeneratedTemplateId": "arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/88f09db1-d211-4cb7-964b-434e2b8469ca"
|
119
|
+
* }
|
120
|
+
* *\/
|
121
|
+
* // example id: to-update-a-generated-template-remove-resources
|
122
|
+
* ```
|
123
|
+
*
|
124
|
+
* @example To add resources to a generated template
|
125
|
+
* ```javascript
|
126
|
+
* // This example adds resources to a generated template
|
127
|
+
* const input = {
|
128
|
+
* "AddResources": [
|
129
|
+
* {
|
130
|
+
* "ResourceIdentifier": {
|
131
|
+
* "BucketName": "jazz-bucket"
|
132
|
+
* },
|
133
|
+
* "ResourceType": "AWS::S3::Bucket"
|
134
|
+
* },
|
135
|
+
* {
|
136
|
+
* "ResourceIdentifier": {
|
137
|
+
* "DhcpOptionsId": "random-id123"
|
138
|
+
* },
|
139
|
+
* "ResourceType": "AWS::EC2::DHCPOptions"
|
140
|
+
* }
|
141
|
+
* ],
|
142
|
+
* "GeneratedTemplateName": "JazzyTemplate"
|
143
|
+
* };
|
144
|
+
* const command = new UpdateGeneratedTemplateCommand(input);
|
145
|
+
* const response = await client.send(command);
|
146
|
+
* /* response ==
|
147
|
+
* {
|
148
|
+
* "GeneratedTemplateId": "arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/88f09db1-d211-4cb7-964b-434e2b8469ca"
|
149
|
+
* }
|
150
|
+
* *\/
|
151
|
+
* // example id: to-update-a-generated-template-add-resources
|
152
|
+
* ```
|
153
|
+
*
|
154
|
+
*/
|
155
|
+
export declare class UpdateGeneratedTemplateCommand extends UpdateGeneratedTemplateCommand_base {
|
156
|
+
}
|
package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackCommand.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
3
3
|
import { CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFormationClient";
|
4
|
-
import { UpdateStackInput, UpdateStackOutput } from "../models/
|
4
|
+
import { UpdateStackInput, UpdateStackOutput } from "../models/models_1";
|
5
5
|
/**
|
6
6
|
* @public
|
7
7
|
*/
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
3
3
|
import { CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFormationClient";
|
4
|
-
import { UpdateStackInstancesInput, UpdateStackInstancesOutput } from "../models/
|
4
|
+
import { UpdateStackInstancesInput, UpdateStackInstancesOutput } from "../models/models_1";
|
5
5
|
/**
|
6
6
|
* @public
|
7
7
|
*/
|
package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackSetCommand.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
3
3
|
import { CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFormationClient";
|
4
|
-
import { UpdateStackSetInput, UpdateStackSetOutput } from "../models/
|
4
|
+
import { UpdateStackSetInput, UpdateStackSetOutput } from "../models/models_1";
|
5
5
|
/**
|
6
6
|
* @public
|
7
7
|
*/
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
3
3
|
import { CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFormationClient";
|
4
|
-
import { UpdateTerminationProtectionInput, UpdateTerminationProtectionOutput } from "../models/
|
4
|
+
import { UpdateTerminationProtectionInput, UpdateTerminationProtectionOutput } from "../models/models_1";
|
5
5
|
/**
|
6
6
|
* @public
|
7
7
|
*/
|
package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ValidateTemplateCommand.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
3
3
|
import { CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFormationClient";
|
4
|
-
import { ValidateTemplateInput, ValidateTemplateOutput } from "../models/
|
4
|
+
import { ValidateTemplateInput, ValidateTemplateOutput } from "../models/models_1";
|
5
5
|
/**
|
6
6
|
* @public
|
7
7
|
*/
|
@@ -4,12 +4,14 @@ export * from "./BatchDescribeTypeConfigurationsCommand";
|
|
4
4
|
export * from "./CancelUpdateStackCommand";
|
5
5
|
export * from "./ContinueUpdateRollbackCommand";
|
6
6
|
export * from "./CreateChangeSetCommand";
|
7
|
+
export * from "./CreateGeneratedTemplateCommand";
|
7
8
|
export * from "./CreateStackCommand";
|
8
9
|
export * from "./CreateStackInstancesCommand";
|
9
10
|
export * from "./CreateStackSetCommand";
|
10
11
|
export * from "./DeactivateOrganizationsAccessCommand";
|
11
12
|
export * from "./DeactivateTypeCommand";
|
12
13
|
export * from "./DeleteChangeSetCommand";
|
14
|
+
export * from "./DeleteGeneratedTemplateCommand";
|
13
15
|
export * from "./DeleteStackCommand";
|
14
16
|
export * from "./DeleteStackInstancesCommand";
|
15
17
|
export * from "./DeleteStackSetCommand";
|
@@ -17,8 +19,10 @@ export * from "./DeregisterTypeCommand";
|
|
17
19
|
export * from "./DescribeAccountLimitsCommand";
|
18
20
|
export * from "./DescribeChangeSetCommand";
|
19
21
|
export * from "./DescribeChangeSetHooksCommand";
|
22
|
+
export * from "./DescribeGeneratedTemplateCommand";
|
20
23
|
export * from "./DescribeOrganizationsAccessCommand";
|
21
24
|
export * from "./DescribePublisherCommand";
|
25
|
+
export * from "./DescribeResourceScanCommand";
|
22
26
|
export * from "./DescribeStackDriftDetectionStatusCommand";
|
23
27
|
export * from "./DescribeStackEventsCommand";
|
24
28
|
export * from "./DescribeStackInstanceCommand";
|
@@ -35,13 +39,18 @@ export * from "./DetectStackResourceDriftCommand";
|
|
35
39
|
export * from "./DetectStackSetDriftCommand";
|
36
40
|
export * from "./EstimateTemplateCostCommand";
|
37
41
|
export * from "./ExecuteChangeSetCommand";
|
42
|
+
export * from "./GetGeneratedTemplateCommand";
|
38
43
|
export * from "./GetStackPolicyCommand";
|
39
44
|
export * from "./GetTemplateCommand";
|
40
45
|
export * from "./GetTemplateSummaryCommand";
|
41
46
|
export * from "./ImportStacksToStackSetCommand";
|
42
47
|
export * from "./ListChangeSetsCommand";
|
43
48
|
export * from "./ListExportsCommand";
|
49
|
+
export * from "./ListGeneratedTemplatesCommand";
|
44
50
|
export * from "./ListImportsCommand";
|
51
|
+
export * from "./ListResourceScanRelatedResourcesCommand";
|
52
|
+
export * from "./ListResourceScanResourcesCommand";
|
53
|
+
export * from "./ListResourceScansCommand";
|
45
54
|
export * from "./ListStackInstanceResourceDriftsCommand";
|
46
55
|
export * from "./ListStackInstancesCommand";
|
47
56
|
export * from "./ListStackResourcesCommand";
|
@@ -61,8 +70,10 @@ export * from "./SetStackPolicyCommand";
|
|
61
70
|
export * from "./SetTypeConfigurationCommand";
|
62
71
|
export * from "./SetTypeDefaultVersionCommand";
|
63
72
|
export * from "./SignalResourceCommand";
|
73
|
+
export * from "./StartResourceScanCommand";
|
64
74
|
export * from "./StopStackSetOperationCommand";
|
65
75
|
export * from "./TestTypeCommand";
|
76
|
+
export * from "./UpdateGeneratedTemplateCommand";
|
66
77
|
export * from "./UpdateStackCommand";
|
67
78
|
export * from "./UpdateStackInstancesCommand";
|
68
79
|
export * from "./UpdateStackSetCommand";
|