@aws-sdk/client-ssm-contacts 3.299.0 → 3.301.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.
Files changed (121) hide show
  1. package/README.md +101 -5
  2. package/dist-cjs/SSMContacts.js +180 -0
  3. package/dist-cjs/commands/CreateRotationCommand.js +45 -0
  4. package/dist-cjs/commands/CreateRotationOverrideCommand.js +45 -0
  5. package/dist-cjs/commands/DeleteRotationCommand.js +45 -0
  6. package/dist-cjs/commands/DeleteRotationOverrideCommand.js +45 -0
  7. package/dist-cjs/commands/GetRotationCommand.js +45 -0
  8. package/dist-cjs/commands/GetRotationOverrideCommand.js +45 -0
  9. package/dist-cjs/commands/ListPageResolutionsCommand.js +45 -0
  10. package/dist-cjs/commands/ListPreviewRotationShiftsCommand.js +45 -0
  11. package/dist-cjs/commands/ListRotationOverridesCommand.js +45 -0
  12. package/dist-cjs/commands/ListRotationShiftsCommand.js +45 -0
  13. package/dist-cjs/commands/ListRotationsCommand.js +45 -0
  14. package/dist-cjs/commands/UpdateRotationCommand.js +45 -0
  15. package/dist-cjs/commands/index.js +12 -0
  16. package/dist-cjs/endpoint/ruleset.js +3 -3
  17. package/dist-cjs/models/models_0.js +18 -1
  18. package/dist-cjs/pagination/ListPageResolutionsPaginator.js +28 -0
  19. package/dist-cjs/pagination/ListPreviewRotationShiftsPaginator.js +29 -0
  20. package/dist-cjs/pagination/ListRotationOverridesPaginator.js +29 -0
  21. package/dist-cjs/pagination/ListRotationShiftsPaginator.js +29 -0
  22. package/dist-cjs/pagination/ListRotationsPaginator.js +29 -0
  23. package/dist-cjs/pagination/index.js +5 -0
  24. package/dist-cjs/protocols/Aws_json1_1.js +1327 -107
  25. package/dist-es/SSMContacts.js +180 -0
  26. package/dist-es/commands/CreateRotationCommand.js +41 -0
  27. package/dist-es/commands/CreateRotationOverrideCommand.js +41 -0
  28. package/dist-es/commands/DeleteRotationCommand.js +41 -0
  29. package/dist-es/commands/DeleteRotationOverrideCommand.js +41 -0
  30. package/dist-es/commands/GetRotationCommand.js +41 -0
  31. package/dist-es/commands/GetRotationOverrideCommand.js +41 -0
  32. package/dist-es/commands/ListPageResolutionsCommand.js +41 -0
  33. package/dist-es/commands/ListPreviewRotationShiftsCommand.js +41 -0
  34. package/dist-es/commands/ListRotationOverridesCommand.js +41 -0
  35. package/dist-es/commands/ListRotationShiftsCommand.js +41 -0
  36. package/dist-es/commands/ListRotationsCommand.js +41 -0
  37. package/dist-es/commands/UpdateRotationCommand.js +41 -0
  38. package/dist-es/commands/index.js +12 -0
  39. package/dist-es/endpoint/ruleset.js +3 -3
  40. package/dist-es/models/models_0.js +17 -0
  41. package/dist-es/pagination/ListPageResolutionsPaginator.js +24 -0
  42. package/dist-es/pagination/ListPreviewRotationShiftsPaginator.js +25 -0
  43. package/dist-es/pagination/ListRotationOverridesPaginator.js +25 -0
  44. package/dist-es/pagination/ListRotationShiftsPaginator.js +25 -0
  45. package/dist-es/pagination/ListRotationsPaginator.js +25 -0
  46. package/dist-es/pagination/index.js +5 -0
  47. package/dist-es/protocols/Aws_json1_1.js +1306 -110
  48. package/dist-types/SSMContacts.d.ts +114 -10
  49. package/dist-types/SSMContactsClient.d.ts +19 -7
  50. package/dist-types/commands/AcceptPageCommand.d.ts +9 -2
  51. package/dist-types/commands/ActivateContactChannelCommand.d.ts +5 -2
  52. package/dist-types/commands/CreateContactChannelCommand.d.ts +11 -2
  53. package/dist-types/commands/CreateContactCommand.d.ts +36 -3
  54. package/dist-types/commands/CreateRotationCommand.d.ts +130 -0
  55. package/dist-types/commands/CreateRotationOverrideCommand.d.ts +88 -0
  56. package/dist-types/commands/DeactivateContactChannelCommand.d.ts +4 -2
  57. package/dist-types/commands/DeleteContactChannelCommand.d.ts +4 -2
  58. package/dist-types/commands/DeleteContactCommand.d.ts +7 -2
  59. package/dist-types/commands/DeleteRotationCommand.d.ts +83 -0
  60. package/dist-types/commands/DeleteRotationOverrideCommand.d.ts +80 -0
  61. package/dist-types/commands/DescribeEngagementCommand.d.ts +4 -2
  62. package/dist-types/commands/DescribePageCommand.d.ts +4 -2
  63. package/dist-types/commands/GetContactChannelCommand.d.ts +4 -2
  64. package/dist-types/commands/GetContactCommand.d.ts +4 -2
  65. package/dist-types/commands/GetContactPolicyCommand.d.ts +4 -2
  66. package/dist-types/commands/GetRotationCommand.d.ts +79 -0
  67. package/dist-types/commands/GetRotationOverrideCommand.d.ts +80 -0
  68. package/dist-types/commands/ListContactChannelsCommand.d.ts +6 -2
  69. package/dist-types/commands/ListContactsCommand.d.ts +7 -2
  70. package/dist-types/commands/ListEngagementsCommand.d.ts +10 -2
  71. package/dist-types/commands/ListPageReceiptsCommand.d.ts +7 -3
  72. package/dist-types/commands/ListPageResolutionsCommand.d.ts +84 -0
  73. package/dist-types/commands/ListPagesByContactCommand.d.ts +6 -2
  74. package/dist-types/commands/ListPagesByEngagementCommand.d.ts +6 -2
  75. package/dist-types/commands/ListPreviewRotationShiftsCommand.d.ts +132 -0
  76. package/dist-types/commands/ListRotationOverridesCommand.d.ts +83 -0
  77. package/dist-types/commands/ListRotationShiftsCommand.d.ts +86 -0
  78. package/dist-types/commands/ListRotationsCommand.d.ts +81 -0
  79. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -2
  80. package/dist-types/commands/PutContactPolicyCommand.d.ts +5 -2
  81. package/dist-types/commands/SendActivationCodeCommand.d.ts +4 -2
  82. package/dist-types/commands/StartEngagementCommand.d.ts +11 -2
  83. package/dist-types/commands/StopEngagementCommand.d.ts +5 -2
  84. package/dist-types/commands/TagResourceCommand.d.ts +11 -3
  85. package/dist-types/commands/UntagResourceCommand.d.ts +8 -3
  86. package/dist-types/commands/UpdateContactChannelCommand.d.ts +8 -2
  87. package/dist-types/commands/UpdateContactCommand.d.ts +28 -3
  88. package/dist-types/commands/UpdateRotationCommand.d.ts +123 -0
  89. package/dist-types/commands/index.d.ts +12 -0
  90. package/dist-types/models/models_0.d.ts +757 -25
  91. package/dist-types/pagination/ListPageResolutionsPaginator.d.ts +7 -0
  92. package/dist-types/pagination/ListPreviewRotationShiftsPaginator.d.ts +7 -0
  93. package/dist-types/pagination/ListRotationOverridesPaginator.d.ts +7 -0
  94. package/dist-types/pagination/ListRotationShiftsPaginator.d.ts +7 -0
  95. package/dist-types/pagination/ListRotationsPaginator.d.ts +7 -0
  96. package/dist-types/pagination/index.d.ts +5 -0
  97. package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
  98. package/dist-types/ts3.4/SSMContacts.d.ts +204 -0
  99. package/dist-types/ts3.4/SSMContactsClient.d.ts +74 -2
  100. package/dist-types/ts3.4/commands/CreateRotationCommand.d.ts +37 -0
  101. package/dist-types/ts3.4/commands/CreateRotationOverrideCommand.d.ts +41 -0
  102. package/dist-types/ts3.4/commands/DeleteRotationCommand.d.ts +37 -0
  103. package/dist-types/ts3.4/commands/DeleteRotationOverrideCommand.d.ts +41 -0
  104. package/dist-types/ts3.4/commands/GetRotationCommand.d.ts +34 -0
  105. package/dist-types/ts3.4/commands/GetRotationOverrideCommand.d.ts +38 -0
  106. package/dist-types/ts3.4/commands/ListPageResolutionsCommand.d.ts +38 -0
  107. package/dist-types/ts3.4/commands/ListPreviewRotationShiftsCommand.d.ts +41 -0
  108. package/dist-types/ts3.4/commands/ListRotationOverridesCommand.d.ts +41 -0
  109. package/dist-types/ts3.4/commands/ListRotationShiftsCommand.d.ts +38 -0
  110. package/dist-types/ts3.4/commands/ListRotationsCommand.d.ts +34 -0
  111. package/dist-types/ts3.4/commands/UpdateRotationCommand.d.ts +37 -0
  112. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  113. package/dist-types/ts3.4/models/models_0.d.ts +196 -1
  114. package/dist-types/ts3.4/pagination/ListPageResolutionsPaginator.d.ts +11 -0
  115. package/dist-types/ts3.4/pagination/ListPreviewRotationShiftsPaginator.d.ts +11 -0
  116. package/dist-types/ts3.4/pagination/ListRotationOverridesPaginator.d.ts +11 -0
  117. package/dist-types/ts3.4/pagination/ListRotationShiftsPaginator.d.ts +11 -0
  118. package/dist-types/ts3.4/pagination/ListRotationsPaginator.d.ts +11 -0
  119. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  120. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +144 -0
  121. package/package.json +8 -8
@@ -19,13 +19,18 @@ export interface ListPageReceiptsCommandOutput extends ListPageReceiptsResult, _
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Lists all of the engagements to contact channels that have been acknowledged. </p>
22
+ * <p>Lists all of the engagements to contact channels that have been acknowledged.</p>
23
23
  * @example
24
24
  * Use a bare-bones client and the command you need to make an API call.
25
25
  * ```javascript
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 = { // ListPageReceiptsRequest
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
  * ```
@@ -40,8 +45,7 @@ export interface ListPageReceiptsCommandOutput extends ListPageReceiptsResult, _
40
45
  * <p>You don't have sufficient access to perform this operation.</p>
41
46
  *
42
47
  * @throws {@link InternalServerException} (server fault)
43
- * <p>Unexpected error occurred while
44
- * processing the request.</p>
48
+ * <p>Unexpected error occurred while processing the request.</p>
45
49
  *
46
50
  * @throws {@link ResourceNotFoundException} (client fault)
47
51
  * <p>Request references a resource that doesn't exist.</p>
@@ -0,0 +1,84 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ListPageResolutionsRequest, ListPageResolutionsResult } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, SSMContactsClientResolvedConfig } from "../SSMContactsClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link ListPageResolutionsCommand}.
10
+ */
11
+ export interface ListPageResolutionsCommandInput extends ListPageResolutionsRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link ListPageResolutionsCommand}.
17
+ */
18
+ export interface ListPageResolutionsCommandOutput extends ListPageResolutionsResult, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Returns the resolution path of an engagement. For example, the escalation plan engaged
23
+ * in an incident might target an on-call schedule that includes several contacts in a
24
+ * rotation, but just one contact on-call when the incident starts. The resolution path
25
+ * indicates the hierarchy of <i>escalation plan > on-call schedule >
26
+ * contact</i>.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { SSMContactsClient, ListPageResolutionsCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
31
+ * // const { SSMContactsClient, ListPageResolutionsCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
32
+ * const client = new SSMContactsClient(config);
33
+ * const input = { // ListPageResolutionsRequest
34
+ * NextToken: "STRING_VALUE",
35
+ * PageId: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new ListPageResolutionsCommand(input);
38
+ * const response = await client.send(command);
39
+ * ```
40
+ *
41
+ * @param ListPageResolutionsCommandInput - {@link ListPageResolutionsCommandInput}
42
+ * @returns {@link ListPageResolutionsCommandOutput}
43
+ * @see {@link ListPageResolutionsCommandInput} for command's `input` shape.
44
+ * @see {@link ListPageResolutionsCommandOutput} for command's `response` shape.
45
+ * @see {@link SSMContactsClientResolvedConfig | config} for SSMContactsClient's `config` shape.
46
+ *
47
+ * @throws {@link AccessDeniedException} (client fault)
48
+ * <p>You don't have sufficient access to perform this operation.</p>
49
+ *
50
+ * @throws {@link InternalServerException} (server fault)
51
+ * <p>Unexpected error occurred while processing the request.</p>
52
+ *
53
+ * @throws {@link ResourceNotFoundException} (client fault)
54
+ * <p>Request references a resource that doesn't exist.</p>
55
+ *
56
+ * @throws {@link ThrottlingException} (client fault)
57
+ * <p>The request was denied due to request throttling.</p>
58
+ *
59
+ * @throws {@link ValidationException} (client fault)
60
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
61
+ * service.</p>
62
+ *
63
+ *
64
+ */
65
+ export declare class ListPageResolutionsCommand extends $Command<ListPageResolutionsCommandInput, ListPageResolutionsCommandOutput, SSMContactsClientResolvedConfig> {
66
+ readonly input: ListPageResolutionsCommandInput;
67
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
68
+ /**
69
+ * @public
70
+ */
71
+ constructor(input: ListPageResolutionsCommandInput);
72
+ /**
73
+ * @internal
74
+ */
75
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSMContactsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListPageResolutionsCommandInput, ListPageResolutionsCommandOutput>;
76
+ /**
77
+ * @internal
78
+ */
79
+ private serialize;
80
+ /**
81
+ * @internal
82
+ */
83
+ private deserialize;
84
+ }
@@ -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 = { // ListPagesByContactRequest
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
  * ```
@@ -40,8 +45,7 @@ export interface ListPagesByContactCommandOutput extends ListPagesByContactResul
40
45
  * <p>You don't have sufficient access to perform this operation.</p>
41
46
  *
42
47
  * @throws {@link InternalServerException} (server fault)
43
- * <p>Unexpected error occurred while
44
- * processing the request.</p>
48
+ * <p>Unexpected error occurred while processing the request.</p>
45
49
  *
46
50
  * @throws {@link ResourceNotFoundException} (client fault)
47
51
  * <p>Request references a resource that doesn't exist.</p>
@@ -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 = { // ListPagesByEngagementRequest
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
  * ```
@@ -40,8 +45,7 @@ export interface ListPagesByEngagementCommandOutput extends ListPagesByEngagemen
40
45
  * <p>You don't have sufficient access to perform this operation.</p>
41
46
  *
42
47
  * @throws {@link InternalServerException} (server fault)
43
- * <p>Unexpected error occurred while
44
- * processing the request.</p>
48
+ * <p>Unexpected error occurred while processing the request.</p>
45
49
  *
46
50
  * @throws {@link ResourceNotFoundException} (client fault)
47
51
  * <p>Request references a resource that doesn't exist.</p>
@@ -0,0 +1,132 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ListPreviewRotationShiftsRequest, ListPreviewRotationShiftsResult } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, SSMContactsClientResolvedConfig } from "../SSMContactsClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link ListPreviewRotationShiftsCommand}.
10
+ */
11
+ export interface ListPreviewRotationShiftsCommandInput extends ListPreviewRotationShiftsRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link ListPreviewRotationShiftsCommand}.
17
+ */
18
+ export interface ListPreviewRotationShiftsCommandOutput extends ListPreviewRotationShiftsResult, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Returns a list of shifts based on rotation configuration parameters.</p>
23
+ * <note>
24
+ * <p>The Incident Manager primarily uses this operation to populate the <b>Preview</b> calendar. It is not typically run by end users.</p>
25
+ * </note>
26
+ * @example
27
+ * Use a bare-bones client and the command you need to make an API call.
28
+ * ```javascript
29
+ * import { SSMContactsClient, ListPreviewRotationShiftsCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
30
+ * // const { SSMContactsClient, ListPreviewRotationShiftsCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
31
+ * const client = new SSMContactsClient(config);
32
+ * const input = { // ListPreviewRotationShiftsRequest
33
+ * RotationStartTime: new Date("TIMESTAMP"),
34
+ * StartTime: new Date("TIMESTAMP"),
35
+ * EndTime: new Date("TIMESTAMP"), // required
36
+ * Members: [ // RotationPreviewMemberList // required
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * TimeZoneId: "STRING_VALUE", // required
40
+ * Recurrence: { // RecurrenceSettings
41
+ * MonthlySettings: [ // MonthlySettings
42
+ * { // MonthlySetting
43
+ * DayOfMonth: Number("int"), // required
44
+ * HandOffTime: { // HandOffTime
45
+ * HourOfDay: Number("int"), // required
46
+ * MinuteOfHour: Number("int"), // required
47
+ * },
48
+ * },
49
+ * ],
50
+ * WeeklySettings: [ // WeeklySettings
51
+ * { // WeeklySetting
52
+ * DayOfWeek: "MON" || "TUE" || "WED" || "THU" || "FRI" || "SAT" || "SUN", // required
53
+ * HandOffTime: {
54
+ * HourOfDay: Number("int"), // required
55
+ * MinuteOfHour: Number("int"), // required
56
+ * },
57
+ * },
58
+ * ],
59
+ * DailySettings: [ // DailySettings
60
+ * {
61
+ * HourOfDay: Number("int"), // required
62
+ * MinuteOfHour: Number("int"), // required
63
+ * },
64
+ * ],
65
+ * NumberOfOnCalls: Number("int"), // required
66
+ * ShiftCoverages: { // ShiftCoveragesMap
67
+ * "<keys>": [ // CoverageTimes
68
+ * { // CoverageTime
69
+ * Start: "<HandOffTime>",
70
+ * End: "<HandOffTime>",
71
+ * },
72
+ * ],
73
+ * },
74
+ * RecurrenceMultiplier: Number("int"), // required
75
+ * },
76
+ * Overrides: [ // OverrideList
77
+ * { // PreviewOverride
78
+ * NewMembers: [ // RotationOverridePreviewMemberList
79
+ * "STRING_VALUE",
80
+ * ],
81
+ * StartTime: new Date("TIMESTAMP"),
82
+ * EndTime: new Date("TIMESTAMP"),
83
+ * },
84
+ * ],
85
+ * NextToken: "STRING_VALUE",
86
+ * MaxResults: Number("int"),
87
+ * };
88
+ * const command = new ListPreviewRotationShiftsCommand(input);
89
+ * const response = await client.send(command);
90
+ * ```
91
+ *
92
+ * @param ListPreviewRotationShiftsCommandInput - {@link ListPreviewRotationShiftsCommandInput}
93
+ * @returns {@link ListPreviewRotationShiftsCommandOutput}
94
+ * @see {@link ListPreviewRotationShiftsCommandInput} for command's `input` shape.
95
+ * @see {@link ListPreviewRotationShiftsCommandOutput} for command's `response` shape.
96
+ * @see {@link SSMContactsClientResolvedConfig | config} for SSMContactsClient's `config` shape.
97
+ *
98
+ * @throws {@link AccessDeniedException} (client fault)
99
+ * <p>You don't have sufficient access to perform this operation.</p>
100
+ *
101
+ * @throws {@link InternalServerException} (server fault)
102
+ * <p>Unexpected error occurred while processing the request.</p>
103
+ *
104
+ * @throws {@link ThrottlingException} (client fault)
105
+ * <p>The request was denied due to request throttling.</p>
106
+ *
107
+ * @throws {@link ValidationException} (client fault)
108
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
109
+ * service.</p>
110
+ *
111
+ *
112
+ */
113
+ export declare class ListPreviewRotationShiftsCommand extends $Command<ListPreviewRotationShiftsCommandInput, ListPreviewRotationShiftsCommandOutput, SSMContactsClientResolvedConfig> {
114
+ readonly input: ListPreviewRotationShiftsCommandInput;
115
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
116
+ /**
117
+ * @public
118
+ */
119
+ constructor(input: ListPreviewRotationShiftsCommandInput);
120
+ /**
121
+ * @internal
122
+ */
123
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSMContactsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListPreviewRotationShiftsCommandInput, ListPreviewRotationShiftsCommandOutput>;
124
+ /**
125
+ * @internal
126
+ */
127
+ private serialize;
128
+ /**
129
+ * @internal
130
+ */
131
+ private deserialize;
132
+ }
@@ -0,0 +1,83 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ListRotationOverridesRequest, ListRotationOverridesResult } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, SSMContactsClientResolvedConfig } from "../SSMContactsClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link ListRotationOverridesCommand}.
10
+ */
11
+ export interface ListRotationOverridesCommandInput extends ListRotationOverridesRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link ListRotationOverridesCommand}.
17
+ */
18
+ export interface ListRotationOverridesCommandOutput extends ListRotationOverridesResult, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Retrieves a list of overrides currently specified for an on-call rotation.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { SSMContactsClient, ListRotationOverridesCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
27
+ * // const { SSMContactsClient, ListRotationOverridesCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
28
+ * const client = new SSMContactsClient(config);
29
+ * const input = { // ListRotationOverridesRequest
30
+ * RotationId: "STRING_VALUE", // required
31
+ * StartTime: new Date("TIMESTAMP"), // required
32
+ * EndTime: new Date("TIMESTAMP"), // required
33
+ * NextToken: "STRING_VALUE",
34
+ * MaxResults: Number("int"),
35
+ * };
36
+ * const command = new ListRotationOverridesCommand(input);
37
+ * const response = await client.send(command);
38
+ * ```
39
+ *
40
+ * @param ListRotationOverridesCommandInput - {@link ListRotationOverridesCommandInput}
41
+ * @returns {@link ListRotationOverridesCommandOutput}
42
+ * @see {@link ListRotationOverridesCommandInput} for command's `input` shape.
43
+ * @see {@link ListRotationOverridesCommandOutput} for command's `response` shape.
44
+ * @see {@link SSMContactsClientResolvedConfig | config} for SSMContactsClient's `config` shape.
45
+ *
46
+ * @throws {@link AccessDeniedException} (client fault)
47
+ * <p>You don't have sufficient access to perform this operation.</p>
48
+ *
49
+ * @throws {@link InternalServerException} (server fault)
50
+ * <p>Unexpected error occurred while processing the request.</p>
51
+ *
52
+ * @throws {@link ResourceNotFoundException} (client fault)
53
+ * <p>Request references a resource that doesn't exist.</p>
54
+ *
55
+ * @throws {@link ThrottlingException} (client fault)
56
+ * <p>The request was denied due to request throttling.</p>
57
+ *
58
+ * @throws {@link ValidationException} (client fault)
59
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
60
+ * service.</p>
61
+ *
62
+ *
63
+ */
64
+ export declare class ListRotationOverridesCommand extends $Command<ListRotationOverridesCommandInput, ListRotationOverridesCommandOutput, SSMContactsClientResolvedConfig> {
65
+ readonly input: ListRotationOverridesCommandInput;
66
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
67
+ /**
68
+ * @public
69
+ */
70
+ constructor(input: ListRotationOverridesCommandInput);
71
+ /**
72
+ * @internal
73
+ */
74
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSMContactsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRotationOverridesCommandInput, ListRotationOverridesCommandOutput>;
75
+ /**
76
+ * @internal
77
+ */
78
+ private serialize;
79
+ /**
80
+ * @internal
81
+ */
82
+ private deserialize;
83
+ }
@@ -0,0 +1,86 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ListRotationShiftsRequest, ListRotationShiftsResult } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, SSMContactsClientResolvedConfig } from "../SSMContactsClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link ListRotationShiftsCommand}.
10
+ */
11
+ export interface ListRotationShiftsCommandInput extends ListRotationShiftsRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link ListRotationShiftsCommand}.
17
+ */
18
+ export interface ListRotationShiftsCommandOutput extends ListRotationShiftsResult, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Returns a list of shifts generated by an existing rotation in the system.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { SSMContactsClient, ListRotationShiftsCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
27
+ * // const { SSMContactsClient, ListRotationShiftsCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
28
+ * const client = new SSMContactsClient(config);
29
+ * const input = { // ListRotationShiftsRequest
30
+ * RotationId: "STRING_VALUE", // required
31
+ * StartTime: new Date("TIMESTAMP"),
32
+ * EndTime: new Date("TIMESTAMP"), // required
33
+ * NextToken: "STRING_VALUE",
34
+ * MaxResults: Number("int"),
35
+ * };
36
+ * const command = new ListRotationShiftsCommand(input);
37
+ * const response = await client.send(command);
38
+ * ```
39
+ *
40
+ * @param ListRotationShiftsCommandInput - {@link ListRotationShiftsCommandInput}
41
+ * @returns {@link ListRotationShiftsCommandOutput}
42
+ * @see {@link ListRotationShiftsCommandInput} for command's `input` shape.
43
+ * @see {@link ListRotationShiftsCommandOutput} for command's `response` shape.
44
+ * @see {@link SSMContactsClientResolvedConfig | config} for SSMContactsClient's `config` shape.
45
+ *
46
+ * @throws {@link AccessDeniedException} (client fault)
47
+ * <p>You don't have sufficient access to perform this operation.</p>
48
+ *
49
+ * @throws {@link ConflictException} (client fault)
50
+ * <p>Updating or deleting a resource causes an inconsistent state.</p>
51
+ *
52
+ * @throws {@link InternalServerException} (server fault)
53
+ * <p>Unexpected error occurred while processing the request.</p>
54
+ *
55
+ * @throws {@link ResourceNotFoundException} (client fault)
56
+ * <p>Request references a resource that doesn't exist.</p>
57
+ *
58
+ * @throws {@link ThrottlingException} (client fault)
59
+ * <p>The request was denied due to request throttling.</p>
60
+ *
61
+ * @throws {@link ValidationException} (client fault)
62
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
63
+ * service.</p>
64
+ *
65
+ *
66
+ */
67
+ export declare class ListRotationShiftsCommand extends $Command<ListRotationShiftsCommandInput, ListRotationShiftsCommandOutput, SSMContactsClientResolvedConfig> {
68
+ readonly input: ListRotationShiftsCommandInput;
69
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
70
+ /**
71
+ * @public
72
+ */
73
+ constructor(input: ListRotationShiftsCommandInput);
74
+ /**
75
+ * @internal
76
+ */
77
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSMContactsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRotationShiftsCommandInput, ListRotationShiftsCommandOutput>;
78
+ /**
79
+ * @internal
80
+ */
81
+ private serialize;
82
+ /**
83
+ * @internal
84
+ */
85
+ private deserialize;
86
+ }
@@ -0,0 +1,81 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ListRotationsRequest, ListRotationsResult } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, SSMContactsClientResolvedConfig } from "../SSMContactsClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link ListRotationsCommand}.
10
+ */
11
+ export interface ListRotationsCommandInput extends ListRotationsRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link ListRotationsCommand}.
17
+ */
18
+ export interface ListRotationsCommandOutput extends ListRotationsResult, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Retrieves a list of on-call rotations.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { SSMContactsClient, ListRotationsCommand } from "@aws-sdk/client-ssm-contacts"; // ES Modules import
27
+ * // const { SSMContactsClient, ListRotationsCommand } = require("@aws-sdk/client-ssm-contacts"); // CommonJS import
28
+ * const client = new SSMContactsClient(config);
29
+ * const input = { // ListRotationsRequest
30
+ * RotationNamePrefix: "STRING_VALUE",
31
+ * NextToken: "STRING_VALUE",
32
+ * MaxResults: Number("int"),
33
+ * };
34
+ * const command = new ListRotationsCommand(input);
35
+ * const response = await client.send(command);
36
+ * ```
37
+ *
38
+ * @param ListRotationsCommandInput - {@link ListRotationsCommandInput}
39
+ * @returns {@link ListRotationsCommandOutput}
40
+ * @see {@link ListRotationsCommandInput} for command's `input` shape.
41
+ * @see {@link ListRotationsCommandOutput} for command's `response` shape.
42
+ * @see {@link SSMContactsClientResolvedConfig | config} for SSMContactsClient's `config` shape.
43
+ *
44
+ * @throws {@link AccessDeniedException} (client fault)
45
+ * <p>You don't have sufficient access to perform this operation.</p>
46
+ *
47
+ * @throws {@link InternalServerException} (server fault)
48
+ * <p>Unexpected error occurred while processing the request.</p>
49
+ *
50
+ * @throws {@link ResourceNotFoundException} (client fault)
51
+ * <p>Request references a resource that doesn't exist.</p>
52
+ *
53
+ * @throws {@link ThrottlingException} (client fault)
54
+ * <p>The request was denied due to request throttling.</p>
55
+ *
56
+ * @throws {@link ValidationException} (client fault)
57
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services
58
+ * service.</p>
59
+ *
60
+ *
61
+ */
62
+ export declare class ListRotationsCommand extends $Command<ListRotationsCommandInput, ListRotationsCommandOutput, SSMContactsClientResolvedConfig> {
63
+ readonly input: ListRotationsCommandInput;
64
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
65
+ /**
66
+ * @public
67
+ */
68
+ constructor(input: ListRotationsCommandInput);
69
+ /**
70
+ * @internal
71
+ */
72
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSMContactsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRotationsCommandInput, ListRotationsCommandOutput>;
73
+ /**
74
+ * @internal
75
+ */
76
+ private serialize;
77
+ /**
78
+ * @internal
79
+ */
80
+ private deserialize;
81
+ }
@@ -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 = { // ListTagsForResourceRequest
30
+ * ResourceARN: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -40,8 +43,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
40
43
  * <p>You don't have sufficient access to perform this operation.</p>
41
44
  *
42
45
  * @throws {@link InternalServerException} (server fault)
43
- * <p>Unexpected error occurred while
44
- * processing the request.</p>
46
+ * <p>Unexpected error occurred while processing the request.</p>
45
47
  *
46
48
  * @throws {@link ResourceNotFoundException} (client fault)
47
49
  * <p>Request references a resource that doesn't exist.</p>
@@ -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 = { // PutContactPolicyRequest
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
  * ```
@@ -45,8 +49,7 @@ export interface PutContactPolicyCommandOutput extends PutContactPolicyResult, _
45
49
  * <p>Updating or deleting a resource causes an inconsistent state.</p>
46
50
  *
47
51
  * @throws {@link InternalServerException} (server fault)
48
- * <p>Unexpected error occurred while
49
- * processing the request.</p>
52
+ * <p>Unexpected error occurred while processing the request.</p>
50
53
  *
51
54
  * @throws {@link ResourceNotFoundException} (client fault)
52
55
  * <p>Request references a resource that doesn't exist.</p>
@@ -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 = { // SendActivationCodeRequest
32
+ * ContactChannelId: "STRING_VALUE", // required
33
+ * };
31
34
  * const command = new SendActivationCodeCommand(input);
32
35
  * const response = await client.send(command);
33
36
  * ```
@@ -45,8 +48,7 @@ export interface SendActivationCodeCommandOutput extends SendActivationCodeResul
45
48
  * <p>The operation failed to due an encryption key error.</p>
46
49
  *
47
50
  * @throws {@link InternalServerException} (server fault)
48
- * <p>Unexpected error occurred while
49
- * processing the request.</p>
51
+ * <p>Unexpected error occurred while processing the request.</p>
50
52
  *
51
53
  * @throws {@link ResourceNotFoundException} (client fault)
52
54
  * <p>Request references a resource that doesn't exist.</p>
@@ -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 = { // StartEngagementRequest
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
  * ```
@@ -44,8 +54,7 @@ export interface StartEngagementCommandOutput extends StartEngagementResult, __M
44
54
  * <p>The operation failed to due an encryption key error.</p>
45
55
  *
46
56
  * @throws {@link InternalServerException} (server fault)
47
- * <p>Unexpected error occurred while
48
- * processing the request.</p>
57
+ * <p>Unexpected error occurred while processing the request.</p>
49
58
  *
50
59
  * @throws {@link ResourceNotFoundException} (client fault)
51
60
  * <p>Request references a resource that doesn't exist.</p>
@@ -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 = { // StopEngagementRequest
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
  * ```
@@ -41,8 +45,7 @@ export interface StopEngagementCommandOutput extends StopEngagementResult, __Met
41
45
  * <p>You don't have sufficient access to perform this operation.</p>
42
46
  *
43
47
  * @throws {@link InternalServerException} (server fault)
44
- * <p>Unexpected error occurred while
45
- * processing the request.</p>
48
+ * <p>Unexpected error occurred while processing the request.</p>
46
49
  *
47
50
  * @throws {@link ResourceNotFoundException} (client fault)
48
51
  * <p>Request references a resource that doesn't exist.</p>