@aws-sdk/client-mediastore 3.478.0 → 3.481.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/dist-cjs/commands/CreateContainerCommand.js +18 -41
  2. package/dist-cjs/commands/DeleteContainerCommand.js +18 -41
  3. package/dist-cjs/commands/DeleteContainerPolicyCommand.js +18 -41
  4. package/dist-cjs/commands/DeleteCorsPolicyCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteMetricPolicyCommand.js +18 -41
  7. package/dist-cjs/commands/DescribeContainerCommand.js +18 -41
  8. package/dist-cjs/commands/GetContainerPolicyCommand.js +18 -41
  9. package/dist-cjs/commands/GetCorsPolicyCommand.js +18 -41
  10. package/dist-cjs/commands/GetLifecyclePolicyCommand.js +18 -41
  11. package/dist-cjs/commands/GetMetricPolicyCommand.js +18 -41
  12. package/dist-cjs/commands/ListContainersCommand.js +18 -41
  13. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  14. package/dist-cjs/commands/PutContainerPolicyCommand.js +18 -41
  15. package/dist-cjs/commands/PutCorsPolicyCommand.js +18 -41
  16. package/dist-cjs/commands/PutLifecyclePolicyCommand.js +18 -41
  17. package/dist-cjs/commands/PutMetricPolicyCommand.js +18 -41
  18. package/dist-cjs/commands/StartAccessLoggingCommand.js +18 -41
  19. package/dist-cjs/commands/StopAccessLoggingCommand.js +18 -41
  20. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  21. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  22. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  23. package/dist-es/commands/CreateContainerCommand.js +18 -41
  24. package/dist-es/commands/DeleteContainerCommand.js +18 -41
  25. package/dist-es/commands/DeleteContainerPolicyCommand.js +18 -41
  26. package/dist-es/commands/DeleteCorsPolicyCommand.js +18 -41
  27. package/dist-es/commands/DeleteLifecyclePolicyCommand.js +18 -41
  28. package/dist-es/commands/DeleteMetricPolicyCommand.js +18 -41
  29. package/dist-es/commands/DescribeContainerCommand.js +18 -41
  30. package/dist-es/commands/GetContainerPolicyCommand.js +18 -41
  31. package/dist-es/commands/GetCorsPolicyCommand.js +18 -41
  32. package/dist-es/commands/GetLifecyclePolicyCommand.js +18 -41
  33. package/dist-es/commands/GetMetricPolicyCommand.js +18 -41
  34. package/dist-es/commands/ListContainersCommand.js +18 -41
  35. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  36. package/dist-es/commands/PutContainerPolicyCommand.js +18 -41
  37. package/dist-es/commands/PutCorsPolicyCommand.js +18 -41
  38. package/dist-es/commands/PutLifecyclePolicyCommand.js +18 -41
  39. package/dist-es/commands/PutMetricPolicyCommand.js +18 -41
  40. package/dist-es/commands/StartAccessLoggingCommand.js +18 -41
  41. package/dist-es/commands/StopAccessLoggingCommand.js +18 -41
  42. package/dist-es/commands/TagResourceCommand.js +18 -41
  43. package/dist-es/commands/UntagResourceCommand.js +18 -41
  44. package/dist-es/endpoint/EndpointParameters.js +6 -0
  45. package/dist-types/commands/CreateContainerCommand.d.ts +6 -21
  46. package/dist-types/commands/DeleteContainerCommand.d.ts +6 -21
  47. package/dist-types/commands/DeleteContainerPolicyCommand.d.ts +6 -21
  48. package/dist-types/commands/DeleteCorsPolicyCommand.d.ts +6 -21
  49. package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +6 -21
  50. package/dist-types/commands/DeleteMetricPolicyCommand.d.ts +6 -21
  51. package/dist-types/commands/DescribeContainerCommand.d.ts +6 -21
  52. package/dist-types/commands/GetContainerPolicyCommand.d.ts +6 -21
  53. package/dist-types/commands/GetCorsPolicyCommand.d.ts +6 -21
  54. package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +6 -21
  55. package/dist-types/commands/GetMetricPolicyCommand.d.ts +6 -21
  56. package/dist-types/commands/ListContainersCommand.d.ts +6 -21
  57. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  58. package/dist-types/commands/PutContainerPolicyCommand.d.ts +6 -21
  59. package/dist-types/commands/PutCorsPolicyCommand.d.ts +6 -21
  60. package/dist-types/commands/PutLifecyclePolicyCommand.d.ts +6 -21
  61. package/dist-types/commands/PutMetricPolicyCommand.d.ts +6 -21
  62. package/dist-types/commands/StartAccessLoggingCommand.d.ts +6 -21
  63. package/dist-types/commands/StopAccessLoggingCommand.d.ts +6 -21
  64. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  65. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  66. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  67. package/dist-types/ts3.4/commands/CreateContainerCommand.d.ts +14 -23
  68. package/dist-types/ts3.4/commands/DeleteContainerCommand.d.ts +14 -23
  69. package/dist-types/ts3.4/commands/DeleteContainerPolicyCommand.d.ts +12 -24
  70. package/dist-types/ts3.4/commands/DeleteCorsPolicyCommand.d.ts +14 -23
  71. package/dist-types/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +12 -24
  72. package/dist-types/ts3.4/commands/DeleteMetricPolicyCommand.d.ts +14 -23
  73. package/dist-types/ts3.4/commands/DescribeContainerCommand.d.ts +14 -23
  74. package/dist-types/ts3.4/commands/GetContainerPolicyCommand.d.ts +14 -23
  75. package/dist-types/ts3.4/commands/GetCorsPolicyCommand.d.ts +14 -23
  76. package/dist-types/ts3.4/commands/GetLifecyclePolicyCommand.d.ts +14 -23
  77. package/dist-types/ts3.4/commands/GetMetricPolicyCommand.d.ts +14 -23
  78. package/dist-types/ts3.4/commands/ListContainersCommand.d.ts +14 -23
  79. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  80. package/dist-types/ts3.4/commands/PutContainerPolicyCommand.d.ts +14 -23
  81. package/dist-types/ts3.4/commands/PutCorsPolicyCommand.d.ts +14 -23
  82. package/dist-types/ts3.4/commands/PutLifecyclePolicyCommand.d.ts +14 -23
  83. package/dist-types/ts3.4/commands/PutMetricPolicyCommand.d.ts +14 -23
  84. package/dist-types/ts3.4/commands/StartAccessLoggingCommand.d.ts +14 -23
  85. package/dist-types/ts3.4/commands/StopAccessLoggingCommand.d.ts +14 -23
  86. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  87. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  88. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  89. package/package.json +9 -9
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_PutLifecyclePolicyCommand, se_PutLifecyclePolicyCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class PutLifecyclePolicyCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, PutLifecyclePolicyCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaStoreClient";
26
- const commandName = "PutLifecyclePolicyCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaStore_20170901",
35
- operation: "PutLifecyclePolicy",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_PutLifecyclePolicyCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_PutLifecyclePolicyCommand(output, context);
46
- }
7
+ export class PutLifecyclePolicyCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("MediaStore_20170901", "PutLifecyclePolicy", {})
19
+ .n("MediaStoreClient", "PutLifecyclePolicyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_PutLifecyclePolicyCommand)
22
+ .de(de_PutLifecyclePolicyCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_PutMetricPolicyCommand, se_PutMetricPolicyCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class PutMetricPolicyCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, PutMetricPolicyCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaStoreClient";
26
- const commandName = "PutMetricPolicyCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaStore_20170901",
35
- operation: "PutMetricPolicy",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_PutMetricPolicyCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_PutMetricPolicyCommand(output, context);
46
- }
7
+ export class PutMetricPolicyCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("MediaStore_20170901", "PutMetricPolicy", {})
19
+ .n("MediaStoreClient", "PutMetricPolicyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_PutMetricPolicyCommand)
22
+ .de(de_PutMetricPolicyCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_StartAccessLoggingCommand, se_StartAccessLoggingCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class StartAccessLoggingCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, StartAccessLoggingCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaStoreClient";
26
- const commandName = "StartAccessLoggingCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaStore_20170901",
35
- operation: "StartAccessLogging",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_StartAccessLoggingCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StartAccessLoggingCommand(output, context);
46
- }
7
+ export class StartAccessLoggingCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("MediaStore_20170901", "StartAccessLogging", {})
19
+ .n("MediaStoreClient", "StartAccessLoggingCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StartAccessLoggingCommand)
22
+ .de(de_StartAccessLoggingCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_StopAccessLoggingCommand, se_StopAccessLoggingCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class StopAccessLoggingCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, StopAccessLoggingCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaStoreClient";
26
- const commandName = "StopAccessLoggingCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaStore_20170901",
35
- operation: "StopAccessLogging",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_StopAccessLoggingCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StopAccessLoggingCommand(output, context);
46
- }
7
+ export class StopAccessLoggingCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("MediaStore_20170901", "StopAccessLogging", {})
19
+ .n("MediaStoreClient", "StopAccessLoggingCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StopAccessLoggingCommand)
22
+ .de(de_StopAccessLoggingCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class TagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaStoreClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaStore_20170901",
35
- operation: "TagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("MediaStore_20170901", "TagResource", {})
19
+ .n("MediaStoreClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UntagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaStoreClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "MediaStore_20170901",
35
- operation: "UntagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("MediaStore_20170901", "UntagResource", {})
19
+ .n("MediaStoreClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "mediastore",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MediaStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaStoreClient";
5
4
  import { CreateContainerInput, CreateContainerOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateContainerCommandInput extends CreateContainerInput {
21
20
  */
22
21
  export interface CreateContainerCommandOutput extends CreateContainerOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreateContainerCommand_base: {
24
+ new (input: CreateContainerCommandInput): import("@smithy/smithy-client").CommandImpl<CreateContainerCommandInput, CreateContainerCommandOutput, MediaStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a storage container to hold objects. A container is similar to a bucket in
@@ -75,23 +78,5 @@ export interface CreateContainerCommandOutput extends CreateContainerOutput, __M
75
78
  * <p>Base exception class for all service exceptions from MediaStore service.</p>
76
79
  *
77
80
  */
78
- export declare class CreateContainerCommand extends $Command<CreateContainerCommandInput, CreateContainerCommandOutput, MediaStoreClientResolvedConfig> {
79
- readonly input: CreateContainerCommandInput;
80
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
81
- /**
82
- * @public
83
- */
84
- constructor(input: CreateContainerCommandInput);
85
- /**
86
- * @internal
87
- */
88
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateContainerCommandInput, CreateContainerCommandOutput>;
89
- /**
90
- * @internal
91
- */
92
- private serialize;
93
- /**
94
- * @internal
95
- */
96
- private deserialize;
81
+ export declare class CreateContainerCommand extends CreateContainerCommand_base {
97
82
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MediaStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaStoreClient";
5
4
  import { DeleteContainerInput, DeleteContainerOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteContainerCommandInput extends DeleteContainerInput {
21
20
  */
22
21
  export interface DeleteContainerCommandOutput extends DeleteContainerOutput, __MetadataBearer {
23
22
  }
23
+ declare const DeleteContainerCommand_base: {
24
+ new (input: DeleteContainerCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteContainerCommandInput, DeleteContainerCommandOutput, MediaStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the specified container. Before you make a <code>DeleteContainer</code>
@@ -61,23 +64,5 @@ export interface DeleteContainerCommandOutput extends DeleteContainerOutput, __M
61
64
  * <p>Base exception class for all service exceptions from MediaStore service.</p>
62
65
  *
63
66
  */
64
- export declare class DeleteContainerCommand extends $Command<DeleteContainerCommandInput, DeleteContainerCommandOutput, MediaStoreClientResolvedConfig> {
65
- readonly input: DeleteContainerCommandInput;
66
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
67
- /**
68
- * @public
69
- */
70
- constructor(input: DeleteContainerCommandInput);
71
- /**
72
- * @internal
73
- */
74
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteContainerCommandInput, DeleteContainerCommandOutput>;
75
- /**
76
- * @internal
77
- */
78
- private serialize;
79
- /**
80
- * @internal
81
- */
82
- private deserialize;
67
+ export declare class DeleteContainerCommand extends DeleteContainerCommand_base {
83
68
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MediaStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaStoreClient";
5
4
  import { DeleteContainerPolicyInput, DeleteContainerPolicyOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteContainerPolicyCommandInput extends DeleteContainerPolicy
21
20
  */
22
21
  export interface DeleteContainerPolicyCommandOutput extends DeleteContainerPolicyOutput, __MetadataBearer {
23
22
  }
23
+ declare const DeleteContainerPolicyCommand_base: {
24
+ new (input: DeleteContainerPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteContainerPolicyCommandInput, DeleteContainerPolicyCommandOutput, MediaStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the access policy that is associated with the specified container.</p>
@@ -62,23 +65,5 @@ export interface DeleteContainerPolicyCommandOutput extends DeleteContainerPolic
62
65
  * <p>Base exception class for all service exceptions from MediaStore service.</p>
63
66
  *
64
67
  */
65
- export declare class DeleteContainerPolicyCommand extends $Command<DeleteContainerPolicyCommandInput, DeleteContainerPolicyCommandOutput, MediaStoreClientResolvedConfig> {
66
- readonly input: DeleteContainerPolicyCommandInput;
67
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
68
- /**
69
- * @public
70
- */
71
- constructor(input: DeleteContainerPolicyCommandInput);
72
- /**
73
- * @internal
74
- */
75
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteContainerPolicyCommandInput, DeleteContainerPolicyCommandOutput>;
76
- /**
77
- * @internal
78
- */
79
- private serialize;
80
- /**
81
- * @internal
82
- */
83
- private deserialize;
68
+ export declare class DeleteContainerPolicyCommand extends DeleteContainerPolicyCommand_base {
84
69
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MediaStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaStoreClient";
5
4
  import { DeleteCorsPolicyInput, DeleteCorsPolicyOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteCorsPolicyCommandInput extends DeleteCorsPolicyInput {
21
20
  */
22
21
  export interface DeleteCorsPolicyCommandOutput extends DeleteCorsPolicyOutput, __MetadataBearer {
23
22
  }
23
+ declare const DeleteCorsPolicyCommand_base: {
24
+ new (input: DeleteCorsPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteCorsPolicyCommandInput, DeleteCorsPolicyCommandOutput, MediaStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the cross-origin resource sharing (CORS) configuration information that is
@@ -66,23 +69,5 @@ export interface DeleteCorsPolicyCommandOutput extends DeleteCorsPolicyOutput, _
66
69
  * <p>Base exception class for all service exceptions from MediaStore service.</p>
67
70
  *
68
71
  */
69
- export declare class DeleteCorsPolicyCommand extends $Command<DeleteCorsPolicyCommandInput, DeleteCorsPolicyCommandOutput, MediaStoreClientResolvedConfig> {
70
- readonly input: DeleteCorsPolicyCommandInput;
71
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
72
- /**
73
- * @public
74
- */
75
- constructor(input: DeleteCorsPolicyCommandInput);
76
- /**
77
- * @internal
78
- */
79
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteCorsPolicyCommandInput, DeleteCorsPolicyCommandOutput>;
80
- /**
81
- * @internal
82
- */
83
- private serialize;
84
- /**
85
- * @internal
86
- */
87
- private deserialize;
72
+ export declare class DeleteCorsPolicyCommand extends DeleteCorsPolicyCommand_base {
88
73
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MediaStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaStoreClient";
5
4
  import { DeleteLifecyclePolicyInput, DeleteLifecyclePolicyOutput } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteLifecyclePolicyCommandInput extends DeleteLifecyclePolicy
21
20
  */
22
21
  export interface DeleteLifecyclePolicyCommandOutput extends DeleteLifecyclePolicyOutput, __MetadataBearer {
23
22
  }
23
+ declare const DeleteLifecyclePolicyCommand_base: {
24
+ new (input: DeleteLifecyclePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput, MediaStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Removes an object lifecycle policy from a container. It takes up to 20 minutes for the change to take effect.</p>
@@ -62,23 +65,5 @@ export interface DeleteLifecyclePolicyCommandOutput extends DeleteLifecyclePolic
62
65
  * <p>Base exception class for all service exceptions from MediaStore service.</p>
63
66
  *
64
67
  */
65
- export declare class DeleteLifecyclePolicyCommand extends $Command<DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput, MediaStoreClientResolvedConfig> {
66
- readonly input: DeleteLifecyclePolicyCommandInput;
67
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
68
- /**
69
- * @public
70
- */
71
- constructor(input: DeleteLifecyclePolicyCommandInput);
72
- /**
73
- * @internal
74
- */
75
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaStoreClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput>;
76
- /**
77
- * @internal
78
- */
79
- private serialize;
80
- /**
81
- * @internal
82
- */
83
- private deserialize;
68
+ export declare class DeleteLifecyclePolicyCommand extends DeleteLifecyclePolicyCommand_base {
84
69
  }