@aws-sdk/client-ssm-contacts 3.477.0 → 3.481.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/AcceptPageCommand.js +18 -41
- package/dist-cjs/commands/ActivateContactChannelCommand.js +18 -41
- package/dist-cjs/commands/CreateContactChannelCommand.js +18 -41
- package/dist-cjs/commands/CreateContactCommand.js +18 -41
- package/dist-cjs/commands/CreateRotationCommand.js +18 -41
- package/dist-cjs/commands/CreateRotationOverrideCommand.js +18 -41
- package/dist-cjs/commands/DeactivateContactChannelCommand.js +18 -41
- package/dist-cjs/commands/DeleteContactChannelCommand.js +18 -41
- package/dist-cjs/commands/DeleteContactCommand.js +18 -41
- package/dist-cjs/commands/DeleteRotationCommand.js +18 -41
- package/dist-cjs/commands/DeleteRotationOverrideCommand.js +18 -41
- package/dist-cjs/commands/DescribeEngagementCommand.js +18 -41
- package/dist-cjs/commands/DescribePageCommand.js +18 -41
- package/dist-cjs/commands/GetContactChannelCommand.js +18 -41
- package/dist-cjs/commands/GetContactCommand.js +18 -41
- package/dist-cjs/commands/GetContactPolicyCommand.js +18 -41
- package/dist-cjs/commands/GetRotationCommand.js +18 -41
- package/dist-cjs/commands/GetRotationOverrideCommand.js +18 -41
- package/dist-cjs/commands/ListContactChannelsCommand.js +18 -41
- package/dist-cjs/commands/ListContactsCommand.js +18 -41
- package/dist-cjs/commands/ListEngagementsCommand.js +18 -41
- package/dist-cjs/commands/ListPageReceiptsCommand.js +18 -41
- package/dist-cjs/commands/ListPageResolutionsCommand.js +18 -41
- package/dist-cjs/commands/ListPagesByContactCommand.js +18 -41
- package/dist-cjs/commands/ListPagesByEngagementCommand.js +18 -41
- package/dist-cjs/commands/ListPreviewRotationShiftsCommand.js +18 -41
- package/dist-cjs/commands/ListRotationOverridesCommand.js +18 -41
- package/dist-cjs/commands/ListRotationShiftsCommand.js +18 -41
- package/dist-cjs/commands/ListRotationsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/PutContactPolicyCommand.js +18 -41
- package/dist-cjs/commands/SendActivationCodeCommand.js +18 -41
- package/dist-cjs/commands/StartEngagementCommand.js +18 -41
- package/dist-cjs/commands/StopEngagementCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateContactChannelCommand.js +18 -41
- package/dist-cjs/commands/UpdateContactCommand.js +18 -41
- package/dist-cjs/commands/UpdateRotationCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListContactChannelsPaginator.js +2 -24
- package/dist-cjs/pagination/ListContactsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEngagementsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPageReceiptsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPageResolutionsPaginator.js +2 -23
- package/dist-cjs/pagination/ListPagesByContactPaginator.js +2 -24
- package/dist-cjs/pagination/ListPagesByEngagementPaginator.js +2 -24
- package/dist-cjs/pagination/ListPreviewRotationShiftsPaginator.js +2 -24
- package/dist-cjs/pagination/ListRotationOverridesPaginator.js +2 -24
- package/dist-cjs/pagination/ListRotationShiftsPaginator.js +2 -24
- package/dist-cjs/pagination/ListRotationsPaginator.js +2 -24
- package/dist-es/commands/AcceptPageCommand.js +18 -41
- package/dist-es/commands/ActivateContactChannelCommand.js +18 -41
- package/dist-es/commands/CreateContactChannelCommand.js +18 -41
- package/dist-es/commands/CreateContactCommand.js +18 -41
- package/dist-es/commands/CreateRotationCommand.js +18 -41
- package/dist-es/commands/CreateRotationOverrideCommand.js +18 -41
- package/dist-es/commands/DeactivateContactChannelCommand.js +18 -41
- package/dist-es/commands/DeleteContactChannelCommand.js +18 -41
- package/dist-es/commands/DeleteContactCommand.js +18 -41
- package/dist-es/commands/DeleteRotationCommand.js +18 -41
- package/dist-es/commands/DeleteRotationOverrideCommand.js +18 -41
- package/dist-es/commands/DescribeEngagementCommand.js +18 -41
- package/dist-es/commands/DescribePageCommand.js +18 -41
- package/dist-es/commands/GetContactChannelCommand.js +18 -41
- package/dist-es/commands/GetContactCommand.js +18 -41
- package/dist-es/commands/GetContactPolicyCommand.js +18 -41
- package/dist-es/commands/GetRotationCommand.js +18 -41
- package/dist-es/commands/GetRotationOverrideCommand.js +18 -41
- package/dist-es/commands/ListContactChannelsCommand.js +18 -41
- package/dist-es/commands/ListContactsCommand.js +18 -41
- package/dist-es/commands/ListEngagementsCommand.js +18 -41
- package/dist-es/commands/ListPageReceiptsCommand.js +18 -41
- package/dist-es/commands/ListPageResolutionsCommand.js +18 -41
- package/dist-es/commands/ListPagesByContactCommand.js +18 -41
- package/dist-es/commands/ListPagesByEngagementCommand.js +18 -41
- package/dist-es/commands/ListPreviewRotationShiftsCommand.js +18 -41
- package/dist-es/commands/ListRotationOverridesCommand.js +18 -41
- package/dist-es/commands/ListRotationShiftsCommand.js +18 -41
- package/dist-es/commands/ListRotationsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/PutContactPolicyCommand.js +18 -41
- package/dist-es/commands/SendActivationCodeCommand.js +18 -41
- package/dist-es/commands/StartEngagementCommand.js +18 -41
- package/dist-es/commands/StopEngagementCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateContactChannelCommand.js +18 -41
- package/dist-es/commands/UpdateContactCommand.js +18 -41
- package/dist-es/commands/UpdateRotationCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListContactChannelsPaginator.js +2 -23
- package/dist-es/pagination/ListContactsPaginator.js +2 -23
- package/dist-es/pagination/ListEngagementsPaginator.js +2 -23
- package/dist-es/pagination/ListPageReceiptsPaginator.js +2 -23
- package/dist-es/pagination/ListPageResolutionsPaginator.js +2 -22
- package/dist-es/pagination/ListPagesByContactPaginator.js +2 -23
- package/dist-es/pagination/ListPagesByEngagementPaginator.js +2 -23
- package/dist-es/pagination/ListPreviewRotationShiftsPaginator.js +2 -23
- package/dist-es/pagination/ListRotationOverridesPaginator.js +2 -23
- package/dist-es/pagination/ListRotationShiftsPaginator.js +2 -23
- package/dist-es/pagination/ListRotationsPaginator.js +2 -23
- package/dist-types/commands/AcceptPageCommand.d.ts +6 -21
- package/dist-types/commands/ActivateContactChannelCommand.d.ts +6 -21
- package/dist-types/commands/CreateContactChannelCommand.d.ts +6 -21
- package/dist-types/commands/CreateContactCommand.d.ts +6 -21
- package/dist-types/commands/CreateRotationCommand.d.ts +6 -21
- package/dist-types/commands/CreateRotationOverrideCommand.d.ts +6 -21
- package/dist-types/commands/DeactivateContactChannelCommand.d.ts +6 -21
- package/dist-types/commands/DeleteContactChannelCommand.d.ts +6 -21
- package/dist-types/commands/DeleteContactCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRotationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRotationOverrideCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEngagementCommand.d.ts +6 -21
- package/dist-types/commands/DescribePageCommand.d.ts +6 -21
- package/dist-types/commands/GetContactChannelCommand.d.ts +6 -21
- package/dist-types/commands/GetContactCommand.d.ts +6 -21
- package/dist-types/commands/GetContactPolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetRotationCommand.d.ts +6 -21
- package/dist-types/commands/GetRotationOverrideCommand.d.ts +6 -21
- package/dist-types/commands/ListContactChannelsCommand.d.ts +6 -21
- package/dist-types/commands/ListContactsCommand.d.ts +6 -21
- package/dist-types/commands/ListEngagementsCommand.d.ts +6 -21
- package/dist-types/commands/ListPageReceiptsCommand.d.ts +6 -21
- package/dist-types/commands/ListPageResolutionsCommand.d.ts +6 -21
- package/dist-types/commands/ListPagesByContactCommand.d.ts +6 -21
- package/dist-types/commands/ListPagesByEngagementCommand.d.ts +6 -21
- package/dist-types/commands/ListPreviewRotationShiftsCommand.d.ts +6 -21
- package/dist-types/commands/ListRotationOverridesCommand.d.ts +6 -21
- package/dist-types/commands/ListRotationShiftsCommand.d.ts +6 -21
- package/dist-types/commands/ListRotationsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/PutContactPolicyCommand.d.ts +6 -21
- package/dist-types/commands/SendActivationCodeCommand.d.ts +6 -21
- package/dist-types/commands/StartEngagementCommand.d.ts +6 -21
- package/dist-types/commands/StopEngagementCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateContactChannelCommand.d.ts +6 -21
- package/dist-types/commands/UpdateContactCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRotationCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListContactChannelsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListContactsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEngagementsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPageReceiptsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPageResolutionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPagesByContactPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPagesByEngagementPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPreviewRotationShiftsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRotationOverridesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRotationShiftsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRotationsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/AcceptPageCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ActivateContactChannelCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateContactChannelCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateRotationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateRotationOverrideCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeactivateContactChannelCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteContactChannelCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteContactCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteRotationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteRotationOverrideCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeEngagementCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribePageCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetContactChannelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetContactCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetContactPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetRotationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetRotationOverrideCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListContactChannelsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListContactsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListEngagementsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListPageReceiptsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListPageResolutionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListPagesByContactCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListPagesByEngagementCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListPreviewRotationShiftsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListRotationOverridesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListRotationShiftsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRotationsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutContactPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SendActivationCodeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartEngagementCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopEngagementCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateContactChannelCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateRotationCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListContactChannelsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListContactsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEngagementsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPageReceiptsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPageResolutionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPagesByContactPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPagesByEngagementPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPreviewRotationShiftsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRotationOverridesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRotationShiftsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRotationsPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateContactCommand, se_UpdateContactCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateContactCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SSMContactsClient";
|
|
26
|
-
const commandName = "UpdateContactCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "SSMContacts",
|
|
35
|
-
operation: "UpdateContact",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateContactCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateContactCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateContactCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("SSMContacts", "UpdateContact", {})
|
|
19
|
+
.n("SSMContactsClient", "UpdateContactCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateContactCommand)
|
|
22
|
+
.de(de_UpdateContactCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateRotationCommand, se_UpdateRotationCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateRotationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SSMContactsClient";
|
|
26
|
-
const commandName = "UpdateRotationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "SSMContacts",
|
|
35
|
-
operation: "UpdateRotation",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateRotationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateRotationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateRotationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("SSMContacts", "UpdateRotation", {})
|
|
19
|
+
.n("SSMContactsClient", "UpdateRotationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateRotationCommand)
|
|
22
|
+
.de(de_UpdateRotationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "ssm-contacts",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListContactChannelsCommand, } from "../commands/ListContactChannelsCommand";
|
|
2
3
|
import { SSMContactsClient } from "../SSMContactsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListContactChannelsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListContactChannels(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSMContactsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSMContacts | SSMContactsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListContactChannels = createPaginator(SSMContactsClient, ListContactChannelsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListContactsCommand, } from "../commands/ListContactsCommand";
|
|
2
3
|
import { SSMContactsClient } from "../SSMContactsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListContactsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListContacts(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSMContactsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSMContacts | SSMContactsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListContacts = createPaginator(SSMContactsClient, ListContactsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListEngagementsCommand, } from "../commands/ListEngagementsCommand";
|
|
2
3
|
import { SSMContactsClient } from "../SSMContactsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListEngagementsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListEngagements(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSMContactsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSMContacts | SSMContactsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListEngagements = createPaginator(SSMContactsClient, ListEngagementsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListPageReceiptsCommand, } from "../commands/ListPageReceiptsCommand";
|
|
2
3
|
import { SSMContactsClient } from "../SSMContactsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPageReceiptsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPageReceipts(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSMContactsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSMContacts | SSMContactsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListPageReceipts = createPaginator(SSMContactsClient, ListPageReceiptsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListPageResolutionsCommand, } from "../commands/ListPageResolutionsCommand";
|
|
2
3
|
import { SSMContactsClient } from "../SSMContactsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPageResolutionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPageResolutions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
if (config.client instanceof SSMContactsClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected SSMContacts | SSMContactsClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListPageResolutions = createPaginator(SSMContactsClient, ListPageResolutionsCommand, "NextToken", "NextToken", "");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListPagesByContactCommand, } from "../commands/ListPagesByContactCommand";
|
|
2
3
|
import { SSMContactsClient } from "../SSMContactsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPagesByContactCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPagesByContact(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSMContactsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSMContacts | SSMContactsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListPagesByContact = createPaginator(SSMContactsClient, ListPagesByContactCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListPagesByEngagementCommand, } from "../commands/ListPagesByEngagementCommand";
|
|
2
3
|
import { SSMContactsClient } from "../SSMContactsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPagesByEngagementCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPagesByEngagement(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSMContactsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSMContacts | SSMContactsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListPagesByEngagement = createPaginator(SSMContactsClient, ListPagesByEngagementCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListPreviewRotationShiftsCommand, } from "../commands/ListPreviewRotationShiftsCommand";
|
|
2
3
|
import { SSMContactsClient } from "../SSMContactsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPreviewRotationShiftsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPreviewRotationShifts(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSMContactsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSMContacts | SSMContactsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListPreviewRotationShifts = createPaginator(SSMContactsClient, ListPreviewRotationShiftsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListRotationOverridesCommand, } from "../commands/ListRotationOverridesCommand";
|
|
2
3
|
import { SSMContactsClient } from "../SSMContactsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListRotationOverridesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListRotationOverrides(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSMContactsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSMContacts | SSMContactsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListRotationOverrides = createPaginator(SSMContactsClient, ListRotationOverridesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListRotationShiftsCommand, } from "../commands/ListRotationShiftsCommand";
|
|
2
3
|
import { SSMContactsClient } from "../SSMContactsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListRotationShiftsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListRotationShifts(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSMContactsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSMContacts | SSMContactsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListRotationShifts = createPaginator(SSMContactsClient, ListRotationShiftsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListRotationsCommand, } from "../commands/ListRotationsCommand";
|
|
2
3
|
import { SSMContactsClient } from "../SSMContactsClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListRotationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListRotations(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SSMContactsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SSMContacts | SSMContactsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListRotations = createPaginator(SSMContactsClient, ListRotationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { AcceptPageRequest, AcceptPageResult } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, SSMContactsClientResolvedConfig } from "../SSMContactsClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface AcceptPageCommandInput extends AcceptPageRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface AcceptPageCommandOutput extends AcceptPageResult, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const AcceptPageCommand_base: {
|
|
24
|
+
new (input: AcceptPageCommandInput): import("@smithy/smithy-client").CommandImpl<AcceptPageCommandInput, AcceptPageCommandOutput, SSMContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Used to acknowledge an engagement to a contact channel during an incident.</p>
|
|
@@ -70,23 +73,5 @@ export interface AcceptPageCommandOutput extends AcceptPageResult, __MetadataBea
|
|
|
70
73
|
* <p>Base exception class for all service exceptions from SSMContacts service.</p>
|
|
71
74
|
*
|
|
72
75
|
*/
|
|
73
|
-
export declare class AcceptPageCommand extends
|
|
74
|
-
readonly input: AcceptPageCommandInput;
|
|
75
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
-
/**
|
|
77
|
-
* @public
|
|
78
|
-
*/
|
|
79
|
-
constructor(input: AcceptPageCommandInput);
|
|
80
|
-
/**
|
|
81
|
-
* @internal
|
|
82
|
-
*/
|
|
83
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSMContactsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AcceptPageCommandInput, AcceptPageCommandOutput>;
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
87
|
-
private serialize;
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
|
-
private deserialize;
|
|
76
|
+
export declare class AcceptPageCommand extends AcceptPageCommand_base {
|
|
92
77
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { ActivateContactChannelRequest, ActivateContactChannelResult } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, SSMContactsClientResolvedConfig } from "../SSMContactsClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface ActivateContactChannelCommandInput extends ActivateContactChann
|
|
|
21
20
|
*/
|
|
22
21
|
export interface ActivateContactChannelCommandOutput extends ActivateContactChannelResult, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const ActivateContactChannelCommand_base: {
|
|
24
|
+
new (input: ActivateContactChannelCommandInput): import("@smithy/smithy-client").CommandImpl<ActivateContactChannelCommandInput, ActivateContactChannelCommandOutput, SSMContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Activates a contact's contact channel. Incident Manager can't engage a contact until the
|
|
@@ -67,23 +70,5 @@ export interface ActivateContactChannelCommandOutput extends ActivateContactChan
|
|
|
67
70
|
* <p>Base exception class for all service exceptions from SSMContacts service.</p>
|
|
68
71
|
*
|
|
69
72
|
*/
|
|
70
|
-
export declare class ActivateContactChannelCommand extends
|
|
71
|
-
readonly input: ActivateContactChannelCommandInput;
|
|
72
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
73
|
-
/**
|
|
74
|
-
* @public
|
|
75
|
-
*/
|
|
76
|
-
constructor(input: ActivateContactChannelCommandInput);
|
|
77
|
-
/**
|
|
78
|
-
* @internal
|
|
79
|
-
*/
|
|
80
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSMContactsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ActivateContactChannelCommandInput, ActivateContactChannelCommandOutput>;
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
84
|
-
private serialize;
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
|
-
private deserialize;
|
|
73
|
+
export declare class ActivateContactChannelCommand extends ActivateContactChannelCommand_base {
|
|
89
74
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CreateContactChannelRequest, CreateContactChannelResult } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, SSMContactsClientResolvedConfig } from "../SSMContactsClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateContactChannelCommandInput extends CreateContactChannelRe
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateContactChannelCommandOutput extends CreateContactChannelResult, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateContactChannelCommand_base: {
|
|
24
|
+
new (input: CreateContactChannelCommandInput): import("@smithy/smithy-client").CommandImpl<CreateContactChannelCommandInput, CreateContactChannelCommandOutput, SSMContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>A contact channel is the method that Incident Manager uses to engage your contact.</p>
|
|
@@ -77,23 +80,5 @@ export interface CreateContactChannelCommandOutput extends CreateContactChannelR
|
|
|
77
80
|
* <p>Base exception class for all service exceptions from SSMContacts service.</p>
|
|
78
81
|
*
|
|
79
82
|
*/
|
|
80
|
-
export declare class CreateContactChannelCommand extends
|
|
81
|
-
readonly input: CreateContactChannelCommandInput;
|
|
82
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
83
|
-
/**
|
|
84
|
-
* @public
|
|
85
|
-
*/
|
|
86
|
-
constructor(input: CreateContactChannelCommandInput);
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
*/
|
|
90
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSMContactsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateContactChannelCommandInput, CreateContactChannelCommandOutput>;
|
|
91
|
-
/**
|
|
92
|
-
* @internal
|
|
93
|
-
*/
|
|
94
|
-
private serialize;
|
|
95
|
-
/**
|
|
96
|
-
* @internal
|
|
97
|
-
*/
|
|
98
|
-
private deserialize;
|
|
83
|
+
export declare class CreateContactChannelCommand extends CreateContactChannelCommand_base {
|
|
99
84
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CreateContactRequest, CreateContactResult } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, SSMContactsClientResolvedConfig } from "../SSMContactsClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateContactCommandInput extends CreateContactRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateContactCommandOutput extends CreateContactResult, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateContactCommand_base: {
|
|
24
|
+
new (input: CreateContactCommandInput): import("@smithy/smithy-client").CommandImpl<CreateContactCommandInput, CreateContactCommandOutput, SSMContactsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Contacts are either the contacts that Incident Manager engages during an incident or the
|
|
@@ -106,23 +109,5 @@ export interface CreateContactCommandOutput extends CreateContactResult, __Metad
|
|
|
106
109
|
* <p>Base exception class for all service exceptions from SSMContacts service.</p>
|
|
107
110
|
*
|
|
108
111
|
*/
|
|
109
|
-
export declare class CreateContactCommand extends
|
|
110
|
-
readonly input: CreateContactCommandInput;
|
|
111
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
112
|
-
/**
|
|
113
|
-
* @public
|
|
114
|
-
*/
|
|
115
|
-
constructor(input: CreateContactCommandInput);
|
|
116
|
-
/**
|
|
117
|
-
* @internal
|
|
118
|
-
*/
|
|
119
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSMContactsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateContactCommandInput, CreateContactCommandOutput>;
|
|
120
|
-
/**
|
|
121
|
-
* @internal
|
|
122
|
-
*/
|
|
123
|
-
private serialize;
|
|
124
|
-
/**
|
|
125
|
-
* @internal
|
|
126
|
-
*/
|
|
127
|
-
private deserialize;
|
|
112
|
+
export declare class CreateContactCommand extends CreateContactCommand_base {
|
|
128
113
|
}
|