1 | import {Request} from '../lib/request';
|
2 | import {Response} from '../lib/response';
|
3 | import {AWSError} from '../lib/error';
|
4 | import {Service} from '../lib/service';
|
5 | import {ServiceConfigurationOptions} from '../lib/service';
|
6 | import {ConfigBase as Config} from '../lib/config';
|
7 | interface Blob {}
|
8 | declare class MediaStore extends Service {
|
9 | |
10 |
|
11 |
|
12 | constructor(options?: MediaStore.Types.ClientConfiguration)
|
13 | config: Config & MediaStore.Types.ClientConfiguration;
|
14 | /**
|
15 | * Creates a storage container to hold objects. A container is similar to a bucket in the Amazon S3 service.
|
16 | */
|
17 | createContainer(params: MediaStore.Types.CreateContainerInput, callback?: (err: AWSError, data: MediaStore.Types.CreateContainerOutput) => void): Request<MediaStore.Types.CreateContainerOutput, AWSError>;
|
18 | /**
|
19 | * Creates a storage container to hold objects. A container is similar to a bucket in the Amazon S3 service.
|
20 | */
|
21 | createContainer(callback?: (err: AWSError, data: MediaStore.Types.CreateContainerOutput) => void): Request<MediaStore.Types.CreateContainerOutput, AWSError>;
|
22 | /**
|
23 | * Deletes the specified container. Before you make a DeleteContainer request, delete any objects in the container or in any folders in the container. You can delete only empty containers.
|
24 | */
|
25 | deleteContainer(params: MediaStore.Types.DeleteContainerInput, callback?: (err: AWSError, data: MediaStore.Types.DeleteContainerOutput) => void): Request<MediaStore.Types.DeleteContainerOutput, AWSError>;
|
26 | /**
|
27 | * Deletes the specified container. Before you make a DeleteContainer request, delete any objects in the container or in any folders in the container. You can delete only empty containers.
|
28 | */
|
29 | deleteContainer(callback?: (err: AWSError, data: MediaStore.Types.DeleteContainerOutput) => void): Request<MediaStore.Types.DeleteContainerOutput, AWSError>;
|
30 | /**
|
31 | * Deletes the access policy that is associated with the specified container.
|
32 | */
|
33 | deleteContainerPolicy(params: MediaStore.Types.DeleteContainerPolicyInput, callback?: (err: AWSError, data: MediaStore.Types.DeleteContainerPolicyOutput) => void): Request<MediaStore.Types.DeleteContainerPolicyOutput, AWSError>;
|
34 | /**
|
35 | * Deletes the access policy that is associated with the specified container.
|
36 | */
|
37 | deleteContainerPolicy(callback?: (err: AWSError, data: MediaStore.Types.DeleteContainerPolicyOutput) => void): Request<MediaStore.Types.DeleteContainerPolicyOutput, AWSError>;
|
38 | /**
|
39 | * Deletes the cross-origin resource sharing (CORS) configuration information that is set for the container. To use this operation, you must have permission to perform the MediaStore:DeleteCorsPolicy action. The container owner has this permission by default and can grant this permission to others.
|
40 | */
|
41 | deleteCorsPolicy(params: MediaStore.Types.DeleteCorsPolicyInput, callback?: (err: AWSError, data: MediaStore.Types.DeleteCorsPolicyOutput) => void): Request<MediaStore.Types.DeleteCorsPolicyOutput, AWSError>;
|
42 | /**
|
43 | * Deletes the cross-origin resource sharing (CORS) configuration information that is set for the container. To use this operation, you must have permission to perform the MediaStore:DeleteCorsPolicy action. The container owner has this permission by default and can grant this permission to others.
|
44 | */
|
45 | deleteCorsPolicy(callback?: (err: AWSError, data: MediaStore.Types.DeleteCorsPolicyOutput) => void): Request<MediaStore.Types.DeleteCorsPolicyOutput, AWSError>;
|
46 | /**
|
47 | * Removes an object lifecycle policy from a container. It takes up to 20 minutes for the change to take effect.
|
48 | */
|
49 | deleteLifecyclePolicy(params: MediaStore.Types.DeleteLifecyclePolicyInput, callback?: (err: AWSError, data: MediaStore.Types.DeleteLifecyclePolicyOutput) => void): Request<MediaStore.Types.DeleteLifecyclePolicyOutput, AWSError>;
|
50 | /**
|
51 | * Removes an object lifecycle policy from a container. It takes up to 20 minutes for the change to take effect.
|
52 | */
|
53 | deleteLifecyclePolicy(callback?: (err: AWSError, data: MediaStore.Types.DeleteLifecyclePolicyOutput) => void): Request<MediaStore.Types.DeleteLifecyclePolicyOutput, AWSError>;
|
54 | /**
|
55 | * 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.
|
56 | */
|
57 | deleteMetricPolicy(params: MediaStore.Types.DeleteMetricPolicyInput, callback?: (err: AWSError, data: MediaStore.Types.DeleteMetricPolicyOutput) => void): Request<MediaStore.Types.DeleteMetricPolicyOutput, AWSError>;
|
58 | /**
|
59 | * 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.
|
60 | */
|
61 | deleteMetricPolicy(callback?: (err: AWSError, data: MediaStore.Types.DeleteMetricPolicyOutput) => void): Request<MediaStore.Types.DeleteMetricPolicyOutput, AWSError>;
|
62 | /**
|
63 | * Retrieves the properties of the requested container. This request is commonly used to retrieve the endpoint of a container. An endpoint is a value assigned by the service when a new container is created. A container's endpoint does not change after it has been assigned. The DescribeContainer request returns a single Container object based on ContainerName. To return all Container objects that are associated with a specified AWS account, use ListContainers.
|
64 | */
|
65 | describeContainer(params: MediaStore.Types.DescribeContainerInput, callback?: (err: AWSError, data: MediaStore.Types.DescribeContainerOutput) => void): Request<MediaStore.Types.DescribeContainerOutput, AWSError>;
|
66 | /**
|
67 | * Retrieves the properties of the requested container. This request is commonly used to retrieve the endpoint of a container. An endpoint is a value assigned by the service when a new container is created. A container's endpoint does not change after it has been assigned. The DescribeContainer request returns a single Container object based on ContainerName. To return all Container objects that are associated with a specified AWS account, use ListContainers.
|
68 | */
|
69 | describeContainer(callback?: (err: AWSError, data: MediaStore.Types.DescribeContainerOutput) => void): Request<MediaStore.Types.DescribeContainerOutput, AWSError>;
|
70 | /**
|
71 | * Retrieves the access policy for the specified container. For information about the data that is included in an access policy, see the AWS Identity and Access Management User Guide.
|
72 | */
|
73 | getContainerPolicy(params: MediaStore.Types.GetContainerPolicyInput, callback?: (err: AWSError, data: MediaStore.Types.GetContainerPolicyOutput) => void): Request<MediaStore.Types.GetContainerPolicyOutput, AWSError>;
|
74 | /**
|
75 | * Retrieves the access policy for the specified container. For information about the data that is included in an access policy, see the AWS Identity and Access Management User Guide.
|
76 | */
|
77 | getContainerPolicy(callback?: (err: AWSError, data: MediaStore.Types.GetContainerPolicyOutput) => void): Request<MediaStore.Types.GetContainerPolicyOutput, AWSError>;
|
78 | /**
|
79 | * Returns the cross-origin resource sharing (CORS) configuration information that is set for the container. To use this operation, you must have permission to perform the MediaStore:GetCorsPolicy action. By default, the container owner has this permission and can grant it to others.
|
80 | */
|
81 | getCorsPolicy(params: MediaStore.Types.GetCorsPolicyInput, callback?: (err: AWSError, data: MediaStore.Types.GetCorsPolicyOutput) => void): Request<MediaStore.Types.GetCorsPolicyOutput, AWSError>;
|
82 | /**
|
83 | * Returns the cross-origin resource sharing (CORS) configuration information that is set for the container. To use this operation, you must have permission to perform the MediaStore:GetCorsPolicy action. By default, the container owner has this permission and can grant it to others.
|
84 | */
|
85 | getCorsPolicy(callback?: (err: AWSError, data: MediaStore.Types.GetCorsPolicyOutput) => void): Request<MediaStore.Types.GetCorsPolicyOutput, AWSError>;
|
86 | /**
|
87 | * Retrieves the object lifecycle policy that is assigned to a container.
|
88 | */
|
89 | getLifecyclePolicy(params: MediaStore.Types.GetLifecyclePolicyInput, callback?: (err: AWSError, data: MediaStore.Types.GetLifecyclePolicyOutput) => void): Request<MediaStore.Types.GetLifecyclePolicyOutput, AWSError>;
|
90 | /**
|
91 | * Retrieves the object lifecycle policy that is assigned to a container.
|
92 | */
|
93 | getLifecyclePolicy(callback?: (err: AWSError, data: MediaStore.Types.GetLifecyclePolicyOutput) => void): Request<MediaStore.Types.GetLifecyclePolicyOutput, AWSError>;
|
94 | /**
|
95 | * Returns the metric policy for the specified container.
|
96 | */
|
97 | getMetricPolicy(params: MediaStore.Types.GetMetricPolicyInput, callback?: (err: AWSError, data: MediaStore.Types.GetMetricPolicyOutput) => void): Request<MediaStore.Types.GetMetricPolicyOutput, AWSError>;
|
98 | /**
|
99 | * Returns the metric policy for the specified container.
|
100 | */
|
101 | getMetricPolicy(callback?: (err: AWSError, data: MediaStore.Types.GetMetricPolicyOutput) => void): Request<MediaStore.Types.GetMetricPolicyOutput, AWSError>;
|
102 | /**
|
103 | * Lists the properties of all containers in AWS Elemental MediaStore. You can query to receive all the containers in one response. Or you can include the MaxResults parameter to receive a limited number of containers in each response. In this case, the response includes a token. To get the next set of containers, send the command again, this time with the NextToken parameter (with the returned token as its value). The next set of responses appears, with a token if there are still more containers to receive. See also DescribeContainer, which gets the properties of one container.
|
104 | */
|
105 | listContainers(params: MediaStore.Types.ListContainersInput, callback?: (err: AWSError, data: MediaStore.Types.ListContainersOutput) => void): Request<MediaStore.Types.ListContainersOutput, AWSError>;
|
106 | /**
|
107 | * Lists the properties of all containers in AWS Elemental MediaStore. You can query to receive all the containers in one response. Or you can include the MaxResults parameter to receive a limited number of containers in each response. In this case, the response includes a token. To get the next set of containers, send the command again, this time with the NextToken parameter (with the returned token as its value). The next set of responses appears, with a token if there are still more containers to receive. See also DescribeContainer, which gets the properties of one container.
|
108 | */
|
109 | listContainers(callback?: (err: AWSError, data: MediaStore.Types.ListContainersOutput) => void): Request<MediaStore.Types.ListContainersOutput, AWSError>;
|
110 | /**
|
111 | * Returns a list of the tags assigned to the specified container.
|
112 | */
|
113 | listTagsForResource(params: MediaStore.Types.ListTagsForResourceInput, callback?: (err: AWSError, data: MediaStore.Types.ListTagsForResourceOutput) => void): Request<MediaStore.Types.ListTagsForResourceOutput, AWSError>;
|
114 | /**
|
115 | * Returns a list of the tags assigned to the specified container.
|
116 | */
|
117 | listTagsForResource(callback?: (err: AWSError, data: MediaStore.Types.ListTagsForResourceOutput) => void): Request<MediaStore.Types.ListTagsForResourceOutput, AWSError>;
|
118 | /**
|
119 | * Creates an access policy for the specified container to restrict the users and clients that can access it. For information about the data that is included in an access policy, see the AWS Identity and Access Management User Guide. For this release of the REST API, you can create only one policy for a container. If you enter PutContainerPolicy twice, the second command modifies the existing policy.
|
120 | */
|
121 | putContainerPolicy(params: MediaStore.Types.PutContainerPolicyInput, callback?: (err: AWSError, data: MediaStore.Types.PutContainerPolicyOutput) => void): Request<MediaStore.Types.PutContainerPolicyOutput, AWSError>;
|
122 | /**
|
123 | * Creates an access policy for the specified container to restrict the users and clients that can access it. For information about the data that is included in an access policy, see the AWS Identity and Access Management User Guide. For this release of the REST API, you can create only one policy for a container. If you enter PutContainerPolicy twice, the second command modifies the existing policy.
|
124 | */
|
125 | putContainerPolicy(callback?: (err: AWSError, data: MediaStore.Types.PutContainerPolicyOutput) => void): Request<MediaStore.Types.PutContainerPolicyOutput, AWSError>;
|
126 | /**
|
127 | * Sets the cross-origin resource sharing (CORS) configuration on a container so that the container can service cross-origin requests. For example, you might want to enable a request whose origin is http://www.example.com to access your AWS Elemental MediaStore container at my.example.container.com by using the browser's XMLHttpRequest capability. To enable CORS on a container, you attach a CORS policy to the container. In the CORS policy, you configure rules that identify origins and the HTTP methods that can be executed on your container. The policy can contain up to 398,000 characters. You can add up to 100 rules to a CORS policy. If more than one rule applies, the service uses the first applicable rule listed. To learn more about CORS, see Cross-Origin Resource Sharing (CORS) in AWS Elemental MediaStore.
|
128 | */
|
129 | putCorsPolicy(params: MediaStore.Types.PutCorsPolicyInput, callback?: (err: AWSError, data: MediaStore.Types.PutCorsPolicyOutput) => void): Request<MediaStore.Types.PutCorsPolicyOutput, AWSError>;
|
130 | /**
|
131 | * Sets the cross-origin resource sharing (CORS) configuration on a container so that the container can service cross-origin requests. For example, you might want to enable a request whose origin is http://www.example.com to access your AWS Elemental MediaStore container at my.example.container.com by using the browser's XMLHttpRequest capability. To enable CORS on a container, you attach a CORS policy to the container. In the CORS policy, you configure rules that identify origins and the HTTP methods that can be executed on your container. The policy can contain up to 398,000 characters. You can add up to 100 rules to a CORS policy. If more than one rule applies, the service uses the first applicable rule listed. To learn more about CORS, see Cross-Origin Resource Sharing (CORS) in AWS Elemental MediaStore.
|
132 | */
|
133 | putCorsPolicy(callback?: (err: AWSError, data: MediaStore.Types.PutCorsPolicyOutput) => void): Request<MediaStore.Types.PutCorsPolicyOutput, AWSError>;
|
134 | /**
|
135 | * Writes an object lifecycle policy to a container. If the container already has an object lifecycle policy, the service replaces the existing policy with the new policy. It takes up to 20 minutes for the change to take effect. For information about how to construct an object lifecycle policy, see Components of an Object Lifecycle Policy.
|
136 | */
|
137 | putLifecyclePolicy(params: MediaStore.Types.PutLifecyclePolicyInput, callback?: (err: AWSError, data: MediaStore.Types.PutLifecyclePolicyOutput) => void): Request<MediaStore.Types.PutLifecyclePolicyOutput, AWSError>;
|
138 | /**
|
139 | * Writes an object lifecycle policy to a container. If the container already has an object lifecycle policy, the service replaces the existing policy with the new policy. It takes up to 20 minutes for the change to take effect. For information about how to construct an object lifecycle policy, see Components of an Object Lifecycle Policy.
|
140 | */
|
141 | putLifecyclePolicy(callback?: (err: AWSError, data: MediaStore.Types.PutLifecyclePolicyOutput) => void): Request<MediaStore.Types.PutLifecyclePolicyOutput, AWSError>;
|
142 | /**
|
143 | * The metric policy that you want to add to the container. A metric policy allows AWS Elemental MediaStore to send metrics to Amazon CloudWatch. It takes up to 20 minutes for the new policy to take effect.
|
144 | */
|
145 | putMetricPolicy(params: MediaStore.Types.PutMetricPolicyInput, callback?: (err: AWSError, data: MediaStore.Types.PutMetricPolicyOutput) => void): Request<MediaStore.Types.PutMetricPolicyOutput, AWSError>;
|
146 | /**
|
147 | * The metric policy that you want to add to the container. A metric policy allows AWS Elemental MediaStore to send metrics to Amazon CloudWatch. It takes up to 20 minutes for the new policy to take effect.
|
148 | */
|
149 | putMetricPolicy(callback?: (err: AWSError, data: MediaStore.Types.PutMetricPolicyOutput) => void): Request<MediaStore.Types.PutMetricPolicyOutput, AWSError>;
|
150 | /**
|
151 | * Starts access logging on the specified container. When you enable access logging on a container, MediaStore delivers access logs for objects stored in that container to Amazon CloudWatch Logs.
|
152 | */
|
153 | startAccessLogging(params: MediaStore.Types.StartAccessLoggingInput, callback?: (err: AWSError, data: MediaStore.Types.StartAccessLoggingOutput) => void): Request<MediaStore.Types.StartAccessLoggingOutput, AWSError>;
|
154 | /**
|
155 | * Starts access logging on the specified container. When you enable access logging on a container, MediaStore delivers access logs for objects stored in that container to Amazon CloudWatch Logs.
|
156 | */
|
157 | startAccessLogging(callback?: (err: AWSError, data: MediaStore.Types.StartAccessLoggingOutput) => void): Request<MediaStore.Types.StartAccessLoggingOutput, AWSError>;
|
158 | /**
|
159 | * Stops access logging on the specified container. When you stop access logging on a container, MediaStore stops sending access logs to Amazon CloudWatch Logs. These access logs are not saved and are not retrievable.
|
160 | */
|
161 | stopAccessLogging(params: MediaStore.Types.StopAccessLoggingInput, callback?: (err: AWSError, data: MediaStore.Types.StopAccessLoggingOutput) => void): Request<MediaStore.Types.StopAccessLoggingOutput, AWSError>;
|
162 | /**
|
163 | * Stops access logging on the specified container. When you stop access logging on a container, MediaStore stops sending access logs to Amazon CloudWatch Logs. These access logs are not saved and are not retrievable.
|
164 | */
|
165 | stopAccessLogging(callback?: (err: AWSError, data: MediaStore.Types.StopAccessLoggingOutput) => void): Request<MediaStore.Types.StopAccessLoggingOutput, AWSError>;
|
166 | /**
|
167 | * Adds tags to the specified AWS Elemental MediaStore container. Tags are key:value pairs that you can associate with AWS resources. For example, the tag key might be "customer" and the tag value might be "companyA." You can specify one or more tags to add to each container. You can add up to 50 tags to each container. For more information about tagging, including naming and usage conventions, see Tagging Resources in MediaStore.
|
168 | */
|
169 | tagResource(params: MediaStore.Types.TagResourceInput, callback?: (err: AWSError, data: MediaStore.Types.TagResourceOutput) => void): Request<MediaStore.Types.TagResourceOutput, AWSError>;
|
170 | /**
|
171 | * Adds tags to the specified AWS Elemental MediaStore container. Tags are key:value pairs that you can associate with AWS resources. For example, the tag key might be "customer" and the tag value might be "companyA." You can specify one or more tags to add to each container. You can add up to 50 tags to each container. For more information about tagging, including naming and usage conventions, see Tagging Resources in MediaStore.
|
172 | */
|
173 | tagResource(callback?: (err: AWSError, data: MediaStore.Types.TagResourceOutput) => void): Request<MediaStore.Types.TagResourceOutput, AWSError>;
|
174 | /**
|
175 | * Removes tags from the specified container. You can specify one or more tags to remove.
|
176 | */
|
177 | untagResource(params: MediaStore.Types.UntagResourceInput, callback?: (err: AWSError, data: MediaStore.Types.UntagResourceOutput) => void): Request<MediaStore.Types.UntagResourceOutput, AWSError>;
|
178 | /**
|
179 | * Removes tags from the specified container. You can specify one or more tags to remove.
|
180 | */
|
181 | untagResource(callback?: (err: AWSError, data: MediaStore.Types.UntagResourceOutput) => void): Request<MediaStore.Types.UntagResourceOutput, AWSError>;
|
182 | }
|
183 | declare namespace MediaStore {
|
184 | export type AllowedHeaders = Header[];
|
185 | export type AllowedMethods = MethodName[];
|
186 | export type AllowedOrigins = Origin[];
|
187 | export interface Container {
|
188 | |
189 |
|
190 |
|
191 | Endpoint?: Endpoint;
|
192 | |
193 |
|
194 |
|
195 | CreationTime?: TimeStamp;
|
196 | |
197 |
|
198 |
|
199 | ARN?: ContainerARN;
|
200 | |
201 |
|
202 |
|
203 | Name?: ContainerName;
|
204 | |
205 |
|
206 |
|
207 | Status?: ContainerStatus;
|
208 | |
209 |
|
210 |
|
211 | AccessLoggingEnabled?: ContainerAccessLoggingEnabled;
|
212 | }
|
213 | export type ContainerARN = string;
|
214 | export type ContainerAccessLoggingEnabled = boolean;
|
215 | export type ContainerLevelMetrics = "ENABLED"|"DISABLED"|string;
|
216 | export type ContainerList = Container[];
|
217 | export type ContainerListLimit = number;
|
218 | export type ContainerName = string;
|
219 | export type ContainerPolicy = string;
|
220 | export type ContainerStatus = "ACTIVE"|"CREATING"|"DELETING"|string;
|
221 | export type CorsPolicy = CorsRule[];
|
222 | export interface CorsRule {
|
223 | |
224 |
|
225 |
|
226 | AllowedOrigins: AllowedOrigins;
|
227 | |
228 |
|
229 |
|
230 | AllowedMethods?: AllowedMethods;
|
231 | |
232 |
|
233 |
|
234 | AllowedHeaders: AllowedHeaders;
|
235 | |
236 |
|
237 |
|
238 | MaxAgeSeconds?: MaxAgeSeconds;
|
239 | |
240 |
|
241 |
|
242 | ExposeHeaders?: ExposeHeaders;
|
243 | }
|
244 | export interface CreateContainerInput {
|
245 | |
246 |
|
247 |
|
248 | ContainerName: ContainerName;
|
249 | |
250 |
|
251 |
|
252 | Tags?: TagList;
|
253 | }
|
254 | export interface CreateContainerOutput {
|
255 | |
256 |
|
257 |
|
258 | Container: Container;
|
259 | }
|
260 | export interface DeleteContainerInput {
|
261 | |
262 |
|
263 |
|
264 | ContainerName: ContainerName;
|
265 | }
|
266 | export interface DeleteContainerOutput {
|
267 | }
|
268 | export interface DeleteContainerPolicyInput {
|
269 | |
270 |
|
271 |
|
272 | ContainerName: ContainerName;
|
273 | }
|
274 | export interface DeleteContainerPolicyOutput {
|
275 | }
|
276 | export interface DeleteCorsPolicyInput {
|
277 | |
278 |
|
279 |
|
280 | ContainerName: ContainerName;
|
281 | }
|
282 | export interface DeleteCorsPolicyOutput {
|
283 | }
|
284 | export interface DeleteLifecyclePolicyInput {
|
285 | |
286 |
|
287 |
|
288 | ContainerName: ContainerName;
|
289 | }
|
290 | export interface DeleteLifecyclePolicyOutput {
|
291 | }
|
292 | export interface DeleteMetricPolicyInput {
|
293 | |
294 |
|
295 |
|
296 | ContainerName: ContainerName;
|
297 | }
|
298 | export interface DeleteMetricPolicyOutput {
|
299 | }
|
300 | export interface DescribeContainerInput {
|
301 | |
302 |
|
303 |
|
304 | ContainerName?: ContainerName;
|
305 | }
|
306 | export interface DescribeContainerOutput {
|
307 | |
308 |
|
309 |
|
310 | Container?: Container;
|
311 | }
|
312 | export type Endpoint = string;
|
313 | export type ExposeHeaders = Header[];
|
314 | export interface GetContainerPolicyInput {
|
315 | |
316 |
|
317 |
|
318 | ContainerName: ContainerName;
|
319 | }
|
320 | export interface GetContainerPolicyOutput {
|
321 | |
322 |
|
323 |
|
324 | Policy: ContainerPolicy;
|
325 | }
|
326 | export interface GetCorsPolicyInput {
|
327 | |
328 |
|
329 |
|
330 | ContainerName: ContainerName;
|
331 | }
|
332 | export interface GetCorsPolicyOutput {
|
333 | |
334 |
|
335 |
|
336 | CorsPolicy: CorsPolicy;
|
337 | }
|
338 | export interface GetLifecyclePolicyInput {
|
339 | |
340 |
|
341 |
|
342 | ContainerName: ContainerName;
|
343 | }
|
344 | export interface GetLifecyclePolicyOutput {
|
345 | |
346 |
|
347 |
|
348 | LifecyclePolicy: LifecyclePolicy;
|
349 | }
|
350 | export interface GetMetricPolicyInput {
|
351 | |
352 |
|
353 |
|
354 | ContainerName: ContainerName;
|
355 | }
|
356 | export interface GetMetricPolicyOutput {
|
357 | |
358 |
|
359 |
|
360 | MetricPolicy: MetricPolicy;
|
361 | }
|
362 | export type Header = string;
|
363 | export type LifecyclePolicy = string;
|
364 | export interface ListContainersInput {
|
365 | |
366 |
|
367 |
|
368 | NextToken?: PaginationToken;
|
369 | |
370 |
|
371 |
|
372 | MaxResults?: ContainerListLimit;
|
373 | }
|
374 | export interface ListContainersOutput {
|
375 | |
376 |
|
377 |
|
378 | Containers: ContainerList;
|
379 | |
380 |
|
381 |
|
382 | NextToken?: PaginationToken;
|
383 | }
|
384 | export interface ListTagsForResourceInput {
|
385 | |
386 |
|
387 |
|
388 | Resource: ContainerARN;
|
389 | }
|
390 | export interface ListTagsForResourceOutput {
|
391 | |
392 |
|
393 |
|
394 | Tags?: TagList;
|
395 | }
|
396 | export type MaxAgeSeconds = number;
|
397 | export type MethodName = "PUT"|"GET"|"DELETE"|"HEAD"|string;
|
398 | export interface MetricPolicy {
|
399 | |
400 |
|
401 |
|
402 | ContainerLevelMetrics: ContainerLevelMetrics;
|
403 | |
404 |
|
405 |
|
406 | MetricPolicyRules?: MetricPolicyRules;
|
407 | }
|
408 | export interface MetricPolicyRule {
|
409 | |
410 |
|
411 |
|
412 | ObjectGroup: ObjectGroup;
|
413 | |
414 |
|
415 |
|
416 | ObjectGroupName: ObjectGroupName;
|
417 | }
|
418 | export type MetricPolicyRules = MetricPolicyRule[];
|
419 | export type ObjectGroup = string;
|
420 | export type ObjectGroupName = string;
|
421 | export type Origin = string;
|
422 | export type PaginationToken = string;
|
423 | export interface PutContainerPolicyInput {
|
424 | |
425 |
|
426 |
|
427 | ContainerName: ContainerName;
|
428 | |
429 |
|
430 |
|
431 | Policy: ContainerPolicy;
|
432 | }
|
433 | export interface PutContainerPolicyOutput {
|
434 | }
|
435 | export interface PutCorsPolicyInput {
|
436 | |
437 |
|
438 |
|
439 | ContainerName: ContainerName;
|
440 | |
441 |
|
442 |
|
443 | CorsPolicy: CorsPolicy;
|
444 | }
|
445 | export interface PutCorsPolicyOutput {
|
446 | }
|
447 | export interface PutLifecyclePolicyInput {
|
448 | |
449 |
|
450 |
|
451 | ContainerName: ContainerName;
|
452 | |
453 |
|
454 |
|
455 | LifecyclePolicy: LifecyclePolicy;
|
456 | }
|
457 | export interface PutLifecyclePolicyOutput {
|
458 | }
|
459 | export interface PutMetricPolicyInput {
|
460 | |
461 |
|
462 |
|
463 | ContainerName: ContainerName;
|
464 | |
465 |
|
466 |
|
467 | MetricPolicy: MetricPolicy;
|
468 | }
|
469 | export interface PutMetricPolicyOutput {
|
470 | }
|
471 | export interface StartAccessLoggingInput {
|
472 | |
473 |
|
474 |
|
475 | ContainerName: ContainerName;
|
476 | }
|
477 | export interface StartAccessLoggingOutput {
|
478 | }
|
479 | export interface StopAccessLoggingInput {
|
480 | |
481 |
|
482 |
|
483 | ContainerName: ContainerName;
|
484 | }
|
485 | export interface StopAccessLoggingOutput {
|
486 | }
|
487 | export interface Tag {
|
488 | |
489 |
|
490 |
|
491 | Key: TagKey;
|
492 | |
493 |
|
494 |
|
495 | Value?: TagValue;
|
496 | }
|
497 | export type TagKey = string;
|
498 | export type TagKeyList = TagKey[];
|
499 | export type TagList = Tag[];
|
500 | export interface TagResourceInput {
|
501 | |
502 |
|
503 |
|
504 | Resource: ContainerARN;
|
505 | |
506 |
|
507 |
|
508 | Tags: TagList;
|
509 | }
|
510 | export interface TagResourceOutput {
|
511 | }
|
512 | export type TagValue = string;
|
513 | export type TimeStamp = Date;
|
514 | export interface UntagResourceInput {
|
515 | |
516 |
|
517 |
|
518 | Resource: ContainerARN;
|
519 | |
520 |
|
521 |
|
522 | TagKeys: TagKeyList;
|
523 | }
|
524 | export interface UntagResourceOutput {
|
525 | }
|
526 | |
527 |
|
528 |
|
529 | export type apiVersion = "2017-09-01"|"latest"|string;
|
530 | export interface ClientApiVersions {
|
531 | |
532 |
|
533 |
|
534 | apiVersion?: apiVersion;
|
535 | }
|
536 | export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
537 | |
538 |
|
539 |
|
540 | export import Types = MediaStore;
|
541 | }
|
542 | export = MediaStore;
|