@aws-sdk/client-ssm-incidents 3.477.0 → 3.481.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/commands/BatchGetIncidentFindingsCommand.js +18 -41
- package/dist-cjs/commands/CreateReplicationSetCommand.js +18 -41
- package/dist-cjs/commands/CreateResponsePlanCommand.js +18 -41
- package/dist-cjs/commands/CreateTimelineEventCommand.js +18 -41
- package/dist-cjs/commands/DeleteIncidentRecordCommand.js +18 -41
- package/dist-cjs/commands/DeleteReplicationSetCommand.js +18 -41
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteResponsePlanCommand.js +18 -41
- package/dist-cjs/commands/DeleteTimelineEventCommand.js +18 -41
- package/dist-cjs/commands/GetIncidentRecordCommand.js +18 -41
- package/dist-cjs/commands/GetReplicationSetCommand.js +18 -41
- package/dist-cjs/commands/GetResourcePoliciesCommand.js +18 -41
- package/dist-cjs/commands/GetResponsePlanCommand.js +18 -41
- package/dist-cjs/commands/GetTimelineEventCommand.js +18 -41
- package/dist-cjs/commands/ListIncidentFindingsCommand.js +18 -41
- package/dist-cjs/commands/ListIncidentRecordsCommand.js +18 -41
- package/dist-cjs/commands/ListRelatedItemsCommand.js +18 -41
- package/dist-cjs/commands/ListReplicationSetsCommand.js +18 -41
- package/dist-cjs/commands/ListResponsePlansCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListTimelineEventsCommand.js +18 -41
- package/dist-cjs/commands/PutResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/StartIncidentCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateDeletionProtectionCommand.js +18 -41
- package/dist-cjs/commands/UpdateIncidentRecordCommand.js +18 -41
- package/dist-cjs/commands/UpdateRelatedItemsCommand.js +18 -41
- package/dist-cjs/commands/UpdateReplicationSetCommand.js +18 -41
- package/dist-cjs/commands/UpdateResponsePlanCommand.js +18 -41
- package/dist-cjs/commands/UpdateTimelineEventCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/GetResourcePoliciesPaginator.js +2 -24
- package/dist-cjs/pagination/ListIncidentFindingsPaginator.js +2 -24
- package/dist-cjs/pagination/ListIncidentRecordsPaginator.js +2 -24
- package/dist-cjs/pagination/ListRelatedItemsPaginator.js +2 -24
- package/dist-cjs/pagination/ListReplicationSetsPaginator.js +2 -24
- package/dist-cjs/pagination/ListResponsePlansPaginator.js +2 -24
- package/dist-cjs/pagination/ListTimelineEventsPaginator.js +2 -24
- package/dist-es/commands/BatchGetIncidentFindingsCommand.js +18 -41
- package/dist-es/commands/CreateReplicationSetCommand.js +18 -41
- package/dist-es/commands/CreateResponsePlanCommand.js +18 -41
- package/dist-es/commands/CreateTimelineEventCommand.js +18 -41
- package/dist-es/commands/DeleteIncidentRecordCommand.js +18 -41
- package/dist-es/commands/DeleteReplicationSetCommand.js +18 -41
- package/dist-es/commands/DeleteResourcePolicyCommand.js +18 -41
- package/dist-es/commands/DeleteResponsePlanCommand.js +18 -41
- package/dist-es/commands/DeleteTimelineEventCommand.js +18 -41
- package/dist-es/commands/GetIncidentRecordCommand.js +18 -41
- package/dist-es/commands/GetReplicationSetCommand.js +18 -41
- package/dist-es/commands/GetResourcePoliciesCommand.js +18 -41
- package/dist-es/commands/GetResponsePlanCommand.js +18 -41
- package/dist-es/commands/GetTimelineEventCommand.js +18 -41
- package/dist-es/commands/ListIncidentFindingsCommand.js +18 -41
- package/dist-es/commands/ListIncidentRecordsCommand.js +18 -41
- package/dist-es/commands/ListRelatedItemsCommand.js +18 -41
- package/dist-es/commands/ListReplicationSetsCommand.js +18 -41
- package/dist-es/commands/ListResponsePlansCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListTimelineEventsCommand.js +18 -41
- package/dist-es/commands/PutResourcePolicyCommand.js +18 -41
- package/dist-es/commands/StartIncidentCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateDeletionProtectionCommand.js +18 -41
- package/dist-es/commands/UpdateIncidentRecordCommand.js +18 -41
- package/dist-es/commands/UpdateRelatedItemsCommand.js +18 -41
- package/dist-es/commands/UpdateReplicationSetCommand.js +18 -41
- package/dist-es/commands/UpdateResponsePlanCommand.js +18 -41
- package/dist-es/commands/UpdateTimelineEventCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/GetResourcePoliciesPaginator.js +2 -23
- package/dist-es/pagination/ListIncidentFindingsPaginator.js +2 -23
- package/dist-es/pagination/ListIncidentRecordsPaginator.js +2 -23
- package/dist-es/pagination/ListRelatedItemsPaginator.js +2 -23
- package/dist-es/pagination/ListReplicationSetsPaginator.js +2 -23
- package/dist-es/pagination/ListResponsePlansPaginator.js +2 -23
- package/dist-es/pagination/ListTimelineEventsPaginator.js +2 -23
- package/dist-types/commands/BatchGetIncidentFindingsCommand.d.ts +6 -21
- package/dist-types/commands/CreateReplicationSetCommand.d.ts +6 -21
- package/dist-types/commands/CreateResponsePlanCommand.d.ts +6 -21
- package/dist-types/commands/CreateTimelineEventCommand.d.ts +6 -21
- package/dist-types/commands/DeleteIncidentRecordCommand.d.ts +6 -21
- package/dist-types/commands/DeleteReplicationSetCommand.d.ts +6 -21
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteResponsePlanCommand.d.ts +6 -21
- package/dist-types/commands/DeleteTimelineEventCommand.d.ts +6 -21
- package/dist-types/commands/GetIncidentRecordCommand.d.ts +6 -21
- package/dist-types/commands/GetReplicationSetCommand.d.ts +6 -21
- package/dist-types/commands/GetResourcePoliciesCommand.d.ts +6 -21
- package/dist-types/commands/GetResponsePlanCommand.d.ts +6 -21
- package/dist-types/commands/GetTimelineEventCommand.d.ts +6 -21
- package/dist-types/commands/ListIncidentFindingsCommand.d.ts +6 -21
- package/dist-types/commands/ListIncidentRecordsCommand.d.ts +6 -21
- package/dist-types/commands/ListRelatedItemsCommand.d.ts +6 -21
- package/dist-types/commands/ListReplicationSetsCommand.d.ts +6 -21
- package/dist-types/commands/ListResponsePlansCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListTimelineEventsCommand.d.ts +6 -21
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/StartIncidentCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateDeletionProtectionCommand.d.ts +6 -21
- package/dist-types/commands/UpdateIncidentRecordCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRelatedItemsCommand.d.ts +6 -21
- package/dist-types/commands/UpdateReplicationSetCommand.d.ts +6 -21
- package/dist-types/commands/UpdateResponsePlanCommand.d.ts +6 -21
- package/dist-types/commands/UpdateTimelineEventCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/GetResourcePoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListIncidentFindingsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListIncidentRecordsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRelatedItemsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReplicationSetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListResponsePlansPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTimelineEventsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchGetIncidentFindingsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateReplicationSetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateResponsePlanCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateTimelineEventCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteIncidentRecordCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteReplicationSetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteResponsePlanCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteTimelineEventCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetIncidentRecordCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetReplicationSetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetResponsePlanCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetTimelineEventCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListIncidentFindingsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListIncidentRecordsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRelatedItemsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListReplicationSetsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListResponsePlansCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTimelineEventsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartIncidentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateDeletionProtectionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateIncidentRecordCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateRelatedItemsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateReplicationSetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateResponsePlanCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateTimelineEventCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/GetResourcePoliciesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListIncidentFindingsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListIncidentRecordsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRelatedItemsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListReplicationSetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListResponsePlansPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTimelineEventsPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateRelatedItemsCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "SSMIncidentsClient";
|
|
29
|
-
const commandName = "UpdateRelatedItemsCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "SSMIncidents",
|
|
38
|
-
operation: "UpdateRelatedItems",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateRelatedItemsCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateRelatedItemsCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateRelatedItemsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("SSMIncidents", "UpdateRelatedItems", {})
|
|
22
|
+
.n("SSMIncidentsClient", "UpdateRelatedItemsCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateRelatedItemsCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateRelatedItemsCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateRelatedItemsCommand = UpdateRelatedItemsCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateReplicationSetCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "SSMIncidentsClient";
|
|
29
|
-
const commandName = "UpdateReplicationSetCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "SSMIncidents",
|
|
38
|
-
operation: "UpdateReplicationSet",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateReplicationSetCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateReplicationSetCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateReplicationSetCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("SSMIncidents", "UpdateReplicationSet", {})
|
|
22
|
+
.n("SSMIncidentsClient", "UpdateReplicationSetCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateReplicationSetCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateReplicationSetCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateReplicationSetCommand = UpdateReplicationSetCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateResponsePlanCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "SSMIncidentsClient";
|
|
29
|
-
const commandName = "UpdateResponsePlanCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "SSMIncidents",
|
|
38
|
-
operation: "UpdateResponsePlan",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateResponsePlanCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateResponsePlanCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateResponsePlanCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("SSMIncidents", "UpdateResponsePlan", {})
|
|
22
|
+
.n("SSMIncidentsClient", "UpdateResponsePlanCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateResponsePlanCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateResponsePlanCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateResponsePlanCommand = UpdateResponsePlanCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateTimelineEventCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "SSMIncidentsClient";
|
|
29
|
-
const commandName = "UpdateTimelineEventCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "SSMIncidents",
|
|
38
|
-
operation: "UpdateTimelineEvent",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateTimelineEventCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateTimelineEventCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateTimelineEventCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("SSMIncidents", "UpdateTimelineEvent", {})
|
|
22
|
+
.n("SSMIncidentsClient", "UpdateTimelineEventCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateTimelineEventCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateTimelineEventCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateTimelineEventCommand = UpdateTimelineEventCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetResourcePolicies = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const GetResourcePoliciesCommand_1 = require("../commands/GetResourcePoliciesCommand");
|
|
5
6
|
const SSMIncidentsClient_1 = require("../SSMIncidentsClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetResourcePoliciesCommand_1.GetResourcePoliciesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetResourcePolicies(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SSMIncidentsClient_1.SSMIncidentsClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SSMIncidents | SSMIncidentsClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateGetResourcePolicies = paginateGetResourcePolicies;
|
|
7
|
+
exports.paginateGetResourcePolicies = (0, core_1.createPaginator)(SSMIncidentsClient_1.SSMIncidentsClient, GetResourcePoliciesCommand_1.GetResourcePoliciesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListIncidentFindings = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListIncidentFindingsCommand_1 = require("../commands/ListIncidentFindingsCommand");
|
|
5
6
|
const SSMIncidentsClient_1 = require("../SSMIncidentsClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListIncidentFindingsCommand_1.ListIncidentFindingsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListIncidentFindings(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SSMIncidentsClient_1.SSMIncidentsClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SSMIncidents | SSMIncidentsClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListIncidentFindings = paginateListIncidentFindings;
|
|
7
|
+
exports.paginateListIncidentFindings = (0, core_1.createPaginator)(SSMIncidentsClient_1.SSMIncidentsClient, ListIncidentFindingsCommand_1.ListIncidentFindingsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListIncidentRecords = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListIncidentRecordsCommand_1 = require("../commands/ListIncidentRecordsCommand");
|
|
5
6
|
const SSMIncidentsClient_1 = require("../SSMIncidentsClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListIncidentRecordsCommand_1.ListIncidentRecordsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListIncidentRecords(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SSMIncidentsClient_1.SSMIncidentsClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SSMIncidents | SSMIncidentsClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListIncidentRecords = paginateListIncidentRecords;
|
|
7
|
+
exports.paginateListIncidentRecords = (0, core_1.createPaginator)(SSMIncidentsClient_1.SSMIncidentsClient, ListIncidentRecordsCommand_1.ListIncidentRecordsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListRelatedItems = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListRelatedItemsCommand_1 = require("../commands/ListRelatedItemsCommand");
|
|
5
6
|
const SSMIncidentsClient_1 = require("../SSMIncidentsClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListRelatedItemsCommand_1.ListRelatedItemsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListRelatedItems(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SSMIncidentsClient_1.SSMIncidentsClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SSMIncidents | SSMIncidentsClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListRelatedItems = paginateListRelatedItems;
|
|
7
|
+
exports.paginateListRelatedItems = (0, core_1.createPaginator)(SSMIncidentsClient_1.SSMIncidentsClient, ListRelatedItemsCommand_1.ListRelatedItemsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListReplicationSets = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListReplicationSetsCommand_1 = require("../commands/ListReplicationSetsCommand");
|
|
5
6
|
const SSMIncidentsClient_1 = require("../SSMIncidentsClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListReplicationSetsCommand_1.ListReplicationSetsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListReplicationSets(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SSMIncidentsClient_1.SSMIncidentsClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SSMIncidents | SSMIncidentsClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListReplicationSets = paginateListReplicationSets;
|
|
7
|
+
exports.paginateListReplicationSets = (0, core_1.createPaginator)(SSMIncidentsClient_1.SSMIncidentsClient, ListReplicationSetsCommand_1.ListReplicationSetsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListResponsePlans = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListResponsePlansCommand_1 = require("../commands/ListResponsePlansCommand");
|
|
5
6
|
const SSMIncidentsClient_1 = require("../SSMIncidentsClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListResponsePlansCommand_1.ListResponsePlansCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListResponsePlans(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SSMIncidentsClient_1.SSMIncidentsClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SSMIncidents | SSMIncidentsClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListResponsePlans = paginateListResponsePlans;
|
|
7
|
+
exports.paginateListResponsePlans = (0, core_1.createPaginator)(SSMIncidentsClient_1.SSMIncidentsClient, ListResponsePlansCommand_1.ListResponsePlansCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTimelineEvents = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListTimelineEventsCommand_1 = require("../commands/ListTimelineEventsCommand");
|
|
5
6
|
const SSMIncidentsClient_1 = require("../SSMIncidentsClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTimelineEventsCommand_1.ListTimelineEventsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTimelineEvents(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof SSMIncidentsClient_1.SSMIncidentsClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected SSMIncidents | SSMIncidentsClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListTimelineEvents = paginateListTimelineEvents;
|
|
7
|
+
exports.paginateListTimelineEvents = (0, core_1.createPaginator)(SSMIncidentsClient_1.SSMIncidentsClient, ListTimelineEventsCommand_1.ListTimelineEventsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_BatchGetIncidentFindingsCommand, se_BatchGetIncidentFindingsCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class BatchGetIncidentFindingsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SSMIncidentsClient";
|
|
26
|
-
const commandName = "BatchGetIncidentFindingsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "SSMIncidents",
|
|
35
|
-
operation: "BatchGetIncidentFindings",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_BatchGetIncidentFindingsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_BatchGetIncidentFindingsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class BatchGetIncidentFindingsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("SSMIncidents", "BatchGetIncidentFindings", {})
|
|
19
|
+
.n("SSMIncidentsClient", "BatchGetIncidentFindingsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_BatchGetIncidentFindingsCommand)
|
|
22
|
+
.de(de_BatchGetIncidentFindingsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|