@aws-sdk/client-cloudformation 3.370.0 → 3.376.0
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/README.md +8 -0
- package/dist-cjs/CloudFormation.js +2 -0
- package/dist-cjs/commands/ListStackInstanceResourceDriftsCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_query.js +171 -3
- package/dist-es/CloudFormation.js +2 -0
- package/dist-es/commands/ListStackInstanceResourceDriftsCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_query.js +166 -0
- package/dist-types/CloudFormation.d.ts +7 -0
- package/dist-types/CloudFormationClient.d.ts +3 -2
- package/dist-types/commands/GetTemplateSummaryCommand.d.ts +8 -0
- package/dist-types/commands/ListStackInstanceResourceDriftsCommand.d.ts +121 -0
- package/dist-types/commands/ListStackInstancesCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +288 -90
- package/dist-types/protocols/Aws_query.d.ts +9 -0
- package/dist-types/ts3.4/CloudFormation.d.ts +17 -0
- package/dist-types/ts3.4/CloudFormationClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListStackInstanceResourceDriftsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +33 -0
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +12 -0
- package/package.json +1 -1
|
@@ -44,6 +44,7 @@ import { ImportStacksToStackSetCommandInput, ImportStacksToStackSetCommandOutput
|
|
|
44
44
|
import { ListChangeSetsCommandInput, ListChangeSetsCommandOutput } from "../commands/ListChangeSetsCommand";
|
|
45
45
|
import { ListExportsCommandInput, ListExportsCommandOutput } from "../commands/ListExportsCommand";
|
|
46
46
|
import { ListImportsCommandInput, ListImportsCommandOutput } from "../commands/ListImportsCommand";
|
|
47
|
+
import { ListStackInstanceResourceDriftsCommandInput, ListStackInstanceResourceDriftsCommandOutput } from "../commands/ListStackInstanceResourceDriftsCommand";
|
|
47
48
|
import { ListStackInstancesCommandInput, ListStackInstancesCommandOutput } from "../commands/ListStackInstancesCommand";
|
|
48
49
|
import { ListStackResourcesCommandInput, ListStackResourcesCommandOutput } from "../commands/ListStackResourcesCommand";
|
|
49
50
|
import { ListStacksCommandInput, ListStacksCommandOutput } from "../commands/ListStacksCommand";
|
|
@@ -245,6 +246,10 @@ export declare const se_ListExportsCommand: (input: ListExportsCommandInput, con
|
|
|
245
246
|
* serializeAws_queryListImportsCommand
|
|
246
247
|
*/
|
|
247
248
|
export declare const se_ListImportsCommand: (input: ListImportsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
249
|
+
/**
|
|
250
|
+
* serializeAws_queryListStackInstanceResourceDriftsCommand
|
|
251
|
+
*/
|
|
252
|
+
export declare const se_ListStackInstanceResourceDriftsCommand: (input: ListStackInstanceResourceDriftsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
248
253
|
/**
|
|
249
254
|
* serializeAws_queryListStackInstancesCommand
|
|
250
255
|
*/
|
|
@@ -521,6 +526,10 @@ export declare const de_ListExportsCommand: (output: __HttpResponse, context: __
|
|
|
521
526
|
* deserializeAws_queryListImportsCommand
|
|
522
527
|
*/
|
|
523
528
|
export declare const de_ListImportsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListImportsCommandOutput>;
|
|
529
|
+
/**
|
|
530
|
+
* deserializeAws_queryListStackInstanceResourceDriftsCommand
|
|
531
|
+
*/
|
|
532
|
+
export declare const de_ListStackInstanceResourceDriftsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListStackInstanceResourceDriftsCommandOutput>;
|
|
524
533
|
/**
|
|
525
534
|
* deserializeAws_queryListStackInstancesCommand
|
|
526
535
|
*/
|
|
@@ -176,6 +176,10 @@ import {
|
|
|
176
176
|
ListImportsCommandInput,
|
|
177
177
|
ListImportsCommandOutput,
|
|
178
178
|
} from "./commands/ListImportsCommand";
|
|
179
|
+
import {
|
|
180
|
+
ListStackInstanceResourceDriftsCommandInput,
|
|
181
|
+
ListStackInstanceResourceDriftsCommandOutput,
|
|
182
|
+
} from "./commands/ListStackInstanceResourceDriftsCommand";
|
|
179
183
|
import {
|
|
180
184
|
ListStackInstancesCommandInput,
|
|
181
185
|
ListStackInstancesCommandOutput,
|
|
@@ -855,6 +859,19 @@ export interface CloudFormation {
|
|
|
855
859
|
options: __HttpHandlerOptions,
|
|
856
860
|
cb: (err: any, data?: ListImportsCommandOutput) => void
|
|
857
861
|
): void;
|
|
862
|
+
listStackInstanceResourceDrifts(
|
|
863
|
+
args: ListStackInstanceResourceDriftsCommandInput,
|
|
864
|
+
options?: __HttpHandlerOptions
|
|
865
|
+
): Promise<ListStackInstanceResourceDriftsCommandOutput>;
|
|
866
|
+
listStackInstanceResourceDrifts(
|
|
867
|
+
args: ListStackInstanceResourceDriftsCommandInput,
|
|
868
|
+
cb: (err: any, data?: ListStackInstanceResourceDriftsCommandOutput) => void
|
|
869
|
+
): void;
|
|
870
|
+
listStackInstanceResourceDrifts(
|
|
871
|
+
args: ListStackInstanceResourceDriftsCommandInput,
|
|
872
|
+
options: __HttpHandlerOptions,
|
|
873
|
+
cb: (err: any, data?: ListStackInstanceResourceDriftsCommandOutput) => void
|
|
874
|
+
): void;
|
|
858
875
|
listStackInstances(
|
|
859
876
|
args: ListStackInstancesCommandInput,
|
|
860
877
|
options?: __HttpHandlerOptions
|
|
@@ -220,6 +220,10 @@ import {
|
|
|
220
220
|
ListImportsCommandInput,
|
|
221
221
|
ListImportsCommandOutput,
|
|
222
222
|
} from "./commands/ListImportsCommand";
|
|
223
|
+
import {
|
|
224
|
+
ListStackInstanceResourceDriftsCommandInput,
|
|
225
|
+
ListStackInstanceResourceDriftsCommandOutput,
|
|
226
|
+
} from "./commands/ListStackInstanceResourceDriftsCommand";
|
|
223
227
|
import {
|
|
224
228
|
ListStackInstancesCommandInput,
|
|
225
229
|
ListStackInstancesCommandOutput,
|
|
@@ -371,6 +375,7 @@ export type ServiceInputTypes =
|
|
|
371
375
|
| ListChangeSetsCommandInput
|
|
372
376
|
| ListExportsCommandInput
|
|
373
377
|
| ListImportsCommandInput
|
|
378
|
+
| ListStackInstanceResourceDriftsCommandInput
|
|
374
379
|
| ListStackInstancesCommandInput
|
|
375
380
|
| ListStackResourcesCommandInput
|
|
376
381
|
| ListStackSetOperationResultsCommandInput
|
|
@@ -441,6 +446,7 @@ export type ServiceOutputTypes =
|
|
|
441
446
|
| ListChangeSetsCommandOutput
|
|
442
447
|
| ListExportsCommandOutput
|
|
443
448
|
| ListImportsCommandOutput
|
|
449
|
+
| ListStackInstanceResourceDriftsCommandOutput
|
|
444
450
|
| ListStackInstancesCommandOutput
|
|
445
451
|
| ListStackResourcesCommandOutput
|
|
446
452
|
| ListStackSetOperationResultsCommandOutput
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
CloudFormationClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../CloudFormationClient";
|
|
14
|
+
import {
|
|
15
|
+
ListStackInstanceResourceDriftsInput,
|
|
16
|
+
ListStackInstanceResourceDriftsOutput,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface ListStackInstanceResourceDriftsCommandInput
|
|
20
|
+
extends ListStackInstanceResourceDriftsInput {}
|
|
21
|
+
export interface ListStackInstanceResourceDriftsCommandOutput
|
|
22
|
+
extends ListStackInstanceResourceDriftsOutput,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class ListStackInstanceResourceDriftsCommand extends $Command<
|
|
25
|
+
ListStackInstanceResourceDriftsCommandInput,
|
|
26
|
+
ListStackInstanceResourceDriftsCommandOutput,
|
|
27
|
+
CloudFormationClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: ListStackInstanceResourceDriftsCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: ListStackInstanceResourceDriftsCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: CloudFormationClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
ListStackInstanceResourceDriftsCommandInput,
|
|
38
|
+
ListStackInstanceResourceDriftsCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -42,6 +42,7 @@ export * from "./ImportStacksToStackSetCommand";
|
|
|
42
42
|
export * from "./ListChangeSetsCommand";
|
|
43
43
|
export * from "./ListExportsCommand";
|
|
44
44
|
export * from "./ListImportsCommand";
|
|
45
|
+
export * from "./ListStackInstanceResourceDriftsCommand";
|
|
45
46
|
export * from "./ListStackInstancesCommand";
|
|
46
47
|
export * from "./ListStackResourcesCommand";
|
|
47
48
|
export * from "./ListStackSetOperationResultsCommand";
|
|
@@ -1260,12 +1260,16 @@ export interface GetTemplateOutput {
|
|
|
1260
1260
|
TemplateBody?: string;
|
|
1261
1261
|
StagesAvailable?: (TemplateStage | string)[];
|
|
1262
1262
|
}
|
|
1263
|
+
export interface TemplateSummaryConfig {
|
|
1264
|
+
TreatUnrecognizedResourceTypesAsWarnings?: boolean;
|
|
1265
|
+
}
|
|
1263
1266
|
export interface GetTemplateSummaryInput {
|
|
1264
1267
|
TemplateBody?: string;
|
|
1265
1268
|
TemplateURL?: string;
|
|
1266
1269
|
StackName?: string;
|
|
1267
1270
|
StackSetName?: string;
|
|
1268
1271
|
CallAs?: CallAs | string;
|
|
1272
|
+
TemplateSummaryConfig?: TemplateSummaryConfig;
|
|
1269
1273
|
}
|
|
1270
1274
|
export interface ParameterConstraints {
|
|
1271
1275
|
AllowedValues?: string[];
|
|
@@ -1283,6 +1287,9 @@ export interface ResourceIdentifierSummary {
|
|
|
1283
1287
|
LogicalResourceIds?: string[];
|
|
1284
1288
|
ResourceIdentifiers?: string[];
|
|
1285
1289
|
}
|
|
1290
|
+
export interface Warnings {
|
|
1291
|
+
UnrecognizedResourceTypes?: string[];
|
|
1292
|
+
}
|
|
1286
1293
|
export interface GetTemplateSummaryOutput {
|
|
1287
1294
|
Parameters?: ParameterDeclaration[];
|
|
1288
1295
|
Description?: string;
|
|
@@ -1293,6 +1300,7 @@ export interface GetTemplateSummaryOutput {
|
|
|
1293
1300
|
Metadata?: string;
|
|
1294
1301
|
DeclaredTransforms?: string[];
|
|
1295
1302
|
ResourceIdentifierSummaries?: ResourceIdentifierSummary[];
|
|
1303
|
+
Warnings?: Warnings;
|
|
1296
1304
|
}
|
|
1297
1305
|
export interface ImportStacksToStackSetInput {
|
|
1298
1306
|
StackSetName: string | undefined;
|
|
@@ -1342,8 +1350,33 @@ export interface ListImportsOutput {
|
|
|
1342
1350
|
Imports?: string[];
|
|
1343
1351
|
NextToken?: string;
|
|
1344
1352
|
}
|
|
1353
|
+
export interface ListStackInstanceResourceDriftsInput {
|
|
1354
|
+
StackSetName: string | undefined;
|
|
1355
|
+
NextToken?: string;
|
|
1356
|
+
MaxResults?: number;
|
|
1357
|
+
StackInstanceResourceDriftStatuses?: (StackResourceDriftStatus | string)[];
|
|
1358
|
+
StackInstanceAccount: string | undefined;
|
|
1359
|
+
StackInstanceRegion: string | undefined;
|
|
1360
|
+
OperationId: string | undefined;
|
|
1361
|
+
CallAs?: CallAs | string;
|
|
1362
|
+
}
|
|
1363
|
+
export interface StackInstanceResourceDriftsSummary {
|
|
1364
|
+
StackId: string | undefined;
|
|
1365
|
+
LogicalResourceId: string | undefined;
|
|
1366
|
+
PhysicalResourceId?: string;
|
|
1367
|
+
PhysicalResourceIdContext?: PhysicalResourceIdContextKeyValuePair[];
|
|
1368
|
+
ResourceType: string | undefined;
|
|
1369
|
+
PropertyDifferences?: PropertyDifference[];
|
|
1370
|
+
StackResourceDriftStatus: StackResourceDriftStatus | string | undefined;
|
|
1371
|
+
Timestamp: Date | undefined;
|
|
1372
|
+
}
|
|
1373
|
+
export interface ListStackInstanceResourceDriftsOutput {
|
|
1374
|
+
Summaries?: StackInstanceResourceDriftsSummary[];
|
|
1375
|
+
NextToken?: string;
|
|
1376
|
+
}
|
|
1345
1377
|
export declare const StackInstanceFilterName: {
|
|
1346
1378
|
readonly DETAILED_STATUS: "DETAILED_STATUS";
|
|
1379
|
+
readonly DRIFT_STATUS: "DRIFT_STATUS";
|
|
1347
1380
|
readonly LAST_OPERATION_ID: "LAST_OPERATION_ID";
|
|
1348
1381
|
};
|
|
1349
1382
|
export type StackInstanceFilterName =
|
|
@@ -179,6 +179,10 @@ import {
|
|
|
179
179
|
ListImportsCommandInput,
|
|
180
180
|
ListImportsCommandOutput,
|
|
181
181
|
} from "../commands/ListImportsCommand";
|
|
182
|
+
import {
|
|
183
|
+
ListStackInstanceResourceDriftsCommandInput,
|
|
184
|
+
ListStackInstanceResourceDriftsCommandOutput,
|
|
185
|
+
} from "../commands/ListStackInstanceResourceDriftsCommand";
|
|
182
186
|
import {
|
|
183
187
|
ListStackInstancesCommandInput,
|
|
184
188
|
ListStackInstancesCommandOutput,
|
|
@@ -455,6 +459,10 @@ export declare const se_ListImportsCommand: (
|
|
|
455
459
|
input: ListImportsCommandInput,
|
|
456
460
|
context: __SerdeContext
|
|
457
461
|
) => Promise<__HttpRequest>;
|
|
462
|
+
export declare const se_ListStackInstanceResourceDriftsCommand: (
|
|
463
|
+
input: ListStackInstanceResourceDriftsCommandInput,
|
|
464
|
+
context: __SerdeContext
|
|
465
|
+
) => Promise<__HttpRequest>;
|
|
458
466
|
export declare const se_ListStackInstancesCommand: (
|
|
459
467
|
input: ListStackInstancesCommandInput,
|
|
460
468
|
context: __SerdeContext
|
|
@@ -731,6 +739,10 @@ export declare const de_ListImportsCommand: (
|
|
|
731
739
|
output: __HttpResponse,
|
|
732
740
|
context: __SerdeContext
|
|
733
741
|
) => Promise<ListImportsCommandOutput>;
|
|
742
|
+
export declare const de_ListStackInstanceResourceDriftsCommand: (
|
|
743
|
+
output: __HttpResponse,
|
|
744
|
+
context: __SerdeContext
|
|
745
|
+
) => Promise<ListStackInstanceResourceDriftsCommandOutput>;
|
|
734
746
|
export declare const de_ListStackInstancesCommand: (
|
|
735
747
|
output: __HttpResponse,
|
|
736
748
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudformation",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.376.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|