@aws-sdk/client-mediastore 3.35.0 → 3.38.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/CHANGELOG.md +47 -0
- package/dist-cjs/MediaStore.js +0 -5
- package/dist-cjs/MediaStoreClient.js +0 -10
- package/dist-cjs/commands/CreateContainerCommand.js +0 -26
- package/dist-cjs/commands/DeleteContainerCommand.js +0 -27
- package/dist-cjs/commands/DeleteContainerPolicyCommand.js +0 -25
- package/dist-cjs/commands/DeleteCorsPolicyCommand.js +0 -29
- package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +0 -25
- package/dist-cjs/commands/DeleteMetricPolicyCommand.js +0 -25
- package/dist-cjs/commands/DescribeContainerCommand.js +0 -31
- package/dist-cjs/commands/GetContainerPolicyCommand.js +0 -27
- package/dist-cjs/commands/GetCorsPolicyCommand.js +0 -29
- package/dist-cjs/commands/GetLifecyclePolicyCommand.js +0 -25
- package/dist-cjs/commands/GetMetricPolicyCommand.js +0 -25
- package/dist-cjs/commands/ListContainersCommand.js +0 -33
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/PutContainerPolicyCommand.js +0 -31
- package/dist-cjs/commands/PutCorsPolicyCommand.js +0 -35
- package/dist-cjs/commands/PutLifecyclePolicyCommand.js +0 -26
- package/dist-cjs/commands/PutMetricPolicyCommand.js +0 -25
- package/dist-cjs/commands/StartAccessLoggingCommand.js +0 -25
- package/dist-cjs/commands/StopAccessLoggingCommand.js +0 -25
- package/dist-cjs/commands/TagResourceCommand.js +0 -27
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/index.js +24 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -26
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -160
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListContainersPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/MediaStore.js +0 -1
- package/dist-es/MediaStoreClient.js +0 -1
- package/dist-es/commands/CreateContainerCommand.js +0 -1
- package/dist-es/commands/DeleteContainerCommand.js +0 -1
- package/dist-es/commands/DeleteContainerPolicyCommand.js +0 -1
- package/dist-es/commands/DeleteCorsPolicyCommand.js +0 -1
- package/dist-es/commands/DeleteLifecyclePolicyCommand.js +0 -1
- package/dist-es/commands/DeleteMetricPolicyCommand.js +0 -1
- package/dist-es/commands/DescribeContainerCommand.js +0 -1
- package/dist-es/commands/GetContainerPolicyCommand.js +0 -1
- package/dist-es/commands/GetCorsPolicyCommand.js +0 -1
- package/dist-es/commands/GetLifecyclePolicyCommand.js +0 -1
- package/dist-es/commands/GetMetricPolicyCommand.js +0 -1
- package/dist-es/commands/ListContainersCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/PutContainerPolicyCommand.js +0 -1
- package/dist-es/commands/PutCorsPolicyCommand.js +0 -1
- package/dist-es/commands/PutLifecyclePolicyCommand.js +0 -1
- package/dist-es/commands/PutMetricPolicyCommand.js +0 -1
- package/dist-es/commands/StartAccessLoggingCommand.js +0 -1
- package/dist-es/commands/StopAccessLoggingCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/index.js +21 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -26
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListContainersPaginator.js +0 -1
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +21 -0
- package/dist-types/index.d.ts +4 -25
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/MediaStore.d.ts +22 -113
- package/dist-types/ts3.4/MediaStoreClient.d.ts +24 -90
- package/dist-types/ts3.4/commands/CreateContainerCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteContainerCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteContainerPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteCorsPolicyCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteMetricPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeContainerCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/GetContainerPolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetCorsPolicyCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetLifecyclePolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetMetricPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListContainersCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutContainerPolicyCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/PutCorsPolicyCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/PutLifecyclePolicyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/PutMetricPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StartAccessLoggingCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StopAccessLoggingCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +21 -0
- package/dist-types/ts3.4/index.d.ts +4 -25
- package/dist-types/ts3.4/models/models_0.d.ts +14 -746
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/MediaStore.js.map +0 -1
- package/dist-cjs/MediaStoreClient.js.map +0 -1
- package/dist-cjs/commands/CreateContainerCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteContainerCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteContainerPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteCorsPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteMetricPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeContainerCommand.js.map +0 -1
- package/dist-cjs/commands/GetContainerPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/GetCorsPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/GetLifecyclePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/GetMetricPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/ListContainersCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/PutContainerPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/PutCorsPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/PutLifecyclePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/PutMetricPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/StartAccessLoggingCommand.js.map +0 -1
- package/dist-cjs/commands/StopAccessLoggingCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListContainersPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/MediaStore.js.map +0 -1
- package/dist-es/MediaStoreClient.js.map +0 -1
- package/dist-es/commands/CreateContainerCommand.js.map +0 -1
- package/dist-es/commands/DeleteContainerCommand.js.map +0 -1
- package/dist-es/commands/DeleteContainerPolicyCommand.js.map +0 -1
- package/dist-es/commands/DeleteCorsPolicyCommand.js.map +0 -1
- package/dist-es/commands/DeleteLifecyclePolicyCommand.js.map +0 -1
- package/dist-es/commands/DeleteMetricPolicyCommand.js.map +0 -1
- package/dist-es/commands/DescribeContainerCommand.js.map +0 -1
- package/dist-es/commands/GetContainerPolicyCommand.js.map +0 -1
- package/dist-es/commands/GetCorsPolicyCommand.js.map +0 -1
- package/dist-es/commands/GetLifecyclePolicyCommand.js.map +0 -1
- package/dist-es/commands/GetMetricPolicyCommand.js.map +0 -1
- package/dist-es/commands/ListContainersCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/PutContainerPolicyCommand.js.map +0 -1
- package/dist-es/commands/PutCorsPolicyCommand.js.map +0 -1
- package/dist-es/commands/PutLifecyclePolicyCommand.js.map +0 -1
- package/dist-es/commands/PutMetricPolicyCommand.js.map +0 -1
- package/dist-es/commands/StartAccessLoggingCommand.js.map +0 -1
- package/dist-es/commands/StopAccessLoggingCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListContainersPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/MediaStore.ts +0 -822
- package/src/MediaStoreClient.ts +0 -309
- package/src/commands/CreateContainerCommand.ts +0 -96
- package/src/commands/DeleteContainerCommand.ts +0 -97
- package/src/commands/DeleteContainerPolicyCommand.ts +0 -95
- package/src/commands/DeleteCorsPolicyCommand.ts +0 -99
- package/src/commands/DeleteLifecyclePolicyCommand.ts +0 -95
- package/src/commands/DeleteMetricPolicyCommand.ts +0 -95
- package/src/commands/DescribeContainerCommand.ts +0 -101
- package/src/commands/GetContainerPolicyCommand.ts +0 -97
- package/src/commands/GetCorsPolicyCommand.ts +0 -99
- package/src/commands/GetLifecyclePolicyCommand.ts +0 -95
- package/src/commands/GetMetricPolicyCommand.ts +0 -95
- package/src/commands/ListContainersCommand.ts +0 -103
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/PutContainerPolicyCommand.ts +0 -101
- package/src/commands/PutCorsPolicyCommand.ts +0 -105
- package/src/commands/PutLifecyclePolicyCommand.ts +0 -96
- package/src/commands/PutMetricPolicyCommand.ts +0 -95
- package/src/commands/StartAccessLoggingCommand.ts +0 -95
- package/src/commands/StopAccessLoggingCommand.ts +0 -95
- package/src/commands/TagResourceCommand.ts +0 -97
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -26
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -1013
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListContainersPaginator.ts +0 -59
- package/src/protocols/Aws_json1_1.ts +0 -2693
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
|
|
12
|
+
* **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Features
|
|
44
|
+
|
|
45
|
+
* publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
|
|
46
|
+
* **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
|
|
47
|
+
* **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
|
|
7
54
|
|
|
8
55
|
|
package/dist-cjs/MediaStore.js
CHANGED
|
@@ -23,10 +23,6 @@ const StopAccessLoggingCommand_1 = require("./commands/StopAccessLoggingCommand"
|
|
|
23
23
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
24
24
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
25
25
|
const MediaStoreClient_1 = require("./MediaStoreClient");
|
|
26
|
-
/**
|
|
27
|
-
* <p>An AWS Elemental MediaStore container is a namespace that holds folders and objects.
|
|
28
|
-
* You use a container endpoint to create, read, and delete objects. </p>
|
|
29
|
-
*/
|
|
30
26
|
class MediaStore extends MediaStoreClient_1.MediaStoreClient {
|
|
31
27
|
createContainer(args, optionsOrCb, cb) {
|
|
32
28
|
const command = new CreateContainerCommand_1.CreateContainerCommand(args);
|
|
@@ -324,4 +320,3 @@ class MediaStore extends MediaStoreClient_1.MediaStoreClient {
|
|
|
324
320
|
}
|
|
325
321
|
}
|
|
326
322
|
exports.MediaStore = MediaStore;
|
|
327
|
-
//# sourceMappingURL=MediaStore.js.map
|
|
@@ -10,10 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
10
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
-
/**
|
|
14
|
-
* <p>An AWS Elemental MediaStore container is a namespace that holds folders and objects.
|
|
15
|
-
* You use a container endpoint to create, read, and delete objects. </p>
|
|
16
|
-
*/
|
|
17
13
|
class MediaStoreClient extends smithy_client_1.Client {
|
|
18
14
|
constructor(configuration) {
|
|
19
15
|
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
@@ -32,14 +28,8 @@ class MediaStoreClient extends smithy_client_1.Client {
|
|
|
32
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
33
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
34
30
|
}
|
|
35
|
-
/**
|
|
36
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
37
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
38
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
39
|
-
*/
|
|
40
31
|
destroy() {
|
|
41
32
|
super.destroy();
|
|
42
33
|
}
|
|
43
34
|
}
|
|
44
35
|
exports.MediaStoreClient = MediaStoreClient;
|
|
45
|
-
//# sourceMappingURL=MediaStoreClient.js.map
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Creates a storage container to hold objects. A container is similar to a bucket in
|
|
10
|
-
* the Amazon S3 service.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { MediaStoreClient, CreateContainerCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
15
|
-
* // const { MediaStoreClient, CreateContainerCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
16
|
-
* const client = new MediaStoreClient(config);
|
|
17
|
-
* const command = new CreateContainerCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateContainerCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateContainerCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MediaStoreClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class CreateContainerCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class CreateContainerCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.CreateContainerCommand = CreateContainerCommand;
|
|
62
|
-
//# sourceMappingURL=CreateContainerCommand.js.map
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes the specified container. Before you make a <code>DeleteContainer</code>
|
|
10
|
-
* request, delete any objects in the container or in any folders in the container. You can
|
|
11
|
-
* delete only empty containers. </p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { MediaStoreClient, DeleteContainerCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
16
|
-
* // const { MediaStoreClient, DeleteContainerCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
17
|
-
* const client = new MediaStoreClient(config);
|
|
18
|
-
* const command = new DeleteContainerCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DeleteContainerCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DeleteContainerCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link MediaStoreClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class DeleteContainerCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -60,4 +34,3 @@ class DeleteContainerCommand extends smithy_client_1.Command {
|
|
|
60
34
|
}
|
|
61
35
|
}
|
|
62
36
|
exports.DeleteContainerCommand = DeleteContainerCommand;
|
|
63
|
-
//# sourceMappingURL=DeleteContainerCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes the access policy that is associated with the specified container.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { MediaStoreClient, DeleteContainerPolicyCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
14
|
-
* // const { MediaStoreClient, DeleteContainerPolicyCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
15
|
-
* const client = new MediaStoreClient(config);
|
|
16
|
-
* const command = new DeleteContainerPolicyCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteContainerPolicyCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteContainerPolicyCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link MediaStoreClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteContainerPolicyCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class DeleteContainerPolicyCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.DeleteContainerPolicyCommand = DeleteContainerPolicyCommand;
|
|
61
|
-
//# sourceMappingURL=DeleteContainerPolicyCommand.js.map
|
|
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes the cross-origin resource sharing (CORS) configuration information that is
|
|
10
|
-
* set for the container.</p>
|
|
11
|
-
* <p>To use this operation, you must have permission to perform the
|
|
12
|
-
* <code>MediaStore:DeleteCorsPolicy</code> action. The container owner has this permission
|
|
13
|
-
* by default and can grant this permission to others.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { MediaStoreClient, DeleteCorsPolicyCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
18
|
-
* // const { MediaStoreClient, DeleteCorsPolicyCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
19
|
-
* const client = new MediaStoreClient(config);
|
|
20
|
-
* const command = new DeleteCorsPolicyCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link DeleteCorsPolicyCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link DeleteCorsPolicyCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link MediaStoreClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class DeleteCorsPolicyCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
10
|
super();
|
|
35
11
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +34,3 @@ class DeleteCorsPolicyCommand extends smithy_client_1.Command {
|
|
|
62
34
|
}
|
|
63
35
|
}
|
|
64
36
|
exports.DeleteCorsPolicyCommand = DeleteCorsPolicyCommand;
|
|
65
|
-
//# sourceMappingURL=DeleteCorsPolicyCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Removes an object lifecycle policy from a container. It takes up to 20 minutes for the change to take effect.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { MediaStoreClient, DeleteLifecyclePolicyCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
14
|
-
* // const { MediaStoreClient, DeleteLifecyclePolicyCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
15
|
-
* const client = new MediaStoreClient(config);
|
|
16
|
-
* const command = new DeleteLifecyclePolicyCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteLifecyclePolicyCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteLifecyclePolicyCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link MediaStoreClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteLifecyclePolicyCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class DeleteLifecyclePolicyCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.DeleteLifecyclePolicyCommand = DeleteLifecyclePolicyCommand;
|
|
61
|
-
//# sourceMappingURL=DeleteLifecyclePolicyCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes the metric policy that is associated with the specified container. If there is no metric policy associated with the container, MediaStore doesn't send metrics to CloudWatch.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { MediaStoreClient, DeleteMetricPolicyCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
14
|
-
* // const { MediaStoreClient, DeleteMetricPolicyCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
15
|
-
* const client = new MediaStoreClient(config);
|
|
16
|
-
* const command = new DeleteMetricPolicyCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteMetricPolicyCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteMetricPolicyCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link MediaStoreClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteMetricPolicyCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class DeleteMetricPolicyCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.DeleteMetricPolicyCommand = DeleteMetricPolicyCommand;
|
|
61
|
-
//# sourceMappingURL=DeleteMetricPolicyCommand.js.map
|
|
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves the properties of the requested container. This request is commonly used to
|
|
10
|
-
* retrieve the endpoint of a container. An endpoint is a value assigned by the service when a
|
|
11
|
-
* new container is created. A container's endpoint does not change after it has been
|
|
12
|
-
* assigned. The <code>DescribeContainer</code> request returns a single
|
|
13
|
-
* <code>Container</code> object based on <code>ContainerName</code>. To return all
|
|
14
|
-
* <code>Container</code> objects that are associated with a specified AWS account, use
|
|
15
|
-
* <a>ListContainers</a>.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { MediaStoreClient, DescribeContainerCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
20
|
-
* // const { MediaStoreClient, DescribeContainerCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
21
|
-
* const client = new MediaStoreClient(config);
|
|
22
|
-
* const command = new DescribeContainerCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link DescribeContainerCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link DescribeContainerCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link MediaStoreClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
8
|
class DescribeContainerCommand extends smithy_client_1.Command {
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
9
|
constructor(input) {
|
|
35
|
-
// Start section: command_constructor
|
|
36
10
|
super();
|
|
37
11
|
this.input = input;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -64,4 +34,3 @@ class DescribeContainerCommand extends smithy_client_1.Command {
|
|
|
64
34
|
}
|
|
65
35
|
}
|
|
66
36
|
exports.DescribeContainerCommand = DescribeContainerCommand;
|
|
67
|
-
//# sourceMappingURL=DescribeContainerCommand.js.map
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves the access policy for the specified container. For information about the
|
|
10
|
-
* data that is included in an access policy, see the <a href="https://aws.amazon.com/documentation/iam/">AWS Identity and Access Management User
|
|
11
|
-
* Guide</a>.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { MediaStoreClient, GetContainerPolicyCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
16
|
-
* // const { MediaStoreClient, GetContainerPolicyCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
17
|
-
* const client = new MediaStoreClient(config);
|
|
18
|
-
* const command = new GetContainerPolicyCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetContainerPolicyCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetContainerPolicyCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link MediaStoreClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class GetContainerPolicyCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -60,4 +34,3 @@ class GetContainerPolicyCommand extends smithy_client_1.Command {
|
|
|
60
34
|
}
|
|
61
35
|
}
|
|
62
36
|
exports.GetContainerPolicyCommand = GetContainerPolicyCommand;
|
|
63
|
-
//# sourceMappingURL=GetContainerPolicyCommand.js.map
|
|
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns the cross-origin resource sharing (CORS) configuration information that is
|
|
10
|
-
* set for the container.</p>
|
|
11
|
-
* <p>To use this operation, you must have permission to perform the
|
|
12
|
-
* <code>MediaStore:GetCorsPolicy</code> action. By default, the container owner has this
|
|
13
|
-
* permission and can grant it to others.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { MediaStoreClient, GetCorsPolicyCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
18
|
-
* // const { MediaStoreClient, GetCorsPolicyCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
19
|
-
* const client = new MediaStoreClient(config);
|
|
20
|
-
* const command = new GetCorsPolicyCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link GetCorsPolicyCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link GetCorsPolicyCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link MediaStoreClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class GetCorsPolicyCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
10
|
super();
|
|
35
11
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +34,3 @@ class GetCorsPolicyCommand extends smithy_client_1.Command {
|
|
|
62
34
|
}
|
|
63
35
|
}
|
|
64
36
|
exports.GetCorsPolicyCommand = GetCorsPolicyCommand;
|
|
65
|
-
//# sourceMappingURL=GetCorsPolicyCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves the object lifecycle policy that is assigned to a container.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { MediaStoreClient, GetLifecyclePolicyCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
14
|
-
* // const { MediaStoreClient, GetLifecyclePolicyCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
15
|
-
* const client = new MediaStoreClient(config);
|
|
16
|
-
* const command = new GetLifecyclePolicyCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetLifecyclePolicyCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetLifecyclePolicyCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link MediaStoreClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetLifecyclePolicyCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class GetLifecyclePolicyCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.GetLifecyclePolicyCommand = GetLifecyclePolicyCommand;
|
|
61
|
-
//# sourceMappingURL=GetLifecyclePolicyCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns the metric policy for the specified container. </p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { MediaStoreClient, GetMetricPolicyCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
14
|
-
* // const { MediaStoreClient, GetMetricPolicyCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
15
|
-
* const client = new MediaStoreClient(config);
|
|
16
|
-
* const command = new GetMetricPolicyCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetMetricPolicyCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetMetricPolicyCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link MediaStoreClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetMetricPolicyCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class GetMetricPolicyCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.GetMetricPolicyCommand = GetMetricPolicyCommand;
|
|
61
|
-
//# sourceMappingURL=GetMetricPolicyCommand.js.map
|
|
@@ -5,43 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Lists the properties of all containers in AWS Elemental MediaStore. </p>
|
|
10
|
-
* <p>You can query to receive all the containers in one response. Or you can include the
|
|
11
|
-
* <code>MaxResults</code> parameter to receive a limited number of containers in each
|
|
12
|
-
* response. In this case, the response includes a token. To get the next set of containers,
|
|
13
|
-
* send the command again, this time with the <code>NextToken</code> parameter (with the
|
|
14
|
-
* returned token as its value). The next set of responses appears, with a token if there are
|
|
15
|
-
* still more containers to receive. </p>
|
|
16
|
-
* <p>See also <a>DescribeContainer</a>, which gets the properties of one
|
|
17
|
-
* container. </p>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { MediaStoreClient, ListContainersCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
22
|
-
* // const { MediaStoreClient, ListContainersCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
23
|
-
* const client = new MediaStoreClient(config);
|
|
24
|
-
* const command = new ListContainersCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link ListContainersCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link ListContainersCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link MediaStoreClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
8
|
class ListContainersCommand extends smithy_client_1.Command {
|
|
34
|
-
// Start section: command_properties
|
|
35
|
-
// End section: command_properties
|
|
36
9
|
constructor(input) {
|
|
37
|
-
// Start section: command_constructor
|
|
38
10
|
super();
|
|
39
11
|
this.input = input;
|
|
40
|
-
// End section: command_constructor
|
|
41
12
|
}
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
46
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
47
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -66,4 +34,3 @@ class ListContainersCommand extends smithy_client_1.Command {
|
|
|
66
34
|
}
|
|
67
35
|
}
|
|
68
36
|
exports.ListContainersCommand = ListContainersCommand;
|
|
69
|
-
//# sourceMappingURL=ListContainersCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns a list of the tags assigned to the specified container. </p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { MediaStoreClient, ListTagsForResourceCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
14
|
-
* // const { MediaStoreClient, ListTagsForResourceCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
15
|
-
* const client = new MediaStoreClient(config);
|
|
16
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link MediaStoreClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
61
|
-
//# sourceMappingURL=ListTagsForResourceCommand.js.map
|