@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
@@ -2,20 +2,31 @@ import { AcceptPageCommand } from "./commands/AcceptPageCommand";
2
2
  import { ActivateContactChannelCommand, } from "./commands/ActivateContactChannelCommand";
3
3
  import { CreateContactChannelCommand, } from "./commands/CreateContactChannelCommand";
4
4
  import { CreateContactCommand, } from "./commands/CreateContactCommand";
5
+ import { CreateRotationCommand, } from "./commands/CreateRotationCommand";
6
+ import { CreateRotationOverrideCommand, } from "./commands/CreateRotationOverrideCommand";
5
7
  import { DeactivateContactChannelCommand, } from "./commands/DeactivateContactChannelCommand";
6
8
  import { DeleteContactChannelCommand, } from "./commands/DeleteContactChannelCommand";
7
9
  import { DeleteContactCommand, } from "./commands/DeleteContactCommand";
10
+ import { DeleteRotationCommand, } from "./commands/DeleteRotationCommand";
11
+ import { DeleteRotationOverrideCommand, } from "./commands/DeleteRotationOverrideCommand";
8
12
  import { DescribeEngagementCommand, } from "./commands/DescribeEngagementCommand";
9
13
  import { DescribePageCommand, } from "./commands/DescribePageCommand";
10
14
  import { GetContactChannelCommand, } from "./commands/GetContactChannelCommand";
11
15
  import { GetContactCommand } from "./commands/GetContactCommand";
12
16
  import { GetContactPolicyCommand, } from "./commands/GetContactPolicyCommand";
17
+ import { GetRotationCommand } from "./commands/GetRotationCommand";
18
+ import { GetRotationOverrideCommand, } from "./commands/GetRotationOverrideCommand";
13
19
  import { ListContactChannelsCommand, } from "./commands/ListContactChannelsCommand";
14
20
  import { ListContactsCommand, } from "./commands/ListContactsCommand";
15
21
  import { ListEngagementsCommand, } from "./commands/ListEngagementsCommand";
16
22
  import { ListPageReceiptsCommand, } from "./commands/ListPageReceiptsCommand";
23
+ import { ListPageResolutionsCommand, } from "./commands/ListPageResolutionsCommand";
17
24
  import { ListPagesByContactCommand, } from "./commands/ListPagesByContactCommand";
18
25
  import { ListPagesByEngagementCommand, } from "./commands/ListPagesByEngagementCommand";
26
+ import { ListPreviewRotationShiftsCommand, } from "./commands/ListPreviewRotationShiftsCommand";
27
+ import { ListRotationOverridesCommand, } from "./commands/ListRotationOverridesCommand";
28
+ import { ListRotationsCommand, } from "./commands/ListRotationsCommand";
29
+ import { ListRotationShiftsCommand, } from "./commands/ListRotationShiftsCommand";
19
30
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
20
31
  import { PutContactPolicyCommand, } from "./commands/PutContactPolicyCommand";
21
32
  import { SendActivationCodeCommand, } from "./commands/SendActivationCodeCommand";
@@ -25,6 +36,7 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
25
36
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
26
37
  import { UpdateContactChannelCommand, } from "./commands/UpdateContactChannelCommand";
27
38
  import { UpdateContactCommand, } from "./commands/UpdateContactCommand";
39
+ import { UpdateRotationCommand, } from "./commands/UpdateRotationCommand";
28
40
  import { SSMContactsClient } from "./SSMContactsClient";
29
41
  export class SSMContacts extends SSMContactsClient {
30
42
  acceptPage(args, optionsOrCb, cb) {
@@ -83,6 +95,34 @@ export class SSMContacts extends SSMContactsClient {
83
95
  return this.send(command, optionsOrCb);
84
96
  }
85
97
  }
98
+ createRotation(args, optionsOrCb, cb) {
99
+ const command = new CreateRotationCommand(args);
100
+ if (typeof optionsOrCb === "function") {
101
+ this.send(command, optionsOrCb);
102
+ }
103
+ else if (typeof cb === "function") {
104
+ if (typeof optionsOrCb !== "object")
105
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
106
+ this.send(command, optionsOrCb || {}, cb);
107
+ }
108
+ else {
109
+ return this.send(command, optionsOrCb);
110
+ }
111
+ }
112
+ createRotationOverride(args, optionsOrCb, cb) {
113
+ const command = new CreateRotationOverrideCommand(args);
114
+ if (typeof optionsOrCb === "function") {
115
+ this.send(command, optionsOrCb);
116
+ }
117
+ else if (typeof cb === "function") {
118
+ if (typeof optionsOrCb !== "object")
119
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
120
+ this.send(command, optionsOrCb || {}, cb);
121
+ }
122
+ else {
123
+ return this.send(command, optionsOrCb);
124
+ }
125
+ }
86
126
  deactivateContactChannel(args, optionsOrCb, cb) {
87
127
  const command = new DeactivateContactChannelCommand(args);
88
128
  if (typeof optionsOrCb === "function") {
@@ -125,6 +165,34 @@ export class SSMContacts extends SSMContactsClient {
125
165
  return this.send(command, optionsOrCb);
126
166
  }
127
167
  }
168
+ deleteRotation(args, optionsOrCb, cb) {
169
+ const command = new DeleteRotationCommand(args);
170
+ if (typeof optionsOrCb === "function") {
171
+ this.send(command, optionsOrCb);
172
+ }
173
+ else if (typeof cb === "function") {
174
+ if (typeof optionsOrCb !== "object")
175
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
176
+ this.send(command, optionsOrCb || {}, cb);
177
+ }
178
+ else {
179
+ return this.send(command, optionsOrCb);
180
+ }
181
+ }
182
+ deleteRotationOverride(args, optionsOrCb, cb) {
183
+ const command = new DeleteRotationOverrideCommand(args);
184
+ if (typeof optionsOrCb === "function") {
185
+ this.send(command, optionsOrCb);
186
+ }
187
+ else if (typeof cb === "function") {
188
+ if (typeof optionsOrCb !== "object")
189
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
190
+ this.send(command, optionsOrCb || {}, cb);
191
+ }
192
+ else {
193
+ return this.send(command, optionsOrCb);
194
+ }
195
+ }
128
196
  describeEngagement(args, optionsOrCb, cb) {
129
197
  const command = new DescribeEngagementCommand(args);
130
198
  if (typeof optionsOrCb === "function") {
@@ -195,6 +263,34 @@ export class SSMContacts extends SSMContactsClient {
195
263
  return this.send(command, optionsOrCb);
196
264
  }
197
265
  }
266
+ getRotation(args, optionsOrCb, cb) {
267
+ const command = new GetRotationCommand(args);
268
+ if (typeof optionsOrCb === "function") {
269
+ this.send(command, optionsOrCb);
270
+ }
271
+ else if (typeof cb === "function") {
272
+ if (typeof optionsOrCb !== "object")
273
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
274
+ this.send(command, optionsOrCb || {}, cb);
275
+ }
276
+ else {
277
+ return this.send(command, optionsOrCb);
278
+ }
279
+ }
280
+ getRotationOverride(args, optionsOrCb, cb) {
281
+ const command = new GetRotationOverrideCommand(args);
282
+ if (typeof optionsOrCb === "function") {
283
+ this.send(command, optionsOrCb);
284
+ }
285
+ else if (typeof cb === "function") {
286
+ if (typeof optionsOrCb !== "object")
287
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
288
+ this.send(command, optionsOrCb || {}, cb);
289
+ }
290
+ else {
291
+ return this.send(command, optionsOrCb);
292
+ }
293
+ }
198
294
  listContactChannels(args, optionsOrCb, cb) {
199
295
  const command = new ListContactChannelsCommand(args);
200
296
  if (typeof optionsOrCb === "function") {
@@ -251,6 +347,20 @@ export class SSMContacts extends SSMContactsClient {
251
347
  return this.send(command, optionsOrCb);
252
348
  }
253
349
  }
350
+ listPageResolutions(args, optionsOrCb, cb) {
351
+ const command = new ListPageResolutionsCommand(args);
352
+ if (typeof optionsOrCb === "function") {
353
+ this.send(command, optionsOrCb);
354
+ }
355
+ else if (typeof cb === "function") {
356
+ if (typeof optionsOrCb !== "object")
357
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
358
+ this.send(command, optionsOrCb || {}, cb);
359
+ }
360
+ else {
361
+ return this.send(command, optionsOrCb);
362
+ }
363
+ }
254
364
  listPagesByContact(args, optionsOrCb, cb) {
255
365
  const command = new ListPagesByContactCommand(args);
256
366
  if (typeof optionsOrCb === "function") {
@@ -279,6 +389,62 @@ export class SSMContacts extends SSMContactsClient {
279
389
  return this.send(command, optionsOrCb);
280
390
  }
281
391
  }
392
+ listPreviewRotationShifts(args, optionsOrCb, cb) {
393
+ const command = new ListPreviewRotationShiftsCommand(args);
394
+ if (typeof optionsOrCb === "function") {
395
+ this.send(command, optionsOrCb);
396
+ }
397
+ else if (typeof cb === "function") {
398
+ if (typeof optionsOrCb !== "object")
399
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
400
+ this.send(command, optionsOrCb || {}, cb);
401
+ }
402
+ else {
403
+ return this.send(command, optionsOrCb);
404
+ }
405
+ }
406
+ listRotationOverrides(args, optionsOrCb, cb) {
407
+ const command = new ListRotationOverridesCommand(args);
408
+ if (typeof optionsOrCb === "function") {
409
+ this.send(command, optionsOrCb);
410
+ }
411
+ else if (typeof cb === "function") {
412
+ if (typeof optionsOrCb !== "object")
413
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
414
+ this.send(command, optionsOrCb || {}, cb);
415
+ }
416
+ else {
417
+ return this.send(command, optionsOrCb);
418
+ }
419
+ }
420
+ listRotations(args, optionsOrCb, cb) {
421
+ const command = new ListRotationsCommand(args);
422
+ if (typeof optionsOrCb === "function") {
423
+ this.send(command, optionsOrCb);
424
+ }
425
+ else if (typeof cb === "function") {
426
+ if (typeof optionsOrCb !== "object")
427
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
428
+ this.send(command, optionsOrCb || {}, cb);
429
+ }
430
+ else {
431
+ return this.send(command, optionsOrCb);
432
+ }
433
+ }
434
+ listRotationShifts(args, optionsOrCb, cb) {
435
+ const command = new ListRotationShiftsCommand(args);
436
+ if (typeof optionsOrCb === "function") {
437
+ this.send(command, optionsOrCb);
438
+ }
439
+ else if (typeof cb === "function") {
440
+ if (typeof optionsOrCb !== "object")
441
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
442
+ this.send(command, optionsOrCb || {}, cb);
443
+ }
444
+ else {
445
+ return this.send(command, optionsOrCb);
446
+ }
447
+ }
282
448
  listTagsForResource(args, optionsOrCb, cb) {
283
449
  const command = new ListTagsForResourceCommand(args);
284
450
  if (typeof optionsOrCb === "function") {
@@ -405,4 +571,18 @@ export class SSMContacts extends SSMContactsClient {
405
571
  return this.send(command, optionsOrCb);
406
572
  }
407
573
  }
574
+ updateRotation(args, optionsOrCb, cb) {
575
+ const command = new UpdateRotationCommand(args);
576
+ if (typeof optionsOrCb === "function") {
577
+ this.send(command, optionsOrCb);
578
+ }
579
+ else if (typeof cb === "function") {
580
+ if (typeof optionsOrCb !== "object")
581
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
582
+ this.send(command, optionsOrCb || {}, cb);
583
+ }
584
+ else {
585
+ return this.send(command, optionsOrCb);
586
+ }
587
+ }
408
588
  }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { deserializeAws_json1_1CreateRotationCommand, serializeAws_json1_1CreateRotationCommand, } from "../protocols/Aws_json1_1";
5
+ export class CreateRotationCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateRotationCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "SSMContactsClient";
24
+ const commandName = "CreateRotationCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_json1_1CreateRotationCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_json1_1CreateRotationCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { deserializeAws_json1_1CreateRotationOverrideCommand, serializeAws_json1_1CreateRotationOverrideCommand, } from "../protocols/Aws_json1_1";
5
+ export class CreateRotationOverrideCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateRotationOverrideCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "SSMContactsClient";
24
+ const commandName = "CreateRotationOverrideCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_json1_1CreateRotationOverrideCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_json1_1CreateRotationOverrideCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { deserializeAws_json1_1DeleteRotationCommand, serializeAws_json1_1DeleteRotationCommand, } from "../protocols/Aws_json1_1";
5
+ export class DeleteRotationCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteRotationCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "SSMContactsClient";
24
+ const commandName = "DeleteRotationCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_json1_1DeleteRotationCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_json1_1DeleteRotationCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { deserializeAws_json1_1DeleteRotationOverrideCommand, serializeAws_json1_1DeleteRotationOverrideCommand, } from "../protocols/Aws_json1_1";
5
+ export class DeleteRotationOverrideCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteRotationOverrideCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "SSMContactsClient";
24
+ const commandName = "DeleteRotationOverrideCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_json1_1DeleteRotationOverrideCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_json1_1DeleteRotationOverrideCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { deserializeAws_json1_1GetRotationCommand, serializeAws_json1_1GetRotationCommand, } from "../protocols/Aws_json1_1";
5
+ export class GetRotationCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetRotationCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "SSMContactsClient";
24
+ const commandName = "GetRotationCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_json1_1GetRotationCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_json1_1GetRotationCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { deserializeAws_json1_1GetRotationOverrideCommand, serializeAws_json1_1GetRotationOverrideCommand, } from "../protocols/Aws_json1_1";
5
+ export class GetRotationOverrideCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetRotationOverrideCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "SSMContactsClient";
24
+ const commandName = "GetRotationOverrideCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_json1_1GetRotationOverrideCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_json1_1GetRotationOverrideCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { deserializeAws_json1_1ListPageResolutionsCommand, serializeAws_json1_1ListPageResolutionsCommand, } from "../protocols/Aws_json1_1";
5
+ export class ListPageResolutionsCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListPageResolutionsCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "SSMContactsClient";
24
+ const commandName = "ListPageResolutionsCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_json1_1ListPageResolutionsCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_json1_1ListPageResolutionsCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { deserializeAws_json1_1ListPreviewRotationShiftsCommand, serializeAws_json1_1ListPreviewRotationShiftsCommand, } from "../protocols/Aws_json1_1";
5
+ export class ListPreviewRotationShiftsCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListPreviewRotationShiftsCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "SSMContactsClient";
24
+ const commandName = "ListPreviewRotationShiftsCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_json1_1ListPreviewRotationShiftsCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_json1_1ListPreviewRotationShiftsCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { deserializeAws_json1_1ListRotationOverridesCommand, serializeAws_json1_1ListRotationOverridesCommand, } from "../protocols/Aws_json1_1";
5
+ export class ListRotationOverridesCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListRotationOverridesCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "SSMContactsClient";
24
+ const commandName = "ListRotationOverridesCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_json1_1ListRotationOverridesCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_json1_1ListRotationOverridesCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { deserializeAws_json1_1ListRotationShiftsCommand, serializeAws_json1_1ListRotationShiftsCommand, } from "../protocols/Aws_json1_1";
5
+ export class ListRotationShiftsCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListRotationShiftsCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "SSMContactsClient";
24
+ const commandName = "ListRotationShiftsCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_json1_1ListRotationShiftsCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_json1_1ListRotationShiftsCommand(output, context);
40
+ }
41
+ }