@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/src/MediaStoreClient.ts
DELETED
|
@@ -1,309 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
EndpointsInputConfig,
|
|
3
|
-
EndpointsResolvedConfig,
|
|
4
|
-
RegionInputConfig,
|
|
5
|
-
RegionResolvedConfig,
|
|
6
|
-
resolveEndpointsConfig,
|
|
7
|
-
resolveRegionConfig,
|
|
8
|
-
} from "@aws-sdk/config-resolver";
|
|
9
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
10
|
-
import {
|
|
11
|
-
getHostHeaderPlugin,
|
|
12
|
-
HostHeaderInputConfig,
|
|
13
|
-
HostHeaderResolvedConfig,
|
|
14
|
-
resolveHostHeaderConfig,
|
|
15
|
-
} from "@aws-sdk/middleware-host-header";
|
|
16
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
17
|
-
import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
18
|
-
import {
|
|
19
|
-
AwsAuthInputConfig,
|
|
20
|
-
AwsAuthResolvedConfig,
|
|
21
|
-
getAwsAuthPlugin,
|
|
22
|
-
resolveAwsAuthConfig,
|
|
23
|
-
} from "@aws-sdk/middleware-signing";
|
|
24
|
-
import {
|
|
25
|
-
getUserAgentPlugin,
|
|
26
|
-
resolveUserAgentConfig,
|
|
27
|
-
UserAgentInputConfig,
|
|
28
|
-
UserAgentResolvedConfig,
|
|
29
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
30
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
31
|
-
import {
|
|
32
|
-
Client as __Client,
|
|
33
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
34
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
35
|
-
} from "@aws-sdk/smithy-client";
|
|
36
|
-
import {
|
|
37
|
-
Credentials as __Credentials,
|
|
38
|
-
Decoder as __Decoder,
|
|
39
|
-
Encoder as __Encoder,
|
|
40
|
-
Hash as __Hash,
|
|
41
|
-
HashConstructor as __HashConstructor,
|
|
42
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
43
|
-
Logger as __Logger,
|
|
44
|
-
Provider as __Provider,
|
|
45
|
-
Provider,
|
|
46
|
-
RegionInfoProvider,
|
|
47
|
-
StreamCollector as __StreamCollector,
|
|
48
|
-
UrlParser as __UrlParser,
|
|
49
|
-
UserAgent as __UserAgent,
|
|
50
|
-
} from "@aws-sdk/types";
|
|
51
|
-
|
|
52
|
-
import { CreateContainerCommandInput, CreateContainerCommandOutput } from "./commands/CreateContainerCommand";
|
|
53
|
-
import { DeleteContainerCommandInput, DeleteContainerCommandOutput } from "./commands/DeleteContainerCommand";
|
|
54
|
-
import {
|
|
55
|
-
DeleteContainerPolicyCommandInput,
|
|
56
|
-
DeleteContainerPolicyCommandOutput,
|
|
57
|
-
} from "./commands/DeleteContainerPolicyCommand";
|
|
58
|
-
import { DeleteCorsPolicyCommandInput, DeleteCorsPolicyCommandOutput } from "./commands/DeleteCorsPolicyCommand";
|
|
59
|
-
import {
|
|
60
|
-
DeleteLifecyclePolicyCommandInput,
|
|
61
|
-
DeleteLifecyclePolicyCommandOutput,
|
|
62
|
-
} from "./commands/DeleteLifecyclePolicyCommand";
|
|
63
|
-
import { DeleteMetricPolicyCommandInput, DeleteMetricPolicyCommandOutput } from "./commands/DeleteMetricPolicyCommand";
|
|
64
|
-
import { DescribeContainerCommandInput, DescribeContainerCommandOutput } from "./commands/DescribeContainerCommand";
|
|
65
|
-
import { GetContainerPolicyCommandInput, GetContainerPolicyCommandOutput } from "./commands/GetContainerPolicyCommand";
|
|
66
|
-
import { GetCorsPolicyCommandInput, GetCorsPolicyCommandOutput } from "./commands/GetCorsPolicyCommand";
|
|
67
|
-
import { GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput } from "./commands/GetLifecyclePolicyCommand";
|
|
68
|
-
import { GetMetricPolicyCommandInput, GetMetricPolicyCommandOutput } from "./commands/GetMetricPolicyCommand";
|
|
69
|
-
import { ListContainersCommandInput, ListContainersCommandOutput } from "./commands/ListContainersCommand";
|
|
70
|
-
import {
|
|
71
|
-
ListTagsForResourceCommandInput,
|
|
72
|
-
ListTagsForResourceCommandOutput,
|
|
73
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
74
|
-
import { PutContainerPolicyCommandInput, PutContainerPolicyCommandOutput } from "./commands/PutContainerPolicyCommand";
|
|
75
|
-
import { PutCorsPolicyCommandInput, PutCorsPolicyCommandOutput } from "./commands/PutCorsPolicyCommand";
|
|
76
|
-
import { PutLifecyclePolicyCommandInput, PutLifecyclePolicyCommandOutput } from "./commands/PutLifecyclePolicyCommand";
|
|
77
|
-
import { PutMetricPolicyCommandInput, PutMetricPolicyCommandOutput } from "./commands/PutMetricPolicyCommand";
|
|
78
|
-
import { StartAccessLoggingCommandInput, StartAccessLoggingCommandOutput } from "./commands/StartAccessLoggingCommand";
|
|
79
|
-
import { StopAccessLoggingCommandInput, StopAccessLoggingCommandOutput } from "./commands/StopAccessLoggingCommand";
|
|
80
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
81
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
82
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
83
|
-
|
|
84
|
-
export type ServiceInputTypes =
|
|
85
|
-
| CreateContainerCommandInput
|
|
86
|
-
| DeleteContainerCommandInput
|
|
87
|
-
| DeleteContainerPolicyCommandInput
|
|
88
|
-
| DeleteCorsPolicyCommandInput
|
|
89
|
-
| DeleteLifecyclePolicyCommandInput
|
|
90
|
-
| DeleteMetricPolicyCommandInput
|
|
91
|
-
| DescribeContainerCommandInput
|
|
92
|
-
| GetContainerPolicyCommandInput
|
|
93
|
-
| GetCorsPolicyCommandInput
|
|
94
|
-
| GetLifecyclePolicyCommandInput
|
|
95
|
-
| GetMetricPolicyCommandInput
|
|
96
|
-
| ListContainersCommandInput
|
|
97
|
-
| ListTagsForResourceCommandInput
|
|
98
|
-
| PutContainerPolicyCommandInput
|
|
99
|
-
| PutCorsPolicyCommandInput
|
|
100
|
-
| PutLifecyclePolicyCommandInput
|
|
101
|
-
| PutMetricPolicyCommandInput
|
|
102
|
-
| StartAccessLoggingCommandInput
|
|
103
|
-
| StopAccessLoggingCommandInput
|
|
104
|
-
| TagResourceCommandInput
|
|
105
|
-
| UntagResourceCommandInput;
|
|
106
|
-
|
|
107
|
-
export type ServiceOutputTypes =
|
|
108
|
-
| CreateContainerCommandOutput
|
|
109
|
-
| DeleteContainerCommandOutput
|
|
110
|
-
| DeleteContainerPolicyCommandOutput
|
|
111
|
-
| DeleteCorsPolicyCommandOutput
|
|
112
|
-
| DeleteLifecyclePolicyCommandOutput
|
|
113
|
-
| DeleteMetricPolicyCommandOutput
|
|
114
|
-
| DescribeContainerCommandOutput
|
|
115
|
-
| GetContainerPolicyCommandOutput
|
|
116
|
-
| GetCorsPolicyCommandOutput
|
|
117
|
-
| GetLifecyclePolicyCommandOutput
|
|
118
|
-
| GetMetricPolicyCommandOutput
|
|
119
|
-
| ListContainersCommandOutput
|
|
120
|
-
| ListTagsForResourceCommandOutput
|
|
121
|
-
| PutContainerPolicyCommandOutput
|
|
122
|
-
| PutCorsPolicyCommandOutput
|
|
123
|
-
| PutLifecyclePolicyCommandOutput
|
|
124
|
-
| PutMetricPolicyCommandOutput
|
|
125
|
-
| StartAccessLoggingCommandOutput
|
|
126
|
-
| StopAccessLoggingCommandOutput
|
|
127
|
-
| TagResourceCommandOutput
|
|
128
|
-
| UntagResourceCommandOutput;
|
|
129
|
-
|
|
130
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
131
|
-
/**
|
|
132
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
133
|
-
*/
|
|
134
|
-
requestHandler?: __HttpHandler;
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
138
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
139
|
-
* @internal
|
|
140
|
-
*/
|
|
141
|
-
sha256?: __HashConstructor;
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
145
|
-
* @internal
|
|
146
|
-
*/
|
|
147
|
-
urlParser?: __UrlParser;
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* A function that can calculate the length of a request body.
|
|
151
|
-
* @internal
|
|
152
|
-
*/
|
|
153
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* A function that converts a stream into an array of bytes.
|
|
157
|
-
* @internal
|
|
158
|
-
*/
|
|
159
|
-
streamCollector?: __StreamCollector;
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
163
|
-
* @internal
|
|
164
|
-
*/
|
|
165
|
-
base64Decoder?: __Decoder;
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
169
|
-
* @internal
|
|
170
|
-
*/
|
|
171
|
-
base64Encoder?: __Encoder;
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
175
|
-
* @internal
|
|
176
|
-
*/
|
|
177
|
-
utf8Decoder?: __Decoder;
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
181
|
-
* @internal
|
|
182
|
-
*/
|
|
183
|
-
utf8Encoder?: __Encoder;
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* The runtime environment.
|
|
187
|
-
* @internal
|
|
188
|
-
*/
|
|
189
|
-
runtime?: string;
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
193
|
-
* trait of an operation.
|
|
194
|
-
*/
|
|
195
|
-
disableHostPrefix?: boolean;
|
|
196
|
-
|
|
197
|
-
/**
|
|
198
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
199
|
-
*/
|
|
200
|
-
maxAttempts?: number | __Provider<number>;
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* Specifies which retry algorithm to use.
|
|
204
|
-
*/
|
|
205
|
-
retryMode?: string | __Provider<string>;
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* Optional logger for logging debug/info/warn/error.
|
|
209
|
-
*/
|
|
210
|
-
logger?: __Logger;
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* Unique service identifier.
|
|
214
|
-
* @internal
|
|
215
|
-
*/
|
|
216
|
-
serviceId?: string;
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* The AWS region to which this client will send requests
|
|
220
|
-
*/
|
|
221
|
-
region?: string | __Provider<string>;
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* Default credentials provider; Not available in browser runtime.
|
|
225
|
-
* @internal
|
|
226
|
-
*/
|
|
227
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
231
|
-
* @internal
|
|
232
|
-
*/
|
|
233
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
234
|
-
|
|
235
|
-
/**
|
|
236
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
237
|
-
* @internal
|
|
238
|
-
*/
|
|
239
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
type MediaStoreClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
243
|
-
ClientDefaults &
|
|
244
|
-
RegionInputConfig &
|
|
245
|
-
EndpointsInputConfig &
|
|
246
|
-
RetryInputConfig &
|
|
247
|
-
HostHeaderInputConfig &
|
|
248
|
-
AwsAuthInputConfig &
|
|
249
|
-
UserAgentInputConfig;
|
|
250
|
-
/**
|
|
251
|
-
* The configuration interface of MediaStoreClient class constructor that set the region, credentials and other options.
|
|
252
|
-
*/
|
|
253
|
-
export interface MediaStoreClientConfig extends MediaStoreClientConfigType {}
|
|
254
|
-
|
|
255
|
-
type MediaStoreClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
256
|
-
Required<ClientDefaults> &
|
|
257
|
-
RegionResolvedConfig &
|
|
258
|
-
EndpointsResolvedConfig &
|
|
259
|
-
RetryResolvedConfig &
|
|
260
|
-
HostHeaderResolvedConfig &
|
|
261
|
-
AwsAuthResolvedConfig &
|
|
262
|
-
UserAgentResolvedConfig;
|
|
263
|
-
/**
|
|
264
|
-
* The resolved configuration interface of MediaStoreClient class. This is resolved and normalized from the {@link MediaStoreClientConfig | constructor configuration interface}.
|
|
265
|
-
*/
|
|
266
|
-
export interface MediaStoreClientResolvedConfig extends MediaStoreClientResolvedConfigType {}
|
|
267
|
-
|
|
268
|
-
/**
|
|
269
|
-
* <p>An AWS Elemental MediaStore container is a namespace that holds folders and objects.
|
|
270
|
-
* You use a container endpoint to create, read, and delete objects. </p>
|
|
271
|
-
*/
|
|
272
|
-
export class MediaStoreClient extends __Client<
|
|
273
|
-
__HttpHandlerOptions,
|
|
274
|
-
ServiceInputTypes,
|
|
275
|
-
ServiceOutputTypes,
|
|
276
|
-
MediaStoreClientResolvedConfig
|
|
277
|
-
> {
|
|
278
|
-
/**
|
|
279
|
-
* The resolved configuration of MediaStoreClient class. This is resolved and normalized from the {@link MediaStoreClientConfig | constructor configuration interface}.
|
|
280
|
-
*/
|
|
281
|
-
readonly config: MediaStoreClientResolvedConfig;
|
|
282
|
-
|
|
283
|
-
constructor(configuration: MediaStoreClientConfig) {
|
|
284
|
-
const _config_0 = __getRuntimeConfig(configuration);
|
|
285
|
-
const _config_1 = resolveRegionConfig(_config_0);
|
|
286
|
-
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
287
|
-
const _config_3 = resolveRetryConfig(_config_2);
|
|
288
|
-
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
289
|
-
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
290
|
-
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
291
|
-
super(_config_6);
|
|
292
|
-
this.config = _config_6;
|
|
293
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
294
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
295
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
296
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
297
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
298
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
/**
|
|
302
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
303
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
304
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
305
|
-
*/
|
|
306
|
-
destroy(): void {
|
|
307
|
-
super.destroy();
|
|
308
|
-
}
|
|
309
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { MediaStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaStoreClient";
|
|
15
|
-
import { CreateContainerInput, CreateContainerOutput } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1CreateContainerCommand,
|
|
18
|
-
serializeAws_json1_1CreateContainerCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface CreateContainerCommandInput extends CreateContainerInput {}
|
|
22
|
-
export interface CreateContainerCommandOutput extends CreateContainerOutput, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a storage container to hold objects. A container is similar to a bucket in
|
|
26
|
-
* the Amazon S3 service.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { MediaStoreClient, CreateContainerCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
31
|
-
* // const { MediaStoreClient, CreateContainerCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
32
|
-
* const client = new MediaStoreClient(config);
|
|
33
|
-
* const command = new CreateContainerCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link CreateContainerCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link CreateContainerCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link MediaStoreClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class CreateContainerCommand extends $Command<
|
|
43
|
-
CreateContainerCommandInput,
|
|
44
|
-
CreateContainerCommandOutput,
|
|
45
|
-
MediaStoreClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: CreateContainerCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: MediaStoreClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<CreateContainerCommandInput, CreateContainerCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "MediaStoreClient";
|
|
70
|
-
const commandName = "CreateContainerCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: CreateContainerInput.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: CreateContainerOutput.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: CreateContainerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1CreateContainerCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateContainerCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_1CreateContainerCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { MediaStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaStoreClient";
|
|
15
|
-
import { DeleteContainerInput, DeleteContainerOutput } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1DeleteContainerCommand,
|
|
18
|
-
serializeAws_json1_1DeleteContainerCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface DeleteContainerCommandInput extends DeleteContainerInput {}
|
|
22
|
-
export interface DeleteContainerCommandOutput extends DeleteContainerOutput, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes the specified container. Before you make a <code>DeleteContainer</code>
|
|
26
|
-
* request, delete any objects in the container or in any folders in the container. You can
|
|
27
|
-
* delete only empty containers. </p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { MediaStoreClient, DeleteContainerCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
32
|
-
* // const { MediaStoreClient, DeleteContainerCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
33
|
-
* const client = new MediaStoreClient(config);
|
|
34
|
-
* const command = new DeleteContainerCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link DeleteContainerCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link DeleteContainerCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link MediaStoreClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class DeleteContainerCommand extends $Command<
|
|
44
|
-
DeleteContainerCommandInput,
|
|
45
|
-
DeleteContainerCommandOutput,
|
|
46
|
-
MediaStoreClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: DeleteContainerCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: MediaStoreClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<DeleteContainerCommandInput, DeleteContainerCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "MediaStoreClient";
|
|
71
|
-
const commandName = "DeleteContainerCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: DeleteContainerInput.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: DeleteContainerOutput.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: DeleteContainerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_json1_1DeleteContainerCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteContainerCommandOutput> {
|
|
92
|
-
return deserializeAws_json1_1DeleteContainerCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { MediaStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaStoreClient";
|
|
15
|
-
import { DeleteContainerPolicyInput, DeleteContainerPolicyOutput } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1DeleteContainerPolicyCommand,
|
|
18
|
-
serializeAws_json1_1DeleteContainerPolicyCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface DeleteContainerPolicyCommandInput extends DeleteContainerPolicyInput {}
|
|
22
|
-
export interface DeleteContainerPolicyCommandOutput extends DeleteContainerPolicyOutput, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes the access policy that is associated with the specified container.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { MediaStoreClient, DeleteContainerPolicyCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
|
|
30
|
-
* // const { MediaStoreClient, DeleteContainerPolicyCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
|
|
31
|
-
* const client = new MediaStoreClient(config);
|
|
32
|
-
* const command = new DeleteContainerPolicyCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeleteContainerPolicyCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeleteContainerPolicyCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link MediaStoreClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeleteContainerPolicyCommand extends $Command<
|
|
42
|
-
DeleteContainerPolicyCommandInput,
|
|
43
|
-
DeleteContainerPolicyCommandOutput,
|
|
44
|
-
MediaStoreClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeleteContainerPolicyCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: MediaStoreClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DeleteContainerPolicyCommandInput, DeleteContainerPolicyCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "MediaStoreClient";
|
|
69
|
-
const commandName = "DeleteContainerPolicyCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeleteContainerPolicyInput.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DeleteContainerPolicyOutput.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DeleteContainerPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1DeleteContainerPolicyCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteContainerPolicyCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1DeleteContainerPolicyCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|