@aws-sdk/client-fis 3.975.0 → 3.978.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/dist-cjs/index.js +21 -13
- package/dist-es/Fis.js +15 -1
- package/dist-types/Fis.d.ts +43 -1
- package/dist-types/ts3.4/Fis.d.ts +47 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -1555,6 +1555,18 @@ class UpdateTargetAccountConfigurationCommand extends smithyClient.Command
|
|
|
1555
1555
|
.build() {
|
|
1556
1556
|
}
|
|
1557
1557
|
|
|
1558
|
+
const paginateListActions = core.createPaginator(FisClient, ListActionsCommand, "nextToken", "nextToken", "maxResults");
|
|
1559
|
+
|
|
1560
|
+
const paginateListExperimentResolvedTargets = core.createPaginator(FisClient, ListExperimentResolvedTargetsCommand, "nextToken", "nextToken", "maxResults");
|
|
1561
|
+
|
|
1562
|
+
const paginateListExperiments = core.createPaginator(FisClient, ListExperimentsCommand, "nextToken", "nextToken", "maxResults");
|
|
1563
|
+
|
|
1564
|
+
const paginateListExperimentTemplates = core.createPaginator(FisClient, ListExperimentTemplatesCommand, "nextToken", "nextToken", "maxResults");
|
|
1565
|
+
|
|
1566
|
+
const paginateListTargetAccountConfigurations = core.createPaginator(FisClient, ListTargetAccountConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1567
|
+
|
|
1568
|
+
const paginateListTargetResourceTypes = core.createPaginator(FisClient, ListTargetResourceTypesCommand, "nextToken", "nextToken", "maxResults");
|
|
1569
|
+
|
|
1558
1570
|
const commands = {
|
|
1559
1571
|
CreateExperimentTemplateCommand,
|
|
1560
1572
|
CreateTargetAccountConfigurationCommand,
|
|
@@ -1583,21 +1595,17 @@ const commands = {
|
|
|
1583
1595
|
UpdateSafetyLeverStateCommand,
|
|
1584
1596
|
UpdateTargetAccountConfigurationCommand,
|
|
1585
1597
|
};
|
|
1598
|
+
const paginators = {
|
|
1599
|
+
paginateListActions,
|
|
1600
|
+
paginateListExperimentResolvedTargets,
|
|
1601
|
+
paginateListExperiments,
|
|
1602
|
+
paginateListExperimentTemplates,
|
|
1603
|
+
paginateListTargetAccountConfigurations,
|
|
1604
|
+
paginateListTargetResourceTypes,
|
|
1605
|
+
};
|
|
1586
1606
|
class Fis extends FisClient {
|
|
1587
1607
|
}
|
|
1588
|
-
smithyClient.createAggregatedClient(commands, Fis);
|
|
1589
|
-
|
|
1590
|
-
const paginateListActions = core.createPaginator(FisClient, ListActionsCommand, "nextToken", "nextToken", "maxResults");
|
|
1591
|
-
|
|
1592
|
-
const paginateListExperimentResolvedTargets = core.createPaginator(FisClient, ListExperimentResolvedTargetsCommand, "nextToken", "nextToken", "maxResults");
|
|
1593
|
-
|
|
1594
|
-
const paginateListExperiments = core.createPaginator(FisClient, ListExperimentsCommand, "nextToken", "nextToken", "maxResults");
|
|
1595
|
-
|
|
1596
|
-
const paginateListExperimentTemplates = core.createPaginator(FisClient, ListExperimentTemplatesCommand, "nextToken", "nextToken", "maxResults");
|
|
1597
|
-
|
|
1598
|
-
const paginateListTargetAccountConfigurations = core.createPaginator(FisClient, ListTargetAccountConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1599
|
-
|
|
1600
|
-
const paginateListTargetResourceTypes = core.createPaginator(FisClient, ListTargetResourceTypesCommand, "nextToken", "nextToken", "maxResults");
|
|
1608
|
+
smithyClient.createAggregatedClient(commands, Fis, { paginators });
|
|
1601
1609
|
|
|
1602
1610
|
const AccountTargeting = {
|
|
1603
1611
|
MULTI_ACCOUNT: "multi-account",
|
package/dist-es/Fis.js
CHANGED
|
@@ -26,6 +26,12 @@ import { UpdateExperimentTemplateCommand, } from "./commands/UpdateExperimentTem
|
|
|
26
26
|
import { UpdateSafetyLeverStateCommand, } from "./commands/UpdateSafetyLeverStateCommand";
|
|
27
27
|
import { UpdateTargetAccountConfigurationCommand, } from "./commands/UpdateTargetAccountConfigurationCommand";
|
|
28
28
|
import { FisClient } from "./FisClient";
|
|
29
|
+
import { paginateListActions } from "./pagination/ListActionsPaginator";
|
|
30
|
+
import { paginateListExperimentResolvedTargets } from "./pagination/ListExperimentResolvedTargetsPaginator";
|
|
31
|
+
import { paginateListExperiments } from "./pagination/ListExperimentsPaginator";
|
|
32
|
+
import { paginateListExperimentTemplates } from "./pagination/ListExperimentTemplatesPaginator";
|
|
33
|
+
import { paginateListTargetAccountConfigurations } from "./pagination/ListTargetAccountConfigurationsPaginator";
|
|
34
|
+
import { paginateListTargetResourceTypes } from "./pagination/ListTargetResourceTypesPaginator";
|
|
29
35
|
const commands = {
|
|
30
36
|
CreateExperimentTemplateCommand,
|
|
31
37
|
CreateTargetAccountConfigurationCommand,
|
|
@@ -54,6 +60,14 @@ const commands = {
|
|
|
54
60
|
UpdateSafetyLeverStateCommand,
|
|
55
61
|
UpdateTargetAccountConfigurationCommand,
|
|
56
62
|
};
|
|
63
|
+
const paginators = {
|
|
64
|
+
paginateListActions,
|
|
65
|
+
paginateListExperimentResolvedTargets,
|
|
66
|
+
paginateListExperiments,
|
|
67
|
+
paginateListExperimentTemplates,
|
|
68
|
+
paginateListTargetAccountConfigurations,
|
|
69
|
+
paginateListTargetResourceTypes,
|
|
70
|
+
};
|
|
57
71
|
export class Fis extends FisClient {
|
|
58
72
|
}
|
|
59
|
-
createAggregatedClient(commands, Fis);
|
|
73
|
+
createAggregatedClient(commands, Fis, { paginators });
|
package/dist-types/Fis.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { CreateExperimentTemplateCommandInput, CreateExperimentTemplateCommandOutput } from "./commands/CreateExperimentTemplateCommand";
|
|
3
3
|
import { CreateTargetAccountConfigurationCommandInput, CreateTargetAccountConfigurationCommandOutput } from "./commands/CreateTargetAccountConfigurationCommand";
|
|
4
4
|
import { DeleteExperimentTemplateCommandInput, DeleteExperimentTemplateCommandOutput } from "./commands/DeleteExperimentTemplateCommand";
|
|
@@ -187,6 +187,48 @@ export interface Fis {
|
|
|
187
187
|
updateTargetAccountConfiguration(args: UpdateTargetAccountConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTargetAccountConfigurationCommandOutput>;
|
|
188
188
|
updateTargetAccountConfiguration(args: UpdateTargetAccountConfigurationCommandInput, cb: (err: any, data?: UpdateTargetAccountConfigurationCommandOutput) => void): void;
|
|
189
189
|
updateTargetAccountConfiguration(args: UpdateTargetAccountConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTargetAccountConfigurationCommandOutput) => void): void;
|
|
190
|
+
/**
|
|
191
|
+
* @see {@link ListActionsCommand}
|
|
192
|
+
* @param args - command input.
|
|
193
|
+
* @param paginationConfig - optional pagination config.
|
|
194
|
+
* @returns AsyncIterable of {@link ListActionsCommandOutput}.
|
|
195
|
+
*/
|
|
196
|
+
paginateListActions(args?: ListActionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListActionsCommandOutput>;
|
|
197
|
+
/**
|
|
198
|
+
* @see {@link ListExperimentResolvedTargetsCommand}
|
|
199
|
+
* @param args - command input.
|
|
200
|
+
* @param paginationConfig - optional pagination config.
|
|
201
|
+
* @returns AsyncIterable of {@link ListExperimentResolvedTargetsCommandOutput}.
|
|
202
|
+
*/
|
|
203
|
+
paginateListExperimentResolvedTargets(args: ListExperimentResolvedTargetsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListExperimentResolvedTargetsCommandOutput>;
|
|
204
|
+
/**
|
|
205
|
+
* @see {@link ListExperimentsCommand}
|
|
206
|
+
* @param args - command input.
|
|
207
|
+
* @param paginationConfig - optional pagination config.
|
|
208
|
+
* @returns AsyncIterable of {@link ListExperimentsCommandOutput}.
|
|
209
|
+
*/
|
|
210
|
+
paginateListExperiments(args?: ListExperimentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListExperimentsCommandOutput>;
|
|
211
|
+
/**
|
|
212
|
+
* @see {@link ListExperimentTemplatesCommand}
|
|
213
|
+
* @param args - command input.
|
|
214
|
+
* @param paginationConfig - optional pagination config.
|
|
215
|
+
* @returns AsyncIterable of {@link ListExperimentTemplatesCommandOutput}.
|
|
216
|
+
*/
|
|
217
|
+
paginateListExperimentTemplates(args?: ListExperimentTemplatesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListExperimentTemplatesCommandOutput>;
|
|
218
|
+
/**
|
|
219
|
+
* @see {@link ListTargetAccountConfigurationsCommand}
|
|
220
|
+
* @param args - command input.
|
|
221
|
+
* @param paginationConfig - optional pagination config.
|
|
222
|
+
* @returns AsyncIterable of {@link ListTargetAccountConfigurationsCommandOutput}.
|
|
223
|
+
*/
|
|
224
|
+
paginateListTargetAccountConfigurations(args: ListTargetAccountConfigurationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTargetAccountConfigurationsCommandOutput>;
|
|
225
|
+
/**
|
|
226
|
+
* @see {@link ListTargetResourceTypesCommand}
|
|
227
|
+
* @param args - command input.
|
|
228
|
+
* @param paginationConfig - optional pagination config.
|
|
229
|
+
* @returns AsyncIterable of {@link ListTargetResourceTypesCommandOutput}.
|
|
230
|
+
*/
|
|
231
|
+
paginateListTargetResourceTypes(args?: ListTargetResourceTypesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTargetResourceTypesCommandOutput>;
|
|
190
232
|
}
|
|
191
233
|
/**
|
|
192
234
|
* <p>Amazon Web Services Fault Injection Service is a managed service that enables you to perform fault injection
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
CreateExperimentTemplateCommandInput,
|
|
4
8
|
CreateExperimentTemplateCommandOutput,
|
|
@@ -459,5 +463,47 @@ export interface Fis {
|
|
|
459
463
|
options: __HttpHandlerOptions,
|
|
460
464
|
cb: (err: any, data?: UpdateTargetAccountConfigurationCommandOutput) => void
|
|
461
465
|
): void;
|
|
466
|
+
paginateListActions(
|
|
467
|
+
args?: ListActionsCommandInput,
|
|
468
|
+
paginationConfig?: Pick<
|
|
469
|
+
PaginationConfiguration,
|
|
470
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
471
|
+
>
|
|
472
|
+
): Paginator<ListActionsCommandOutput>;
|
|
473
|
+
paginateListExperimentResolvedTargets(
|
|
474
|
+
args: ListExperimentResolvedTargetsCommandInput,
|
|
475
|
+
paginationConfig?: Pick<
|
|
476
|
+
PaginationConfiguration,
|
|
477
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
478
|
+
>
|
|
479
|
+
): Paginator<ListExperimentResolvedTargetsCommandOutput>;
|
|
480
|
+
paginateListExperiments(
|
|
481
|
+
args?: ListExperimentsCommandInput,
|
|
482
|
+
paginationConfig?: Pick<
|
|
483
|
+
PaginationConfiguration,
|
|
484
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
485
|
+
>
|
|
486
|
+
): Paginator<ListExperimentsCommandOutput>;
|
|
487
|
+
paginateListExperimentTemplates(
|
|
488
|
+
args?: ListExperimentTemplatesCommandInput,
|
|
489
|
+
paginationConfig?: Pick<
|
|
490
|
+
PaginationConfiguration,
|
|
491
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
492
|
+
>
|
|
493
|
+
): Paginator<ListExperimentTemplatesCommandOutput>;
|
|
494
|
+
paginateListTargetAccountConfigurations(
|
|
495
|
+
args: ListTargetAccountConfigurationsCommandInput,
|
|
496
|
+
paginationConfig?: Pick<
|
|
497
|
+
PaginationConfiguration,
|
|
498
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
499
|
+
>
|
|
500
|
+
): Paginator<ListTargetAccountConfigurationsCommandOutput>;
|
|
501
|
+
paginateListTargetResourceTypes(
|
|
502
|
+
args?: ListTargetResourceTypesCommandInput,
|
|
503
|
+
paginationConfig?: Pick<
|
|
504
|
+
PaginationConfiguration,
|
|
505
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
506
|
+
>
|
|
507
|
+
): Paginator<ListTargetResourceTypesCommandOutput>;
|
|
462
508
|
}
|
|
463
509
|
export declare class Fis extends FisClient implements Fis {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-fis",
|
|
3
3
|
"description": "AWS SDK for JavaScript Fis Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-fis",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|