@aws-sdk/client-ssm-contacts 3.299.0 → 3.300.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-types/commands/AcceptPageCommand.d.ts +8 -0
- package/dist-types/commands/ActivateContactChannelCommand.d.ts +4 -0
- package/dist-types/commands/CreateContactChannelCommand.d.ts +10 -0
- package/dist-types/commands/CreateContactCommand.d.ts +31 -0
- package/dist-types/commands/DeactivateContactChannelCommand.d.ts +3 -0
- package/dist-types/commands/DeleteContactChannelCommand.d.ts +3 -0
- package/dist-types/commands/DeleteContactCommand.d.ts +3 -0
- package/dist-types/commands/DescribeEngagementCommand.d.ts +3 -0
- package/dist-types/commands/DescribePageCommand.d.ts +3 -0
- package/dist-types/commands/GetContactChannelCommand.d.ts +3 -0
- package/dist-types/commands/GetContactCommand.d.ts +3 -0
- package/dist-types/commands/GetContactPolicyCommand.d.ts +3 -0
- package/dist-types/commands/ListContactChannelsCommand.d.ts +5 -0
- package/dist-types/commands/ListContactsCommand.d.ts +6 -0
- package/dist-types/commands/ListEngagementsCommand.d.ts +9 -0
- package/dist-types/commands/ListPageReceiptsCommand.d.ts +5 -0
- package/dist-types/commands/ListPagesByContactCommand.d.ts +5 -0
- package/dist-types/commands/ListPagesByEngagementCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/PutContactPolicyCommand.d.ts +4 -0
- package/dist-types/commands/SendActivationCodeCommand.d.ts +3 -0
- package/dist-types/commands/StartEngagementCommand.d.ts +10 -0
- package/dist-types/commands/StopEngagementCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateContactChannelCommand.d.ts +7 -0
- package/dist-types/commands/UpdateContactCommand.d.ts +23 -0
- package/package.json +8 -8
|
@@ -26,6 +26,14 @@ export interface AcceptPageCommandOutput extends AcceptPageResult, __MetadataBea
|
|
|
26
26
|
* import { SSMContactsClient, AcceptPageCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
27
27
|
* // const { SSMContactsClient, AcceptPageCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
28
28
|
* const client = new SSMContactsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* PageId: "STRING_VALUE", // required
|
|
31
|
+
* ContactChannelId: "STRING_VALUE",
|
|
32
|
+
* AcceptType: "STRING_VALUE", // required
|
|
33
|
+
* Note: "STRING_VALUE",
|
|
34
|
+
* AcceptCode: "STRING_VALUE", // required
|
|
35
|
+
* AcceptCodeValidation: "STRING_VALUE",
|
|
36
|
+
* };
|
|
29
37
|
* const command = new AcceptPageCommand(input);
|
|
30
38
|
* const response = await client.send(command);
|
|
31
39
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface ActivateContactChannelCommandOutput extends ActivateContactChan
|
|
|
27
27
|
* import { SSMContactsClient, ActivateContactChannelCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
28
28
|
* // const { SSMContactsClient, ActivateContactChannelCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
29
29
|
* const client = new SSMContactsClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ContactChannelId: "STRING_VALUE", // required
|
|
32
|
+
* ActivationCode: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new ActivateContactChannelCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -26,6 +26,16 @@ export interface CreateContactChannelCommandOutput extends CreateContactChannelR
|
|
|
26
26
|
* import { SSMContactsClient, CreateContactChannelCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
27
27
|
* // const { SSMContactsClient, CreateContactChannelCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
28
28
|
* const client = new SSMContactsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ContactId: "STRING_VALUE", // required
|
|
31
|
+
* Name: "STRING_VALUE", // required
|
|
32
|
+
* Type: "STRING_VALUE", // required
|
|
33
|
+
* DeliveryAddress: {
|
|
34
|
+
* SimpleAddress: "STRING_VALUE",
|
|
35
|
+
* },
|
|
36
|
+
* DeferActivation: true || false,
|
|
37
|
+
* IdempotencyToken: "STRING_VALUE",
|
|
38
|
+
* };
|
|
29
39
|
* const command = new CreateContactChannelCommand(input);
|
|
30
40
|
* const response = await client.send(command);
|
|
31
41
|
* ```
|
|
@@ -28,6 +28,37 @@ export interface CreateContactCommandOutput extends CreateContactResult, __Metad
|
|
|
28
28
|
* import { SSMContactsClient, CreateContactCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
29
29
|
* // const { SSMContactsClient, CreateContactCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
30
30
|
* const client = new SSMContactsClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Alias: "STRING_VALUE", // required
|
|
33
|
+
* DisplayName: "STRING_VALUE",
|
|
34
|
+
* Type: "STRING_VALUE", // required
|
|
35
|
+
* Plan: {
|
|
36
|
+
* Stages: [ // required
|
|
37
|
+
* {
|
|
38
|
+
* DurationInMinutes: Number("int"), // required
|
|
39
|
+
* Targets: [ // required
|
|
40
|
+
* {
|
|
41
|
+
* ChannelTargetInfo: {
|
|
42
|
+
* ContactChannelId: "STRING_VALUE", // required
|
|
43
|
+
* RetryIntervalInMinutes: Number("int"),
|
|
44
|
+
* },
|
|
45
|
+
* ContactTargetInfo: {
|
|
46
|
+
* ContactId: "STRING_VALUE",
|
|
47
|
+
* IsEssential: true || false, // required
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* },
|
|
54
|
+
* Tags: [
|
|
55
|
+
* {
|
|
56
|
+
* Key: "STRING_VALUE",
|
|
57
|
+
* Value: "STRING_VALUE",
|
|
58
|
+
* },
|
|
59
|
+
* ],
|
|
60
|
+
* IdempotencyToken: "STRING_VALUE",
|
|
61
|
+
* };
|
|
31
62
|
* const command = new CreateContactCommand(input);
|
|
32
63
|
* const response = await client.send(command);
|
|
33
64
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DeactivateContactChannelCommandOutput extends DeactivateContact
|
|
|
27
27
|
* import { SSMContactsClient, DeactivateContactChannelCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
28
28
|
* // const { SSMContactsClient, DeactivateContactChannelCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
29
29
|
* const client = new SSMContactsClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ContactChannelId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DeactivateContactChannelCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface DeleteContactChannelCommandOutput extends DeleteContactChannelR
|
|
|
29
29
|
* import { SSMContactsClient, DeleteContactChannelCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
30
30
|
* // const { SSMContactsClient, DeleteContactChannelCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
31
31
|
* const client = new SSMContactsClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* ContactChannelId: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new DeleteContactChannelCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface DeleteContactCommandOutput extends DeleteContactResult, __Metad
|
|
|
29
29
|
* import { SSMContactsClient, DeleteContactCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
30
30
|
* // const { SSMContactsClient, DeleteContactCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
31
31
|
* const client = new SSMContactsClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* ContactId: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new DeleteContactCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DescribeEngagementCommandOutput extends DescribeEngagementResul
|
|
|
27
27
|
* import { SSMContactsClient, DescribeEngagementCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
28
28
|
* // const { SSMContactsClient, DescribeEngagementCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
29
29
|
* const client = new SSMContactsClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* EngagementId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DescribeEngagementCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribePageCommandOutput extends DescribePageResult, __Metadat
|
|
|
26
26
|
* import { SSMContactsClient, DescribePageCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
27
27
|
* // const { SSMContactsClient, DescribePageCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
28
28
|
* const client = new SSMContactsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* PageId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribePageCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetContactChannelCommandOutput extends GetContactChannelResult,
|
|
|
26
26
|
* import { SSMContactsClient, GetContactChannelCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
27
27
|
* // const { SSMContactsClient, GetContactChannelCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
28
28
|
* const client = new SSMContactsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ContactChannelId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetContactChannelCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetContactCommandOutput extends GetContactResult, __MetadataBea
|
|
|
26
26
|
* import { SSMContactsClient, GetContactCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
27
27
|
* // const { SSMContactsClient, GetContactCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
28
28
|
* const client = new SSMContactsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ContactId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetContactCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetContactPolicyCommandOutput extends GetContactPolicyResult, _
|
|
|
27
27
|
* import { SSMContactsClient, GetContactPolicyCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
28
28
|
* // const { SSMContactsClient, GetContactPolicyCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
29
29
|
* const client = new SSMContactsClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ContactArn: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetContactPolicyCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListContactChannelsCommandOutput extends ListContactChannelsRes
|
|
|
26
26
|
* import { SSMContactsClient, ListContactChannelsCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
27
27
|
* // const { SSMContactsClient, ListContactChannelsCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
28
28
|
* const client = new SSMContactsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ContactId: "STRING_VALUE", // required
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListContactChannelsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface ListContactsCommandOutput extends ListContactsResult, __Metadat
|
|
|
26
26
|
* import { SSMContactsClient, ListContactsCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
27
27
|
* // const { SSMContactsClient, ListContactsCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
28
28
|
* const client = new SSMContactsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* NextToken: "STRING_VALUE",
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* AliasPrefix: "STRING_VALUE",
|
|
33
|
+
* Type: "STRING_VALUE",
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListContactsCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,15 @@ export interface ListEngagementsCommandOutput extends ListEngagementsResult, __M
|
|
|
26
26
|
* import { SSMContactsClient, ListEngagementsCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
27
27
|
* // const { SSMContactsClient, ListEngagementsCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
28
28
|
* const client = new SSMContactsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* NextToken: "STRING_VALUE",
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* IncidentId: "STRING_VALUE",
|
|
33
|
+
* TimeRangeValue: {
|
|
34
|
+
* StartTime: new Date("TIMESTAMP"),
|
|
35
|
+
* EndTime: new Date("TIMESTAMP"),
|
|
36
|
+
* },
|
|
37
|
+
* };
|
|
29
38
|
* const command = new ListEngagementsCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListPageReceiptsCommandOutput extends ListPageReceiptsResult, _
|
|
|
26
26
|
* import { SSMContactsClient, ListPageReceiptsCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
27
27
|
* // const { SSMContactsClient, ListPageReceiptsCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
28
28
|
* const client = new SSMContactsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* PageId: "STRING_VALUE", // required
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListPageReceiptsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListPagesByContactCommandOutput extends ListPagesByContactResul
|
|
|
26
26
|
* import { SSMContactsClient, ListPagesByContactCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
27
27
|
* // const { SSMContactsClient, ListPagesByContactCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
28
28
|
* const client = new SSMContactsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ContactId: "STRING_VALUE", // required
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListPagesByContactCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListPagesByEngagementCommandOutput extends ListPagesByEngagemen
|
|
|
26
26
|
* import { SSMContactsClient, ListPagesByEngagementCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
27
27
|
* // const { SSMContactsClient, ListPagesByEngagementCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
28
28
|
* const client = new SSMContactsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* EngagementId: "STRING_VALUE", // required
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListPagesByEngagementCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { SSMContactsClient, ListTagsForResourceCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
27
27
|
* // const { SSMContactsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
28
28
|
* const client = new SSMContactsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface PutContactPolicyCommandOutput extends PutContactPolicyResult, _
|
|
|
28
28
|
* import { SSMContactsClient, PutContactPolicyCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
29
29
|
* // const { SSMContactsClient, PutContactPolicyCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
30
30
|
* const client = new SSMContactsClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ContactArn: "STRING_VALUE", // required
|
|
33
|
+
* Policy: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
31
35
|
* const command = new PutContactPolicyCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface SendActivationCodeCommandOutput extends SendActivationCodeResul
|
|
|
28
28
|
* import { SSMContactsClient, SendActivationCodeCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
29
29
|
* // const { SSMContactsClient, SendActivationCodeCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
30
30
|
* const client = new SSMContactsClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ContactChannelId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new SendActivationCodeCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -27,6 +27,16 @@ export interface StartEngagementCommandOutput extends StartEngagementResult, __M
|
|
|
27
27
|
* import { SSMContactsClient, StartEngagementCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
28
28
|
* // const { SSMContactsClient, StartEngagementCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
29
29
|
* const client = new SSMContactsClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ContactId: "STRING_VALUE", // required
|
|
32
|
+
* Sender: "STRING_VALUE", // required
|
|
33
|
+
* Subject: "STRING_VALUE", // required
|
|
34
|
+
* Content: "STRING_VALUE", // required
|
|
35
|
+
* PublicSubject: "STRING_VALUE",
|
|
36
|
+
* PublicContent: "STRING_VALUE",
|
|
37
|
+
* IncidentId: "STRING_VALUE",
|
|
38
|
+
* IdempotencyToken: "STRING_VALUE",
|
|
39
|
+
* };
|
|
30
40
|
* const command = new StartEngagementCommand(input);
|
|
31
41
|
* const response = await client.send(command);
|
|
32
42
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface StopEngagementCommandOutput extends StopEngagementResult, __Met
|
|
|
27
27
|
* import { SSMContactsClient, StopEngagementCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
28
28
|
* // const { SSMContactsClient, StopEngagementCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
29
29
|
* const client = new SSMContactsClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* EngagementId: "STRING_VALUE", // required
|
|
32
|
+
* Reason: "STRING_VALUE",
|
|
33
|
+
* };
|
|
30
34
|
* const command = new StopEngagementCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -27,6 +27,15 @@ export interface TagResourceCommandOutput extends TagResourceResult, __MetadataB
|
|
|
27
27
|
* import { SSMContactsClient, TagResourceCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
28
28
|
* // const { SSMContactsClient, TagResourceCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
29
29
|
* const client = new SSMContactsClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
32
|
+
* Tags: [ // required
|
|
33
|
+
* {
|
|
34
|
+
* Key: "STRING_VALUE",
|
|
35
|
+
* Value: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
30
39
|
* const command = new TagResourceCommand(input);
|
|
31
40
|
* const response = await client.send(command);
|
|
32
41
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResult, __Metad
|
|
|
26
26
|
* import { SSMContactsClient, UntagResourceCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
27
27
|
* // const { SSMContactsClient, UntagResourceCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
28
28
|
* const client = new SSMContactsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
31
|
+
* TagKeys: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface UpdateContactChannelCommandOutput extends UpdateContactChannelR
|
|
|
26
26
|
* import { SSMContactsClient, UpdateContactChannelCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
27
27
|
* // const { SSMContactsClient, UpdateContactChannelCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
28
28
|
* const client = new SSMContactsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ContactChannelId: "STRING_VALUE", // required
|
|
31
|
+
* Name: "STRING_VALUE",
|
|
32
|
+
* DeliveryAddress: {
|
|
33
|
+
* SimpleAddress: "STRING_VALUE",
|
|
34
|
+
* },
|
|
35
|
+
* };
|
|
29
36
|
* const command = new UpdateContactChannelCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -26,6 +26,29 @@ export interface UpdateContactCommandOutput extends UpdateContactResult, __Metad
|
|
|
26
26
|
* import { SSMContactsClient, UpdateContactCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
|
|
27
27
|
* // const { SSMContactsClient, UpdateContactCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
|
|
28
28
|
* const client = new SSMContactsClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ContactId: "STRING_VALUE", // required
|
|
31
|
+
* DisplayName: "STRING_VALUE",
|
|
32
|
+
* Plan: {
|
|
33
|
+
* Stages: [ // required
|
|
34
|
+
* {
|
|
35
|
+
* DurationInMinutes: Number("int"), // required
|
|
36
|
+
* Targets: [ // required
|
|
37
|
+
* {
|
|
38
|
+
* ChannelTargetInfo: {
|
|
39
|
+
* ContactChannelId: "STRING_VALUE", // required
|
|
40
|
+
* RetryIntervalInMinutes: Number("int"),
|
|
41
|
+
* },
|
|
42
|
+
* ContactTargetInfo: {
|
|
43
|
+
* ContactId: "STRING_VALUE",
|
|
44
|
+
* IsEssential: true || false, // required
|
|
45
|
+
* },
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* };
|
|
29
52
|
* const command = new UpdateContactCommand(input);
|
|
30
53
|
* const response = await client.send(command);
|
|
31
54
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ssm-contacts",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ssm Contacts Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|