@aws-sdk/client-fis 3.48.0 → 3.52.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.
Files changed (36) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist-cjs/Fis.js +30 -0
  3. package/dist-cjs/commands/GetTargetResourceTypeCommand.js +36 -0
  4. package/dist-cjs/commands/ListTargetResourceTypesCommand.js +36 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +44 -2
  7. package/dist-cjs/pagination/ListTargetResourceTypesPaginator.js +35 -0
  8. package/dist-cjs/pagination/index.js +1 -0
  9. package/dist-cjs/protocols/Aws_restJson1.js +245 -1
  10. package/dist-es/Fis.js +30 -0
  11. package/dist-es/commands/GetTargetResourceTypeCommand.js +39 -0
  12. package/dist-es/commands/ListTargetResourceTypesCommand.js +39 -0
  13. package/dist-es/commands/index.js +2 -0
  14. package/dist-es/models/models_0.js +28 -0
  15. package/dist-es/pagination/ListTargetResourceTypesPaginator.js +74 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/protocols/Aws_restJson1.js +275 -2
  18. package/dist-types/Fis.d.ts +14 -0
  19. package/dist-types/FisClient.d.ts +4 -2
  20. package/dist-types/commands/GetTargetResourceTypeCommand.d.ts +35 -0
  21. package/dist-types/commands/ListTargetResourceTypesCommand.d.ts +35 -0
  22. package/dist-types/commands/index.d.ts +2 -0
  23. package/dist-types/models/models_0.d.ts +146 -2
  24. package/dist-types/pagination/ListTargetResourceTypesPaginator.d.ts +4 -0
  25. package/dist-types/pagination/index.d.ts +1 -0
  26. package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
  27. package/dist-types/ts3.4/Fis.d.ts +10 -0
  28. package/dist-types/ts3.4/FisClient.d.ts +4 -2
  29. package/dist-types/ts3.4/commands/GetTargetResourceTypeCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/ListTargetResourceTypesCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  32. package/dist-types/ts3.4/models/models_0.d.ts +89 -0
  33. package/dist-types/ts3.4/pagination/ListTargetResourceTypesPaginator.d.ts +4 -0
  34. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  35. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
  36. package/package.json +40 -34
@@ -4,10 +4,12 @@ import { DeleteExperimentTemplateCommandInput, DeleteExperimentTemplateCommandOu
4
4
  import { GetActionCommandInput, GetActionCommandOutput } from "./commands/GetActionCommand";
5
5
  import { GetExperimentCommandInput, GetExperimentCommandOutput } from "./commands/GetExperimentCommand";
6
6
  import { GetExperimentTemplateCommandInput, GetExperimentTemplateCommandOutput } from "./commands/GetExperimentTemplateCommand";
7
+ import { GetTargetResourceTypeCommandInput, GetTargetResourceTypeCommandOutput } from "./commands/GetTargetResourceTypeCommand";
7
8
  import { ListActionsCommandInput, ListActionsCommandOutput } from "./commands/ListActionsCommand";
8
9
  import { ListExperimentsCommandInput, ListExperimentsCommandOutput } from "./commands/ListExperimentsCommand";
9
10
  import { ListExperimentTemplatesCommandInput, ListExperimentTemplatesCommandOutput } from "./commands/ListExperimentTemplatesCommand";
10
11
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
12
+ import { ListTargetResourceTypesCommandInput, ListTargetResourceTypesCommandOutput } from "./commands/ListTargetResourceTypesCommand";
11
13
  import { StartExperimentCommandInput, StartExperimentCommandOutput } from "./commands/StartExperimentCommand";
12
14
  import { StopExperimentCommandInput, StopExperimentCommandOutput } from "./commands/StopExperimentCommand";
13
15
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
@@ -71,6 +73,12 @@ export declare class Fis extends FisClient {
71
73
  getExperimentTemplate(args: GetExperimentTemplateCommandInput, options?: __HttpHandlerOptions): Promise<GetExperimentTemplateCommandOutput>;
72
74
  getExperimentTemplate(args: GetExperimentTemplateCommandInput, cb: (err: any, data?: GetExperimentTemplateCommandOutput) => void): void;
73
75
  getExperimentTemplate(args: GetExperimentTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetExperimentTemplateCommandOutput) => void): void;
76
+ /**
77
+ * <p>Gets information about the specified resource type.</p>
78
+ */
79
+ getTargetResourceType(args: GetTargetResourceTypeCommandInput, options?: __HttpHandlerOptions): Promise<GetTargetResourceTypeCommandOutput>;
80
+ getTargetResourceType(args: GetTargetResourceTypeCommandInput, cb: (err: any, data?: GetTargetResourceTypeCommandOutput) => void): void;
81
+ getTargetResourceType(args: GetTargetResourceTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTargetResourceTypeCommandOutput) => void): void;
74
82
  /**
75
83
  * <p>Lists the available FIS actions.</p>
76
84
  */
@@ -95,6 +103,12 @@ export declare class Fis extends FisClient {
95
103
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
96
104
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
97
105
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
106
+ /**
107
+ * <p>Lists the target resource types.</p>
108
+ */
109
+ listTargetResourceTypes(args: ListTargetResourceTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListTargetResourceTypesCommandOutput>;
110
+ listTargetResourceTypes(args: ListTargetResourceTypesCommandInput, cb: (err: any, data?: ListTargetResourceTypesCommandOutput) => void): void;
111
+ listTargetResourceTypes(args: ListTargetResourceTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTargetResourceTypesCommandOutput) => void): void;
98
112
  /**
99
113
  * <p>Starts running an experiment from the specified experiment template.</p>
100
114
  */
@@ -11,17 +11,19 @@ import { DeleteExperimentTemplateCommandInput, DeleteExperimentTemplateCommandOu
11
11
  import { GetActionCommandInput, GetActionCommandOutput } from "./commands/GetActionCommand";
12
12
  import { GetExperimentCommandInput, GetExperimentCommandOutput } from "./commands/GetExperimentCommand";
13
13
  import { GetExperimentTemplateCommandInput, GetExperimentTemplateCommandOutput } from "./commands/GetExperimentTemplateCommand";
14
+ import { GetTargetResourceTypeCommandInput, GetTargetResourceTypeCommandOutput } from "./commands/GetTargetResourceTypeCommand";
14
15
  import { ListActionsCommandInput, ListActionsCommandOutput } from "./commands/ListActionsCommand";
15
16
  import { ListExperimentsCommandInput, ListExperimentsCommandOutput } from "./commands/ListExperimentsCommand";
16
17
  import { ListExperimentTemplatesCommandInput, ListExperimentTemplatesCommandOutput } from "./commands/ListExperimentTemplatesCommand";
17
18
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
19
+ import { ListTargetResourceTypesCommandInput, ListTargetResourceTypesCommandOutput } from "./commands/ListTargetResourceTypesCommand";
18
20
  import { StartExperimentCommandInput, StartExperimentCommandOutput } from "./commands/StartExperimentCommand";
19
21
  import { StopExperimentCommandInput, StopExperimentCommandOutput } from "./commands/StopExperimentCommand";
20
22
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
21
23
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
22
24
  import { UpdateExperimentTemplateCommandInput, UpdateExperimentTemplateCommandOutput } from "./commands/UpdateExperimentTemplateCommand";
23
- export declare type ServiceInputTypes = CreateExperimentTemplateCommandInput | DeleteExperimentTemplateCommandInput | GetActionCommandInput | GetExperimentCommandInput | GetExperimentTemplateCommandInput | ListActionsCommandInput | ListExperimentTemplatesCommandInput | ListExperimentsCommandInput | ListTagsForResourceCommandInput | StartExperimentCommandInput | StopExperimentCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateExperimentTemplateCommandInput;
24
- export declare type ServiceOutputTypes = CreateExperimentTemplateCommandOutput | DeleteExperimentTemplateCommandOutput | GetActionCommandOutput | GetExperimentCommandOutput | GetExperimentTemplateCommandOutput | ListActionsCommandOutput | ListExperimentTemplatesCommandOutput | ListExperimentsCommandOutput | ListTagsForResourceCommandOutput | StartExperimentCommandOutput | StopExperimentCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateExperimentTemplateCommandOutput;
25
+ export declare type ServiceInputTypes = CreateExperimentTemplateCommandInput | DeleteExperimentTemplateCommandInput | GetActionCommandInput | GetExperimentCommandInput | GetExperimentTemplateCommandInput | GetTargetResourceTypeCommandInput | ListActionsCommandInput | ListExperimentTemplatesCommandInput | ListExperimentsCommandInput | ListTagsForResourceCommandInput | ListTargetResourceTypesCommandInput | StartExperimentCommandInput | StopExperimentCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateExperimentTemplateCommandInput;
26
+ export declare type ServiceOutputTypes = CreateExperimentTemplateCommandOutput | DeleteExperimentTemplateCommandOutput | GetActionCommandOutput | GetExperimentCommandOutput | GetExperimentTemplateCommandOutput | GetTargetResourceTypeCommandOutput | ListActionsCommandOutput | ListExperimentTemplatesCommandOutput | ListExperimentsCommandOutput | ListTagsForResourceCommandOutput | ListTargetResourceTypesCommandOutput | StartExperimentCommandOutput | StopExperimentCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateExperimentTemplateCommandOutput;
25
27
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
26
28
  /**
27
29
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { FisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FisClient";
4
+ import { GetTargetResourceTypeRequest, GetTargetResourceTypeResponse } from "../models/models_0";
5
+ export interface GetTargetResourceTypeCommandInput extends GetTargetResourceTypeRequest {
6
+ }
7
+ export interface GetTargetResourceTypeCommandOutput extends GetTargetResourceTypeResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Gets information about the specified resource type.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { FisClient, GetTargetResourceTypeCommand } from "@aws-sdk/client-fis"; // ES Modules import
15
+ * // const { FisClient, GetTargetResourceTypeCommand } = require("@aws-sdk/client-fis"); // CommonJS import
16
+ * const client = new FisClient(config);
17
+ * const command = new GetTargetResourceTypeCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetTargetResourceTypeCommandInput} for command's `input` shape.
22
+ * @see {@link GetTargetResourceTypeCommandOutput} for command's `response` shape.
23
+ * @see {@link FisClientResolvedConfig | config} for FisClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetTargetResourceTypeCommand extends $Command<GetTargetResourceTypeCommandInput, GetTargetResourceTypeCommandOutput, FisClientResolvedConfig> {
27
+ readonly input: GetTargetResourceTypeCommandInput;
28
+ constructor(input: GetTargetResourceTypeCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTargetResourceTypeCommandInput, GetTargetResourceTypeCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { FisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FisClient";
4
+ import { ListTargetResourceTypesRequest, ListTargetResourceTypesResponse } from "../models/models_0";
5
+ export interface ListTargetResourceTypesCommandInput extends ListTargetResourceTypesRequest {
6
+ }
7
+ export interface ListTargetResourceTypesCommandOutput extends ListTargetResourceTypesResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists the target resource types.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { FisClient, ListTargetResourceTypesCommand } from "@aws-sdk/client-fis"; // ES Modules import
15
+ * // const { FisClient, ListTargetResourceTypesCommand } = require("@aws-sdk/client-fis"); // CommonJS import
16
+ * const client = new FisClient(config);
17
+ * const command = new ListTargetResourceTypesCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListTargetResourceTypesCommandInput} for command's `input` shape.
22
+ * @see {@link ListTargetResourceTypesCommandOutput} for command's `response` shape.
23
+ * @see {@link FisClientResolvedConfig | config} for FisClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListTargetResourceTypesCommand extends $Command<ListTargetResourceTypesCommandInput, ListTargetResourceTypesCommandOutput, FisClientResolvedConfig> {
27
+ readonly input: ListTargetResourceTypesCommandInput;
28
+ constructor(input: ListTargetResourceTypesCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTargetResourceTypesCommandInput, ListTargetResourceTypesCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -3,10 +3,12 @@ export * from "./DeleteExperimentTemplateCommand";
3
3
  export * from "./GetActionCommand";
4
4
  export * from "./GetExperimentCommand";
5
5
  export * from "./GetExperimentTemplateCommand";
6
+ export * from "./GetTargetResourceTypeCommand";
6
7
  export * from "./ListActionsCommand";
7
8
  export * from "./ListExperimentTemplatesCommand";
8
9
  export * from "./ListExperimentsCommand";
9
10
  export * from "./ListTagsForResourceCommand";
11
+ export * from "./ListTargetResourceTypesCommand";
10
12
  export * from "./StartExperimentCommand";
11
13
  export * from "./StopExperimentCommand";
12
14
  export * from "./TagResourceCommand";
@@ -198,7 +198,7 @@ export declare namespace ExperimentTemplateTargetInputFilter {
198
198
  */
199
199
  export interface CreateExperimentTemplateTargetInput {
200
200
  /**
201
- * <p>The Amazon Web Services resource type. The resource type must be supported for the specified action.</p>
201
+ * <p>The resource type. The resource type must be supported for the specified action.</p>
202
202
  */
203
203
  resourceType: string | undefined;
204
204
  /**
@@ -232,6 +232,12 @@ export interface CreateExperimentTemplateTargetInput {
232
232
  * </ul>
233
233
  */
234
234
  selectionMode: string | undefined;
235
+ /**
236
+ * <p>The resource type parameters.</p>
237
+ */
238
+ parameters?: {
239
+ [key: string]: string;
240
+ };
235
241
  }
236
242
  export declare namespace CreateExperimentTemplateTargetInput {
237
243
  /**
@@ -380,6 +386,12 @@ export interface ExperimentTemplateTarget {
380
386
  * <p>Scopes the identified resources to a specific count or percentage.</p>
381
387
  */
382
388
  selectionMode?: string;
389
+ /**
390
+ * <p>The resource type parameters.</p>
391
+ */
392
+ parameters?: {
393
+ [key: string]: string;
394
+ };
383
395
  }
384
396
  export declare namespace ExperimentTemplateTarget {
385
397
  /**
@@ -668,6 +680,12 @@ export interface ExperimentTarget {
668
680
  * <p>Scopes the identified resources to a specific count or percentage.</p>
669
681
  */
670
682
  selectionMode?: string;
683
+ /**
684
+ * <p>The resource type parameters.</p>
685
+ */
686
+ parameters?: {
687
+ [key: string]: string;
688
+ };
671
689
  }
672
690
  export declare namespace ExperimentTarget {
673
691
  /**
@@ -874,6 +892,75 @@ export declare namespace GetExperimentTemplateResponse {
874
892
  */
875
893
  const filterSensitiveLog: (obj: GetExperimentTemplateResponse) => any;
876
894
  }
895
+ export interface GetTargetResourceTypeRequest {
896
+ /**
897
+ * <p>The resource type.</p>
898
+ */
899
+ resourceType: string | undefined;
900
+ }
901
+ export declare namespace GetTargetResourceTypeRequest {
902
+ /**
903
+ * @internal
904
+ */
905
+ const filterSensitiveLog: (obj: GetTargetResourceTypeRequest) => any;
906
+ }
907
+ /**
908
+ * <p>Describes the parameters for a resource type. Use parameters to determine which tasks are
909
+ * identified during target resolution.</p>
910
+ */
911
+ export interface TargetResourceTypeParameter {
912
+ /**
913
+ * <p>A description of the parameter.</p>
914
+ */
915
+ description?: string;
916
+ /**
917
+ * <p>Indicates whether the parameter is required.</p>
918
+ */
919
+ required?: boolean;
920
+ }
921
+ export declare namespace TargetResourceTypeParameter {
922
+ /**
923
+ * @internal
924
+ */
925
+ const filterSensitiveLog: (obj: TargetResourceTypeParameter) => any;
926
+ }
927
+ /**
928
+ * <p>Describes a resource type.</p>
929
+ */
930
+ export interface TargetResourceType {
931
+ /**
932
+ * <p>The resource type.</p>
933
+ */
934
+ resourceType?: string;
935
+ /**
936
+ * <p>A description of the resource type.</p>
937
+ */
938
+ description?: string;
939
+ /**
940
+ * <p>The parameters for the resource type.</p>
941
+ */
942
+ parameters?: {
943
+ [key: string]: TargetResourceTypeParameter;
944
+ };
945
+ }
946
+ export declare namespace TargetResourceType {
947
+ /**
948
+ * @internal
949
+ */
950
+ const filterSensitiveLog: (obj: TargetResourceType) => any;
951
+ }
952
+ export interface GetTargetResourceTypeResponse {
953
+ /**
954
+ * <p>Information about the resource type.</p>
955
+ */
956
+ targetResourceType?: TargetResourceType;
957
+ }
958
+ export declare namespace GetTargetResourceTypeResponse {
959
+ /**
960
+ * @internal
961
+ */
962
+ const filterSensitiveLog: (obj: GetTargetResourceTypeResponse) => any;
963
+ }
877
964
  export interface ListActionsRequest {
878
965
  /**
879
966
  * <p>The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
@@ -996,6 +1083,57 @@ export declare namespace ListTagsForResourceResponse {
996
1083
  */
997
1084
  const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
998
1085
  }
1086
+ export interface ListTargetResourceTypesRequest {
1087
+ /**
1088
+ * <p>The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
1089
+ */
1090
+ maxResults?: number;
1091
+ /**
1092
+ * <p>The token for the next page of results.</p>
1093
+ */
1094
+ nextToken?: string;
1095
+ }
1096
+ export declare namespace ListTargetResourceTypesRequest {
1097
+ /**
1098
+ * @internal
1099
+ */
1100
+ const filterSensitiveLog: (obj: ListTargetResourceTypesRequest) => any;
1101
+ }
1102
+ /**
1103
+ * <p>Describes a resource type.</p>
1104
+ */
1105
+ export interface TargetResourceTypeSummary {
1106
+ /**
1107
+ * <p>The resource type.</p>
1108
+ */
1109
+ resourceType?: string;
1110
+ /**
1111
+ * <p>A description of the resource type.</p>
1112
+ */
1113
+ description?: string;
1114
+ }
1115
+ export declare namespace TargetResourceTypeSummary {
1116
+ /**
1117
+ * @internal
1118
+ */
1119
+ const filterSensitiveLog: (obj: TargetResourceTypeSummary) => any;
1120
+ }
1121
+ export interface ListTargetResourceTypesResponse {
1122
+ /**
1123
+ * <p>The target resource types.</p>
1124
+ */
1125
+ targetResourceTypes?: TargetResourceTypeSummary[];
1126
+ /**
1127
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
1128
+ */
1129
+ nextToken?: string;
1130
+ }
1131
+ export declare namespace ListTargetResourceTypesResponse {
1132
+ /**
1133
+ * @internal
1134
+ */
1135
+ const filterSensitiveLog: (obj: ListTargetResourceTypesResponse) => any;
1136
+ }
999
1137
  export interface StartExperimentRequest {
1000
1138
  /**
1001
1139
  * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
@@ -1165,7 +1303,7 @@ export declare namespace UpdateExperimentTemplateStopConditionInput {
1165
1303
  */
1166
1304
  export interface UpdateExperimentTemplateTargetInput {
1167
1305
  /**
1168
- * <p>The Amazon Web Services resource type. The resource type must be supported for the specified action.</p>
1306
+ * <p>The resource type. The resource type must be supported for the specified action.</p>
1169
1307
  */
1170
1308
  resourceType: string | undefined;
1171
1309
  /**
@@ -1186,6 +1324,12 @@ export interface UpdateExperimentTemplateTargetInput {
1186
1324
  * <p>Scopes the identified resources to a specific count or percentage.</p>
1187
1325
  */
1188
1326
  selectionMode: string | undefined;
1327
+ /**
1328
+ * <p>The resource type parameters.</p>
1329
+ */
1330
+ parameters?: {
1331
+ [key: string]: string;
1332
+ };
1189
1333
  }
1190
1334
  export declare namespace UpdateExperimentTemplateTargetInput {
1191
1335
  /**
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListTargetResourceTypesCommandInput, ListTargetResourceTypesCommandOutput } from "../commands/ListTargetResourceTypesCommand";
3
+ import { FisPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListTargetResourceTypes(config: FisPaginationConfiguration, input: ListTargetResourceTypesCommandInput, ...additionalArguments: any): Paginator<ListTargetResourceTypesCommandOutput>;
@@ -2,3 +2,4 @@ export * from "./Interfaces";
2
2
  export * from "./ListActionsPaginator";
3
3
  export * from "./ListExperimentTemplatesPaginator";
4
4
  export * from "./ListExperimentsPaginator";
5
+ export * from "./ListTargetResourceTypesPaginator";
@@ -5,10 +5,12 @@ import { DeleteExperimentTemplateCommandInput, DeleteExperimentTemplateCommandOu
5
5
  import { GetActionCommandInput, GetActionCommandOutput } from "../commands/GetActionCommand";
6
6
  import { GetExperimentCommandInput, GetExperimentCommandOutput } from "../commands/GetExperimentCommand";
7
7
  import { GetExperimentTemplateCommandInput, GetExperimentTemplateCommandOutput } from "../commands/GetExperimentTemplateCommand";
8
+ import { GetTargetResourceTypeCommandInput, GetTargetResourceTypeCommandOutput } from "../commands/GetTargetResourceTypeCommand";
8
9
  import { ListActionsCommandInput, ListActionsCommandOutput } from "../commands/ListActionsCommand";
9
10
  import { ListExperimentsCommandInput, ListExperimentsCommandOutput } from "../commands/ListExperimentsCommand";
10
11
  import { ListExperimentTemplatesCommandInput, ListExperimentTemplatesCommandOutput } from "../commands/ListExperimentTemplatesCommand";
11
12
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
13
+ import { ListTargetResourceTypesCommandInput, ListTargetResourceTypesCommandOutput } from "../commands/ListTargetResourceTypesCommand";
12
14
  import { StartExperimentCommandInput, StartExperimentCommandOutput } from "../commands/StartExperimentCommand";
13
15
  import { StopExperimentCommandInput, StopExperimentCommandOutput } from "../commands/StopExperimentCommand";
14
16
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
@@ -19,10 +21,12 @@ export declare const serializeAws_restJson1DeleteExperimentTemplateCommand: (inp
19
21
  export declare const serializeAws_restJson1GetActionCommand: (input: GetActionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
20
22
  export declare const serializeAws_restJson1GetExperimentCommand: (input: GetExperimentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
21
23
  export declare const serializeAws_restJson1GetExperimentTemplateCommand: (input: GetExperimentTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
24
+ export declare const serializeAws_restJson1GetTargetResourceTypeCommand: (input: GetTargetResourceTypeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
22
25
  export declare const serializeAws_restJson1ListActionsCommand: (input: ListActionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
23
26
  export declare const serializeAws_restJson1ListExperimentsCommand: (input: ListExperimentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
24
27
  export declare const serializeAws_restJson1ListExperimentTemplatesCommand: (input: ListExperimentTemplatesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
25
28
  export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
29
+ export declare const serializeAws_restJson1ListTargetResourceTypesCommand: (input: ListTargetResourceTypesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
26
30
  export declare const serializeAws_restJson1StartExperimentCommand: (input: StartExperimentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
27
31
  export declare const serializeAws_restJson1StopExperimentCommand: (input: StopExperimentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
28
32
  export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -33,10 +37,12 @@ export declare const deserializeAws_restJson1DeleteExperimentTemplateCommand: (o
33
37
  export declare const deserializeAws_restJson1GetActionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetActionCommandOutput>;
34
38
  export declare const deserializeAws_restJson1GetExperimentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetExperimentCommandOutput>;
35
39
  export declare const deserializeAws_restJson1GetExperimentTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetExperimentTemplateCommandOutput>;
40
+ export declare const deserializeAws_restJson1GetTargetResourceTypeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTargetResourceTypeCommandOutput>;
36
41
  export declare const deserializeAws_restJson1ListActionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListActionsCommandOutput>;
37
42
  export declare const deserializeAws_restJson1ListExperimentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListExperimentsCommandOutput>;
38
43
  export declare const deserializeAws_restJson1ListExperimentTemplatesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListExperimentTemplatesCommandOutput>;
39
44
  export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
45
+ export declare const deserializeAws_restJson1ListTargetResourceTypesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTargetResourceTypesCommandOutput>;
40
46
  export declare const deserializeAws_restJson1StartExperimentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartExperimentCommandOutput>;
41
47
  export declare const deserializeAws_restJson1StopExperimentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopExperimentCommandOutput>;
42
48
  export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
@@ -4,10 +4,12 @@ import { DeleteExperimentTemplateCommandInput, DeleteExperimentTemplateCommandOu
4
4
  import { GetActionCommandInput, GetActionCommandOutput } from "./commands/GetActionCommand";
5
5
  import { GetExperimentCommandInput, GetExperimentCommandOutput } from "./commands/GetExperimentCommand";
6
6
  import { GetExperimentTemplateCommandInput, GetExperimentTemplateCommandOutput } from "./commands/GetExperimentTemplateCommand";
7
+ import { GetTargetResourceTypeCommandInput, GetTargetResourceTypeCommandOutput } from "./commands/GetTargetResourceTypeCommand";
7
8
  import { ListActionsCommandInput, ListActionsCommandOutput } from "./commands/ListActionsCommand";
8
9
  import { ListExperimentsCommandInput, ListExperimentsCommandOutput } from "./commands/ListExperimentsCommand";
9
10
  import { ListExperimentTemplatesCommandInput, ListExperimentTemplatesCommandOutput } from "./commands/ListExperimentTemplatesCommand";
10
11
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
12
+ import { ListTargetResourceTypesCommandInput, ListTargetResourceTypesCommandOutput } from "./commands/ListTargetResourceTypesCommand";
11
13
  import { StartExperimentCommandInput, StartExperimentCommandOutput } from "./commands/StartExperimentCommand";
12
14
  import { StopExperimentCommandInput, StopExperimentCommandOutput } from "./commands/StopExperimentCommand";
13
15
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
@@ -37,6 +39,10 @@ export declare class Fis extends FisClient {
37
39
  getExperimentTemplate(args: GetExperimentTemplateCommandInput, cb: (err: any, data?: GetExperimentTemplateCommandOutput) => void): void;
38
40
  getExperimentTemplate(args: GetExperimentTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetExperimentTemplateCommandOutput) => void): void;
39
41
 
42
+ getTargetResourceType(args: GetTargetResourceTypeCommandInput, options?: __HttpHandlerOptions): Promise<GetTargetResourceTypeCommandOutput>;
43
+ getTargetResourceType(args: GetTargetResourceTypeCommandInput, cb: (err: any, data?: GetTargetResourceTypeCommandOutput) => void): void;
44
+ getTargetResourceType(args: GetTargetResourceTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTargetResourceTypeCommandOutput) => void): void;
45
+
40
46
  listActions(args: ListActionsCommandInput, options?: __HttpHandlerOptions): Promise<ListActionsCommandOutput>;
41
47
  listActions(args: ListActionsCommandInput, cb: (err: any, data?: ListActionsCommandOutput) => void): void;
42
48
  listActions(args: ListActionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListActionsCommandOutput) => void): void;
@@ -53,6 +59,10 @@ export declare class Fis extends FisClient {
53
59
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
54
60
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
55
61
 
62
+ listTargetResourceTypes(args: ListTargetResourceTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListTargetResourceTypesCommandOutput>;
63
+ listTargetResourceTypes(args: ListTargetResourceTypesCommandInput, cb: (err: any, data?: ListTargetResourceTypesCommandOutput) => void): void;
64
+ listTargetResourceTypes(args: ListTargetResourceTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTargetResourceTypesCommandOutput) => void): void;
65
+
56
66
  startExperiment(args: StartExperimentCommandInput, options?: __HttpHandlerOptions): Promise<StartExperimentCommandOutput>;
57
67
  startExperiment(args: StartExperimentCommandInput, cb: (err: any, data?: StartExperimentCommandOutput) => void): void;
58
68
  startExperiment(args: StartExperimentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartExperimentCommandOutput) => void): void;
@@ -11,17 +11,19 @@ import { DeleteExperimentTemplateCommandInput, DeleteExperimentTemplateCommandOu
11
11
  import { GetActionCommandInput, GetActionCommandOutput } from "./commands/GetActionCommand";
12
12
  import { GetExperimentCommandInput, GetExperimentCommandOutput } from "./commands/GetExperimentCommand";
13
13
  import { GetExperimentTemplateCommandInput, GetExperimentTemplateCommandOutput } from "./commands/GetExperimentTemplateCommand";
14
+ import { GetTargetResourceTypeCommandInput, GetTargetResourceTypeCommandOutput } from "./commands/GetTargetResourceTypeCommand";
14
15
  import { ListActionsCommandInput, ListActionsCommandOutput } from "./commands/ListActionsCommand";
15
16
  import { ListExperimentsCommandInput, ListExperimentsCommandOutput } from "./commands/ListExperimentsCommand";
16
17
  import { ListExperimentTemplatesCommandInput, ListExperimentTemplatesCommandOutput } from "./commands/ListExperimentTemplatesCommand";
17
18
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
19
+ import { ListTargetResourceTypesCommandInput, ListTargetResourceTypesCommandOutput } from "./commands/ListTargetResourceTypesCommand";
18
20
  import { StartExperimentCommandInput, StartExperimentCommandOutput } from "./commands/StartExperimentCommand";
19
21
  import { StopExperimentCommandInput, StopExperimentCommandOutput } from "./commands/StopExperimentCommand";
20
22
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
21
23
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
22
24
  import { UpdateExperimentTemplateCommandInput, UpdateExperimentTemplateCommandOutput } from "./commands/UpdateExperimentTemplateCommand";
23
- export declare type ServiceInputTypes = CreateExperimentTemplateCommandInput | DeleteExperimentTemplateCommandInput | GetActionCommandInput | GetExperimentCommandInput | GetExperimentTemplateCommandInput | ListActionsCommandInput | ListExperimentTemplatesCommandInput | ListExperimentsCommandInput | ListTagsForResourceCommandInput | StartExperimentCommandInput | StopExperimentCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateExperimentTemplateCommandInput;
24
- export declare type ServiceOutputTypes = CreateExperimentTemplateCommandOutput | DeleteExperimentTemplateCommandOutput | GetActionCommandOutput | GetExperimentCommandOutput | GetExperimentTemplateCommandOutput | ListActionsCommandOutput | ListExperimentTemplatesCommandOutput | ListExperimentsCommandOutput | ListTagsForResourceCommandOutput | StartExperimentCommandOutput | StopExperimentCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateExperimentTemplateCommandOutput;
25
+ export declare type ServiceInputTypes = CreateExperimentTemplateCommandInput | DeleteExperimentTemplateCommandInput | GetActionCommandInput | GetExperimentCommandInput | GetExperimentTemplateCommandInput | GetTargetResourceTypeCommandInput | ListActionsCommandInput | ListExperimentTemplatesCommandInput | ListExperimentsCommandInput | ListTagsForResourceCommandInput | ListTargetResourceTypesCommandInput | StartExperimentCommandInput | StopExperimentCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateExperimentTemplateCommandInput;
26
+ export declare type ServiceOutputTypes = CreateExperimentTemplateCommandOutput | DeleteExperimentTemplateCommandOutput | GetActionCommandOutput | GetExperimentCommandOutput | GetExperimentTemplateCommandOutput | GetTargetResourceTypeCommandOutput | ListActionsCommandOutput | ListExperimentTemplatesCommandOutput | ListExperimentsCommandOutput | ListTagsForResourceCommandOutput | ListTargetResourceTypesCommandOutput | StartExperimentCommandOutput | StopExperimentCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateExperimentTemplateCommandOutput;
25
27
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
26
28
 
27
29
  requestHandler?: __HttpHandler;
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { FisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FisClient";
4
+ import { GetTargetResourceTypeRequest, GetTargetResourceTypeResponse } from "../models/models_0";
5
+ export interface GetTargetResourceTypeCommandInput extends GetTargetResourceTypeRequest {
6
+ }
7
+ export interface GetTargetResourceTypeCommandOutput extends GetTargetResourceTypeResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class GetTargetResourceTypeCommand extends $Command<GetTargetResourceTypeCommandInput, GetTargetResourceTypeCommandOutput, FisClientResolvedConfig> {
11
+ readonly input: GetTargetResourceTypeCommandInput;
12
+ constructor(input: GetTargetResourceTypeCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTargetResourceTypeCommandInput, GetTargetResourceTypeCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { FisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FisClient";
4
+ import { ListTargetResourceTypesRequest, ListTargetResourceTypesResponse } from "../models/models_0";
5
+ export interface ListTargetResourceTypesCommandInput extends ListTargetResourceTypesRequest {
6
+ }
7
+ export interface ListTargetResourceTypesCommandOutput extends ListTargetResourceTypesResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListTargetResourceTypesCommand extends $Command<ListTargetResourceTypesCommandInput, ListTargetResourceTypesCommandOutput, FisClientResolvedConfig> {
11
+ readonly input: ListTargetResourceTypesCommandInput;
12
+ constructor(input: ListTargetResourceTypesCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTargetResourceTypesCommandInput, ListTargetResourceTypesCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -3,10 +3,12 @@ export * from "./DeleteExperimentTemplateCommand";
3
3
  export * from "./GetActionCommand";
4
4
  export * from "./GetExperimentCommand";
5
5
  export * from "./GetExperimentTemplateCommand";
6
+ export * from "./GetTargetResourceTypeCommand";
6
7
  export * from "./ListActionsCommand";
7
8
  export * from "./ListExperimentTemplatesCommand";
8
9
  export * from "./ListExperimentsCommand";
9
10
  export * from "./ListTagsForResourceCommand";
11
+ export * from "./ListTargetResourceTypesCommand";
10
12
  export * from "./StartExperimentCommand";
11
13
  export * from "./StopExperimentCommand";
12
14
  export * from "./TagResourceCommand";
@@ -124,6 +124,10 @@ export interface CreateExperimentTemplateTargetInput {
124
124
  filters?: ExperimentTemplateTargetInputFilter[];
125
125
 
126
126
  selectionMode: string | undefined;
127
+
128
+ parameters?: {
129
+ [key: string]: string;
130
+ };
127
131
  }
128
132
  export declare namespace CreateExperimentTemplateTargetInput {
129
133
 
@@ -212,6 +216,10 @@ export interface ExperimentTemplateTarget {
212
216
  filters?: ExperimentTemplateTargetFilter[];
213
217
 
214
218
  selectionMode?: string;
219
+
220
+ parameters?: {
221
+ [key: string]: string;
222
+ };
215
223
  }
216
224
  export declare namespace ExperimentTemplateTarget {
217
225
 
@@ -394,6 +402,10 @@ export interface ExperimentTarget {
394
402
  filters?: ExperimentTargetFilter[];
395
403
 
396
404
  selectionMode?: string;
405
+
406
+ parameters?: {
407
+ [key: string]: string;
408
+ };
397
409
  }
398
410
  export declare namespace ExperimentTarget {
399
411
 
@@ -520,6 +532,48 @@ export declare namespace GetExperimentTemplateResponse {
520
532
 
521
533
  const filterSensitiveLog: (obj: GetExperimentTemplateResponse) => any;
522
534
  }
535
+ export interface GetTargetResourceTypeRequest {
536
+
537
+ resourceType: string | undefined;
538
+ }
539
+ export declare namespace GetTargetResourceTypeRequest {
540
+
541
+ const filterSensitiveLog: (obj: GetTargetResourceTypeRequest) => any;
542
+ }
543
+
544
+ export interface TargetResourceTypeParameter {
545
+
546
+ description?: string;
547
+
548
+ required?: boolean;
549
+ }
550
+ export declare namespace TargetResourceTypeParameter {
551
+
552
+ const filterSensitiveLog: (obj: TargetResourceTypeParameter) => any;
553
+ }
554
+
555
+ export interface TargetResourceType {
556
+
557
+ resourceType?: string;
558
+
559
+ description?: string;
560
+
561
+ parameters?: {
562
+ [key: string]: TargetResourceTypeParameter;
563
+ };
564
+ }
565
+ export declare namespace TargetResourceType {
566
+
567
+ const filterSensitiveLog: (obj: TargetResourceType) => any;
568
+ }
569
+ export interface GetTargetResourceTypeResponse {
570
+
571
+ targetResourceType?: TargetResourceType;
572
+ }
573
+ export declare namespace GetTargetResourceTypeResponse {
574
+
575
+ const filterSensitiveLog: (obj: GetTargetResourceTypeResponse) => any;
576
+ }
523
577
  export interface ListActionsRequest {
524
578
 
525
579
  maxResults?: number;
@@ -598,6 +652,37 @@ export declare namespace ListTagsForResourceResponse {
598
652
 
599
653
  const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
600
654
  }
655
+ export interface ListTargetResourceTypesRequest {
656
+
657
+ maxResults?: number;
658
+
659
+ nextToken?: string;
660
+ }
661
+ export declare namespace ListTargetResourceTypesRequest {
662
+
663
+ const filterSensitiveLog: (obj: ListTargetResourceTypesRequest) => any;
664
+ }
665
+
666
+ export interface TargetResourceTypeSummary {
667
+
668
+ resourceType?: string;
669
+
670
+ description?: string;
671
+ }
672
+ export declare namespace TargetResourceTypeSummary {
673
+
674
+ const filterSensitiveLog: (obj: TargetResourceTypeSummary) => any;
675
+ }
676
+ export interface ListTargetResourceTypesResponse {
677
+
678
+ targetResourceTypes?: TargetResourceTypeSummary[];
679
+
680
+ nextToken?: string;
681
+ }
682
+ export declare namespace ListTargetResourceTypesResponse {
683
+
684
+ const filterSensitiveLog: (obj: ListTargetResourceTypesResponse) => any;
685
+ }
601
686
  export interface StartExperimentRequest {
602
687
 
603
688
  clientToken?: string;
@@ -716,6 +801,10 @@ export interface UpdateExperimentTemplateTargetInput {
716
801
  filters?: ExperimentTemplateTargetInputFilter[];
717
802
 
718
803
  selectionMode: string | undefined;
804
+
805
+ parameters?: {
806
+ [key: string]: string;
807
+ };
719
808
  }
720
809
  export declare namespace UpdateExperimentTemplateTargetInput {
721
810