@aws-sdk/client-ssm-incidents 3.35.0 → 3.38.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/CHANGELOG.md +47 -0
- package/dist-cjs/SSMIncidents.js +0 -11
- package/dist-cjs/SSMIncidentsClient.js +0 -16
- package/dist-cjs/commands/CreateReplicationSetCommand.js +0 -26
- package/dist-cjs/commands/CreateResponsePlanCommand.js +0 -28
- package/dist-cjs/commands/CreateTimelineEventCommand.js +0 -28
- package/dist-cjs/commands/DeleteIncidentRecordCommand.js +0 -25
- package/dist-cjs/commands/DeleteReplicationSetCommand.js +0 -26
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +0 -27
- package/dist-cjs/commands/DeleteResponsePlanCommand.js +0 -27
- package/dist-cjs/commands/DeleteTimelineEventCommand.js +0 -25
- package/dist-cjs/commands/GetIncidentRecordCommand.js +0 -25
- package/dist-cjs/commands/GetReplicationSetCommand.js +0 -25
- package/dist-cjs/commands/GetResourcePoliciesCommand.js +0 -25
- package/dist-cjs/commands/GetResponsePlanCommand.js +0 -25
- package/dist-cjs/commands/GetTimelineEventCommand.js +0 -25
- package/dist-cjs/commands/ListIncidentRecordsCommand.js +0 -26
- package/dist-cjs/commands/ListRelatedItemsCommand.js +0 -25
- package/dist-cjs/commands/ListReplicationSetsCommand.js +0 -25
- package/dist-cjs/commands/ListResponsePlansCommand.js +0 -25
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/ListTimelineEventsCommand.js +0 -25
- package/dist-cjs/commands/PutResourcePolicyCommand.js +0 -25
- package/dist-cjs/commands/StartIncidentCommand.js +0 -25
- package/dist-cjs/commands/TagResourceCommand.js +0 -25
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateDeletionProtectionCommand.js +0 -26
- package/dist-cjs/commands/UpdateIncidentRecordCommand.js +0 -27
- package/dist-cjs/commands/UpdateRelatedItemsCommand.js +0 -25
- package/dist-cjs/commands/UpdateReplicationSetCommand.js +0 -25
- package/dist-cjs/commands/UpdateResponsePlanCommand.js +0 -25
- package/dist-cjs/commands/UpdateTimelineEventCommand.js +0 -26
- package/dist-cjs/commands/index.js +32 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +5 -41
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -307
- package/dist-cjs/pagination/GetResourcePoliciesPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListIncidentRecordsPaginator.js +0 -11
- package/dist-cjs/pagination/ListRelatedItemsPaginator.js +0 -11
- package/dist-cjs/pagination/ListReplicationSetsPaginator.js +0 -11
- package/dist-cjs/pagination/ListResponsePlansPaginator.js +0 -11
- package/dist-cjs/pagination/ListTimelineEventsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +10 -0
- package/dist-cjs/protocols/Aws_restJson1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-cjs/waiters/index.js +5 -0
- package/dist-cjs/waiters/waitForWaitForReplicationSetActive.js +0 -10
- package/dist-cjs/waiters/waitForWaitForReplicationSetDeleted.js +0 -10
- package/dist-es/SSMIncidents.js +0 -1
- package/dist-es/SSMIncidentsClient.js +0 -1
- package/dist-es/commands/CreateReplicationSetCommand.js +0 -1
- package/dist-es/commands/CreateResponsePlanCommand.js +0 -1
- package/dist-es/commands/CreateTimelineEventCommand.js +0 -1
- package/dist-es/commands/DeleteIncidentRecordCommand.js +0 -1
- package/dist-es/commands/DeleteReplicationSetCommand.js +0 -1
- package/dist-es/commands/DeleteResourcePolicyCommand.js +0 -1
- package/dist-es/commands/DeleteResponsePlanCommand.js +0 -1
- package/dist-es/commands/DeleteTimelineEventCommand.js +0 -1
- package/dist-es/commands/GetIncidentRecordCommand.js +0 -1
- package/dist-es/commands/GetReplicationSetCommand.js +0 -1
- package/dist-es/commands/GetResourcePoliciesCommand.js +0 -1
- package/dist-es/commands/GetResponsePlanCommand.js +0 -1
- package/dist-es/commands/GetTimelineEventCommand.js +0 -1
- package/dist-es/commands/ListIncidentRecordsCommand.js +0 -1
- package/dist-es/commands/ListRelatedItemsCommand.js +0 -1
- package/dist-es/commands/ListReplicationSetsCommand.js +0 -1
- package/dist-es/commands/ListResponsePlansCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ListTimelineEventsCommand.js +0 -1
- package/dist-es/commands/PutResourcePolicyCommand.js +0 -1
- package/dist-es/commands/StartIncidentCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateDeletionProtectionCommand.js +0 -1
- package/dist-es/commands/UpdateIncidentRecordCommand.js +0 -1
- package/dist-es/commands/UpdateRelatedItemsCommand.js +0 -1
- package/dist-es/commands/UpdateReplicationSetCommand.js +0 -1
- package/dist-es/commands/UpdateResponsePlanCommand.js +0 -1
- package/dist-es/commands/UpdateTimelineEventCommand.js +0 -1
- package/dist-es/commands/index.js +29 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +5 -41
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/GetResourcePoliciesPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListIncidentRecordsPaginator.js +0 -1
- package/dist-es/pagination/ListRelatedItemsPaginator.js +0 -1
- package/dist-es/pagination/ListReplicationSetsPaginator.js +0 -1
- package/dist-es/pagination/ListResponsePlansPaginator.js +0 -1
- package/dist-es/pagination/ListTimelineEventsPaginator.js +0 -1
- package/dist-es/pagination/index.js +7 -0
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForWaitForReplicationSetActive.js +0 -1
- package/dist-es/waiters/waitForWaitForReplicationSetDeleted.js +0 -1
- package/dist-types/commands/index.d.ts +29 -0
- package/dist-types/index.d.ts +5 -40
- package/dist-types/pagination/index.d.ts +7 -0
- package/dist-types/ts3.4/SSMIncidents.d.ts +30 -114
- package/dist-types/ts3.4/SSMIncidentsClient.d.ts +24 -96
- package/dist-types/ts3.4/commands/CreateReplicationSetCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateResponsePlanCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateTimelineEventCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteIncidentRecordCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteReplicationSetCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteResponsePlanCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteTimelineEventCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetIncidentRecordCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetReplicationSetCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetResponsePlanCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetTimelineEventCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListIncidentRecordsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListRelatedItemsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListReplicationSetsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListResponsePlansCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTimelineEventsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StartIncidentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateDeletionProtectionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateIncidentRecordCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UpdateRelatedItemsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateReplicationSetCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateResponsePlanCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateTimelineEventCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/index.d.ts +29 -0
- package/dist-types/ts3.4/index.d.ts +5 -40
- package/dist-types/ts3.4/models/models_0.d.ts +364 -1300
- package/dist-types/ts3.4/pagination/index.d.ts +7 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForWaitForReplicationSetActive.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForWaitForReplicationSetDeleted.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +2 -0
- package/package.json +34 -31
- package/dist-cjs/SSMIncidents.js.map +0 -1
- package/dist-cjs/SSMIncidentsClient.js.map +0 -1
- package/dist-cjs/commands/CreateReplicationSetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateResponsePlanCommand.js.map +0 -1
- package/dist-cjs/commands/CreateTimelineEventCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteIncidentRecordCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteReplicationSetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteResponsePlanCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteTimelineEventCommand.js.map +0 -1
- package/dist-cjs/commands/GetIncidentRecordCommand.js.map +0 -1
- package/dist-cjs/commands/GetReplicationSetCommand.js.map +0 -1
- package/dist-cjs/commands/GetResourcePoliciesCommand.js.map +0 -1
- package/dist-cjs/commands/GetResponsePlanCommand.js.map +0 -1
- package/dist-cjs/commands/GetTimelineEventCommand.js.map +0 -1
- package/dist-cjs/commands/ListIncidentRecordsCommand.js.map +0 -1
- package/dist-cjs/commands/ListRelatedItemsCommand.js.map +0 -1
- package/dist-cjs/commands/ListReplicationSetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListResponsePlansCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ListTimelineEventsCommand.js.map +0 -1
- package/dist-cjs/commands/PutResourcePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/StartIncidentCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateDeletionProtectionCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateIncidentRecordCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateRelatedItemsCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateReplicationSetCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateResponsePlanCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateTimelineEventCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/GetResourcePoliciesPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListIncidentRecordsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListRelatedItemsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListReplicationSetsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListResponsePlansPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListTimelineEventsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-cjs/waiters/waitForWaitForReplicationSetActive.js.map +0 -1
- package/dist-cjs/waiters/waitForWaitForReplicationSetDeleted.js.map +0 -1
- package/dist-es/SSMIncidents.js.map +0 -1
- package/dist-es/SSMIncidentsClient.js.map +0 -1
- package/dist-es/commands/CreateReplicationSetCommand.js.map +0 -1
- package/dist-es/commands/CreateResponsePlanCommand.js.map +0 -1
- package/dist-es/commands/CreateTimelineEventCommand.js.map +0 -1
- package/dist-es/commands/DeleteIncidentRecordCommand.js.map +0 -1
- package/dist-es/commands/DeleteReplicationSetCommand.js.map +0 -1
- package/dist-es/commands/DeleteResourcePolicyCommand.js.map +0 -1
- package/dist-es/commands/DeleteResponsePlanCommand.js.map +0 -1
- package/dist-es/commands/DeleteTimelineEventCommand.js.map +0 -1
- package/dist-es/commands/GetIncidentRecordCommand.js.map +0 -1
- package/dist-es/commands/GetReplicationSetCommand.js.map +0 -1
- package/dist-es/commands/GetResourcePoliciesCommand.js.map +0 -1
- package/dist-es/commands/GetResponsePlanCommand.js.map +0 -1
- package/dist-es/commands/GetTimelineEventCommand.js.map +0 -1
- package/dist-es/commands/ListIncidentRecordsCommand.js.map +0 -1
- package/dist-es/commands/ListRelatedItemsCommand.js.map +0 -1
- package/dist-es/commands/ListReplicationSetsCommand.js.map +0 -1
- package/dist-es/commands/ListResponsePlansCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ListTimelineEventsCommand.js.map +0 -1
- package/dist-es/commands/PutResourcePolicyCommand.js.map +0 -1
- package/dist-es/commands/StartIncidentCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateDeletionProtectionCommand.js.map +0 -1
- package/dist-es/commands/UpdateIncidentRecordCommand.js.map +0 -1
- package/dist-es/commands/UpdateRelatedItemsCommand.js.map +0 -1
- package/dist-es/commands/UpdateReplicationSetCommand.js.map +0 -1
- package/dist-es/commands/UpdateResponsePlanCommand.js.map +0 -1
- package/dist-es/commands/UpdateTimelineEventCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/GetResourcePoliciesPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListIncidentRecordsPaginator.js.map +0 -1
- package/dist-es/pagination/ListRelatedItemsPaginator.js.map +0 -1
- package/dist-es/pagination/ListReplicationSetsPaginator.js.map +0 -1
- package/dist-es/pagination/ListResponsePlansPaginator.js.map +0 -1
- package/dist-es/pagination/ListTimelineEventsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/dist-es/waiters/waitForWaitForReplicationSetActive.js.map +0 -1
- package/dist-es/waiters/waitForWaitForReplicationSetDeleted.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/SSMIncidents.ts +0 -1095
- package/src/SSMIncidentsClient.ts +0 -372
- package/src/commands/CreateReplicationSetCommand.ts +0 -96
- package/src/commands/CreateResponsePlanCommand.ts +0 -98
- package/src/commands/CreateTimelineEventCommand.ts +0 -98
- package/src/commands/DeleteIncidentRecordCommand.ts +0 -95
- package/src/commands/DeleteReplicationSetCommand.ts +0 -96
- package/src/commands/DeleteResourcePolicyCommand.ts +0 -97
- package/src/commands/DeleteResponsePlanCommand.ts +0 -97
- package/src/commands/DeleteTimelineEventCommand.ts +0 -95
- package/src/commands/GetIncidentRecordCommand.ts +0 -95
- package/src/commands/GetReplicationSetCommand.ts +0 -95
- package/src/commands/GetResourcePoliciesCommand.ts +0 -95
- package/src/commands/GetResponsePlanCommand.ts +0 -95
- package/src/commands/GetTimelineEventCommand.ts +0 -95
- package/src/commands/ListIncidentRecordsCommand.ts +0 -96
- package/src/commands/ListRelatedItemsCommand.ts +0 -95
- package/src/commands/ListReplicationSetsCommand.ts +0 -95
- package/src/commands/ListResponsePlansCommand.ts +0 -95
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/ListTimelineEventsCommand.ts +0 -95
- package/src/commands/PutResourcePolicyCommand.ts +0 -95
- package/src/commands/StartIncidentCommand.ts +0 -95
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateDeletionProtectionCommand.ts +0 -96
- package/src/commands/UpdateIncidentRecordCommand.ts +0 -97
- package/src/commands/UpdateRelatedItemsCommand.ts +0 -95
- package/src/commands/UpdateReplicationSetCommand.ts +0 -95
- package/src/commands/UpdateResponsePlanCommand.ts +0 -95
- package/src/commands/UpdateTimelineEventCommand.ts +0 -96
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -41
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -2883
- package/src/pagination/GetResourcePoliciesPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListIncidentRecordsPaginator.ts +0 -59
- package/src/pagination/ListRelatedItemsPaginator.ts +0 -59
- package/src/pagination/ListReplicationSetsPaginator.ts +0 -59
- package/src/pagination/ListResponsePlansPaginator.ts +0 -59
- package/src/pagination/ListTimelineEventsPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -4502
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/src/waiters/waitForWaitForReplicationSetActive.ts +0 -71
- package/src/waiters/waitForWaitForReplicationSetDeleted.ts +0 -58
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,372 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
EndpointsInputConfig,
|
|
3
|
-
EndpointsResolvedConfig,
|
|
4
|
-
RegionInputConfig,
|
|
5
|
-
RegionResolvedConfig,
|
|
6
|
-
resolveEndpointsConfig,
|
|
7
|
-
resolveRegionConfig,
|
|
8
|
-
} from "@aws-sdk/config-resolver";
|
|
9
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
10
|
-
import {
|
|
11
|
-
getHostHeaderPlugin,
|
|
12
|
-
HostHeaderInputConfig,
|
|
13
|
-
HostHeaderResolvedConfig,
|
|
14
|
-
resolveHostHeaderConfig,
|
|
15
|
-
} from "@aws-sdk/middleware-host-header";
|
|
16
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
17
|
-
import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
18
|
-
import {
|
|
19
|
-
AwsAuthInputConfig,
|
|
20
|
-
AwsAuthResolvedConfig,
|
|
21
|
-
getAwsAuthPlugin,
|
|
22
|
-
resolveAwsAuthConfig,
|
|
23
|
-
} from "@aws-sdk/middleware-signing";
|
|
24
|
-
import {
|
|
25
|
-
getUserAgentPlugin,
|
|
26
|
-
resolveUserAgentConfig,
|
|
27
|
-
UserAgentInputConfig,
|
|
28
|
-
UserAgentResolvedConfig,
|
|
29
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
30
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
31
|
-
import {
|
|
32
|
-
Client as __Client,
|
|
33
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
34
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
35
|
-
} from "@aws-sdk/smithy-client";
|
|
36
|
-
import {
|
|
37
|
-
Credentials as __Credentials,
|
|
38
|
-
Decoder as __Decoder,
|
|
39
|
-
Encoder as __Encoder,
|
|
40
|
-
Hash as __Hash,
|
|
41
|
-
HashConstructor as __HashConstructor,
|
|
42
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
43
|
-
Logger as __Logger,
|
|
44
|
-
Provider as __Provider,
|
|
45
|
-
Provider,
|
|
46
|
-
RegionInfoProvider,
|
|
47
|
-
StreamCollector as __StreamCollector,
|
|
48
|
-
UrlParser as __UrlParser,
|
|
49
|
-
UserAgent as __UserAgent,
|
|
50
|
-
} from "@aws-sdk/types";
|
|
51
|
-
|
|
52
|
-
import {
|
|
53
|
-
CreateReplicationSetCommandInput,
|
|
54
|
-
CreateReplicationSetCommandOutput,
|
|
55
|
-
} from "./commands/CreateReplicationSetCommand";
|
|
56
|
-
import { CreateResponsePlanCommandInput, CreateResponsePlanCommandOutput } from "./commands/CreateResponsePlanCommand";
|
|
57
|
-
import {
|
|
58
|
-
CreateTimelineEventCommandInput,
|
|
59
|
-
CreateTimelineEventCommandOutput,
|
|
60
|
-
} from "./commands/CreateTimelineEventCommand";
|
|
61
|
-
import {
|
|
62
|
-
DeleteIncidentRecordCommandInput,
|
|
63
|
-
DeleteIncidentRecordCommandOutput,
|
|
64
|
-
} from "./commands/DeleteIncidentRecordCommand";
|
|
65
|
-
import {
|
|
66
|
-
DeleteReplicationSetCommandInput,
|
|
67
|
-
DeleteReplicationSetCommandOutput,
|
|
68
|
-
} from "./commands/DeleteReplicationSetCommand";
|
|
69
|
-
import {
|
|
70
|
-
DeleteResourcePolicyCommandInput,
|
|
71
|
-
DeleteResourcePolicyCommandOutput,
|
|
72
|
-
} from "./commands/DeleteResourcePolicyCommand";
|
|
73
|
-
import { DeleteResponsePlanCommandInput, DeleteResponsePlanCommandOutput } from "./commands/DeleteResponsePlanCommand";
|
|
74
|
-
import {
|
|
75
|
-
DeleteTimelineEventCommandInput,
|
|
76
|
-
DeleteTimelineEventCommandOutput,
|
|
77
|
-
} from "./commands/DeleteTimelineEventCommand";
|
|
78
|
-
import { GetIncidentRecordCommandInput, GetIncidentRecordCommandOutput } from "./commands/GetIncidentRecordCommand";
|
|
79
|
-
import { GetReplicationSetCommandInput, GetReplicationSetCommandOutput } from "./commands/GetReplicationSetCommand";
|
|
80
|
-
import {
|
|
81
|
-
GetResourcePoliciesCommandInput,
|
|
82
|
-
GetResourcePoliciesCommandOutput,
|
|
83
|
-
} from "./commands/GetResourcePoliciesCommand";
|
|
84
|
-
import { GetResponsePlanCommandInput, GetResponsePlanCommandOutput } from "./commands/GetResponsePlanCommand";
|
|
85
|
-
import { GetTimelineEventCommandInput, GetTimelineEventCommandOutput } from "./commands/GetTimelineEventCommand";
|
|
86
|
-
import {
|
|
87
|
-
ListIncidentRecordsCommandInput,
|
|
88
|
-
ListIncidentRecordsCommandOutput,
|
|
89
|
-
} from "./commands/ListIncidentRecordsCommand";
|
|
90
|
-
import { ListRelatedItemsCommandInput, ListRelatedItemsCommandOutput } from "./commands/ListRelatedItemsCommand";
|
|
91
|
-
import {
|
|
92
|
-
ListReplicationSetsCommandInput,
|
|
93
|
-
ListReplicationSetsCommandOutput,
|
|
94
|
-
} from "./commands/ListReplicationSetsCommand";
|
|
95
|
-
import { ListResponsePlansCommandInput, ListResponsePlansCommandOutput } from "./commands/ListResponsePlansCommand";
|
|
96
|
-
import {
|
|
97
|
-
ListTagsForResourceCommandInput,
|
|
98
|
-
ListTagsForResourceCommandOutput,
|
|
99
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
100
|
-
import { ListTimelineEventsCommandInput, ListTimelineEventsCommandOutput } from "./commands/ListTimelineEventsCommand";
|
|
101
|
-
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
102
|
-
import { StartIncidentCommandInput, StartIncidentCommandOutput } from "./commands/StartIncidentCommand";
|
|
103
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
104
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
105
|
-
import {
|
|
106
|
-
UpdateDeletionProtectionCommandInput,
|
|
107
|
-
UpdateDeletionProtectionCommandOutput,
|
|
108
|
-
} from "./commands/UpdateDeletionProtectionCommand";
|
|
109
|
-
import {
|
|
110
|
-
UpdateIncidentRecordCommandInput,
|
|
111
|
-
UpdateIncidentRecordCommandOutput,
|
|
112
|
-
} from "./commands/UpdateIncidentRecordCommand";
|
|
113
|
-
import { UpdateRelatedItemsCommandInput, UpdateRelatedItemsCommandOutput } from "./commands/UpdateRelatedItemsCommand";
|
|
114
|
-
import {
|
|
115
|
-
UpdateReplicationSetCommandInput,
|
|
116
|
-
UpdateReplicationSetCommandOutput,
|
|
117
|
-
} from "./commands/UpdateReplicationSetCommand";
|
|
118
|
-
import { UpdateResponsePlanCommandInput, UpdateResponsePlanCommandOutput } from "./commands/UpdateResponsePlanCommand";
|
|
119
|
-
import {
|
|
120
|
-
UpdateTimelineEventCommandInput,
|
|
121
|
-
UpdateTimelineEventCommandOutput,
|
|
122
|
-
} from "./commands/UpdateTimelineEventCommand";
|
|
123
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
124
|
-
|
|
125
|
-
export type ServiceInputTypes =
|
|
126
|
-
| CreateReplicationSetCommandInput
|
|
127
|
-
| CreateResponsePlanCommandInput
|
|
128
|
-
| CreateTimelineEventCommandInput
|
|
129
|
-
| DeleteIncidentRecordCommandInput
|
|
130
|
-
| DeleteReplicationSetCommandInput
|
|
131
|
-
| DeleteResourcePolicyCommandInput
|
|
132
|
-
| DeleteResponsePlanCommandInput
|
|
133
|
-
| DeleteTimelineEventCommandInput
|
|
134
|
-
| GetIncidentRecordCommandInput
|
|
135
|
-
| GetReplicationSetCommandInput
|
|
136
|
-
| GetResourcePoliciesCommandInput
|
|
137
|
-
| GetResponsePlanCommandInput
|
|
138
|
-
| GetTimelineEventCommandInput
|
|
139
|
-
| ListIncidentRecordsCommandInput
|
|
140
|
-
| ListRelatedItemsCommandInput
|
|
141
|
-
| ListReplicationSetsCommandInput
|
|
142
|
-
| ListResponsePlansCommandInput
|
|
143
|
-
| ListTagsForResourceCommandInput
|
|
144
|
-
| ListTimelineEventsCommandInput
|
|
145
|
-
| PutResourcePolicyCommandInput
|
|
146
|
-
| StartIncidentCommandInput
|
|
147
|
-
| TagResourceCommandInput
|
|
148
|
-
| UntagResourceCommandInput
|
|
149
|
-
| UpdateDeletionProtectionCommandInput
|
|
150
|
-
| UpdateIncidentRecordCommandInput
|
|
151
|
-
| UpdateRelatedItemsCommandInput
|
|
152
|
-
| UpdateReplicationSetCommandInput
|
|
153
|
-
| UpdateResponsePlanCommandInput
|
|
154
|
-
| UpdateTimelineEventCommandInput;
|
|
155
|
-
|
|
156
|
-
export type ServiceOutputTypes =
|
|
157
|
-
| CreateReplicationSetCommandOutput
|
|
158
|
-
| CreateResponsePlanCommandOutput
|
|
159
|
-
| CreateTimelineEventCommandOutput
|
|
160
|
-
| DeleteIncidentRecordCommandOutput
|
|
161
|
-
| DeleteReplicationSetCommandOutput
|
|
162
|
-
| DeleteResourcePolicyCommandOutput
|
|
163
|
-
| DeleteResponsePlanCommandOutput
|
|
164
|
-
| DeleteTimelineEventCommandOutput
|
|
165
|
-
| GetIncidentRecordCommandOutput
|
|
166
|
-
| GetReplicationSetCommandOutput
|
|
167
|
-
| GetResourcePoliciesCommandOutput
|
|
168
|
-
| GetResponsePlanCommandOutput
|
|
169
|
-
| GetTimelineEventCommandOutput
|
|
170
|
-
| ListIncidentRecordsCommandOutput
|
|
171
|
-
| ListRelatedItemsCommandOutput
|
|
172
|
-
| ListReplicationSetsCommandOutput
|
|
173
|
-
| ListResponsePlansCommandOutput
|
|
174
|
-
| ListTagsForResourceCommandOutput
|
|
175
|
-
| ListTimelineEventsCommandOutput
|
|
176
|
-
| PutResourcePolicyCommandOutput
|
|
177
|
-
| StartIncidentCommandOutput
|
|
178
|
-
| TagResourceCommandOutput
|
|
179
|
-
| UntagResourceCommandOutput
|
|
180
|
-
| UpdateDeletionProtectionCommandOutput
|
|
181
|
-
| UpdateIncidentRecordCommandOutput
|
|
182
|
-
| UpdateRelatedItemsCommandOutput
|
|
183
|
-
| UpdateReplicationSetCommandOutput
|
|
184
|
-
| UpdateResponsePlanCommandOutput
|
|
185
|
-
| UpdateTimelineEventCommandOutput;
|
|
186
|
-
|
|
187
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
188
|
-
/**
|
|
189
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
190
|
-
*/
|
|
191
|
-
requestHandler?: __HttpHandler;
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
195
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
196
|
-
* @internal
|
|
197
|
-
*/
|
|
198
|
-
sha256?: __HashConstructor;
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
202
|
-
* @internal
|
|
203
|
-
*/
|
|
204
|
-
urlParser?: __UrlParser;
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* A function that can calculate the length of a request body.
|
|
208
|
-
* @internal
|
|
209
|
-
*/
|
|
210
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* A function that converts a stream into an array of bytes.
|
|
214
|
-
* @internal
|
|
215
|
-
*/
|
|
216
|
-
streamCollector?: __StreamCollector;
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
220
|
-
* @internal
|
|
221
|
-
*/
|
|
222
|
-
base64Decoder?: __Decoder;
|
|
223
|
-
|
|
224
|
-
/**
|
|
225
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
226
|
-
* @internal
|
|
227
|
-
*/
|
|
228
|
-
base64Encoder?: __Encoder;
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
232
|
-
* @internal
|
|
233
|
-
*/
|
|
234
|
-
utf8Decoder?: __Decoder;
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
238
|
-
* @internal
|
|
239
|
-
*/
|
|
240
|
-
utf8Encoder?: __Encoder;
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* The runtime environment.
|
|
244
|
-
* @internal
|
|
245
|
-
*/
|
|
246
|
-
runtime?: string;
|
|
247
|
-
|
|
248
|
-
/**
|
|
249
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
250
|
-
* trait of an operation.
|
|
251
|
-
*/
|
|
252
|
-
disableHostPrefix?: boolean;
|
|
253
|
-
|
|
254
|
-
/**
|
|
255
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
256
|
-
*/
|
|
257
|
-
maxAttempts?: number | __Provider<number>;
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* Specifies which retry algorithm to use.
|
|
261
|
-
*/
|
|
262
|
-
retryMode?: string | __Provider<string>;
|
|
263
|
-
|
|
264
|
-
/**
|
|
265
|
-
* Optional logger for logging debug/info/warn/error.
|
|
266
|
-
*/
|
|
267
|
-
logger?: __Logger;
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* Unique service identifier.
|
|
271
|
-
* @internal
|
|
272
|
-
*/
|
|
273
|
-
serviceId?: string;
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
* The AWS region to which this client will send requests
|
|
277
|
-
*/
|
|
278
|
-
region?: string | __Provider<string>;
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* Default credentials provider; Not available in browser runtime.
|
|
282
|
-
* @internal
|
|
283
|
-
*/
|
|
284
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
285
|
-
|
|
286
|
-
/**
|
|
287
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
288
|
-
* @internal
|
|
289
|
-
*/
|
|
290
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
291
|
-
|
|
292
|
-
/**
|
|
293
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
294
|
-
* @internal
|
|
295
|
-
*/
|
|
296
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
type SSMIncidentsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
300
|
-
ClientDefaults &
|
|
301
|
-
RegionInputConfig &
|
|
302
|
-
EndpointsInputConfig &
|
|
303
|
-
RetryInputConfig &
|
|
304
|
-
HostHeaderInputConfig &
|
|
305
|
-
AwsAuthInputConfig &
|
|
306
|
-
UserAgentInputConfig;
|
|
307
|
-
/**
|
|
308
|
-
* The configuration interface of SSMIncidentsClient class constructor that set the region, credentials and other options.
|
|
309
|
-
*/
|
|
310
|
-
export interface SSMIncidentsClientConfig extends SSMIncidentsClientConfigType {}
|
|
311
|
-
|
|
312
|
-
type SSMIncidentsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
313
|
-
Required<ClientDefaults> &
|
|
314
|
-
RegionResolvedConfig &
|
|
315
|
-
EndpointsResolvedConfig &
|
|
316
|
-
RetryResolvedConfig &
|
|
317
|
-
HostHeaderResolvedConfig &
|
|
318
|
-
AwsAuthResolvedConfig &
|
|
319
|
-
UserAgentResolvedConfig;
|
|
320
|
-
/**
|
|
321
|
-
* The resolved configuration interface of SSMIncidentsClient class. This is resolved and normalized from the {@link SSMIncidentsClientConfig | constructor configuration interface}.
|
|
322
|
-
*/
|
|
323
|
-
export interface SSMIncidentsClientResolvedConfig extends SSMIncidentsClientResolvedConfigType {}
|
|
324
|
-
|
|
325
|
-
/**
|
|
326
|
-
* <p>AWS Systems Manager Incident Manager is an incident management console designed to help
|
|
327
|
-
* users mitigate and recover from incidents affecting their AWS-hosted applications. An incident
|
|
328
|
-
* is any unplanned interruption or reduction in quality of services. </p>
|
|
329
|
-
* <p>Incident Manager increases incident resolution by notifying responders of impact,
|
|
330
|
-
* highlighting relevant troubleshooting data, and providing collaboration tools to get services
|
|
331
|
-
* back up and running. To achieve the primary goal of reducing the time-to-resolution of
|
|
332
|
-
* critical incidents, Incident Manager automates response plans and enables responder team
|
|
333
|
-
* escalation. </p>
|
|
334
|
-
*/
|
|
335
|
-
export class SSMIncidentsClient extends __Client<
|
|
336
|
-
__HttpHandlerOptions,
|
|
337
|
-
ServiceInputTypes,
|
|
338
|
-
ServiceOutputTypes,
|
|
339
|
-
SSMIncidentsClientResolvedConfig
|
|
340
|
-
> {
|
|
341
|
-
/**
|
|
342
|
-
* The resolved configuration of SSMIncidentsClient class. This is resolved and normalized from the {@link SSMIncidentsClientConfig | constructor configuration interface}.
|
|
343
|
-
*/
|
|
344
|
-
readonly config: SSMIncidentsClientResolvedConfig;
|
|
345
|
-
|
|
346
|
-
constructor(configuration: SSMIncidentsClientConfig) {
|
|
347
|
-
const _config_0 = __getRuntimeConfig(configuration);
|
|
348
|
-
const _config_1 = resolveRegionConfig(_config_0);
|
|
349
|
-
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
350
|
-
const _config_3 = resolveRetryConfig(_config_2);
|
|
351
|
-
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
352
|
-
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
353
|
-
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
354
|
-
super(_config_6);
|
|
355
|
-
this.config = _config_6;
|
|
356
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
357
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
358
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
359
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
360
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
361
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
/**
|
|
365
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
366
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
367
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
368
|
-
*/
|
|
369
|
-
destroy(): void {
|
|
370
|
-
super.destroy();
|
|
371
|
-
}
|
|
372
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CreateReplicationSetInput, CreateReplicationSetOutput } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1CreateReplicationSetCommand,
|
|
17
|
-
serializeAws_restJson1CreateReplicationSetCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, SSMIncidentsClientResolvedConfig } from "../SSMIncidentsClient";
|
|
20
|
-
|
|
21
|
-
export interface CreateReplicationSetCommandInput extends CreateReplicationSetInput {}
|
|
22
|
-
export interface CreateReplicationSetCommandOutput extends CreateReplicationSetOutput, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>A replication set replicates and encrypts your data to the provided Regions with the
|
|
26
|
-
* provided KMS key. </p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { SSMIncidentsClient, CreateReplicationSetCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
31
|
-
* // const { SSMIncidentsClient, CreateReplicationSetCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
32
|
-
* const client = new SSMIncidentsClient(config);
|
|
33
|
-
* const command = new CreateReplicationSetCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link CreateReplicationSetCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link CreateReplicationSetCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link SSMIncidentsClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class CreateReplicationSetCommand extends $Command<
|
|
43
|
-
CreateReplicationSetCommandInput,
|
|
44
|
-
CreateReplicationSetCommandOutput,
|
|
45
|
-
SSMIncidentsClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: CreateReplicationSetCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: SSMIncidentsClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<CreateReplicationSetCommandInput, CreateReplicationSetCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "SSMIncidentsClient";
|
|
70
|
-
const commandName = "CreateReplicationSetCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: CreateReplicationSetInput.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: CreateReplicationSetOutput.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: CreateReplicationSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1CreateReplicationSetCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateReplicationSetCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1CreateReplicationSetCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CreateResponsePlanInput, CreateResponsePlanOutput } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1CreateResponsePlanCommand,
|
|
17
|
-
serializeAws_restJson1CreateResponsePlanCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, SSMIncidentsClientResolvedConfig } from "../SSMIncidentsClient";
|
|
20
|
-
|
|
21
|
-
export interface CreateResponsePlanCommandInput extends CreateResponsePlanInput {}
|
|
22
|
-
export interface CreateResponsePlanCommandOutput extends CreateResponsePlanOutput, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a response plan that automates the initial response to incidents. A response
|
|
26
|
-
* plan engages contacts, starts chat channel collaboration, and
|
|
27
|
-
* initiates
|
|
28
|
-
* runbooks at the beginning of an incident.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { SSMIncidentsClient, CreateResponsePlanCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
33
|
-
* // const { SSMIncidentsClient, CreateResponsePlanCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
34
|
-
* const client = new SSMIncidentsClient(config);
|
|
35
|
-
* const command = new CreateResponsePlanCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link CreateResponsePlanCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link CreateResponsePlanCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link SSMIncidentsClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class CreateResponsePlanCommand extends $Command<
|
|
45
|
-
CreateResponsePlanCommandInput,
|
|
46
|
-
CreateResponsePlanCommandOutput,
|
|
47
|
-
SSMIncidentsClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: CreateResponsePlanCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: SSMIncidentsClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<CreateResponsePlanCommandInput, CreateResponsePlanCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "SSMIncidentsClient";
|
|
72
|
-
const commandName = "CreateResponsePlanCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: CreateResponsePlanInput.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: CreateResponsePlanOutput.filterSensitiveLog,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(input: CreateResponsePlanCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_restJson1CreateResponsePlanCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateResponsePlanCommandOutput> {
|
|
93
|
-
return deserializeAws_restJson1CreateResponsePlanCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CreateTimelineEventInput, CreateTimelineEventOutput } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1CreateTimelineEventCommand,
|
|
17
|
-
serializeAws_restJson1CreateTimelineEventCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, SSMIncidentsClientResolvedConfig } from "../SSMIncidentsClient";
|
|
20
|
-
|
|
21
|
-
export interface CreateTimelineEventCommandInput extends CreateTimelineEventInput {}
|
|
22
|
-
export interface CreateTimelineEventCommandOutput extends CreateTimelineEventOutput, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a custom timeline event on the incident details page of an incident record.
|
|
26
|
-
* Timeline events are automatically created by Incident Manager, marking key moment during an
|
|
27
|
-
* incident. You can create custom timeline events to mark important events that are
|
|
28
|
-
* automatically detected by Incident Manager.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { SSMIncidentsClient, CreateTimelineEventCommand } from "@aws-sdk/client-ssm-incidents"; // ES Modules import
|
|
33
|
-
* // const { SSMIncidentsClient, CreateTimelineEventCommand } = require("@aws-sdk/client-ssm-incidents"); // CommonJS import
|
|
34
|
-
* const client = new SSMIncidentsClient(config);
|
|
35
|
-
* const command = new CreateTimelineEventCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link CreateTimelineEventCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link CreateTimelineEventCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link SSMIncidentsClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class CreateTimelineEventCommand extends $Command<
|
|
45
|
-
CreateTimelineEventCommandInput,
|
|
46
|
-
CreateTimelineEventCommandOutput,
|
|
47
|
-
SSMIncidentsClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: CreateTimelineEventCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: SSMIncidentsClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<CreateTimelineEventCommandInput, CreateTimelineEventCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "SSMIncidentsClient";
|
|
72
|
-
const commandName = "CreateTimelineEventCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: CreateTimelineEventInput.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: CreateTimelineEventOutput.filterSensitiveLog,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(input: CreateTimelineEventCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_restJson1CreateTimelineEventCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateTimelineEventCommandOutput> {
|
|
93
|
-
return deserializeAws_restJson1CreateTimelineEventCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|