@cdk8s/awscdk-resolver 0.0.55 → 0.0.57
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 +3 -3
- 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 +5 -5
@@ -0,0 +1,168 @@
|
|
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 { DescribeResourceScanInput, DescribeResourceScanOutput } from "../models/models_0";
|
5
|
+
/**
|
6
|
+
* @public
|
7
|
+
*/
|
8
|
+
export { __MetadataBearer, $Command };
|
9
|
+
/**
|
10
|
+
* @public
|
11
|
+
*
|
12
|
+
* The input for {@link DescribeResourceScanCommand}.
|
13
|
+
*/
|
14
|
+
export interface DescribeResourceScanCommandInput extends DescribeResourceScanInput {
|
15
|
+
}
|
16
|
+
/**
|
17
|
+
* @public
|
18
|
+
*
|
19
|
+
* The output of {@link DescribeResourceScanCommand}.
|
20
|
+
*/
|
21
|
+
export interface DescribeResourceScanCommandOutput extends DescribeResourceScanOutput, __MetadataBearer {
|
22
|
+
}
|
23
|
+
declare const DescribeResourceScanCommand_base: {
|
24
|
+
new (input: DescribeResourceScanCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeResourceScanCommandInput, DescribeResourceScanCommandOutput, CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
26
|
+
};
|
27
|
+
/**
|
28
|
+
* @public
|
29
|
+
* <p>Describes details of a resource scan.</p>
|
30
|
+
* @example
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
32
|
+
* ```javascript
|
33
|
+
* import { CloudFormationClient, DescribeResourceScanCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
|
34
|
+
* // const { CloudFormationClient, DescribeResourceScanCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
|
35
|
+
* const client = new CloudFormationClient(config);
|
36
|
+
* const input = { // DescribeResourceScanInput
|
37
|
+
* ResourceScanId: "STRING_VALUE", // required
|
38
|
+
* };
|
39
|
+
* const command = new DescribeResourceScanCommand(input);
|
40
|
+
* const response = await client.send(command);
|
41
|
+
* // { // DescribeResourceScanOutput
|
42
|
+
* // ResourceScanId: "STRING_VALUE",
|
43
|
+
* // Status: "IN_PROGRESS" || "FAILED" || "COMPLETE" || "EXPIRED",
|
44
|
+
* // StatusReason: "STRING_VALUE",
|
45
|
+
* // StartTime: new Date("TIMESTAMP"),
|
46
|
+
* // EndTime: new Date("TIMESTAMP"),
|
47
|
+
* // PercentageCompleted: Number("double"),
|
48
|
+
* // ResourceTypes: [ // ResourceTypes
|
49
|
+
* // "STRING_VALUE",
|
50
|
+
* // ],
|
51
|
+
* // ResourcesScanned: Number("int"),
|
52
|
+
* // ResourcesRead: Number("int"),
|
53
|
+
* // };
|
54
|
+
*
|
55
|
+
* ```
|
56
|
+
*
|
57
|
+
* @param DescribeResourceScanCommandInput - {@link DescribeResourceScanCommandInput}
|
58
|
+
* @returns {@link DescribeResourceScanCommandOutput}
|
59
|
+
* @see {@link DescribeResourceScanCommandInput} for command's `input` shape.
|
60
|
+
* @see {@link DescribeResourceScanCommandOutput} for command's `response` shape.
|
61
|
+
* @see {@link CloudFormationClientResolvedConfig | config} for CloudFormationClient's `config` shape.
|
62
|
+
*
|
63
|
+
* @throws {@link ResourceScanNotFoundException} (client fault)
|
64
|
+
* <p>The resource scan was not found.</p>
|
65
|
+
*
|
66
|
+
* @throws {@link CloudFormationServiceException}
|
67
|
+
* <p>Base exception class for all service exceptions from CloudFormation service.</p>
|
68
|
+
*
|
69
|
+
* @example To describe a selected resource scan
|
70
|
+
* ```javascript
|
71
|
+
* // This example describes a selected resource scan
|
72
|
+
* const input = {
|
73
|
+
* "ResourceScanId": "arn:aws:cloudformation:us-east-1:123456789012:resourceScan/c19304f6-c4f1-4ff8-8e1f-35162e41d7e1"
|
74
|
+
* };
|
75
|
+
* const command = new DescribeResourceScanCommand(input);
|
76
|
+
* const response = await client.send(command);
|
77
|
+
* /* response ==
|
78
|
+
* {
|
79
|
+
* "EndTime": "2024-01-02T23:25:48.075000+00:00",
|
80
|
+
* "PercentageCompleted": 100,
|
81
|
+
* "ResourceScanId": "arn:aws:cloudformation:us-east-1:123456789012:resourceScan/c19304f6-c4f1-4ff8-8e1f-35162e41d7e1",
|
82
|
+
* "ResourceTypes": [
|
83
|
+
* "AWS::Amplify::App",
|
84
|
+
* "AWS::ApiGateway::Deployment",
|
85
|
+
* "AWS::ApiGateway::DocumentationPart",
|
86
|
+
* "AWS::ApiGateway::Model",
|
87
|
+
* "AWS::ApiGateway::Resource",
|
88
|
+
* "AWS::ApiGateway::RestApi",
|
89
|
+
* "AWS::ApiGateway::Stage",
|
90
|
+
* "AWS::AppConfig::Extension",
|
91
|
+
* "AWS::ApplicationAutoScaling::ScalableTarget",
|
92
|
+
* "AWS::Athena::WorkGroup",
|
93
|
+
* "AWS::Cassandra::Keyspace",
|
94
|
+
* "AWS::CloudFront::CachePolicy",
|
95
|
+
* "AWS::CloudFront::Function",
|
96
|
+
* "AWS::CloudFront::OriginRequestPolicy",
|
97
|
+
* "AWS::CloudTrail::Trail",
|
98
|
+
* "AWS::CloudWatch::Alarm",
|
99
|
+
* "AWS::CodeDeploy::Application",
|
100
|
+
* "AWS::CodeDeploy::DeploymentConfig",
|
101
|
+
* "AWS::Cognito::UserPool",
|
102
|
+
* "AWS::Cognito::UserPoolGroup",
|
103
|
+
* "AWS::Cognito::UserPoolUser",
|
104
|
+
* "AWS::DynamoDB::Table",
|
105
|
+
* "AWS::EC2::DHCPOptions",
|
106
|
+
* "AWS::EC2::EIP",
|
107
|
+
* "AWS::EC2::InternetGateway",
|
108
|
+
* "AWS::EC2::LaunchTemplate",
|
109
|
+
* "AWS::EC2::NetworkAcl",
|
110
|
+
* "AWS::EC2::Route",
|
111
|
+
* "AWS::EC2::RouteTable",
|
112
|
+
* "AWS::EC2::SubnetNetworkAclAssociation",
|
113
|
+
* "AWS::EC2::SubnetRouteTableAssociation",
|
114
|
+
* "AWS::EC2::VPC",
|
115
|
+
* "AWS::EC2::VPCDHCPOptionsAssociation",
|
116
|
+
* "AWS::EC2::VPCGatewayAttachment",
|
117
|
+
* "AWS::ECR::Repository",
|
118
|
+
* "AWS::ECS::Cluster",
|
119
|
+
* "AWS::ECS::ClusterCapacityProviderAssociations",
|
120
|
+
* "AWS::ECS::Service",
|
121
|
+
* "AWS::ECS::TaskDefinition",
|
122
|
+
* "AWS::ElastiCache::SubnetGroup",
|
123
|
+
* "AWS::ElastiCache::User",
|
124
|
+
* "AWS::Events::EventBus",
|
125
|
+
* "AWS::Events::Rule",
|
126
|
+
* "AWS::GameLift::Location",
|
127
|
+
* "AWS::GuardDuty::Detector",
|
128
|
+
* "AWS::IAM::InstanceProfile",
|
129
|
+
* "AWS::IAM::ManagedPolicy",
|
130
|
+
* "AWS::IAM::Role",
|
131
|
+
* "AWS::IAM::User",
|
132
|
+
* "AWS::IoT::DomainConfiguration",
|
133
|
+
* "AWS::KMS::Alias",
|
134
|
+
* "AWS::KMS::Key",
|
135
|
+
* "AWS::Lambda::EventSourceMapping",
|
136
|
+
* "AWS::Lambda::Function",
|
137
|
+
* "AWS::Lambda::Permission",
|
138
|
+
* "AWS::Lambda::Version",
|
139
|
+
* "AWS::Logs::LogGroup",
|
140
|
+
* "AWS::Logs::LogStream",
|
141
|
+
* "AWS::MemoryDB::ACL",
|
142
|
+
* "AWS::MemoryDB::ParameterGroup",
|
143
|
+
* "AWS::MemoryDB::User",
|
144
|
+
* "AWS::RAM::Permission",
|
145
|
+
* "AWS::RDS::CustomDBEngineVersion",
|
146
|
+
* "AWS::Route53Resolver::ResolverRuleAssociation",
|
147
|
+
* "AWS::S3::AccessPoint",
|
148
|
+
* "AWS::S3::BucketPolicy",
|
149
|
+
* "AWS::S3::StorageLens",
|
150
|
+
* "AWS::SNS::Topic",
|
151
|
+
* "AWS::SQS::Queue",
|
152
|
+
* "AWS::SSM::Association",
|
153
|
+
* "AWS::SSM::Document",
|
154
|
+
* "AWS::StepFunctions::StateMachine",
|
155
|
+
* "AWS::XRay::Group",
|
156
|
+
* "AWS::XRay::SamplingRule"
|
157
|
+
* ],
|
158
|
+
* "ResourcesRead": 25107,
|
159
|
+
* "StartTime": "2024-01-02T22:15:18.382000+00:00",
|
160
|
+
* "Status": "COMPLETE"
|
161
|
+
* }
|
162
|
+
* *\/
|
163
|
+
* // example id: to-describe-a-generated-template
|
164
|
+
* ```
|
165
|
+
*
|
166
|
+
*/
|
167
|
+
export declare class DescribeResourceScanCommand extends DescribeResourceScanCommand_base {
|
168
|
+
}
|
@@ -0,0 +1,100 @@
|
|
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 { GetGeneratedTemplateInput, GetGeneratedTemplateOutput } from "../models/models_0";
|
5
|
+
/**
|
6
|
+
* @public
|
7
|
+
*/
|
8
|
+
export { __MetadataBearer, $Command };
|
9
|
+
/**
|
10
|
+
* @public
|
11
|
+
*
|
12
|
+
* The input for {@link GetGeneratedTemplateCommand}.
|
13
|
+
*/
|
14
|
+
export interface GetGeneratedTemplateCommandInput extends GetGeneratedTemplateInput {
|
15
|
+
}
|
16
|
+
/**
|
17
|
+
* @public
|
18
|
+
*
|
19
|
+
* The output of {@link GetGeneratedTemplateCommand}.
|
20
|
+
*/
|
21
|
+
export interface GetGeneratedTemplateCommandOutput extends GetGeneratedTemplateOutput, __MetadataBearer {
|
22
|
+
}
|
23
|
+
declare const GetGeneratedTemplateCommand_base: {
|
24
|
+
new (input: GetGeneratedTemplateCommandInput): import("@smithy/smithy-client").CommandImpl<GetGeneratedTemplateCommandInput, GetGeneratedTemplateCommandOutput, CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
26
|
+
};
|
27
|
+
/**
|
28
|
+
* @public
|
29
|
+
* <p>Retrieves a generated template. If the template is in an <code>InProgress</code> or <code>Pending</code> status
|
30
|
+
* then the template returned will be the template when the template was last in a <code>Complete</code> status. If the
|
31
|
+
* template has not yet been in a <code>Complete</code> status then an empty template will be returned.</p>
|
32
|
+
* @example
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
34
|
+
* ```javascript
|
35
|
+
* import { CloudFormationClient, GetGeneratedTemplateCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
|
36
|
+
* // const { CloudFormationClient, GetGeneratedTemplateCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
|
37
|
+
* const client = new CloudFormationClient(config);
|
38
|
+
* const input = { // GetGeneratedTemplateInput
|
39
|
+
* Format: "JSON" || "YAML",
|
40
|
+
* GeneratedTemplateName: "STRING_VALUE", // required
|
41
|
+
* };
|
42
|
+
* const command = new GetGeneratedTemplateCommand(input);
|
43
|
+
* const response = await client.send(command);
|
44
|
+
* // { // GetGeneratedTemplateOutput
|
45
|
+
* // Status: "CREATE_PENDING" || "UPDATE_PENDING" || "DELETE_PENDING" || "CREATE_IN_PROGRESS" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "FAILED" || "COMPLETE",
|
46
|
+
* // TemplateBody: "STRING_VALUE",
|
47
|
+
* // };
|
48
|
+
*
|
49
|
+
* ```
|
50
|
+
*
|
51
|
+
* @param GetGeneratedTemplateCommandInput - {@link GetGeneratedTemplateCommandInput}
|
52
|
+
* @returns {@link GetGeneratedTemplateCommandOutput}
|
53
|
+
* @see {@link GetGeneratedTemplateCommandInput} for command's `input` shape.
|
54
|
+
* @see {@link GetGeneratedTemplateCommandOutput} for command's `response` shape.
|
55
|
+
* @see {@link CloudFormationClientResolvedConfig | config} for CloudFormationClient's `config` shape.
|
56
|
+
*
|
57
|
+
* @throws {@link GeneratedTemplateNotFoundException} (client fault)
|
58
|
+
* <p>The generated template was not found.</p>
|
59
|
+
*
|
60
|
+
* @throws {@link CloudFormationServiceException}
|
61
|
+
* <p>Base exception class for all service exceptions from CloudFormation service.</p>
|
62
|
+
*
|
63
|
+
* @example To get a generated template in JSON format
|
64
|
+
* ```javascript
|
65
|
+
* // This example gets a generated template ins JSON format.
|
66
|
+
* const input = {
|
67
|
+
* "GeneratedTemplateName": "JazzyTemplate"
|
68
|
+
* };
|
69
|
+
* const command = new GetGeneratedTemplateCommand(input);
|
70
|
+
* const response = await client.send(command);
|
71
|
+
* /* response ==
|
72
|
+
* {
|
73
|
+
* "Status": "COMPLETE",
|
74
|
+
* "TemplateBody": "{\"Metadata\":{\"TemplateId\":\"arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/*\"},\"Parameters\":{\"Stage\":{\"Default\":\"beta\",\"Type\":\"String\"}},\"Resources\":{\"TestRole\":{\"Properties\":{\"AssumeRolePolicyDocument\":{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"AWS\":{\"Fn::Sub\":[\"arn:${AWS::Partition}:iam::${AccountId}:root\",{\"AccountId\":{\"Fn::AccountIdFromAlias\":\"test-account-alias\"}}]}},\"Action\":\"sts:AssumeRole\"}]}},\"Type\":\"AWS::IAM::Role\",\"DeletionPolicy\":\"Delete\"},\"DocumentationPartl7ob4vsd76vs\":{\"UpdateReplacePolicy\":\"Retain\",\"Type\":\"AWS::ApiGateway::DocumentationPart\",\"DeletionPolicy\":\"Retain\",\"Properties\":{\"RestApiId\":\"l7ob4vsd76\",\"Properties\":\"{\\n \\\"description\\\" : \\\"ListGeneratedTemplates 200 response\\\"\\n}\",\"Location\":{\"Path\":\"/ListGeneratedTemplates\",\"Type\":\"RESPONSE\",\"Method\":\"POST\",\"StatusCode\":\"200\"}}}}}"
|
75
|
+
* }
|
76
|
+
* *\/
|
77
|
+
* // example id: to-get-a-generated-template-json
|
78
|
+
* ```
|
79
|
+
*
|
80
|
+
* @example To get a generated template in YAML format
|
81
|
+
* ```javascript
|
82
|
+
* // This example gets a generated template in YAML format.
|
83
|
+
* const input = {
|
84
|
+
* "Format": "YAML",
|
85
|
+
* "GeneratedTemplateName": "JazzyTemplate"
|
86
|
+
* };
|
87
|
+
* const command = new GetGeneratedTemplateCommand(input);
|
88
|
+
* const response = await client.send(command);
|
89
|
+
* /* response ==
|
90
|
+
* {
|
91
|
+
* "Status": "COMPLETE",
|
92
|
+
* "TemplateBody": "---\nMetadata:\n TemplateId: \"arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/*\"\nParameters:\n Stage:\n Default: \"beta\"\n Type: \"String\"\nResources:\n TestRole:\n Properties:\n AssumeRolePolicyDocument:\n Version: \"2012-10-17\"\n Statement:\n - Effect: \"Allow\"\n Principal:\n AWS:\n Fn::Sub:\n - \"arn:${AWS::Partition}:iam::${AccountId}:root\"\n - AccountId:\n Fn::AccountIdFromAlias: \"test-account-alias\"\n Action: \"sts:AssumeRole\"\n Type: \"AWS::IAM::Role\"\n DeletionPolicy: \"Delete\"\n DocumentationPartl7ob4vsd76vsnAlFMLXKVm:\n UpdateReplacePolicy: \"Retain\"\n Type: \"AWS::ApiGateway::DocumentationPart\"\n DeletionPolicy: \"Retain\"\n Properties:\n RestApiId: \"l7ob4vsd76\"\n Properties: \"{\\n \\\"description\\\" : \\\"ListGeneratedTemplates 200 response\\\"\\n\\\n }\"\n Location:\n Path: \"/ListGeneratedTemplates\"\n Type: \"RESPONSE\"\n Method: \"POST\"\n StatusCode: \"200\"\n"
|
93
|
+
* }
|
94
|
+
* *\/
|
95
|
+
* // example id: to-get-a-generated-template-yaml
|
96
|
+
* ```
|
97
|
+
*
|
98
|
+
*/
|
99
|
+
export declare class GetGeneratedTemplateCommand extends GetGeneratedTemplateCommand_base {
|
100
|
+
}
|
@@ -0,0 +1,112 @@
|
|
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 { ListGeneratedTemplatesInput, ListGeneratedTemplatesOutput } from "../models/models_0";
|
5
|
+
/**
|
6
|
+
* @public
|
7
|
+
*/
|
8
|
+
export { __MetadataBearer, $Command };
|
9
|
+
/**
|
10
|
+
* @public
|
11
|
+
*
|
12
|
+
* The input for {@link ListGeneratedTemplatesCommand}.
|
13
|
+
*/
|
14
|
+
export interface ListGeneratedTemplatesCommandInput extends ListGeneratedTemplatesInput {
|
15
|
+
}
|
16
|
+
/**
|
17
|
+
* @public
|
18
|
+
*
|
19
|
+
* The output of {@link ListGeneratedTemplatesCommand}.
|
20
|
+
*/
|
21
|
+
export interface ListGeneratedTemplatesCommandOutput extends ListGeneratedTemplatesOutput, __MetadataBearer {
|
22
|
+
}
|
23
|
+
declare const ListGeneratedTemplatesCommand_base: {
|
24
|
+
new (input: ListGeneratedTemplatesCommandInput): import("@smithy/smithy-client").CommandImpl<ListGeneratedTemplatesCommandInput, ListGeneratedTemplatesCommandOutput, CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
26
|
+
};
|
27
|
+
/**
|
28
|
+
* @public
|
29
|
+
* <p>Lists your generated templates in this Region.</p>
|
30
|
+
* @example
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
32
|
+
* ```javascript
|
33
|
+
* import { CloudFormationClient, ListGeneratedTemplatesCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
|
34
|
+
* // const { CloudFormationClient, ListGeneratedTemplatesCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
|
35
|
+
* const client = new CloudFormationClient(config);
|
36
|
+
* const input = { // ListGeneratedTemplatesInput
|
37
|
+
* NextToken: "STRING_VALUE",
|
38
|
+
* MaxResults: Number("int"),
|
39
|
+
* };
|
40
|
+
* const command = new ListGeneratedTemplatesCommand(input);
|
41
|
+
* const response = await client.send(command);
|
42
|
+
* // { // ListGeneratedTemplatesOutput
|
43
|
+
* // Summaries: [ // TemplateSummaries
|
44
|
+
* // { // TemplateSummary
|
45
|
+
* // GeneratedTemplateId: "STRING_VALUE",
|
46
|
+
* // GeneratedTemplateName: "STRING_VALUE",
|
47
|
+
* // Status: "CREATE_PENDING" || "UPDATE_PENDING" || "DELETE_PENDING" || "CREATE_IN_PROGRESS" || "UPDATE_IN_PROGRESS" || "DELETE_IN_PROGRESS" || "FAILED" || "COMPLETE",
|
48
|
+
* // StatusReason: "STRING_VALUE",
|
49
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
50
|
+
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
51
|
+
* // NumberOfResources: Number("int"),
|
52
|
+
* // },
|
53
|
+
* // ],
|
54
|
+
* // NextToken: "STRING_VALUE",
|
55
|
+
* // };
|
56
|
+
*
|
57
|
+
* ```
|
58
|
+
*
|
59
|
+
* @param ListGeneratedTemplatesCommandInput - {@link ListGeneratedTemplatesCommandInput}
|
60
|
+
* @returns {@link ListGeneratedTemplatesCommandOutput}
|
61
|
+
* @see {@link ListGeneratedTemplatesCommandInput} for command's `input` shape.
|
62
|
+
* @see {@link ListGeneratedTemplatesCommandOutput} for command's `response` shape.
|
63
|
+
* @see {@link CloudFormationClientResolvedConfig | config} for CloudFormationClient's `config` shape.
|
64
|
+
*
|
65
|
+
* @throws {@link CloudFormationServiceException}
|
66
|
+
* <p>Base exception class for all service exceptions from CloudFormation service.</p>
|
67
|
+
*
|
68
|
+
* @example To list generated templates
|
69
|
+
* ```javascript
|
70
|
+
* // This example lists the generated templates.
|
71
|
+
* const input = {};
|
72
|
+
* const command = new ListGeneratedTemplatesCommand(input);
|
73
|
+
* const response = await client.send(command);
|
74
|
+
* /* response ==
|
75
|
+
* {
|
76
|
+
* "Summaries": [
|
77
|
+
* {
|
78
|
+
* "CreationTime": "2023-12-28T17:55:20.086000+00:00",
|
79
|
+
* "GeneratedTemplateId": "arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/abcdefghi-1234-abcd-abcd-abcdefgh1234567",
|
80
|
+
* "GeneratedTemplateName": "Template3",
|
81
|
+
* "LastUpdatedTime": "2023-12-28T17:57:16.610000+00:00",
|
82
|
+
* "NumberOfResources": 85,
|
83
|
+
* "Status": "COMPLETE",
|
84
|
+
* "StatusReason": "All resources complete"
|
85
|
+
* },
|
86
|
+
* {
|
87
|
+
* "CreationTime": "2023-12-21T01:51:07.764000+00:00",
|
88
|
+
* "GeneratedTemplateId": "arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/bbcdefghi-1234-abcd-abcd-abcdefgh1234567",
|
89
|
+
* "GeneratedTemplateName": "Template2",
|
90
|
+
* "LastUpdatedTime": "2023-12-21T01:51:22.664000+00:00",
|
91
|
+
* "NumberOfResources": 12,
|
92
|
+
* "Status": "COMPLETE",
|
93
|
+
* "StatusReason": "All resources complete"
|
94
|
+
* },
|
95
|
+
* {
|
96
|
+
* "CreationTime": "2023-11-20T23:53:28.722000+00:00",
|
97
|
+
* "GeneratedTemplateId": "arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/cbcdefghi-1234-abcd-abcd-abcdefgh1234567",
|
98
|
+
* "GeneratedTemplateName": "Template1",
|
99
|
+
* "LastUpdatedTime": "2023-11-21T04:25:30.527000+00:00",
|
100
|
+
* "NumberOfResources": 19,
|
101
|
+
* "Status": "COMPLETE",
|
102
|
+
* "StatusReason": "All resources complete"
|
103
|
+
* }
|
104
|
+
* ]
|
105
|
+
* }
|
106
|
+
* *\/
|
107
|
+
* // example id: to-list-generated-templates
|
108
|
+
* ```
|
109
|
+
*
|
110
|
+
*/
|
111
|
+
export declare class ListGeneratedTemplatesCommand extends ListGeneratedTemplatesCommand_base {
|
112
|
+
}
|
@@ -0,0 +1,145 @@
|
|
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 { ListResourceScanRelatedResourcesInput, ListResourceScanRelatedResourcesOutput } from "../models/models_0";
|
5
|
+
/**
|
6
|
+
* @public
|
7
|
+
*/
|
8
|
+
export { __MetadataBearer, $Command };
|
9
|
+
/**
|
10
|
+
* @public
|
11
|
+
*
|
12
|
+
* The input for {@link ListResourceScanRelatedResourcesCommand}.
|
13
|
+
*/
|
14
|
+
export interface ListResourceScanRelatedResourcesCommandInput extends ListResourceScanRelatedResourcesInput {
|
15
|
+
}
|
16
|
+
/**
|
17
|
+
* @public
|
18
|
+
*
|
19
|
+
* The output of {@link ListResourceScanRelatedResourcesCommand}.
|
20
|
+
*/
|
21
|
+
export interface ListResourceScanRelatedResourcesCommandOutput extends ListResourceScanRelatedResourcesOutput, __MetadataBearer {
|
22
|
+
}
|
23
|
+
declare const ListResourceScanRelatedResourcesCommand_base: {
|
24
|
+
new (input: ListResourceScanRelatedResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<ListResourceScanRelatedResourcesCommandInput, ListResourceScanRelatedResourcesCommandOutput, CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
26
|
+
};
|
27
|
+
/**
|
28
|
+
* @public
|
29
|
+
* <p>Lists the related resources for a list of resources from a resource scan. The response indicates whether each
|
30
|
+
* returned resource is already managed by CloudFormation.</p>
|
31
|
+
* @example
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
33
|
+
* ```javascript
|
34
|
+
* import { CloudFormationClient, ListResourceScanRelatedResourcesCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
|
35
|
+
* // const { CloudFormationClient, ListResourceScanRelatedResourcesCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
|
36
|
+
* const client = new CloudFormationClient(config);
|
37
|
+
* const input = { // ListResourceScanRelatedResourcesInput
|
38
|
+
* ResourceScanId: "STRING_VALUE", // required
|
39
|
+
* Resources: [ // ScannedResourceIdentifiers // required
|
40
|
+
* { // ScannedResourceIdentifier
|
41
|
+
* ResourceType: "STRING_VALUE", // required
|
42
|
+
* ResourceIdentifier: { // JazzResourceIdentifierProperties // required
|
43
|
+
* "<keys>": "STRING_VALUE",
|
44
|
+
* },
|
45
|
+
* },
|
46
|
+
* ],
|
47
|
+
* NextToken: "STRING_VALUE",
|
48
|
+
* MaxResults: Number("int"),
|
49
|
+
* };
|
50
|
+
* const command = new ListResourceScanRelatedResourcesCommand(input);
|
51
|
+
* const response = await client.send(command);
|
52
|
+
* // { // ListResourceScanRelatedResourcesOutput
|
53
|
+
* // RelatedResources: [ // RelatedResources
|
54
|
+
* // { // ScannedResource
|
55
|
+
* // ResourceType: "STRING_VALUE",
|
56
|
+
* // ResourceIdentifier: { // JazzResourceIdentifierProperties
|
57
|
+
* // "<keys>": "STRING_VALUE",
|
58
|
+
* // },
|
59
|
+
* // ManagedByStack: true || false,
|
60
|
+
* // },
|
61
|
+
* // ],
|
62
|
+
* // NextToken: "STRING_VALUE",
|
63
|
+
* // };
|
64
|
+
*
|
65
|
+
* ```
|
66
|
+
*
|
67
|
+
* @param ListResourceScanRelatedResourcesCommandInput - {@link ListResourceScanRelatedResourcesCommandInput}
|
68
|
+
* @returns {@link ListResourceScanRelatedResourcesCommandOutput}
|
69
|
+
* @see {@link ListResourceScanRelatedResourcesCommandInput} for command's `input` shape.
|
70
|
+
* @see {@link ListResourceScanRelatedResourcesCommandOutput} for command's `response` shape.
|
71
|
+
* @see {@link CloudFormationClientResolvedConfig | config} for CloudFormationClient's `config` shape.
|
72
|
+
*
|
73
|
+
* @throws {@link ResourceScanInProgressException} (client fault)
|
74
|
+
* <p>A resource scan is currently in progress. Only one can be run at a time for an account in a Region.</p>
|
75
|
+
*
|
76
|
+
* @throws {@link ResourceScanNotFoundException} (client fault)
|
77
|
+
* <p>The resource scan was not found.</p>
|
78
|
+
*
|
79
|
+
* @throws {@link CloudFormationServiceException}
|
80
|
+
* <p>Base exception class for all service exceptions from CloudFormation service.</p>
|
81
|
+
*
|
82
|
+
* @example To list resource scan related resources
|
83
|
+
* ```javascript
|
84
|
+
* // This example lists the resources related to the passed in resources
|
85
|
+
* const input = {
|
86
|
+
* "ResourceScanId": "arn:aws:cloudformation:us-east-1:123456789012:resourceScan/c19304f6-c4f1-4ff8-8e1f-35162e41d7e1",
|
87
|
+
* "Resources": [
|
88
|
+
* {
|
89
|
+
* "ResourceIdentifier": {
|
90
|
+
* "BucketName": "jazz-bucket"
|
91
|
+
* },
|
92
|
+
* "ResourceType": "AWS::S3::Bucket"
|
93
|
+
* },
|
94
|
+
* {
|
95
|
+
* "ResourceIdentifier": {
|
96
|
+
* "DhcpOptionsId": "random-id123"
|
97
|
+
* },
|
98
|
+
* "ResourceType": "AWS::EC2::DHCPOptions"
|
99
|
+
* }
|
100
|
+
* ]
|
101
|
+
* };
|
102
|
+
* const command = new ListResourceScanRelatedResourcesCommand(input);
|
103
|
+
* const response = await client.send(command);
|
104
|
+
* /* response ==
|
105
|
+
* {
|
106
|
+
* "RelatedResources": [
|
107
|
+
* {
|
108
|
+
* "ManagedByStack": false,
|
109
|
+
* "ResourceIdentifier": {
|
110
|
+
* "DhcpOptionsId": "dopt-98765edcba",
|
111
|
+
* "VpcId": "vpc-0123456abcdefg"
|
112
|
+
* },
|
113
|
+
* "ResourceType": "AWS::EC2::VPCDHCPOptionsAssociation"
|
114
|
+
* },
|
115
|
+
* {
|
116
|
+
* "ManagedByStack": false,
|
117
|
+
* "ResourceIdentifier": {
|
118
|
+
* "VpcId": "vpc-0123456abcdefgabc"
|
119
|
+
* },
|
120
|
+
* "ResourceType": "AWS::EC2::VPC"
|
121
|
+
* },
|
122
|
+
* {
|
123
|
+
* "ManagedByStack": false,
|
124
|
+
* "ResourceIdentifier": {
|
125
|
+
* "DhcpOptionsId": "dopt-98765edcba",
|
126
|
+
* "VpcId": "vpc-123456abcdef"
|
127
|
+
* },
|
128
|
+
* "ResourceType": "AWS::EC2::VPCDHCPOptionsAssociation"
|
129
|
+
* },
|
130
|
+
* {
|
131
|
+
* "ManagedByStack": false,
|
132
|
+
* "ResourceIdentifier": {
|
133
|
+
* "VpcId": "vpc-12345678abcd"
|
134
|
+
* },
|
135
|
+
* "ResourceType": "AWS::EC2::VPC"
|
136
|
+
* }
|
137
|
+
* ]
|
138
|
+
* }
|
139
|
+
* *\/
|
140
|
+
* // example id: to-list-resource-scan-related-resources
|
141
|
+
* ```
|
142
|
+
*
|
143
|
+
*/
|
144
|
+
export declare class ListResourceScanRelatedResourcesCommand extends ListResourceScanRelatedResourcesCommand_base {
|
145
|
+
}
|