@aws-sdk/client-ssm-contacts 3.300.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.
- package/README.md +101 -5
- package/dist-cjs/SSMContacts.js +180 -0
- package/dist-cjs/commands/CreateRotationCommand.js +45 -0
- package/dist-cjs/commands/CreateRotationOverrideCommand.js +45 -0
- package/dist-cjs/commands/DeleteRotationCommand.js +45 -0
- package/dist-cjs/commands/DeleteRotationOverrideCommand.js +45 -0
- package/dist-cjs/commands/GetRotationCommand.js +45 -0
- package/dist-cjs/commands/GetRotationOverrideCommand.js +45 -0
- package/dist-cjs/commands/ListPageResolutionsCommand.js +45 -0
- package/dist-cjs/commands/ListPreviewRotationShiftsCommand.js +45 -0
- package/dist-cjs/commands/ListRotationOverridesCommand.js +45 -0
- package/dist-cjs/commands/ListRotationShiftsCommand.js +45 -0
- package/dist-cjs/commands/ListRotationsCommand.js +45 -0
- package/dist-cjs/commands/UpdateRotationCommand.js +45 -0
- package/dist-cjs/commands/index.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +18 -1
- package/dist-cjs/pagination/ListPageResolutionsPaginator.js +28 -0
- package/dist-cjs/pagination/ListPreviewRotationShiftsPaginator.js +29 -0
- package/dist-cjs/pagination/ListRotationOverridesPaginator.js +29 -0
- package/dist-cjs/pagination/ListRotationShiftsPaginator.js +29 -0
- package/dist-cjs/pagination/ListRotationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_json1_1.js +1327 -107
- package/dist-es/SSMContacts.js +180 -0
- package/dist-es/commands/CreateRotationCommand.js +41 -0
- package/dist-es/commands/CreateRotationOverrideCommand.js +41 -0
- package/dist-es/commands/DeleteRotationCommand.js +41 -0
- package/dist-es/commands/DeleteRotationOverrideCommand.js +41 -0
- package/dist-es/commands/GetRotationCommand.js +41 -0
- package/dist-es/commands/GetRotationOverrideCommand.js +41 -0
- package/dist-es/commands/ListPageResolutionsCommand.js +41 -0
- package/dist-es/commands/ListPreviewRotationShiftsCommand.js +41 -0
- package/dist-es/commands/ListRotationOverridesCommand.js +41 -0
- package/dist-es/commands/ListRotationShiftsCommand.js +41 -0
- package/dist-es/commands/ListRotationsCommand.js +41 -0
- package/dist-es/commands/UpdateRotationCommand.js +41 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +17 -0
- package/dist-es/pagination/ListPageResolutionsPaginator.js +24 -0
- package/dist-es/pagination/ListPreviewRotationShiftsPaginator.js +25 -0
- package/dist-es/pagination/ListRotationOverridesPaginator.js +25 -0
- package/dist-es/pagination/ListRotationShiftsPaginator.js +25 -0
- package/dist-es/pagination/ListRotationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_json1_1.js +1306 -110
- package/dist-types/SSMContacts.d.ts +114 -10
- package/dist-types/SSMContactsClient.d.ts +19 -7
- package/dist-types/commands/AcceptPageCommand.d.ts +4 -5
- package/dist-types/commands/ActivateContactChannelCommand.d.ts +2 -3
- package/dist-types/commands/CreateContactChannelCommand.d.ts +4 -5
- package/dist-types/commands/CreateContactCommand.d.ts +16 -14
- package/dist-types/commands/CreateRotationCommand.d.ts +130 -0
- package/dist-types/commands/CreateRotationOverrideCommand.d.ts +88 -0
- package/dist-types/commands/DeactivateContactChannelCommand.d.ts +2 -3
- package/dist-types/commands/DeleteContactChannelCommand.d.ts +2 -3
- package/dist-types/commands/DeleteContactCommand.d.ts +5 -3
- package/dist-types/commands/DeleteRotationCommand.d.ts +83 -0
- package/dist-types/commands/DeleteRotationOverrideCommand.d.ts +80 -0
- package/dist-types/commands/DescribeEngagementCommand.d.ts +2 -3
- package/dist-types/commands/DescribePageCommand.d.ts +2 -3
- package/dist-types/commands/GetContactChannelCommand.d.ts +2 -3
- package/dist-types/commands/GetContactCommand.d.ts +2 -3
- package/dist-types/commands/GetContactPolicyCommand.d.ts +2 -3
- package/dist-types/commands/GetRotationCommand.d.ts +79 -0
- package/dist-types/commands/GetRotationOverrideCommand.d.ts +80 -0
- package/dist-types/commands/ListContactChannelsCommand.d.ts +2 -3
- package/dist-types/commands/ListContactsCommand.d.ts +3 -4
- package/dist-types/commands/ListEngagementsCommand.d.ts +3 -4
- package/dist-types/commands/ListPageReceiptsCommand.d.ts +3 -4
- package/dist-types/commands/ListPageResolutionsCommand.d.ts +84 -0
- package/dist-types/commands/ListPagesByContactCommand.d.ts +2 -3
- package/dist-types/commands/ListPagesByEngagementCommand.d.ts +2 -3
- package/dist-types/commands/ListPreviewRotationShiftsCommand.d.ts +132 -0
- package/dist-types/commands/ListRotationOverridesCommand.d.ts +83 -0
- package/dist-types/commands/ListRotationShiftsCommand.d.ts +86 -0
- package/dist-types/commands/ListRotationsCommand.d.ts +81 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -3
- package/dist-types/commands/PutContactPolicyCommand.d.ts +2 -3
- package/dist-types/commands/SendActivationCodeCommand.d.ts +2 -3
- package/dist-types/commands/StartEngagementCommand.d.ts +2 -3
- package/dist-types/commands/StopEngagementCommand.d.ts +2 -3
- package/dist-types/commands/TagResourceCommand.d.ts +5 -6
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -5
- package/dist-types/commands/UpdateContactChannelCommand.d.ts +3 -4
- package/dist-types/commands/UpdateContactCommand.d.ts +13 -11
- package/dist-types/commands/UpdateRotationCommand.d.ts +123 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +757 -25
- package/dist-types/pagination/ListPageResolutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPreviewRotationShiftsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRotationOverridesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRotationShiftsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRotationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
- package/dist-types/ts3.4/SSMContacts.d.ts +204 -0
- package/dist-types/ts3.4/SSMContactsClient.d.ts +74 -2
- package/dist-types/ts3.4/commands/CreateRotationCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/CreateRotationOverrideCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteRotationCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteRotationOverrideCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetRotationCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetRotationOverrideCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListPageResolutionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListPreviewRotationShiftsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListRotationOverridesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListRotationShiftsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListRotationsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UpdateRotationCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/models/models_0.d.ts +196 -1
- package/dist-types/ts3.4/pagination/ListPageResolutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPreviewRotationShiftsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRotationOverridesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRotationShiftsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRotationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +144 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -11,12 +11,12 @@ AWS SDK for JavaScript SSMContacts Client for Node.js, Browser and React Native.
|
|
|
11
11
|
|
|
12
12
|
<p>Systems Manager Incident Manager is an incident management console designed to help users
|
|
13
13
|
mitigate and recover from incidents affecting their Amazon Web Services-hosted applications.
|
|
14
|
-
An incident is any unplanned interruption or reduction in quality of services
|
|
15
|
-
<p>Incident Manager increases incident resolution by notifying responders of
|
|
16
|
-
highlighting relevant troubleshooting data, and providing collaboration tools to
|
|
17
|
-
services back up and running. To achieve the primary goal of reducing the
|
|
14
|
+
An incident is any unplanned interruption or reduction in quality of services.</p>
|
|
15
|
+
<p>Incident Manager increases incident resolution by notifying responders of
|
|
16
|
+
impact, highlighting relevant troubleshooting data, and providing collaboration tools to
|
|
17
|
+
get services back up and running. To achieve the primary goal of reducing the
|
|
18
18
|
time-to-resolution of critical incidents, Incident Manager automates response plans
|
|
19
|
-
and enables responder team escalation
|
|
19
|
+
and enables responder team escalation.</p>
|
|
20
20
|
|
|
21
21
|
## Installing
|
|
22
22
|
|
|
@@ -244,6 +244,22 @@ CreateContactChannel
|
|
|
244
244
|
|
|
245
245
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/classes/createcontactchannelcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/createcontactchannelcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/createcontactchannelcommandoutput.html)
|
|
246
246
|
|
|
247
|
+
</details>
|
|
248
|
+
<details>
|
|
249
|
+
<summary>
|
|
250
|
+
CreateRotation
|
|
251
|
+
</summary>
|
|
252
|
+
|
|
253
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/classes/createrotationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/createrotationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/createrotationcommandoutput.html)
|
|
254
|
+
|
|
255
|
+
</details>
|
|
256
|
+
<details>
|
|
257
|
+
<summary>
|
|
258
|
+
CreateRotationOverride
|
|
259
|
+
</summary>
|
|
260
|
+
|
|
261
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/classes/createrotationoverridecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/createrotationoverridecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/createrotationoverridecommandoutput.html)
|
|
262
|
+
|
|
247
263
|
</details>
|
|
248
264
|
<details>
|
|
249
265
|
<summary>
|
|
@@ -268,6 +284,22 @@ DeleteContactChannel
|
|
|
268
284
|
|
|
269
285
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/classes/deletecontactchannelcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/deletecontactchannelcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/deletecontactchannelcommandoutput.html)
|
|
270
286
|
|
|
287
|
+
</details>
|
|
288
|
+
<details>
|
|
289
|
+
<summary>
|
|
290
|
+
DeleteRotation
|
|
291
|
+
</summary>
|
|
292
|
+
|
|
293
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/classes/deleterotationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/deleterotationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/deleterotationcommandoutput.html)
|
|
294
|
+
|
|
295
|
+
</details>
|
|
296
|
+
<details>
|
|
297
|
+
<summary>
|
|
298
|
+
DeleteRotationOverride
|
|
299
|
+
</summary>
|
|
300
|
+
|
|
301
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/classes/deleterotationoverridecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/deleterotationoverridecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/deleterotationoverridecommandoutput.html)
|
|
302
|
+
|
|
271
303
|
</details>
|
|
272
304
|
<details>
|
|
273
305
|
<summary>
|
|
@@ -308,6 +340,22 @@ GetContactPolicy
|
|
|
308
340
|
|
|
309
341
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/classes/getcontactpolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/getcontactpolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/getcontactpolicycommandoutput.html)
|
|
310
342
|
|
|
343
|
+
</details>
|
|
344
|
+
<details>
|
|
345
|
+
<summary>
|
|
346
|
+
GetRotation
|
|
347
|
+
</summary>
|
|
348
|
+
|
|
349
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/classes/getrotationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/getrotationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/getrotationcommandoutput.html)
|
|
350
|
+
|
|
351
|
+
</details>
|
|
352
|
+
<details>
|
|
353
|
+
<summary>
|
|
354
|
+
GetRotationOverride
|
|
355
|
+
</summary>
|
|
356
|
+
|
|
357
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/classes/getrotationoverridecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/getrotationoverridecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/getrotationoverridecommandoutput.html)
|
|
358
|
+
|
|
311
359
|
</details>
|
|
312
360
|
<details>
|
|
313
361
|
<summary>
|
|
@@ -340,6 +388,14 @@ ListPageReceipts
|
|
|
340
388
|
|
|
341
389
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/classes/listpagereceiptscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/listpagereceiptscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/listpagereceiptscommandoutput.html)
|
|
342
390
|
|
|
391
|
+
</details>
|
|
392
|
+
<details>
|
|
393
|
+
<summary>
|
|
394
|
+
ListPageResolutions
|
|
395
|
+
</summary>
|
|
396
|
+
|
|
397
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/classes/listpageresolutionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/listpageresolutionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/listpageresolutionscommandoutput.html)
|
|
398
|
+
|
|
343
399
|
</details>
|
|
344
400
|
<details>
|
|
345
401
|
<summary>
|
|
@@ -356,6 +412,38 @@ ListPagesByEngagement
|
|
|
356
412
|
|
|
357
413
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/classes/listpagesbyengagementcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/listpagesbyengagementcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/listpagesbyengagementcommandoutput.html)
|
|
358
414
|
|
|
415
|
+
</details>
|
|
416
|
+
<details>
|
|
417
|
+
<summary>
|
|
418
|
+
ListPreviewRotationShifts
|
|
419
|
+
</summary>
|
|
420
|
+
|
|
421
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/classes/listpreviewrotationshiftscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/listpreviewrotationshiftscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/listpreviewrotationshiftscommandoutput.html)
|
|
422
|
+
|
|
423
|
+
</details>
|
|
424
|
+
<details>
|
|
425
|
+
<summary>
|
|
426
|
+
ListRotationOverrides
|
|
427
|
+
</summary>
|
|
428
|
+
|
|
429
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/classes/listrotationoverridescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/listrotationoverridescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/listrotationoverridescommandoutput.html)
|
|
430
|
+
|
|
431
|
+
</details>
|
|
432
|
+
<details>
|
|
433
|
+
<summary>
|
|
434
|
+
ListRotations
|
|
435
|
+
</summary>
|
|
436
|
+
|
|
437
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/classes/listrotationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/listrotationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/listrotationscommandoutput.html)
|
|
438
|
+
|
|
439
|
+
</details>
|
|
440
|
+
<details>
|
|
441
|
+
<summary>
|
|
442
|
+
ListRotationShifts
|
|
443
|
+
</summary>
|
|
444
|
+
|
|
445
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/classes/listrotationshiftscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/listrotationshiftscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/listrotationshiftscommandoutput.html)
|
|
446
|
+
|
|
359
447
|
</details>
|
|
360
448
|
<details>
|
|
361
449
|
<summary>
|
|
@@ -429,3 +517,11 @@ UpdateContactChannel
|
|
|
429
517
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/classes/updatecontactchannelcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/updatecontactchannelcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/updatecontactchannelcommandoutput.html)
|
|
430
518
|
|
|
431
519
|
</details>
|
|
520
|
+
<details>
|
|
521
|
+
<summary>
|
|
522
|
+
UpdateRotation
|
|
523
|
+
</summary>
|
|
524
|
+
|
|
525
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/classes/updaterotationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/updaterotationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm-contacts/interfaces/updaterotationcommandoutput.html)
|
|
526
|
+
|
|
527
|
+
</details>
|
package/dist-cjs/SSMContacts.js
CHANGED
|
@@ -5,20 +5,31 @@ const AcceptPageCommand_1 = require("./commands/AcceptPageCommand");
|
|
|
5
5
|
const ActivateContactChannelCommand_1 = require("./commands/ActivateContactChannelCommand");
|
|
6
6
|
const CreateContactChannelCommand_1 = require("./commands/CreateContactChannelCommand");
|
|
7
7
|
const CreateContactCommand_1 = require("./commands/CreateContactCommand");
|
|
8
|
+
const CreateRotationCommand_1 = require("./commands/CreateRotationCommand");
|
|
9
|
+
const CreateRotationOverrideCommand_1 = require("./commands/CreateRotationOverrideCommand");
|
|
8
10
|
const DeactivateContactChannelCommand_1 = require("./commands/DeactivateContactChannelCommand");
|
|
9
11
|
const DeleteContactChannelCommand_1 = require("./commands/DeleteContactChannelCommand");
|
|
10
12
|
const DeleteContactCommand_1 = require("./commands/DeleteContactCommand");
|
|
13
|
+
const DeleteRotationCommand_1 = require("./commands/DeleteRotationCommand");
|
|
14
|
+
const DeleteRotationOverrideCommand_1 = require("./commands/DeleteRotationOverrideCommand");
|
|
11
15
|
const DescribeEngagementCommand_1 = require("./commands/DescribeEngagementCommand");
|
|
12
16
|
const DescribePageCommand_1 = require("./commands/DescribePageCommand");
|
|
13
17
|
const GetContactChannelCommand_1 = require("./commands/GetContactChannelCommand");
|
|
14
18
|
const GetContactCommand_1 = require("./commands/GetContactCommand");
|
|
15
19
|
const GetContactPolicyCommand_1 = require("./commands/GetContactPolicyCommand");
|
|
20
|
+
const GetRotationCommand_1 = require("./commands/GetRotationCommand");
|
|
21
|
+
const GetRotationOverrideCommand_1 = require("./commands/GetRotationOverrideCommand");
|
|
16
22
|
const ListContactChannelsCommand_1 = require("./commands/ListContactChannelsCommand");
|
|
17
23
|
const ListContactsCommand_1 = require("./commands/ListContactsCommand");
|
|
18
24
|
const ListEngagementsCommand_1 = require("./commands/ListEngagementsCommand");
|
|
19
25
|
const ListPageReceiptsCommand_1 = require("./commands/ListPageReceiptsCommand");
|
|
26
|
+
const ListPageResolutionsCommand_1 = require("./commands/ListPageResolutionsCommand");
|
|
20
27
|
const ListPagesByContactCommand_1 = require("./commands/ListPagesByContactCommand");
|
|
21
28
|
const ListPagesByEngagementCommand_1 = require("./commands/ListPagesByEngagementCommand");
|
|
29
|
+
const ListPreviewRotationShiftsCommand_1 = require("./commands/ListPreviewRotationShiftsCommand");
|
|
30
|
+
const ListRotationOverridesCommand_1 = require("./commands/ListRotationOverridesCommand");
|
|
31
|
+
const ListRotationsCommand_1 = require("./commands/ListRotationsCommand");
|
|
32
|
+
const ListRotationShiftsCommand_1 = require("./commands/ListRotationShiftsCommand");
|
|
22
33
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
23
34
|
const PutContactPolicyCommand_1 = require("./commands/PutContactPolicyCommand");
|
|
24
35
|
const SendActivationCodeCommand_1 = require("./commands/SendActivationCodeCommand");
|
|
@@ -28,6 +39,7 @@ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
|
28
39
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
29
40
|
const UpdateContactChannelCommand_1 = require("./commands/UpdateContactChannelCommand");
|
|
30
41
|
const UpdateContactCommand_1 = require("./commands/UpdateContactCommand");
|
|
42
|
+
const UpdateRotationCommand_1 = require("./commands/UpdateRotationCommand");
|
|
31
43
|
const SSMContactsClient_1 = require("./SSMContactsClient");
|
|
32
44
|
class SSMContacts extends SSMContactsClient_1.SSMContactsClient {
|
|
33
45
|
acceptPage(args, optionsOrCb, cb) {
|
|
@@ -86,6 +98,34 @@ class SSMContacts extends SSMContactsClient_1.SSMContactsClient {
|
|
|
86
98
|
return this.send(command, optionsOrCb);
|
|
87
99
|
}
|
|
88
100
|
}
|
|
101
|
+
createRotation(args, optionsOrCb, cb) {
|
|
102
|
+
const command = new CreateRotationCommand_1.CreateRotationCommand(args);
|
|
103
|
+
if (typeof optionsOrCb === "function") {
|
|
104
|
+
this.send(command, optionsOrCb);
|
|
105
|
+
}
|
|
106
|
+
else if (typeof cb === "function") {
|
|
107
|
+
if (typeof optionsOrCb !== "object")
|
|
108
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
109
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
110
|
+
}
|
|
111
|
+
else {
|
|
112
|
+
return this.send(command, optionsOrCb);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
createRotationOverride(args, optionsOrCb, cb) {
|
|
116
|
+
const command = new CreateRotationOverrideCommand_1.CreateRotationOverrideCommand(args);
|
|
117
|
+
if (typeof optionsOrCb === "function") {
|
|
118
|
+
this.send(command, optionsOrCb);
|
|
119
|
+
}
|
|
120
|
+
else if (typeof cb === "function") {
|
|
121
|
+
if (typeof optionsOrCb !== "object")
|
|
122
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
123
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
124
|
+
}
|
|
125
|
+
else {
|
|
126
|
+
return this.send(command, optionsOrCb);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
89
129
|
deactivateContactChannel(args, optionsOrCb, cb) {
|
|
90
130
|
const command = new DeactivateContactChannelCommand_1.DeactivateContactChannelCommand(args);
|
|
91
131
|
if (typeof optionsOrCb === "function") {
|
|
@@ -128,6 +168,34 @@ class SSMContacts extends SSMContactsClient_1.SSMContactsClient {
|
|
|
128
168
|
return this.send(command, optionsOrCb);
|
|
129
169
|
}
|
|
130
170
|
}
|
|
171
|
+
deleteRotation(args, optionsOrCb, cb) {
|
|
172
|
+
const command = new DeleteRotationCommand_1.DeleteRotationCommand(args);
|
|
173
|
+
if (typeof optionsOrCb === "function") {
|
|
174
|
+
this.send(command, optionsOrCb);
|
|
175
|
+
}
|
|
176
|
+
else if (typeof cb === "function") {
|
|
177
|
+
if (typeof optionsOrCb !== "object")
|
|
178
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
179
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
180
|
+
}
|
|
181
|
+
else {
|
|
182
|
+
return this.send(command, optionsOrCb);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
deleteRotationOverride(args, optionsOrCb, cb) {
|
|
186
|
+
const command = new DeleteRotationOverrideCommand_1.DeleteRotationOverrideCommand(args);
|
|
187
|
+
if (typeof optionsOrCb === "function") {
|
|
188
|
+
this.send(command, optionsOrCb);
|
|
189
|
+
}
|
|
190
|
+
else if (typeof cb === "function") {
|
|
191
|
+
if (typeof optionsOrCb !== "object")
|
|
192
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
193
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
194
|
+
}
|
|
195
|
+
else {
|
|
196
|
+
return this.send(command, optionsOrCb);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
131
199
|
describeEngagement(args, optionsOrCb, cb) {
|
|
132
200
|
const command = new DescribeEngagementCommand_1.DescribeEngagementCommand(args);
|
|
133
201
|
if (typeof optionsOrCb === "function") {
|
|
@@ -198,6 +266,34 @@ class SSMContacts extends SSMContactsClient_1.SSMContactsClient {
|
|
|
198
266
|
return this.send(command, optionsOrCb);
|
|
199
267
|
}
|
|
200
268
|
}
|
|
269
|
+
getRotation(args, optionsOrCb, cb) {
|
|
270
|
+
const command = new GetRotationCommand_1.GetRotationCommand(args);
|
|
271
|
+
if (typeof optionsOrCb === "function") {
|
|
272
|
+
this.send(command, optionsOrCb);
|
|
273
|
+
}
|
|
274
|
+
else if (typeof cb === "function") {
|
|
275
|
+
if (typeof optionsOrCb !== "object")
|
|
276
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
277
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
278
|
+
}
|
|
279
|
+
else {
|
|
280
|
+
return this.send(command, optionsOrCb);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
getRotationOverride(args, optionsOrCb, cb) {
|
|
284
|
+
const command = new GetRotationOverrideCommand_1.GetRotationOverrideCommand(args);
|
|
285
|
+
if (typeof optionsOrCb === "function") {
|
|
286
|
+
this.send(command, optionsOrCb);
|
|
287
|
+
}
|
|
288
|
+
else if (typeof cb === "function") {
|
|
289
|
+
if (typeof optionsOrCb !== "object")
|
|
290
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
291
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
292
|
+
}
|
|
293
|
+
else {
|
|
294
|
+
return this.send(command, optionsOrCb);
|
|
295
|
+
}
|
|
296
|
+
}
|
|
201
297
|
listContactChannels(args, optionsOrCb, cb) {
|
|
202
298
|
const command = new ListContactChannelsCommand_1.ListContactChannelsCommand(args);
|
|
203
299
|
if (typeof optionsOrCb === "function") {
|
|
@@ -254,6 +350,20 @@ class SSMContacts extends SSMContactsClient_1.SSMContactsClient {
|
|
|
254
350
|
return this.send(command, optionsOrCb);
|
|
255
351
|
}
|
|
256
352
|
}
|
|
353
|
+
listPageResolutions(args, optionsOrCb, cb) {
|
|
354
|
+
const command = new ListPageResolutionsCommand_1.ListPageResolutionsCommand(args);
|
|
355
|
+
if (typeof optionsOrCb === "function") {
|
|
356
|
+
this.send(command, optionsOrCb);
|
|
357
|
+
}
|
|
358
|
+
else if (typeof cb === "function") {
|
|
359
|
+
if (typeof optionsOrCb !== "object")
|
|
360
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
361
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
362
|
+
}
|
|
363
|
+
else {
|
|
364
|
+
return this.send(command, optionsOrCb);
|
|
365
|
+
}
|
|
366
|
+
}
|
|
257
367
|
listPagesByContact(args, optionsOrCb, cb) {
|
|
258
368
|
const command = new ListPagesByContactCommand_1.ListPagesByContactCommand(args);
|
|
259
369
|
if (typeof optionsOrCb === "function") {
|
|
@@ -282,6 +392,62 @@ class SSMContacts extends SSMContactsClient_1.SSMContactsClient {
|
|
|
282
392
|
return this.send(command, optionsOrCb);
|
|
283
393
|
}
|
|
284
394
|
}
|
|
395
|
+
listPreviewRotationShifts(args, optionsOrCb, cb) {
|
|
396
|
+
const command = new ListPreviewRotationShiftsCommand_1.ListPreviewRotationShiftsCommand(args);
|
|
397
|
+
if (typeof optionsOrCb === "function") {
|
|
398
|
+
this.send(command, optionsOrCb);
|
|
399
|
+
}
|
|
400
|
+
else if (typeof cb === "function") {
|
|
401
|
+
if (typeof optionsOrCb !== "object")
|
|
402
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
403
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
404
|
+
}
|
|
405
|
+
else {
|
|
406
|
+
return this.send(command, optionsOrCb);
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
listRotationOverrides(args, optionsOrCb, cb) {
|
|
410
|
+
const command = new ListRotationOverridesCommand_1.ListRotationOverridesCommand(args);
|
|
411
|
+
if (typeof optionsOrCb === "function") {
|
|
412
|
+
this.send(command, optionsOrCb);
|
|
413
|
+
}
|
|
414
|
+
else if (typeof cb === "function") {
|
|
415
|
+
if (typeof optionsOrCb !== "object")
|
|
416
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
417
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
418
|
+
}
|
|
419
|
+
else {
|
|
420
|
+
return this.send(command, optionsOrCb);
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
listRotations(args, optionsOrCb, cb) {
|
|
424
|
+
const command = new ListRotationsCommand_1.ListRotationsCommand(args);
|
|
425
|
+
if (typeof optionsOrCb === "function") {
|
|
426
|
+
this.send(command, optionsOrCb);
|
|
427
|
+
}
|
|
428
|
+
else if (typeof cb === "function") {
|
|
429
|
+
if (typeof optionsOrCb !== "object")
|
|
430
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
431
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
432
|
+
}
|
|
433
|
+
else {
|
|
434
|
+
return this.send(command, optionsOrCb);
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
listRotationShifts(args, optionsOrCb, cb) {
|
|
438
|
+
const command = new ListRotationShiftsCommand_1.ListRotationShiftsCommand(args);
|
|
439
|
+
if (typeof optionsOrCb === "function") {
|
|
440
|
+
this.send(command, optionsOrCb);
|
|
441
|
+
}
|
|
442
|
+
else if (typeof cb === "function") {
|
|
443
|
+
if (typeof optionsOrCb !== "object")
|
|
444
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
445
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
446
|
+
}
|
|
447
|
+
else {
|
|
448
|
+
return this.send(command, optionsOrCb);
|
|
449
|
+
}
|
|
450
|
+
}
|
|
285
451
|
listTagsForResource(args, optionsOrCb, cb) {
|
|
286
452
|
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
287
453
|
if (typeof optionsOrCb === "function") {
|
|
@@ -408,5 +574,19 @@ class SSMContacts extends SSMContactsClient_1.SSMContactsClient {
|
|
|
408
574
|
return this.send(command, optionsOrCb);
|
|
409
575
|
}
|
|
410
576
|
}
|
|
577
|
+
updateRotation(args, optionsOrCb, cb) {
|
|
578
|
+
const command = new UpdateRotationCommand_1.UpdateRotationCommand(args);
|
|
579
|
+
if (typeof optionsOrCb === "function") {
|
|
580
|
+
this.send(command, optionsOrCb);
|
|
581
|
+
}
|
|
582
|
+
else if (typeof cb === "function") {
|
|
583
|
+
if (typeof optionsOrCb !== "object")
|
|
584
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
585
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
586
|
+
}
|
|
587
|
+
else {
|
|
588
|
+
return this.send(command, optionsOrCb);
|
|
589
|
+
}
|
|
590
|
+
}
|
|
411
591
|
}
|
|
412
592
|
exports.SSMContacts = SSMContacts;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateRotationCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class CreateRotationCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateRotationCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "SSMContactsClient";
|
|
27
|
+
const commandName = "CreateRotationCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1CreateRotationCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1CreateRotationCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.CreateRotationCommand = CreateRotationCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateRotationOverrideCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class CreateRotationOverrideCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateRotationOverrideCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "SSMContactsClient";
|
|
27
|
+
const commandName = "CreateRotationOverrideCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1CreateRotationOverrideCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1CreateRotationOverrideCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.CreateRotationOverrideCommand = CreateRotationOverrideCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteRotationCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class DeleteRotationCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteRotationCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "SSMContactsClient";
|
|
27
|
+
const commandName = "DeleteRotationCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DeleteRotationCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteRotationCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.DeleteRotationCommand = DeleteRotationCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteRotationOverrideCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class DeleteRotationOverrideCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteRotationOverrideCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "SSMContactsClient";
|
|
27
|
+
const commandName = "DeleteRotationOverrideCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DeleteRotationOverrideCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteRotationOverrideCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.DeleteRotationOverrideCommand = DeleteRotationOverrideCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetRotationCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class GetRotationCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetRotationCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "SSMContactsClient";
|
|
27
|
+
const commandName = "GetRotationCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1GetRotationCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1GetRotationCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.GetRotationCommand = GetRotationCommand;
|