@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
package/src/SSMIncidents.ts
DELETED
|
@@ -1,1095 +0,0 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
CreateReplicationSetCommand,
|
|
5
|
-
CreateReplicationSetCommandInput,
|
|
6
|
-
CreateReplicationSetCommandOutput,
|
|
7
|
-
} from "./commands/CreateReplicationSetCommand";
|
|
8
|
-
import {
|
|
9
|
-
CreateResponsePlanCommand,
|
|
10
|
-
CreateResponsePlanCommandInput,
|
|
11
|
-
CreateResponsePlanCommandOutput,
|
|
12
|
-
} from "./commands/CreateResponsePlanCommand";
|
|
13
|
-
import {
|
|
14
|
-
CreateTimelineEventCommand,
|
|
15
|
-
CreateTimelineEventCommandInput,
|
|
16
|
-
CreateTimelineEventCommandOutput,
|
|
17
|
-
} from "./commands/CreateTimelineEventCommand";
|
|
18
|
-
import {
|
|
19
|
-
DeleteIncidentRecordCommand,
|
|
20
|
-
DeleteIncidentRecordCommandInput,
|
|
21
|
-
DeleteIncidentRecordCommandOutput,
|
|
22
|
-
} from "./commands/DeleteIncidentRecordCommand";
|
|
23
|
-
import {
|
|
24
|
-
DeleteReplicationSetCommand,
|
|
25
|
-
DeleteReplicationSetCommandInput,
|
|
26
|
-
DeleteReplicationSetCommandOutput,
|
|
27
|
-
} from "./commands/DeleteReplicationSetCommand";
|
|
28
|
-
import {
|
|
29
|
-
DeleteResourcePolicyCommand,
|
|
30
|
-
DeleteResourcePolicyCommandInput,
|
|
31
|
-
DeleteResourcePolicyCommandOutput,
|
|
32
|
-
} from "./commands/DeleteResourcePolicyCommand";
|
|
33
|
-
import {
|
|
34
|
-
DeleteResponsePlanCommand,
|
|
35
|
-
DeleteResponsePlanCommandInput,
|
|
36
|
-
DeleteResponsePlanCommandOutput,
|
|
37
|
-
} from "./commands/DeleteResponsePlanCommand";
|
|
38
|
-
import {
|
|
39
|
-
DeleteTimelineEventCommand,
|
|
40
|
-
DeleteTimelineEventCommandInput,
|
|
41
|
-
DeleteTimelineEventCommandOutput,
|
|
42
|
-
} from "./commands/DeleteTimelineEventCommand";
|
|
43
|
-
import {
|
|
44
|
-
GetIncidentRecordCommand,
|
|
45
|
-
GetIncidentRecordCommandInput,
|
|
46
|
-
GetIncidentRecordCommandOutput,
|
|
47
|
-
} from "./commands/GetIncidentRecordCommand";
|
|
48
|
-
import {
|
|
49
|
-
GetReplicationSetCommand,
|
|
50
|
-
GetReplicationSetCommandInput,
|
|
51
|
-
GetReplicationSetCommandOutput,
|
|
52
|
-
} from "./commands/GetReplicationSetCommand";
|
|
53
|
-
import {
|
|
54
|
-
GetResourcePoliciesCommand,
|
|
55
|
-
GetResourcePoliciesCommandInput,
|
|
56
|
-
GetResourcePoliciesCommandOutput,
|
|
57
|
-
} from "./commands/GetResourcePoliciesCommand";
|
|
58
|
-
import {
|
|
59
|
-
GetResponsePlanCommand,
|
|
60
|
-
GetResponsePlanCommandInput,
|
|
61
|
-
GetResponsePlanCommandOutput,
|
|
62
|
-
} from "./commands/GetResponsePlanCommand";
|
|
63
|
-
import {
|
|
64
|
-
GetTimelineEventCommand,
|
|
65
|
-
GetTimelineEventCommandInput,
|
|
66
|
-
GetTimelineEventCommandOutput,
|
|
67
|
-
} from "./commands/GetTimelineEventCommand";
|
|
68
|
-
import {
|
|
69
|
-
ListIncidentRecordsCommand,
|
|
70
|
-
ListIncidentRecordsCommandInput,
|
|
71
|
-
ListIncidentRecordsCommandOutput,
|
|
72
|
-
} from "./commands/ListIncidentRecordsCommand";
|
|
73
|
-
import {
|
|
74
|
-
ListRelatedItemsCommand,
|
|
75
|
-
ListRelatedItemsCommandInput,
|
|
76
|
-
ListRelatedItemsCommandOutput,
|
|
77
|
-
} from "./commands/ListRelatedItemsCommand";
|
|
78
|
-
import {
|
|
79
|
-
ListReplicationSetsCommand,
|
|
80
|
-
ListReplicationSetsCommandInput,
|
|
81
|
-
ListReplicationSetsCommandOutput,
|
|
82
|
-
} from "./commands/ListReplicationSetsCommand";
|
|
83
|
-
import {
|
|
84
|
-
ListResponsePlansCommand,
|
|
85
|
-
ListResponsePlansCommandInput,
|
|
86
|
-
ListResponsePlansCommandOutput,
|
|
87
|
-
} from "./commands/ListResponsePlansCommand";
|
|
88
|
-
import {
|
|
89
|
-
ListTagsForResourceCommand,
|
|
90
|
-
ListTagsForResourceCommandInput,
|
|
91
|
-
ListTagsForResourceCommandOutput,
|
|
92
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
93
|
-
import {
|
|
94
|
-
ListTimelineEventsCommand,
|
|
95
|
-
ListTimelineEventsCommandInput,
|
|
96
|
-
ListTimelineEventsCommandOutput,
|
|
97
|
-
} from "./commands/ListTimelineEventsCommand";
|
|
98
|
-
import {
|
|
99
|
-
PutResourcePolicyCommand,
|
|
100
|
-
PutResourcePolicyCommandInput,
|
|
101
|
-
PutResourcePolicyCommandOutput,
|
|
102
|
-
} from "./commands/PutResourcePolicyCommand";
|
|
103
|
-
import {
|
|
104
|
-
StartIncidentCommand,
|
|
105
|
-
StartIncidentCommandInput,
|
|
106
|
-
StartIncidentCommandOutput,
|
|
107
|
-
} from "./commands/StartIncidentCommand";
|
|
108
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
109
|
-
import {
|
|
110
|
-
UntagResourceCommand,
|
|
111
|
-
UntagResourceCommandInput,
|
|
112
|
-
UntagResourceCommandOutput,
|
|
113
|
-
} from "./commands/UntagResourceCommand";
|
|
114
|
-
import {
|
|
115
|
-
UpdateDeletionProtectionCommand,
|
|
116
|
-
UpdateDeletionProtectionCommandInput,
|
|
117
|
-
UpdateDeletionProtectionCommandOutput,
|
|
118
|
-
} from "./commands/UpdateDeletionProtectionCommand";
|
|
119
|
-
import {
|
|
120
|
-
UpdateIncidentRecordCommand,
|
|
121
|
-
UpdateIncidentRecordCommandInput,
|
|
122
|
-
UpdateIncidentRecordCommandOutput,
|
|
123
|
-
} from "./commands/UpdateIncidentRecordCommand";
|
|
124
|
-
import {
|
|
125
|
-
UpdateRelatedItemsCommand,
|
|
126
|
-
UpdateRelatedItemsCommandInput,
|
|
127
|
-
UpdateRelatedItemsCommandOutput,
|
|
128
|
-
} from "./commands/UpdateRelatedItemsCommand";
|
|
129
|
-
import {
|
|
130
|
-
UpdateReplicationSetCommand,
|
|
131
|
-
UpdateReplicationSetCommandInput,
|
|
132
|
-
UpdateReplicationSetCommandOutput,
|
|
133
|
-
} from "./commands/UpdateReplicationSetCommand";
|
|
134
|
-
import {
|
|
135
|
-
UpdateResponsePlanCommand,
|
|
136
|
-
UpdateResponsePlanCommandInput,
|
|
137
|
-
UpdateResponsePlanCommandOutput,
|
|
138
|
-
} from "./commands/UpdateResponsePlanCommand";
|
|
139
|
-
import {
|
|
140
|
-
UpdateTimelineEventCommand,
|
|
141
|
-
UpdateTimelineEventCommandInput,
|
|
142
|
-
UpdateTimelineEventCommandOutput,
|
|
143
|
-
} from "./commands/UpdateTimelineEventCommand";
|
|
144
|
-
import { SSMIncidentsClient } from "./SSMIncidentsClient";
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* <p>AWS Systems Manager Incident Manager is an incident management console designed to help
|
|
148
|
-
* users mitigate and recover from incidents affecting their AWS-hosted applications. An incident
|
|
149
|
-
* is any unplanned interruption or reduction in quality of services. </p>
|
|
150
|
-
* <p>Incident Manager increases incident resolution by notifying responders of impact,
|
|
151
|
-
* highlighting relevant troubleshooting data, and providing collaboration tools to get services
|
|
152
|
-
* back up and running. To achieve the primary goal of reducing the time-to-resolution of
|
|
153
|
-
* critical incidents, Incident Manager automates response plans and enables responder team
|
|
154
|
-
* escalation. </p>
|
|
155
|
-
*/
|
|
156
|
-
export class SSMIncidents extends SSMIncidentsClient {
|
|
157
|
-
/**
|
|
158
|
-
* <p>A replication set replicates and encrypts your data to the provided Regions with the
|
|
159
|
-
* provided KMS key. </p>
|
|
160
|
-
*/
|
|
161
|
-
public createReplicationSet(
|
|
162
|
-
args: CreateReplicationSetCommandInput,
|
|
163
|
-
options?: __HttpHandlerOptions
|
|
164
|
-
): Promise<CreateReplicationSetCommandOutput>;
|
|
165
|
-
public createReplicationSet(
|
|
166
|
-
args: CreateReplicationSetCommandInput,
|
|
167
|
-
cb: (err: any, data?: CreateReplicationSetCommandOutput) => void
|
|
168
|
-
): void;
|
|
169
|
-
public createReplicationSet(
|
|
170
|
-
args: CreateReplicationSetCommandInput,
|
|
171
|
-
options: __HttpHandlerOptions,
|
|
172
|
-
cb: (err: any, data?: CreateReplicationSetCommandOutput) => void
|
|
173
|
-
): void;
|
|
174
|
-
public createReplicationSet(
|
|
175
|
-
args: CreateReplicationSetCommandInput,
|
|
176
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateReplicationSetCommandOutput) => void),
|
|
177
|
-
cb?: (err: any, data?: CreateReplicationSetCommandOutput) => void
|
|
178
|
-
): Promise<CreateReplicationSetCommandOutput> | void {
|
|
179
|
-
const command = new CreateReplicationSetCommand(args);
|
|
180
|
-
if (typeof optionsOrCb === "function") {
|
|
181
|
-
this.send(command, optionsOrCb);
|
|
182
|
-
} else if (typeof cb === "function") {
|
|
183
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
184
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
185
|
-
} else {
|
|
186
|
-
return this.send(command, optionsOrCb);
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* <p>Creates a response plan that automates the initial response to incidents. A response
|
|
192
|
-
* plan engages contacts, starts chat channel collaboration, and
|
|
193
|
-
* initiates
|
|
194
|
-
* runbooks at the beginning of an incident.</p>
|
|
195
|
-
*/
|
|
196
|
-
public createResponsePlan(
|
|
197
|
-
args: CreateResponsePlanCommandInput,
|
|
198
|
-
options?: __HttpHandlerOptions
|
|
199
|
-
): Promise<CreateResponsePlanCommandOutput>;
|
|
200
|
-
public createResponsePlan(
|
|
201
|
-
args: CreateResponsePlanCommandInput,
|
|
202
|
-
cb: (err: any, data?: CreateResponsePlanCommandOutput) => void
|
|
203
|
-
): void;
|
|
204
|
-
public createResponsePlan(
|
|
205
|
-
args: CreateResponsePlanCommandInput,
|
|
206
|
-
options: __HttpHandlerOptions,
|
|
207
|
-
cb: (err: any, data?: CreateResponsePlanCommandOutput) => void
|
|
208
|
-
): void;
|
|
209
|
-
public createResponsePlan(
|
|
210
|
-
args: CreateResponsePlanCommandInput,
|
|
211
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateResponsePlanCommandOutput) => void),
|
|
212
|
-
cb?: (err: any, data?: CreateResponsePlanCommandOutput) => void
|
|
213
|
-
): Promise<CreateResponsePlanCommandOutput> | void {
|
|
214
|
-
const command = new CreateResponsePlanCommand(args);
|
|
215
|
-
if (typeof optionsOrCb === "function") {
|
|
216
|
-
this.send(command, optionsOrCb);
|
|
217
|
-
} else if (typeof cb === "function") {
|
|
218
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
219
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
220
|
-
} else {
|
|
221
|
-
return this.send(command, optionsOrCb);
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
/**
|
|
226
|
-
* <p>Creates a custom timeline event on the incident details page of an incident record.
|
|
227
|
-
* Timeline events are automatically created by Incident Manager, marking key moment during an
|
|
228
|
-
* incident. You can create custom timeline events to mark important events that are
|
|
229
|
-
* automatically detected by Incident Manager.</p>
|
|
230
|
-
*/
|
|
231
|
-
public createTimelineEvent(
|
|
232
|
-
args: CreateTimelineEventCommandInput,
|
|
233
|
-
options?: __HttpHandlerOptions
|
|
234
|
-
): Promise<CreateTimelineEventCommandOutput>;
|
|
235
|
-
public createTimelineEvent(
|
|
236
|
-
args: CreateTimelineEventCommandInput,
|
|
237
|
-
cb: (err: any, data?: CreateTimelineEventCommandOutput) => void
|
|
238
|
-
): void;
|
|
239
|
-
public createTimelineEvent(
|
|
240
|
-
args: CreateTimelineEventCommandInput,
|
|
241
|
-
options: __HttpHandlerOptions,
|
|
242
|
-
cb: (err: any, data?: CreateTimelineEventCommandOutput) => void
|
|
243
|
-
): void;
|
|
244
|
-
public createTimelineEvent(
|
|
245
|
-
args: CreateTimelineEventCommandInput,
|
|
246
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateTimelineEventCommandOutput) => void),
|
|
247
|
-
cb?: (err: any, data?: CreateTimelineEventCommandOutput) => void
|
|
248
|
-
): Promise<CreateTimelineEventCommandOutput> | void {
|
|
249
|
-
const command = new CreateTimelineEventCommand(args);
|
|
250
|
-
if (typeof optionsOrCb === "function") {
|
|
251
|
-
this.send(command, optionsOrCb);
|
|
252
|
-
} else if (typeof cb === "function") {
|
|
253
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
254
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
255
|
-
} else {
|
|
256
|
-
return this.send(command, optionsOrCb);
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
/**
|
|
261
|
-
* <p>Delete an incident record from Incident Manager. </p>
|
|
262
|
-
*/
|
|
263
|
-
public deleteIncidentRecord(
|
|
264
|
-
args: DeleteIncidentRecordCommandInput,
|
|
265
|
-
options?: __HttpHandlerOptions
|
|
266
|
-
): Promise<DeleteIncidentRecordCommandOutput>;
|
|
267
|
-
public deleteIncidentRecord(
|
|
268
|
-
args: DeleteIncidentRecordCommandInput,
|
|
269
|
-
cb: (err: any, data?: DeleteIncidentRecordCommandOutput) => void
|
|
270
|
-
): void;
|
|
271
|
-
public deleteIncidentRecord(
|
|
272
|
-
args: DeleteIncidentRecordCommandInput,
|
|
273
|
-
options: __HttpHandlerOptions,
|
|
274
|
-
cb: (err: any, data?: DeleteIncidentRecordCommandOutput) => void
|
|
275
|
-
): void;
|
|
276
|
-
public deleteIncidentRecord(
|
|
277
|
-
args: DeleteIncidentRecordCommandInput,
|
|
278
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteIncidentRecordCommandOutput) => void),
|
|
279
|
-
cb?: (err: any, data?: DeleteIncidentRecordCommandOutput) => void
|
|
280
|
-
): Promise<DeleteIncidentRecordCommandOutput> | void {
|
|
281
|
-
const command = new DeleteIncidentRecordCommand(args);
|
|
282
|
-
if (typeof optionsOrCb === "function") {
|
|
283
|
-
this.send(command, optionsOrCb);
|
|
284
|
-
} else if (typeof cb === "function") {
|
|
285
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
286
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
287
|
-
} else {
|
|
288
|
-
return this.send(command, optionsOrCb);
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
/**
|
|
293
|
-
* <p>Deletes all Regions in your replication set. Deleting the replication set deletes all
|
|
294
|
-
* Incident Manager data.</p>
|
|
295
|
-
*/
|
|
296
|
-
public deleteReplicationSet(
|
|
297
|
-
args: DeleteReplicationSetCommandInput,
|
|
298
|
-
options?: __HttpHandlerOptions
|
|
299
|
-
): Promise<DeleteReplicationSetCommandOutput>;
|
|
300
|
-
public deleteReplicationSet(
|
|
301
|
-
args: DeleteReplicationSetCommandInput,
|
|
302
|
-
cb: (err: any, data?: DeleteReplicationSetCommandOutput) => void
|
|
303
|
-
): void;
|
|
304
|
-
public deleteReplicationSet(
|
|
305
|
-
args: DeleteReplicationSetCommandInput,
|
|
306
|
-
options: __HttpHandlerOptions,
|
|
307
|
-
cb: (err: any, data?: DeleteReplicationSetCommandOutput) => void
|
|
308
|
-
): void;
|
|
309
|
-
public deleteReplicationSet(
|
|
310
|
-
args: DeleteReplicationSetCommandInput,
|
|
311
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteReplicationSetCommandOutput) => void),
|
|
312
|
-
cb?: (err: any, data?: DeleteReplicationSetCommandOutput) => void
|
|
313
|
-
): Promise<DeleteReplicationSetCommandOutput> | void {
|
|
314
|
-
const command = new DeleteReplicationSetCommand(args);
|
|
315
|
-
if (typeof optionsOrCb === "function") {
|
|
316
|
-
this.send(command, optionsOrCb);
|
|
317
|
-
} else if (typeof cb === "function") {
|
|
318
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
319
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
320
|
-
} else {
|
|
321
|
-
return this.send(command, optionsOrCb);
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
/**
|
|
326
|
-
* <p>Deletes the resource policy that
|
|
327
|
-
* AWS
|
|
328
|
-
* Resource Access Manager uses to share your Incident Manager resource.</p>
|
|
329
|
-
*/
|
|
330
|
-
public deleteResourcePolicy(
|
|
331
|
-
args: DeleteResourcePolicyCommandInput,
|
|
332
|
-
options?: __HttpHandlerOptions
|
|
333
|
-
): Promise<DeleteResourcePolicyCommandOutput>;
|
|
334
|
-
public deleteResourcePolicy(
|
|
335
|
-
args: DeleteResourcePolicyCommandInput,
|
|
336
|
-
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
|
|
337
|
-
): void;
|
|
338
|
-
public deleteResourcePolicy(
|
|
339
|
-
args: DeleteResourcePolicyCommandInput,
|
|
340
|
-
options: __HttpHandlerOptions,
|
|
341
|
-
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
|
|
342
|
-
): void;
|
|
343
|
-
public deleteResourcePolicy(
|
|
344
|
-
args: DeleteResourcePolicyCommandInput,
|
|
345
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteResourcePolicyCommandOutput) => void),
|
|
346
|
-
cb?: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
|
|
347
|
-
): Promise<DeleteResourcePolicyCommandOutput> | void {
|
|
348
|
-
const command = new DeleteResourcePolicyCommand(args);
|
|
349
|
-
if (typeof optionsOrCb === "function") {
|
|
350
|
-
this.send(command, optionsOrCb);
|
|
351
|
-
} else if (typeof cb === "function") {
|
|
352
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
353
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
354
|
-
} else {
|
|
355
|
-
return this.send(command, optionsOrCb);
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
/**
|
|
360
|
-
* <p>Deletes the specified response plan. Deleting a response plan stops all linked
|
|
361
|
-
* CloudWatch alarms and EventBridge events from creating an incident with this response
|
|
362
|
-
* plan.</p>
|
|
363
|
-
*/
|
|
364
|
-
public deleteResponsePlan(
|
|
365
|
-
args: DeleteResponsePlanCommandInput,
|
|
366
|
-
options?: __HttpHandlerOptions
|
|
367
|
-
): Promise<DeleteResponsePlanCommandOutput>;
|
|
368
|
-
public deleteResponsePlan(
|
|
369
|
-
args: DeleteResponsePlanCommandInput,
|
|
370
|
-
cb: (err: any, data?: DeleteResponsePlanCommandOutput) => void
|
|
371
|
-
): void;
|
|
372
|
-
public deleteResponsePlan(
|
|
373
|
-
args: DeleteResponsePlanCommandInput,
|
|
374
|
-
options: __HttpHandlerOptions,
|
|
375
|
-
cb: (err: any, data?: DeleteResponsePlanCommandOutput) => void
|
|
376
|
-
): void;
|
|
377
|
-
public deleteResponsePlan(
|
|
378
|
-
args: DeleteResponsePlanCommandInput,
|
|
379
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteResponsePlanCommandOutput) => void),
|
|
380
|
-
cb?: (err: any, data?: DeleteResponsePlanCommandOutput) => void
|
|
381
|
-
): Promise<DeleteResponsePlanCommandOutput> | void {
|
|
382
|
-
const command = new DeleteResponsePlanCommand(args);
|
|
383
|
-
if (typeof optionsOrCb === "function") {
|
|
384
|
-
this.send(command, optionsOrCb);
|
|
385
|
-
} else if (typeof cb === "function") {
|
|
386
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
387
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
388
|
-
} else {
|
|
389
|
-
return this.send(command, optionsOrCb);
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
/**
|
|
394
|
-
* <p>Deletes a timeline event from an incident.</p>
|
|
395
|
-
*/
|
|
396
|
-
public deleteTimelineEvent(
|
|
397
|
-
args: DeleteTimelineEventCommandInput,
|
|
398
|
-
options?: __HttpHandlerOptions
|
|
399
|
-
): Promise<DeleteTimelineEventCommandOutput>;
|
|
400
|
-
public deleteTimelineEvent(
|
|
401
|
-
args: DeleteTimelineEventCommandInput,
|
|
402
|
-
cb: (err: any, data?: DeleteTimelineEventCommandOutput) => void
|
|
403
|
-
): void;
|
|
404
|
-
public deleteTimelineEvent(
|
|
405
|
-
args: DeleteTimelineEventCommandInput,
|
|
406
|
-
options: __HttpHandlerOptions,
|
|
407
|
-
cb: (err: any, data?: DeleteTimelineEventCommandOutput) => void
|
|
408
|
-
): void;
|
|
409
|
-
public deleteTimelineEvent(
|
|
410
|
-
args: DeleteTimelineEventCommandInput,
|
|
411
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteTimelineEventCommandOutput) => void),
|
|
412
|
-
cb?: (err: any, data?: DeleteTimelineEventCommandOutput) => void
|
|
413
|
-
): Promise<DeleteTimelineEventCommandOutput> | void {
|
|
414
|
-
const command = new DeleteTimelineEventCommand(args);
|
|
415
|
-
if (typeof optionsOrCb === "function") {
|
|
416
|
-
this.send(command, optionsOrCb);
|
|
417
|
-
} else if (typeof cb === "function") {
|
|
418
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
419
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
420
|
-
} else {
|
|
421
|
-
return this.send(command, optionsOrCb);
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
/**
|
|
426
|
-
* <p>Returns the details of the specified incident record.</p>
|
|
427
|
-
*/
|
|
428
|
-
public getIncidentRecord(
|
|
429
|
-
args: GetIncidentRecordCommandInput,
|
|
430
|
-
options?: __HttpHandlerOptions
|
|
431
|
-
): Promise<GetIncidentRecordCommandOutput>;
|
|
432
|
-
public getIncidentRecord(
|
|
433
|
-
args: GetIncidentRecordCommandInput,
|
|
434
|
-
cb: (err: any, data?: GetIncidentRecordCommandOutput) => void
|
|
435
|
-
): void;
|
|
436
|
-
public getIncidentRecord(
|
|
437
|
-
args: GetIncidentRecordCommandInput,
|
|
438
|
-
options: __HttpHandlerOptions,
|
|
439
|
-
cb: (err: any, data?: GetIncidentRecordCommandOutput) => void
|
|
440
|
-
): void;
|
|
441
|
-
public getIncidentRecord(
|
|
442
|
-
args: GetIncidentRecordCommandInput,
|
|
443
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetIncidentRecordCommandOutput) => void),
|
|
444
|
-
cb?: (err: any, data?: GetIncidentRecordCommandOutput) => void
|
|
445
|
-
): Promise<GetIncidentRecordCommandOutput> | void {
|
|
446
|
-
const command = new GetIncidentRecordCommand(args);
|
|
447
|
-
if (typeof optionsOrCb === "function") {
|
|
448
|
-
this.send(command, optionsOrCb);
|
|
449
|
-
} else if (typeof cb === "function") {
|
|
450
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
451
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
452
|
-
} else {
|
|
453
|
-
return this.send(command, optionsOrCb);
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
/**
|
|
458
|
-
* <p>Retrieve your Incident Manager replication set.</p>
|
|
459
|
-
*/
|
|
460
|
-
public getReplicationSet(
|
|
461
|
-
args: GetReplicationSetCommandInput,
|
|
462
|
-
options?: __HttpHandlerOptions
|
|
463
|
-
): Promise<GetReplicationSetCommandOutput>;
|
|
464
|
-
public getReplicationSet(
|
|
465
|
-
args: GetReplicationSetCommandInput,
|
|
466
|
-
cb: (err: any, data?: GetReplicationSetCommandOutput) => void
|
|
467
|
-
): void;
|
|
468
|
-
public getReplicationSet(
|
|
469
|
-
args: GetReplicationSetCommandInput,
|
|
470
|
-
options: __HttpHandlerOptions,
|
|
471
|
-
cb: (err: any, data?: GetReplicationSetCommandOutput) => void
|
|
472
|
-
): void;
|
|
473
|
-
public getReplicationSet(
|
|
474
|
-
args: GetReplicationSetCommandInput,
|
|
475
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetReplicationSetCommandOutput) => void),
|
|
476
|
-
cb?: (err: any, data?: GetReplicationSetCommandOutput) => void
|
|
477
|
-
): Promise<GetReplicationSetCommandOutput> | void {
|
|
478
|
-
const command = new GetReplicationSetCommand(args);
|
|
479
|
-
if (typeof optionsOrCb === "function") {
|
|
480
|
-
this.send(command, optionsOrCb);
|
|
481
|
-
} else if (typeof cb === "function") {
|
|
482
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
483
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
484
|
-
} else {
|
|
485
|
-
return this.send(command, optionsOrCb);
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
/**
|
|
490
|
-
* <p>Retrieves the resource policies attached to the specified response plan.</p>
|
|
491
|
-
*/
|
|
492
|
-
public getResourcePolicies(
|
|
493
|
-
args: GetResourcePoliciesCommandInput,
|
|
494
|
-
options?: __HttpHandlerOptions
|
|
495
|
-
): Promise<GetResourcePoliciesCommandOutput>;
|
|
496
|
-
public getResourcePolicies(
|
|
497
|
-
args: GetResourcePoliciesCommandInput,
|
|
498
|
-
cb: (err: any, data?: GetResourcePoliciesCommandOutput) => void
|
|
499
|
-
): void;
|
|
500
|
-
public getResourcePolicies(
|
|
501
|
-
args: GetResourcePoliciesCommandInput,
|
|
502
|
-
options: __HttpHandlerOptions,
|
|
503
|
-
cb: (err: any, data?: GetResourcePoliciesCommandOutput) => void
|
|
504
|
-
): void;
|
|
505
|
-
public getResourcePolicies(
|
|
506
|
-
args: GetResourcePoliciesCommandInput,
|
|
507
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetResourcePoliciesCommandOutput) => void),
|
|
508
|
-
cb?: (err: any, data?: GetResourcePoliciesCommandOutput) => void
|
|
509
|
-
): Promise<GetResourcePoliciesCommandOutput> | void {
|
|
510
|
-
const command = new GetResourcePoliciesCommand(args);
|
|
511
|
-
if (typeof optionsOrCb === "function") {
|
|
512
|
-
this.send(command, optionsOrCb);
|
|
513
|
-
} else if (typeof cb === "function") {
|
|
514
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
515
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
516
|
-
} else {
|
|
517
|
-
return this.send(command, optionsOrCb);
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
/**
|
|
522
|
-
* <p>Retrieves the details of the specified response plan.</p>
|
|
523
|
-
*/
|
|
524
|
-
public getResponsePlan(
|
|
525
|
-
args: GetResponsePlanCommandInput,
|
|
526
|
-
options?: __HttpHandlerOptions
|
|
527
|
-
): Promise<GetResponsePlanCommandOutput>;
|
|
528
|
-
public getResponsePlan(
|
|
529
|
-
args: GetResponsePlanCommandInput,
|
|
530
|
-
cb: (err: any, data?: GetResponsePlanCommandOutput) => void
|
|
531
|
-
): void;
|
|
532
|
-
public getResponsePlan(
|
|
533
|
-
args: GetResponsePlanCommandInput,
|
|
534
|
-
options: __HttpHandlerOptions,
|
|
535
|
-
cb: (err: any, data?: GetResponsePlanCommandOutput) => void
|
|
536
|
-
): void;
|
|
537
|
-
public getResponsePlan(
|
|
538
|
-
args: GetResponsePlanCommandInput,
|
|
539
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetResponsePlanCommandOutput) => void),
|
|
540
|
-
cb?: (err: any, data?: GetResponsePlanCommandOutput) => void
|
|
541
|
-
): Promise<GetResponsePlanCommandOutput> | void {
|
|
542
|
-
const command = new GetResponsePlanCommand(args);
|
|
543
|
-
if (typeof optionsOrCb === "function") {
|
|
544
|
-
this.send(command, optionsOrCb);
|
|
545
|
-
} else if (typeof cb === "function") {
|
|
546
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
547
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
548
|
-
} else {
|
|
549
|
-
return this.send(command, optionsOrCb);
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
/**
|
|
554
|
-
* <p>Retrieves a timeline event based on its ID and incident record.</p>
|
|
555
|
-
*/
|
|
556
|
-
public getTimelineEvent(
|
|
557
|
-
args: GetTimelineEventCommandInput,
|
|
558
|
-
options?: __HttpHandlerOptions
|
|
559
|
-
): Promise<GetTimelineEventCommandOutput>;
|
|
560
|
-
public getTimelineEvent(
|
|
561
|
-
args: GetTimelineEventCommandInput,
|
|
562
|
-
cb: (err: any, data?: GetTimelineEventCommandOutput) => void
|
|
563
|
-
): void;
|
|
564
|
-
public getTimelineEvent(
|
|
565
|
-
args: GetTimelineEventCommandInput,
|
|
566
|
-
options: __HttpHandlerOptions,
|
|
567
|
-
cb: (err: any, data?: GetTimelineEventCommandOutput) => void
|
|
568
|
-
): void;
|
|
569
|
-
public getTimelineEvent(
|
|
570
|
-
args: GetTimelineEventCommandInput,
|
|
571
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetTimelineEventCommandOutput) => void),
|
|
572
|
-
cb?: (err: any, data?: GetTimelineEventCommandOutput) => void
|
|
573
|
-
): Promise<GetTimelineEventCommandOutput> | void {
|
|
574
|
-
const command = new GetTimelineEventCommand(args);
|
|
575
|
-
if (typeof optionsOrCb === "function") {
|
|
576
|
-
this.send(command, optionsOrCb);
|
|
577
|
-
} else if (typeof cb === "function") {
|
|
578
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
579
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
580
|
-
} else {
|
|
581
|
-
return this.send(command, optionsOrCb);
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
/**
|
|
586
|
-
* <p>Lists all incident records in your account. Use this command to retrieve the Amazon
|
|
587
|
-
* Resource Name (ARN) of the incident record you want to update. </p>
|
|
588
|
-
*/
|
|
589
|
-
public listIncidentRecords(
|
|
590
|
-
args: ListIncidentRecordsCommandInput,
|
|
591
|
-
options?: __HttpHandlerOptions
|
|
592
|
-
): Promise<ListIncidentRecordsCommandOutput>;
|
|
593
|
-
public listIncidentRecords(
|
|
594
|
-
args: ListIncidentRecordsCommandInput,
|
|
595
|
-
cb: (err: any, data?: ListIncidentRecordsCommandOutput) => void
|
|
596
|
-
): void;
|
|
597
|
-
public listIncidentRecords(
|
|
598
|
-
args: ListIncidentRecordsCommandInput,
|
|
599
|
-
options: __HttpHandlerOptions,
|
|
600
|
-
cb: (err: any, data?: ListIncidentRecordsCommandOutput) => void
|
|
601
|
-
): void;
|
|
602
|
-
public listIncidentRecords(
|
|
603
|
-
args: ListIncidentRecordsCommandInput,
|
|
604
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListIncidentRecordsCommandOutput) => void),
|
|
605
|
-
cb?: (err: any, data?: ListIncidentRecordsCommandOutput) => void
|
|
606
|
-
): Promise<ListIncidentRecordsCommandOutput> | void {
|
|
607
|
-
const command = new ListIncidentRecordsCommand(args);
|
|
608
|
-
if (typeof optionsOrCb === "function") {
|
|
609
|
-
this.send(command, optionsOrCb);
|
|
610
|
-
} else if (typeof cb === "function") {
|
|
611
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
612
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
613
|
-
} else {
|
|
614
|
-
return this.send(command, optionsOrCb);
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
/**
|
|
619
|
-
* <p>List all related items for an incident record.</p>
|
|
620
|
-
*/
|
|
621
|
-
public listRelatedItems(
|
|
622
|
-
args: ListRelatedItemsCommandInput,
|
|
623
|
-
options?: __HttpHandlerOptions
|
|
624
|
-
): Promise<ListRelatedItemsCommandOutput>;
|
|
625
|
-
public listRelatedItems(
|
|
626
|
-
args: ListRelatedItemsCommandInput,
|
|
627
|
-
cb: (err: any, data?: ListRelatedItemsCommandOutput) => void
|
|
628
|
-
): void;
|
|
629
|
-
public listRelatedItems(
|
|
630
|
-
args: ListRelatedItemsCommandInput,
|
|
631
|
-
options: __HttpHandlerOptions,
|
|
632
|
-
cb: (err: any, data?: ListRelatedItemsCommandOutput) => void
|
|
633
|
-
): void;
|
|
634
|
-
public listRelatedItems(
|
|
635
|
-
args: ListRelatedItemsCommandInput,
|
|
636
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListRelatedItemsCommandOutput) => void),
|
|
637
|
-
cb?: (err: any, data?: ListRelatedItemsCommandOutput) => void
|
|
638
|
-
): Promise<ListRelatedItemsCommandOutput> | void {
|
|
639
|
-
const command = new ListRelatedItemsCommand(args);
|
|
640
|
-
if (typeof optionsOrCb === "function") {
|
|
641
|
-
this.send(command, optionsOrCb);
|
|
642
|
-
} else if (typeof cb === "function") {
|
|
643
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
644
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
645
|
-
} else {
|
|
646
|
-
return this.send(command, optionsOrCb);
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
/**
|
|
651
|
-
* <p>Lists details about the replication set configured in your account. </p>
|
|
652
|
-
*/
|
|
653
|
-
public listReplicationSets(
|
|
654
|
-
args: ListReplicationSetsCommandInput,
|
|
655
|
-
options?: __HttpHandlerOptions
|
|
656
|
-
): Promise<ListReplicationSetsCommandOutput>;
|
|
657
|
-
public listReplicationSets(
|
|
658
|
-
args: ListReplicationSetsCommandInput,
|
|
659
|
-
cb: (err: any, data?: ListReplicationSetsCommandOutput) => void
|
|
660
|
-
): void;
|
|
661
|
-
public listReplicationSets(
|
|
662
|
-
args: ListReplicationSetsCommandInput,
|
|
663
|
-
options: __HttpHandlerOptions,
|
|
664
|
-
cb: (err: any, data?: ListReplicationSetsCommandOutput) => void
|
|
665
|
-
): void;
|
|
666
|
-
public listReplicationSets(
|
|
667
|
-
args: ListReplicationSetsCommandInput,
|
|
668
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListReplicationSetsCommandOutput) => void),
|
|
669
|
-
cb?: (err: any, data?: ListReplicationSetsCommandOutput) => void
|
|
670
|
-
): Promise<ListReplicationSetsCommandOutput> | void {
|
|
671
|
-
const command = new ListReplicationSetsCommand(args);
|
|
672
|
-
if (typeof optionsOrCb === "function") {
|
|
673
|
-
this.send(command, optionsOrCb);
|
|
674
|
-
} else if (typeof cb === "function") {
|
|
675
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
676
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
677
|
-
} else {
|
|
678
|
-
return this.send(command, optionsOrCb);
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
/**
|
|
683
|
-
* <p>Lists all response plans in your account.</p>
|
|
684
|
-
*/
|
|
685
|
-
public listResponsePlans(
|
|
686
|
-
args: ListResponsePlansCommandInput,
|
|
687
|
-
options?: __HttpHandlerOptions
|
|
688
|
-
): Promise<ListResponsePlansCommandOutput>;
|
|
689
|
-
public listResponsePlans(
|
|
690
|
-
args: ListResponsePlansCommandInput,
|
|
691
|
-
cb: (err: any, data?: ListResponsePlansCommandOutput) => void
|
|
692
|
-
): void;
|
|
693
|
-
public listResponsePlans(
|
|
694
|
-
args: ListResponsePlansCommandInput,
|
|
695
|
-
options: __HttpHandlerOptions,
|
|
696
|
-
cb: (err: any, data?: ListResponsePlansCommandOutput) => void
|
|
697
|
-
): void;
|
|
698
|
-
public listResponsePlans(
|
|
699
|
-
args: ListResponsePlansCommandInput,
|
|
700
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListResponsePlansCommandOutput) => void),
|
|
701
|
-
cb?: (err: any, data?: ListResponsePlansCommandOutput) => void
|
|
702
|
-
): Promise<ListResponsePlansCommandOutput> | void {
|
|
703
|
-
const command = new ListResponsePlansCommand(args);
|
|
704
|
-
if (typeof optionsOrCb === "function") {
|
|
705
|
-
this.send(command, optionsOrCb);
|
|
706
|
-
} else if (typeof cb === "function") {
|
|
707
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
708
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
709
|
-
} else {
|
|
710
|
-
return this.send(command, optionsOrCb);
|
|
711
|
-
}
|
|
712
|
-
}
|
|
713
|
-
|
|
714
|
-
/**
|
|
715
|
-
* <p>Lists the tags that are attached to the specified response plan.</p>
|
|
716
|
-
*/
|
|
717
|
-
public listTagsForResource(
|
|
718
|
-
args: ListTagsForResourceCommandInput,
|
|
719
|
-
options?: __HttpHandlerOptions
|
|
720
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
721
|
-
public listTagsForResource(
|
|
722
|
-
args: ListTagsForResourceCommandInput,
|
|
723
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
724
|
-
): void;
|
|
725
|
-
public listTagsForResource(
|
|
726
|
-
args: ListTagsForResourceCommandInput,
|
|
727
|
-
options: __HttpHandlerOptions,
|
|
728
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
729
|
-
): void;
|
|
730
|
-
public listTagsForResource(
|
|
731
|
-
args: ListTagsForResourceCommandInput,
|
|
732
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
733
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
734
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
735
|
-
const command = new ListTagsForResourceCommand(args);
|
|
736
|
-
if (typeof optionsOrCb === "function") {
|
|
737
|
-
this.send(command, optionsOrCb);
|
|
738
|
-
} else if (typeof cb === "function") {
|
|
739
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
740
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
741
|
-
} else {
|
|
742
|
-
return this.send(command, optionsOrCb);
|
|
743
|
-
}
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
-
/**
|
|
747
|
-
* <p>Lists timeline events of the specified incident record.</p>
|
|
748
|
-
*/
|
|
749
|
-
public listTimelineEvents(
|
|
750
|
-
args: ListTimelineEventsCommandInput,
|
|
751
|
-
options?: __HttpHandlerOptions
|
|
752
|
-
): Promise<ListTimelineEventsCommandOutput>;
|
|
753
|
-
public listTimelineEvents(
|
|
754
|
-
args: ListTimelineEventsCommandInput,
|
|
755
|
-
cb: (err: any, data?: ListTimelineEventsCommandOutput) => void
|
|
756
|
-
): void;
|
|
757
|
-
public listTimelineEvents(
|
|
758
|
-
args: ListTimelineEventsCommandInput,
|
|
759
|
-
options: __HttpHandlerOptions,
|
|
760
|
-
cb: (err: any, data?: ListTimelineEventsCommandOutput) => void
|
|
761
|
-
): void;
|
|
762
|
-
public listTimelineEvents(
|
|
763
|
-
args: ListTimelineEventsCommandInput,
|
|
764
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTimelineEventsCommandOutput) => void),
|
|
765
|
-
cb?: (err: any, data?: ListTimelineEventsCommandOutput) => void
|
|
766
|
-
): Promise<ListTimelineEventsCommandOutput> | void {
|
|
767
|
-
const command = new ListTimelineEventsCommand(args);
|
|
768
|
-
if (typeof optionsOrCb === "function") {
|
|
769
|
-
this.send(command, optionsOrCb);
|
|
770
|
-
} else if (typeof cb === "function") {
|
|
771
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
772
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
773
|
-
} else {
|
|
774
|
-
return this.send(command, optionsOrCb);
|
|
775
|
-
}
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
/**
|
|
779
|
-
* <p>Adds a resource policy to the specified response plan.</p>
|
|
780
|
-
*/
|
|
781
|
-
public putResourcePolicy(
|
|
782
|
-
args: PutResourcePolicyCommandInput,
|
|
783
|
-
options?: __HttpHandlerOptions
|
|
784
|
-
): Promise<PutResourcePolicyCommandOutput>;
|
|
785
|
-
public putResourcePolicy(
|
|
786
|
-
args: PutResourcePolicyCommandInput,
|
|
787
|
-
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
|
|
788
|
-
): void;
|
|
789
|
-
public putResourcePolicy(
|
|
790
|
-
args: PutResourcePolicyCommandInput,
|
|
791
|
-
options: __HttpHandlerOptions,
|
|
792
|
-
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
|
|
793
|
-
): void;
|
|
794
|
-
public putResourcePolicy(
|
|
795
|
-
args: PutResourcePolicyCommandInput,
|
|
796
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutResourcePolicyCommandOutput) => void),
|
|
797
|
-
cb?: (err: any, data?: PutResourcePolicyCommandOutput) => void
|
|
798
|
-
): Promise<PutResourcePolicyCommandOutput> | void {
|
|
799
|
-
const command = new PutResourcePolicyCommand(args);
|
|
800
|
-
if (typeof optionsOrCb === "function") {
|
|
801
|
-
this.send(command, optionsOrCb);
|
|
802
|
-
} else if (typeof cb === "function") {
|
|
803
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
804
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
805
|
-
} else {
|
|
806
|
-
return this.send(command, optionsOrCb);
|
|
807
|
-
}
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
/**
|
|
811
|
-
* <p>Used to start an incident from CloudWatch alarms, EventBridge events, or manually. </p>
|
|
812
|
-
*/
|
|
813
|
-
public startIncident(
|
|
814
|
-
args: StartIncidentCommandInput,
|
|
815
|
-
options?: __HttpHandlerOptions
|
|
816
|
-
): Promise<StartIncidentCommandOutput>;
|
|
817
|
-
public startIncident(
|
|
818
|
-
args: StartIncidentCommandInput,
|
|
819
|
-
cb: (err: any, data?: StartIncidentCommandOutput) => void
|
|
820
|
-
): void;
|
|
821
|
-
public startIncident(
|
|
822
|
-
args: StartIncidentCommandInput,
|
|
823
|
-
options: __HttpHandlerOptions,
|
|
824
|
-
cb: (err: any, data?: StartIncidentCommandOutput) => void
|
|
825
|
-
): void;
|
|
826
|
-
public startIncident(
|
|
827
|
-
args: StartIncidentCommandInput,
|
|
828
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartIncidentCommandOutput) => void),
|
|
829
|
-
cb?: (err: any, data?: StartIncidentCommandOutput) => void
|
|
830
|
-
): Promise<StartIncidentCommandOutput> | void {
|
|
831
|
-
const command = new StartIncidentCommand(args);
|
|
832
|
-
if (typeof optionsOrCb === "function") {
|
|
833
|
-
this.send(command, optionsOrCb);
|
|
834
|
-
} else if (typeof cb === "function") {
|
|
835
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
836
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
837
|
-
} else {
|
|
838
|
-
return this.send(command, optionsOrCb);
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
|
|
842
|
-
/**
|
|
843
|
-
* <p>Adds a tag to a response plan.</p>
|
|
844
|
-
*/
|
|
845
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
846
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
847
|
-
public tagResource(
|
|
848
|
-
args: TagResourceCommandInput,
|
|
849
|
-
options: __HttpHandlerOptions,
|
|
850
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
851
|
-
): void;
|
|
852
|
-
public tagResource(
|
|
853
|
-
args: TagResourceCommandInput,
|
|
854
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
855
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
856
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
857
|
-
const command = new TagResourceCommand(args);
|
|
858
|
-
if (typeof optionsOrCb === "function") {
|
|
859
|
-
this.send(command, optionsOrCb);
|
|
860
|
-
} else if (typeof cb === "function") {
|
|
861
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
862
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
863
|
-
} else {
|
|
864
|
-
return this.send(command, optionsOrCb);
|
|
865
|
-
}
|
|
866
|
-
}
|
|
867
|
-
|
|
868
|
-
/**
|
|
869
|
-
* <p>Removes a tag from a resource.</p>
|
|
870
|
-
*/
|
|
871
|
-
public untagResource(
|
|
872
|
-
args: UntagResourceCommandInput,
|
|
873
|
-
options?: __HttpHandlerOptions
|
|
874
|
-
): Promise<UntagResourceCommandOutput>;
|
|
875
|
-
public untagResource(
|
|
876
|
-
args: UntagResourceCommandInput,
|
|
877
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
878
|
-
): void;
|
|
879
|
-
public untagResource(
|
|
880
|
-
args: UntagResourceCommandInput,
|
|
881
|
-
options: __HttpHandlerOptions,
|
|
882
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
883
|
-
): void;
|
|
884
|
-
public untagResource(
|
|
885
|
-
args: UntagResourceCommandInput,
|
|
886
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
887
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
888
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
889
|
-
const command = new UntagResourceCommand(args);
|
|
890
|
-
if (typeof optionsOrCb === "function") {
|
|
891
|
-
this.send(command, optionsOrCb);
|
|
892
|
-
} else if (typeof cb === "function") {
|
|
893
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
894
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
895
|
-
} else {
|
|
896
|
-
return this.send(command, optionsOrCb);
|
|
897
|
-
}
|
|
898
|
-
}
|
|
899
|
-
|
|
900
|
-
/**
|
|
901
|
-
* <p>Update deletion protection to either allow or deny deletion of the final Region in a
|
|
902
|
-
* replication set.</p>
|
|
903
|
-
*/
|
|
904
|
-
public updateDeletionProtection(
|
|
905
|
-
args: UpdateDeletionProtectionCommandInput,
|
|
906
|
-
options?: __HttpHandlerOptions
|
|
907
|
-
): Promise<UpdateDeletionProtectionCommandOutput>;
|
|
908
|
-
public updateDeletionProtection(
|
|
909
|
-
args: UpdateDeletionProtectionCommandInput,
|
|
910
|
-
cb: (err: any, data?: UpdateDeletionProtectionCommandOutput) => void
|
|
911
|
-
): void;
|
|
912
|
-
public updateDeletionProtection(
|
|
913
|
-
args: UpdateDeletionProtectionCommandInput,
|
|
914
|
-
options: __HttpHandlerOptions,
|
|
915
|
-
cb: (err: any, data?: UpdateDeletionProtectionCommandOutput) => void
|
|
916
|
-
): void;
|
|
917
|
-
public updateDeletionProtection(
|
|
918
|
-
args: UpdateDeletionProtectionCommandInput,
|
|
919
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateDeletionProtectionCommandOutput) => void),
|
|
920
|
-
cb?: (err: any, data?: UpdateDeletionProtectionCommandOutput) => void
|
|
921
|
-
): Promise<UpdateDeletionProtectionCommandOutput> | void {
|
|
922
|
-
const command = new UpdateDeletionProtectionCommand(args);
|
|
923
|
-
if (typeof optionsOrCb === "function") {
|
|
924
|
-
this.send(command, optionsOrCb);
|
|
925
|
-
} else if (typeof cb === "function") {
|
|
926
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
927
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
928
|
-
} else {
|
|
929
|
-
return this.send(command, optionsOrCb);
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
|
|
933
|
-
/**
|
|
934
|
-
* <p>Update the details of an incident record. You can use this action to update an
|
|
935
|
-
* incident record from the defined chat channel. For more information about using actions
|
|
936
|
-
* in chat channels, see <a href="https://docs.aws.amazon.com/incident-manager/latest/userguide/chat.html#chat-interact">Interacting through chat</a>.</p>
|
|
937
|
-
*/
|
|
938
|
-
public updateIncidentRecord(
|
|
939
|
-
args: UpdateIncidentRecordCommandInput,
|
|
940
|
-
options?: __HttpHandlerOptions
|
|
941
|
-
): Promise<UpdateIncidentRecordCommandOutput>;
|
|
942
|
-
public updateIncidentRecord(
|
|
943
|
-
args: UpdateIncidentRecordCommandInput,
|
|
944
|
-
cb: (err: any, data?: UpdateIncidentRecordCommandOutput) => void
|
|
945
|
-
): void;
|
|
946
|
-
public updateIncidentRecord(
|
|
947
|
-
args: UpdateIncidentRecordCommandInput,
|
|
948
|
-
options: __HttpHandlerOptions,
|
|
949
|
-
cb: (err: any, data?: UpdateIncidentRecordCommandOutput) => void
|
|
950
|
-
): void;
|
|
951
|
-
public updateIncidentRecord(
|
|
952
|
-
args: UpdateIncidentRecordCommandInput,
|
|
953
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateIncidentRecordCommandOutput) => void),
|
|
954
|
-
cb?: (err: any, data?: UpdateIncidentRecordCommandOutput) => void
|
|
955
|
-
): Promise<UpdateIncidentRecordCommandOutput> | void {
|
|
956
|
-
const command = new UpdateIncidentRecordCommand(args);
|
|
957
|
-
if (typeof optionsOrCb === "function") {
|
|
958
|
-
this.send(command, optionsOrCb);
|
|
959
|
-
} else if (typeof cb === "function") {
|
|
960
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
961
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
962
|
-
} else {
|
|
963
|
-
return this.send(command, optionsOrCb);
|
|
964
|
-
}
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
/**
|
|
968
|
-
* <p>Add or remove related items from the related items tab of an incident record.</p>
|
|
969
|
-
*/
|
|
970
|
-
public updateRelatedItems(
|
|
971
|
-
args: UpdateRelatedItemsCommandInput,
|
|
972
|
-
options?: __HttpHandlerOptions
|
|
973
|
-
): Promise<UpdateRelatedItemsCommandOutput>;
|
|
974
|
-
public updateRelatedItems(
|
|
975
|
-
args: UpdateRelatedItemsCommandInput,
|
|
976
|
-
cb: (err: any, data?: UpdateRelatedItemsCommandOutput) => void
|
|
977
|
-
): void;
|
|
978
|
-
public updateRelatedItems(
|
|
979
|
-
args: UpdateRelatedItemsCommandInput,
|
|
980
|
-
options: __HttpHandlerOptions,
|
|
981
|
-
cb: (err: any, data?: UpdateRelatedItemsCommandOutput) => void
|
|
982
|
-
): void;
|
|
983
|
-
public updateRelatedItems(
|
|
984
|
-
args: UpdateRelatedItemsCommandInput,
|
|
985
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateRelatedItemsCommandOutput) => void),
|
|
986
|
-
cb?: (err: any, data?: UpdateRelatedItemsCommandOutput) => void
|
|
987
|
-
): Promise<UpdateRelatedItemsCommandOutput> | void {
|
|
988
|
-
const command = new UpdateRelatedItemsCommand(args);
|
|
989
|
-
if (typeof optionsOrCb === "function") {
|
|
990
|
-
this.send(command, optionsOrCb);
|
|
991
|
-
} else if (typeof cb === "function") {
|
|
992
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
993
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
994
|
-
} else {
|
|
995
|
-
return this.send(command, optionsOrCb);
|
|
996
|
-
}
|
|
997
|
-
}
|
|
998
|
-
|
|
999
|
-
/**
|
|
1000
|
-
* <p>Add or delete Regions from your replication set.</p>
|
|
1001
|
-
*/
|
|
1002
|
-
public updateReplicationSet(
|
|
1003
|
-
args: UpdateReplicationSetCommandInput,
|
|
1004
|
-
options?: __HttpHandlerOptions
|
|
1005
|
-
): Promise<UpdateReplicationSetCommandOutput>;
|
|
1006
|
-
public updateReplicationSet(
|
|
1007
|
-
args: UpdateReplicationSetCommandInput,
|
|
1008
|
-
cb: (err: any, data?: UpdateReplicationSetCommandOutput) => void
|
|
1009
|
-
): void;
|
|
1010
|
-
public updateReplicationSet(
|
|
1011
|
-
args: UpdateReplicationSetCommandInput,
|
|
1012
|
-
options: __HttpHandlerOptions,
|
|
1013
|
-
cb: (err: any, data?: UpdateReplicationSetCommandOutput) => void
|
|
1014
|
-
): void;
|
|
1015
|
-
public updateReplicationSet(
|
|
1016
|
-
args: UpdateReplicationSetCommandInput,
|
|
1017
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateReplicationSetCommandOutput) => void),
|
|
1018
|
-
cb?: (err: any, data?: UpdateReplicationSetCommandOutput) => void
|
|
1019
|
-
): Promise<UpdateReplicationSetCommandOutput> | void {
|
|
1020
|
-
const command = new UpdateReplicationSetCommand(args);
|
|
1021
|
-
if (typeof optionsOrCb === "function") {
|
|
1022
|
-
this.send(command, optionsOrCb);
|
|
1023
|
-
} else if (typeof cb === "function") {
|
|
1024
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1025
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1026
|
-
} else {
|
|
1027
|
-
return this.send(command, optionsOrCb);
|
|
1028
|
-
}
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
|
-
/**
|
|
1032
|
-
* <p>Updates the specified response plan.</p>
|
|
1033
|
-
*/
|
|
1034
|
-
public updateResponsePlan(
|
|
1035
|
-
args: UpdateResponsePlanCommandInput,
|
|
1036
|
-
options?: __HttpHandlerOptions
|
|
1037
|
-
): Promise<UpdateResponsePlanCommandOutput>;
|
|
1038
|
-
public updateResponsePlan(
|
|
1039
|
-
args: UpdateResponsePlanCommandInput,
|
|
1040
|
-
cb: (err: any, data?: UpdateResponsePlanCommandOutput) => void
|
|
1041
|
-
): void;
|
|
1042
|
-
public updateResponsePlan(
|
|
1043
|
-
args: UpdateResponsePlanCommandInput,
|
|
1044
|
-
options: __HttpHandlerOptions,
|
|
1045
|
-
cb: (err: any, data?: UpdateResponsePlanCommandOutput) => void
|
|
1046
|
-
): void;
|
|
1047
|
-
public updateResponsePlan(
|
|
1048
|
-
args: UpdateResponsePlanCommandInput,
|
|
1049
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateResponsePlanCommandOutput) => void),
|
|
1050
|
-
cb?: (err: any, data?: UpdateResponsePlanCommandOutput) => void
|
|
1051
|
-
): Promise<UpdateResponsePlanCommandOutput> | void {
|
|
1052
|
-
const command = new UpdateResponsePlanCommand(args);
|
|
1053
|
-
if (typeof optionsOrCb === "function") {
|
|
1054
|
-
this.send(command, optionsOrCb);
|
|
1055
|
-
} else if (typeof cb === "function") {
|
|
1056
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1057
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1058
|
-
} else {
|
|
1059
|
-
return this.send(command, optionsOrCb);
|
|
1060
|
-
}
|
|
1061
|
-
}
|
|
1062
|
-
|
|
1063
|
-
/**
|
|
1064
|
-
* <p>Updates a timeline event. You can update events of type <code>Custom
|
|
1065
|
-
* Event</code>.</p>
|
|
1066
|
-
*/
|
|
1067
|
-
public updateTimelineEvent(
|
|
1068
|
-
args: UpdateTimelineEventCommandInput,
|
|
1069
|
-
options?: __HttpHandlerOptions
|
|
1070
|
-
): Promise<UpdateTimelineEventCommandOutput>;
|
|
1071
|
-
public updateTimelineEvent(
|
|
1072
|
-
args: UpdateTimelineEventCommandInput,
|
|
1073
|
-
cb: (err: any, data?: UpdateTimelineEventCommandOutput) => void
|
|
1074
|
-
): void;
|
|
1075
|
-
public updateTimelineEvent(
|
|
1076
|
-
args: UpdateTimelineEventCommandInput,
|
|
1077
|
-
options: __HttpHandlerOptions,
|
|
1078
|
-
cb: (err: any, data?: UpdateTimelineEventCommandOutput) => void
|
|
1079
|
-
): void;
|
|
1080
|
-
public updateTimelineEvent(
|
|
1081
|
-
args: UpdateTimelineEventCommandInput,
|
|
1082
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateTimelineEventCommandOutput) => void),
|
|
1083
|
-
cb?: (err: any, data?: UpdateTimelineEventCommandOutput) => void
|
|
1084
|
-
): Promise<UpdateTimelineEventCommandOutput> | void {
|
|
1085
|
-
const command = new UpdateTimelineEventCommand(args);
|
|
1086
|
-
if (typeof optionsOrCb === "function") {
|
|
1087
|
-
this.send(command, optionsOrCb);
|
|
1088
|
-
} else if (typeof cb === "function") {
|
|
1089
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1090
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1091
|
-
} else {
|
|
1092
|
-
return this.send(command, optionsOrCb);
|
|
1093
|
-
}
|
|
1094
|
-
}
|
|
1095
|
-
}
|