@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.
Files changed (214) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/MediaStore.js +0 -5
  3. package/dist-cjs/MediaStoreClient.js +0 -10
  4. package/dist-cjs/commands/CreateContainerCommand.js +0 -26
  5. package/dist-cjs/commands/DeleteContainerCommand.js +0 -27
  6. package/dist-cjs/commands/DeleteContainerPolicyCommand.js +0 -25
  7. package/dist-cjs/commands/DeleteCorsPolicyCommand.js +0 -29
  8. package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +0 -25
  9. package/dist-cjs/commands/DeleteMetricPolicyCommand.js +0 -25
  10. package/dist-cjs/commands/DescribeContainerCommand.js +0 -31
  11. package/dist-cjs/commands/GetContainerPolicyCommand.js +0 -27
  12. package/dist-cjs/commands/GetCorsPolicyCommand.js +0 -29
  13. package/dist-cjs/commands/GetLifecyclePolicyCommand.js +0 -25
  14. package/dist-cjs/commands/GetMetricPolicyCommand.js +0 -25
  15. package/dist-cjs/commands/ListContainersCommand.js +0 -33
  16. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  17. package/dist-cjs/commands/PutContainerPolicyCommand.js +0 -31
  18. package/dist-cjs/commands/PutCorsPolicyCommand.js +0 -35
  19. package/dist-cjs/commands/PutLifecyclePolicyCommand.js +0 -26
  20. package/dist-cjs/commands/PutMetricPolicyCommand.js +0 -25
  21. package/dist-cjs/commands/StartAccessLoggingCommand.js +0 -25
  22. package/dist-cjs/commands/StopAccessLoggingCommand.js +0 -25
  23. package/dist-cjs/commands/TagResourceCommand.js +0 -27
  24. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  25. package/dist-cjs/commands/index.js +24 -0
  26. package/dist-cjs/endpoints.js +1 -2
  27. package/dist-cjs/index.js +4 -26
  28. package/dist-cjs/models/index.js +0 -1
  29. package/dist-cjs/models/models_0.js +0 -160
  30. package/dist-cjs/pagination/Interfaces.js +0 -1
  31. package/dist-cjs/pagination/ListContainersPaginator.js +0 -11
  32. package/dist-cjs/pagination/index.js +5 -0
  33. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  34. package/dist-cjs/runtimeConfig.browser.js +1 -6
  35. package/dist-cjs/runtimeConfig.js +2 -7
  36. package/dist-cjs/runtimeConfig.native.js +0 -4
  37. package/dist-cjs/runtimeConfig.shared.js +0 -4
  38. package/dist-es/MediaStore.js +0 -1
  39. package/dist-es/MediaStoreClient.js +0 -1
  40. package/dist-es/commands/CreateContainerCommand.js +0 -1
  41. package/dist-es/commands/DeleteContainerCommand.js +0 -1
  42. package/dist-es/commands/DeleteContainerPolicyCommand.js +0 -1
  43. package/dist-es/commands/DeleteCorsPolicyCommand.js +0 -1
  44. package/dist-es/commands/DeleteLifecyclePolicyCommand.js +0 -1
  45. package/dist-es/commands/DeleteMetricPolicyCommand.js +0 -1
  46. package/dist-es/commands/DescribeContainerCommand.js +0 -1
  47. package/dist-es/commands/GetContainerPolicyCommand.js +0 -1
  48. package/dist-es/commands/GetCorsPolicyCommand.js +0 -1
  49. package/dist-es/commands/GetLifecyclePolicyCommand.js +0 -1
  50. package/dist-es/commands/GetMetricPolicyCommand.js +0 -1
  51. package/dist-es/commands/ListContainersCommand.js +0 -1
  52. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  53. package/dist-es/commands/PutContainerPolicyCommand.js +0 -1
  54. package/dist-es/commands/PutCorsPolicyCommand.js +0 -1
  55. package/dist-es/commands/PutLifecyclePolicyCommand.js +0 -1
  56. package/dist-es/commands/PutMetricPolicyCommand.js +0 -1
  57. package/dist-es/commands/StartAccessLoggingCommand.js +0 -1
  58. package/dist-es/commands/StopAccessLoggingCommand.js +0 -1
  59. package/dist-es/commands/TagResourceCommand.js +0 -1
  60. package/dist-es/commands/UntagResourceCommand.js +0 -1
  61. package/dist-es/commands/index.js +21 -0
  62. package/dist-es/endpoints.js +1 -2
  63. package/dist-es/index.js +4 -26
  64. package/dist-es/models/index.js +0 -1
  65. package/dist-es/models/models_0.js +0 -1
  66. package/dist-es/pagination/Interfaces.js +0 -1
  67. package/dist-es/pagination/ListContainersPaginator.js +0 -1
  68. package/dist-es/pagination/index.js +2 -0
  69. package/dist-es/protocols/Aws_json1_1.js +0 -1
  70. package/dist-es/runtimeConfig.browser.js +1 -2
  71. package/dist-es/runtimeConfig.js +2 -3
  72. package/dist-es/runtimeConfig.native.js +0 -1
  73. package/dist-es/runtimeConfig.shared.js +0 -1
  74. package/dist-types/commands/index.d.ts +21 -0
  75. package/dist-types/index.d.ts +4 -25
  76. package/dist-types/pagination/index.d.ts +2 -0
  77. package/dist-types/ts3.4/MediaStore.d.ts +22 -113
  78. package/dist-types/ts3.4/MediaStoreClient.d.ts +24 -90
  79. package/dist-types/ts3.4/commands/CreateContainerCommand.d.ts +2 -21
  80. package/dist-types/ts3.4/commands/DeleteContainerCommand.d.ts +2 -22
  81. package/dist-types/ts3.4/commands/DeleteContainerPolicyCommand.d.ts +2 -20
  82. package/dist-types/ts3.4/commands/DeleteCorsPolicyCommand.d.ts +2 -24
  83. package/dist-types/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +2 -20
  84. package/dist-types/ts3.4/commands/DeleteMetricPolicyCommand.d.ts +2 -20
  85. package/dist-types/ts3.4/commands/DescribeContainerCommand.d.ts +2 -26
  86. package/dist-types/ts3.4/commands/GetContainerPolicyCommand.d.ts +2 -22
  87. package/dist-types/ts3.4/commands/GetCorsPolicyCommand.d.ts +2 -24
  88. package/dist-types/ts3.4/commands/GetLifecyclePolicyCommand.d.ts +2 -20
  89. package/dist-types/ts3.4/commands/GetMetricPolicyCommand.d.ts +2 -20
  90. package/dist-types/ts3.4/commands/ListContainersCommand.d.ts +2 -28
  91. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  92. package/dist-types/ts3.4/commands/PutContainerPolicyCommand.d.ts +2 -26
  93. package/dist-types/ts3.4/commands/PutCorsPolicyCommand.d.ts +2 -30
  94. package/dist-types/ts3.4/commands/PutLifecyclePolicyCommand.d.ts +2 -21
  95. package/dist-types/ts3.4/commands/PutMetricPolicyCommand.d.ts +2 -20
  96. package/dist-types/ts3.4/commands/StartAccessLoggingCommand.d.ts +2 -20
  97. package/dist-types/ts3.4/commands/StopAccessLoggingCommand.d.ts +2 -20
  98. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -22
  99. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  100. package/dist-types/ts3.4/commands/index.d.ts +21 -0
  101. package/dist-types/ts3.4/index.d.ts +4 -25
  102. package/dist-types/ts3.4/models/models_0.d.ts +14 -746
  103. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  104. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  105. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  106. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  107. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  108. package/package.json +33 -30
  109. package/dist-cjs/MediaStore.js.map +0 -1
  110. package/dist-cjs/MediaStoreClient.js.map +0 -1
  111. package/dist-cjs/commands/CreateContainerCommand.js.map +0 -1
  112. package/dist-cjs/commands/DeleteContainerCommand.js.map +0 -1
  113. package/dist-cjs/commands/DeleteContainerPolicyCommand.js.map +0 -1
  114. package/dist-cjs/commands/DeleteCorsPolicyCommand.js.map +0 -1
  115. package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js.map +0 -1
  116. package/dist-cjs/commands/DeleteMetricPolicyCommand.js.map +0 -1
  117. package/dist-cjs/commands/DescribeContainerCommand.js.map +0 -1
  118. package/dist-cjs/commands/GetContainerPolicyCommand.js.map +0 -1
  119. package/dist-cjs/commands/GetCorsPolicyCommand.js.map +0 -1
  120. package/dist-cjs/commands/GetLifecyclePolicyCommand.js.map +0 -1
  121. package/dist-cjs/commands/GetMetricPolicyCommand.js.map +0 -1
  122. package/dist-cjs/commands/ListContainersCommand.js.map +0 -1
  123. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  124. package/dist-cjs/commands/PutContainerPolicyCommand.js.map +0 -1
  125. package/dist-cjs/commands/PutCorsPolicyCommand.js.map +0 -1
  126. package/dist-cjs/commands/PutLifecyclePolicyCommand.js.map +0 -1
  127. package/dist-cjs/commands/PutMetricPolicyCommand.js.map +0 -1
  128. package/dist-cjs/commands/StartAccessLoggingCommand.js.map +0 -1
  129. package/dist-cjs/commands/StopAccessLoggingCommand.js.map +0 -1
  130. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  131. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  132. package/dist-cjs/endpoints.js.map +0 -1
  133. package/dist-cjs/index.js.map +0 -1
  134. package/dist-cjs/models/index.js.map +0 -1
  135. package/dist-cjs/models/models_0.js.map +0 -1
  136. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  137. package/dist-cjs/pagination/ListContainersPaginator.js.map +0 -1
  138. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  139. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  140. package/dist-cjs/runtimeConfig.js.map +0 -1
  141. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  142. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  143. package/dist-es/MediaStore.js.map +0 -1
  144. package/dist-es/MediaStoreClient.js.map +0 -1
  145. package/dist-es/commands/CreateContainerCommand.js.map +0 -1
  146. package/dist-es/commands/DeleteContainerCommand.js.map +0 -1
  147. package/dist-es/commands/DeleteContainerPolicyCommand.js.map +0 -1
  148. package/dist-es/commands/DeleteCorsPolicyCommand.js.map +0 -1
  149. package/dist-es/commands/DeleteLifecyclePolicyCommand.js.map +0 -1
  150. package/dist-es/commands/DeleteMetricPolicyCommand.js.map +0 -1
  151. package/dist-es/commands/DescribeContainerCommand.js.map +0 -1
  152. package/dist-es/commands/GetContainerPolicyCommand.js.map +0 -1
  153. package/dist-es/commands/GetCorsPolicyCommand.js.map +0 -1
  154. package/dist-es/commands/GetLifecyclePolicyCommand.js.map +0 -1
  155. package/dist-es/commands/GetMetricPolicyCommand.js.map +0 -1
  156. package/dist-es/commands/ListContainersCommand.js.map +0 -1
  157. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  158. package/dist-es/commands/PutContainerPolicyCommand.js.map +0 -1
  159. package/dist-es/commands/PutCorsPolicyCommand.js.map +0 -1
  160. package/dist-es/commands/PutLifecyclePolicyCommand.js.map +0 -1
  161. package/dist-es/commands/PutMetricPolicyCommand.js.map +0 -1
  162. package/dist-es/commands/StartAccessLoggingCommand.js.map +0 -1
  163. package/dist-es/commands/StopAccessLoggingCommand.js.map +0 -1
  164. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  165. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  166. package/dist-es/endpoints.js.map +0 -1
  167. package/dist-es/index.js.map +0 -1
  168. package/dist-es/models/index.js.map +0 -1
  169. package/dist-es/models/models_0.js.map +0 -1
  170. package/dist-es/pagination/Interfaces.js.map +0 -1
  171. package/dist-es/pagination/ListContainersPaginator.js.map +0 -1
  172. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  173. package/dist-es/runtimeConfig.browser.js.map +0 -1
  174. package/dist-es/runtimeConfig.js.map +0 -1
  175. package/dist-es/runtimeConfig.native.js.map +0 -1
  176. package/dist-es/runtimeConfig.shared.js.map +0 -1
  177. package/jest.config.js +0 -4
  178. package/src/MediaStore.ts +0 -822
  179. package/src/MediaStoreClient.ts +0 -309
  180. package/src/commands/CreateContainerCommand.ts +0 -96
  181. package/src/commands/DeleteContainerCommand.ts +0 -97
  182. package/src/commands/DeleteContainerPolicyCommand.ts +0 -95
  183. package/src/commands/DeleteCorsPolicyCommand.ts +0 -99
  184. package/src/commands/DeleteLifecyclePolicyCommand.ts +0 -95
  185. package/src/commands/DeleteMetricPolicyCommand.ts +0 -95
  186. package/src/commands/DescribeContainerCommand.ts +0 -101
  187. package/src/commands/GetContainerPolicyCommand.ts +0 -97
  188. package/src/commands/GetCorsPolicyCommand.ts +0 -99
  189. package/src/commands/GetLifecyclePolicyCommand.ts +0 -95
  190. package/src/commands/GetMetricPolicyCommand.ts +0 -95
  191. package/src/commands/ListContainersCommand.ts +0 -103
  192. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  193. package/src/commands/PutContainerPolicyCommand.ts +0 -101
  194. package/src/commands/PutCorsPolicyCommand.ts +0 -105
  195. package/src/commands/PutLifecyclePolicyCommand.ts +0 -96
  196. package/src/commands/PutMetricPolicyCommand.ts +0 -95
  197. package/src/commands/StartAccessLoggingCommand.ts +0 -95
  198. package/src/commands/StopAccessLoggingCommand.ts +0 -95
  199. package/src/commands/TagResourceCommand.ts +0 -97
  200. package/src/commands/UntagResourceCommand.ts +0 -95
  201. package/src/endpoints.ts +0 -57
  202. package/src/index.ts +0 -26
  203. package/src/models/index.ts +0 -1
  204. package/src/models/models_0.ts +0 -1013
  205. package/src/pagination/Interfaces.ts +0 -8
  206. package/src/pagination/ListContainersPaginator.ts +0 -59
  207. package/src/protocols/Aws_json1_1.ts +0 -2693
  208. package/src/runtimeConfig.browser.ts +0 -41
  209. package/src/runtimeConfig.native.ts +0 -17
  210. package/src/runtimeConfig.shared.ts +0 -17
  211. package/src/runtimeConfig.ts +0 -46
  212. package/tsconfig.es.json +0 -10
  213. package/tsconfig.json +0 -33
  214. package/tsconfig.types.json +0 -9
@@ -10,781 +10,49 @@ export declare enum ContainerStatus {
10
10
  CREATING = "CREATING",
11
11
  DELETING = "DELETING"
12
12
  }
13
- /**
14
- * <p>This section describes operations that you can perform on an AWS Elemental MediaStore
15
- * container.</p>
16
- */
13
+
17
14
  export interface Container {
18
- /**
19
- * <p>The DNS endpoint of the container. Use the endpoint to identify the specific
20
- * container when sending requests to the data plane. The service assigns this value when the
21
- * container is created. Once the value has been assigned, it does not change.</p>
22
- */
15
+
23
16
  Endpoint?: string;
24
- /**
25
- * <p>Unix timestamp.</p>
26
- */
17
+
27
18
  CreationTime?: Date;
28
- /**
29
- * <p>The Amazon Resource Name (ARN) of the container. The ARN has the following
30
- * format:</p>
31
- * <p>arn:aws:<region>:<account that owns this container>:container/<name of
32
- * container> </p>
33
- * <p>For example: arn:aws:mediastore:us-west-2:111122223333:container/movies </p>
34
- */
19
+
35
20
  ARN?: string;
36
- /**
37
- * <p>The name of the container.</p>
38
- */
21
+
39
22
  Name?: string;
40
- /**
41
- * <p>The status of container creation or deletion. The status is one of the following:
42
- * <code>CREATING</code>, <code>ACTIVE</code>, or <code>DELETING</code>. While the service
43
- * is creating the container, the status is <code>CREATING</code>. When the endpoint is
44
- * available, the status changes to <code>ACTIVE</code>.</p>
45
- */
23
+
46
24
  Status?: ContainerStatus | string;
47
- /**
48
- * <p>The state of access logging on the container. This value is <code>false</code> by default, indicating that AWS Elemental MediaStore does not send access logs to Amazon CloudWatch Logs. When you enable access logging on the container, MediaStore changes this value to <code>true</code>, indicating that the service delivers access logs for objects stored in that container to CloudWatch Logs.</p>
49
- */
25
+
50
26
  AccessLoggingEnabled?: boolean;
51
27
  }
52
28
  export declare namespace Container {
53
- /**
54
- * @internal
55
- */
29
+
56
30
  const filterSensitiveLog: (obj: Container) => any;
57
31
  }
58
- /**
59
- * <p>The container that you specified in the request already exists or is being
60
- * updated.</p>
61
- */
32
+
62
33
  export interface ContainerInUseException extends __SmithyException, $MetadataBearer {
63
34
  name: "ContainerInUseException";
64
35
  $fault: "client";
65
36
  Message?: string;
66
37
  }
67
38
  export declare namespace ContainerInUseException {
68
- /**
69
- * @internal
70
- */
39
+
71
40
  const filterSensitiveLog: (obj: ContainerInUseException) => any;
72
41
  }
73
42
  export declare enum ContainerLevelMetrics {
74
43
  DISABLED = "DISABLED",
75
44
  ENABLED = "ENABLED"
76
45
  }
77
- /**
78
- * <p>The container that you specified in the request does not exist.</p>
79
- */
46
+
80
47
  export interface ContainerNotFoundException extends __SmithyException, $MetadataBearer {
81
48
  name: "ContainerNotFoundException";
82
49
  $fault: "client";
83
50
  Message?: string;
84
51
  }
85
52
  export declare namespace ContainerNotFoundException {
86
- /**
87
- * @internal
88
- */
53
+
89
54
  const filterSensitiveLog: (obj: ContainerNotFoundException) => any;
90
55
  }
91
- /**
92
- * <p>A rule for a CORS policy. You can add up to 100 rules to a CORS policy. If more than
93
- * one rule applies, the service uses the first applicable rule listed.</p>
94
- */
56
+
95
57
  export interface CorsRule {
96
- /**
97
- * <p>One or more response headers that you want users to be able to access from their
98
- * applications (for example, from a JavaScript <code>XMLHttpRequest</code> object).</p>
99
- * <p>Each CORS rule must have at least one <code>AllowedOrigins</code> element. The string
100
- * value can include only one wildcard character (*), for example, http://*.example.com.
101
- * Additionally, you can specify only one wildcard character to allow cross-origin access for
102
- * all origins.</p>
103
- */
104
- AllowedOrigins: string[] | undefined;
105
- /**
106
- * <p>Identifies an HTTP method that the origin that is specified in the rule is allowed to
107
- * execute.</p>
108
- * <p>Each CORS rule must contain at least one <code>AllowedMethods</code> and one
109
- * <code>AllowedOrigins</code> element.</p>
110
- */
111
- AllowedMethods?: (MethodName | string)[];
112
- /**
113
- * <p>Specifies which headers are allowed in a preflight <code>OPTIONS</code> request
114
- * through the <code>Access-Control-Request-Headers</code> header. Each header name that is
115
- * specified in <code>Access-Control-Request-Headers</code> must have a corresponding entry in
116
- * the rule. Only the headers that were requested are sent back. </p>
117
- * <p>This element can contain only one wildcard character (*).</p>
118
- */
119
- AllowedHeaders: string[] | undefined;
120
- /**
121
- * <p>The time in seconds that your browser caches the preflight response for the specified
122
- * resource.</p>
123
- * <p>A CORS rule can have only one <code>MaxAgeSeconds</code> element.</p>
124
- */
125
- MaxAgeSeconds?: number;
126
- /**
127
- * <p>One or more headers in the response that you want users to be able to access from
128
- * their applications (for example, from a JavaScript <code>XMLHttpRequest</code>
129
- * object).</p>
130
- * <p>This element is optional for each rule.</p>
131
- */
132
- ExposeHeaders?: string[];
133
- }
134
- export declare namespace CorsRule {
135
- /**
136
- * @internal
137
- */
138
- const filterSensitiveLog: (obj: CorsRule) => any;
139
- }
140
- /**
141
- * <p>The CORS policy that you specified in the request does not exist.</p>
142
- */
143
- export interface CorsPolicyNotFoundException extends __SmithyException, $MetadataBearer {
144
- name: "CorsPolicyNotFoundException";
145
- $fault: "client";
146
- Message?: string;
147
- }
148
- export declare namespace CorsPolicyNotFoundException {
149
- /**
150
- * @internal
151
- */
152
- const filterSensitiveLog: (obj: CorsPolicyNotFoundException) => any;
153
- }
154
- /**
155
- * <p>A collection of tags associated with a container. Each tag consists of a key:value pair, which can be anything you define. Typically, the tag key
156
- * represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or
157
- * "production"). You can add up to 50
158
- * tags to each container. For more information about tagging, including naming and usage conventions, see <a href="https://docs.aws.amazon.com/mediastore/latest/ug/tagging.html">Tagging Resources in MediaStore</a>.</p>
159
- */
160
- export interface Tag {
161
- /**
162
- * <p>Part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as "customer." Tag keys are
163
- * case-sensitive.</p>
164
- */
165
- Key: string | undefined;
166
- /**
167
- * <p>Part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as "companyA" or
168
- * "companyB." Tag values are case-sensitive.</p>
169
- */
170
- Value?: string;
171
- }
172
- export declare namespace Tag {
173
- /**
174
- * @internal
175
- */
176
- const filterSensitiveLog: (obj: Tag) => any;
177
- }
178
- export interface CreateContainerInput {
179
- /**
180
- * <p>The name for the container. The name must be from 1 to 255 characters. Container
181
- * names must be unique to your AWS account within a specific region. As an example, you could
182
- * create a container named <code>movies</code> in every region, as long as you don’t have an
183
- * existing container with that name.</p>
184
- */
185
- ContainerName: string | undefined;
186
- /**
187
- * <p>An array of key:value pairs that you define. These values can be anything that you want. Typically, the tag key represents a category (such as
188
- * "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50
189
- * tags to each container. For more information about tagging, including naming and usage conventions, see <a href="https://docs.aws.amazon.com/mediastore/latest/ug/tagging.html">Tagging Resources in MediaStore</a>.</p>
190
- */
191
- Tags?: Tag[];
192
- }
193
- export declare namespace CreateContainerInput {
194
- /**
195
- * @internal
196
- */
197
- const filterSensitiveLog: (obj: CreateContainerInput) => any;
198
- }
199
- export interface CreateContainerOutput {
200
- /**
201
- * <p>ContainerARN: The Amazon Resource Name (ARN) of the newly created container. The ARN
202
- * has the following format: arn:aws:<region>:<account that owns this
203
- * container>:container/<name of container>. For example:
204
- * arn:aws:mediastore:us-west-2:111122223333:container/movies </p>
205
- * <p>ContainerName: The container name as specified in the request.</p>
206
- * <p>CreationTime: Unix time stamp.</p>
207
- * <p>Status: The status of container creation or deletion. The status is one of the
208
- * following: <code>CREATING</code>, <code>ACTIVE</code>, or <code>DELETING</code>. While the
209
- * service is creating the container, the status is <code>CREATING</code>. When an endpoint is
210
- * available, the status changes to <code>ACTIVE</code>.</p>
211
- * <p>The return value does not include the container's endpoint. To make downstream
212
- * requests, you must obtain this value by using <a>DescribeContainer</a> or <a>ListContainers</a>.</p>
213
- */
214
- Container: Container | undefined;
215
- }
216
- export declare namespace CreateContainerOutput {
217
- /**
218
- * @internal
219
- */
220
- const filterSensitiveLog: (obj: CreateContainerOutput) => any;
221
- }
222
- /**
223
- * <p>The service is temporarily unavailable.</p>
224
- */
225
- export interface InternalServerError extends __SmithyException, $MetadataBearer {
226
- name: "InternalServerError";
227
- $fault: "server";
228
- Message?: string;
229
- }
230
- export declare namespace InternalServerError {
231
- /**
232
- * @internal
233
- */
234
- const filterSensitiveLog: (obj: InternalServerError) => any;
235
- }
236
- /**
237
- * <p>A service limit has been exceeded.</p>
238
- */
239
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
240
- name: "LimitExceededException";
241
- $fault: "client";
242
- Message?: string;
243
- }
244
- export declare namespace LimitExceededException {
245
- /**
246
- * @internal
247
- */
248
- const filterSensitiveLog: (obj: LimitExceededException) => any;
249
- }
250
- export interface DeleteContainerInput {
251
- /**
252
- * <p>The name of the container to delete. </p>
253
- */
254
- ContainerName: string | undefined;
255
- }
256
- export declare namespace DeleteContainerInput {
257
- /**
258
- * @internal
259
- */
260
- const filterSensitiveLog: (obj: DeleteContainerInput) => any;
261
- }
262
- export interface DeleteContainerOutput {
263
- }
264
- export declare namespace DeleteContainerOutput {
265
- /**
266
- * @internal
267
- */
268
- const filterSensitiveLog: (obj: DeleteContainerOutput) => any;
269
- }
270
- export interface DeleteContainerPolicyInput {
271
- /**
272
- * <p>The name of the container that holds the policy.</p>
273
- */
274
- ContainerName: string | undefined;
275
- }
276
- export declare namespace DeleteContainerPolicyInput {
277
- /**
278
- * @internal
279
- */
280
- const filterSensitiveLog: (obj: DeleteContainerPolicyInput) => any;
281
- }
282
- export interface DeleteContainerPolicyOutput {
283
- }
284
- export declare namespace DeleteContainerPolicyOutput {
285
- /**
286
- * @internal
287
- */
288
- const filterSensitiveLog: (obj: DeleteContainerPolicyOutput) => any;
289
- }
290
- /**
291
- * <p>The policy that you specified in the request does not exist.</p>
292
- */
293
- export interface PolicyNotFoundException extends __SmithyException, $MetadataBearer {
294
- name: "PolicyNotFoundException";
295
- $fault: "client";
296
- Message?: string;
297
- }
298
- export declare namespace PolicyNotFoundException {
299
- /**
300
- * @internal
301
- */
302
- const filterSensitiveLog: (obj: PolicyNotFoundException) => any;
303
- }
304
- export interface DeleteCorsPolicyInput {
305
- /**
306
- * <p>The name of the container to remove the policy from.</p>
307
- */
308
- ContainerName: string | undefined;
309
- }
310
- export declare namespace DeleteCorsPolicyInput {
311
- /**
312
- * @internal
313
- */
314
- const filterSensitiveLog: (obj: DeleteCorsPolicyInput) => any;
315
- }
316
- export interface DeleteCorsPolicyOutput {
317
- }
318
- export declare namespace DeleteCorsPolicyOutput {
319
- /**
320
- * @internal
321
- */
322
- const filterSensitiveLog: (obj: DeleteCorsPolicyOutput) => any;
323
- }
324
- export interface DeleteLifecyclePolicyInput {
325
- /**
326
- * <p>The name of the container that holds the object lifecycle policy.</p>
327
- */
328
- ContainerName: string | undefined;
329
- }
330
- export declare namespace DeleteLifecyclePolicyInput {
331
- /**
332
- * @internal
333
- */
334
- const filterSensitiveLog: (obj: DeleteLifecyclePolicyInput) => any;
335
- }
336
- export interface DeleteLifecyclePolicyOutput {
337
- }
338
- export declare namespace DeleteLifecyclePolicyOutput {
339
- /**
340
- * @internal
341
- */
342
- const filterSensitiveLog: (obj: DeleteLifecyclePolicyOutput) => any;
343
- }
344
- export interface DeleteMetricPolicyInput {
345
- /**
346
- * <p>The name of the container that is associated with the metric policy that you want to delete.</p>
347
- */
348
- ContainerName: string | undefined;
349
- }
350
- export declare namespace DeleteMetricPolicyInput {
351
- /**
352
- * @internal
353
- */
354
- const filterSensitiveLog: (obj: DeleteMetricPolicyInput) => any;
355
- }
356
- export interface DeleteMetricPolicyOutput {
357
- }
358
- export declare namespace DeleteMetricPolicyOutput {
359
- /**
360
- * @internal
361
- */
362
- const filterSensitiveLog: (obj: DeleteMetricPolicyOutput) => any;
363
- }
364
- export interface DescribeContainerInput {
365
- /**
366
- * <p>The name of the container to query.</p>
367
- */
368
- ContainerName?: string;
369
- }
370
- export declare namespace DescribeContainerInput {
371
- /**
372
- * @internal
373
- */
374
- const filterSensitiveLog: (obj: DescribeContainerInput) => any;
375
- }
376
- export interface DescribeContainerOutput {
377
- /**
378
- * <p>The name of the queried container.</p>
379
- */
380
- Container?: Container;
381
- }
382
- export declare namespace DescribeContainerOutput {
383
- /**
384
- * @internal
385
- */
386
- const filterSensitiveLog: (obj: DescribeContainerOutput) => any;
387
- }
388
- export interface GetContainerPolicyInput {
389
- /**
390
- * <p>The name of the container. </p>
391
- */
392
- ContainerName: string | undefined;
393
- }
394
- export declare namespace GetContainerPolicyInput {
395
- /**
396
- * @internal
397
- */
398
- const filterSensitiveLog: (obj: GetContainerPolicyInput) => any;
399
- }
400
- export interface GetContainerPolicyOutput {
401
- /**
402
- * <p>The contents of the access policy.</p>
403
- */
404
- Policy: string | undefined;
405
- }
406
- export declare namespace GetContainerPolicyOutput {
407
- /**
408
- * @internal
409
- */
410
- const filterSensitiveLog: (obj: GetContainerPolicyOutput) => any;
411
- }
412
- export interface GetCorsPolicyInput {
413
- /**
414
- * <p>The name of the container that the policy is assigned to.</p>
415
- */
416
- ContainerName: string | undefined;
417
- }
418
- export declare namespace GetCorsPolicyInput {
419
- /**
420
- * @internal
421
- */
422
- const filterSensitiveLog: (obj: GetCorsPolicyInput) => any;
423
- }
424
- export interface GetCorsPolicyOutput {
425
- /**
426
- * <p>The CORS policy assigned to the container.</p>
427
- */
428
- CorsPolicy: CorsRule[] | undefined;
429
- }
430
- export declare namespace GetCorsPolicyOutput {
431
- /**
432
- * @internal
433
- */
434
- const filterSensitiveLog: (obj: GetCorsPolicyOutput) => any;
435
- }
436
- export interface GetLifecyclePolicyInput {
437
- /**
438
- * <p>The name of the container that the object lifecycle policy is assigned to.</p>
439
- */
440
- ContainerName: string | undefined;
441
- }
442
- export declare namespace GetLifecyclePolicyInput {
443
- /**
444
- * @internal
445
- */
446
- const filterSensitiveLog: (obj: GetLifecyclePolicyInput) => any;
447
- }
448
- export interface GetLifecyclePolicyOutput {
449
- /**
450
- * <p>The object lifecycle policy that is assigned to the container.</p>
451
- */
452
- LifecyclePolicy: string | undefined;
453
- }
454
- export declare namespace GetLifecyclePolicyOutput {
455
- /**
456
- * @internal
457
- */
458
- const filterSensitiveLog: (obj: GetLifecyclePolicyOutput) => any;
459
- }
460
- export interface GetMetricPolicyInput {
461
- /**
462
- * <p>The name of the container that is associated with the metric policy.</p>
463
- */
464
- ContainerName: string | undefined;
465
- }
466
- export declare namespace GetMetricPolicyInput {
467
- /**
468
- * @internal
469
- */
470
- const filterSensitiveLog: (obj: GetMetricPolicyInput) => any;
471
- }
472
- /**
473
- * <p>A setting that enables metrics at the object level. Each rule contains an object group and an object group name. If the policy includes the MetricPolicyRules parameter, you must include at least one rule. Each metric policy can include up to five rules by default. You can also <a href="https://console.aws.amazon.com/servicequotas/home?region=us-east-1#!/services/mediastore/quotas">request a quota increase</a> to allow up to 300 rules per policy.</p>
474
- */
475
- export interface MetricPolicyRule {
476
- /**
477
- * <p>A path or file name that defines which objects to include in the group. Wildcards (*) are acceptable.</p>
478
- */
479
- ObjectGroup: string | undefined;
480
- /**
481
- * <p>A name that allows you to refer to the object group.</p>
482
- */
483
- ObjectGroupName: string | undefined;
484
- }
485
- export declare namespace MetricPolicyRule {
486
- /**
487
- * @internal
488
- */
489
- const filterSensitiveLog: (obj: MetricPolicyRule) => any;
490
- }
491
- /**
492
- * <p>The metric policy that is associated with the container. A metric policy allows AWS Elemental MediaStore to send metrics to Amazon CloudWatch. In the policy, you must indicate whether you want MediaStore to send container-level metrics. You can also include rules to define groups of objects that you want MediaStore to send object-level metrics for.</p>
493
- * <p>To view examples of how to construct a metric policy for your use case, see <a href="https://docs.aws.amazon.com/mediastore/latest/ug/policies-metric-examples.html">Example Metric Policies</a>.</p>
494
- */
495
- export interface MetricPolicy {
496
- /**
497
- * <p>A setting to enable or disable metrics at the container level.</p>
498
- */
499
- ContainerLevelMetrics: ContainerLevelMetrics | string | undefined;
500
- /**
501
- * <p>A parameter that holds an array of rules that enable metrics at the object level. This parameter is optional, but if you choose to include it, you must also include at least one rule. By default, you can include up to five rules. You can also <a href="https://console.aws.amazon.com/servicequotas/home?region=us-east-1#!/services/mediastore/quotas">request a quota increase</a> to allow up to 300 rules per policy.</p>
502
- */
503
- MetricPolicyRules?: MetricPolicyRule[];
504
- }
505
- export declare namespace MetricPolicy {
506
- /**
507
- * @internal
508
- */
509
- const filterSensitiveLog: (obj: MetricPolicy) => any;
510
- }
511
- export interface GetMetricPolicyOutput {
512
- /**
513
- * <p>The metric policy that is associated with the specific container.</p>
514
- */
515
- MetricPolicy: MetricPolicy | undefined;
516
- }
517
- export declare namespace GetMetricPolicyOutput {
518
- /**
519
- * @internal
520
- */
521
- const filterSensitiveLog: (obj: GetMetricPolicyOutput) => any;
522
- }
523
- export interface ListContainersInput {
524
- /**
525
- * <p>Only if you used <code>MaxResults</code> in the first command, enter the token (which
526
- * was included in the previous response) to obtain the next set of containers. This token is
527
- * included in a response only if there actually are more containers to list.</p>
528
- */
529
- NextToken?: string;
530
- /**
531
- * <p>Enter the maximum number of containers in the response. Use from 1 to 255 characters.
532
- * </p>
533
- */
534
- MaxResults?: number;
535
- }
536
- export declare namespace ListContainersInput {
537
- /**
538
- * @internal
539
- */
540
- const filterSensitiveLog: (obj: ListContainersInput) => any;
541
- }
542
- export interface ListContainersOutput {
543
- /**
544
- * <p>The names of the containers.</p>
545
- */
546
- Containers: Container[] | undefined;
547
- /**
548
- * <p>
549
- * <code>NextToken</code> is the token to use in the next call to <code>ListContainers</code>.
550
- * This token is returned only if you included the <code>MaxResults</code> tag in the original
551
- * command, and only if there are still containers to return. </p>
552
- */
553
- NextToken?: string;
554
- }
555
- export declare namespace ListContainersOutput {
556
- /**
557
- * @internal
558
- */
559
- const filterSensitiveLog: (obj: ListContainersOutput) => any;
560
- }
561
- export interface ListTagsForResourceInput {
562
- /**
563
- * <p>The Amazon Resource Name (ARN) for the container.</p>
564
- */
565
- Resource: string | undefined;
566
- }
567
- export declare namespace ListTagsForResourceInput {
568
- /**
569
- * @internal
570
- */
571
- const filterSensitiveLog: (obj: ListTagsForResourceInput) => any;
572
- }
573
- export interface ListTagsForResourceOutput {
574
- /**
575
- * <p>An array of key:value pairs that are assigned to the container.</p>
576
- */
577
- Tags?: Tag[];
578
- }
579
- export declare namespace ListTagsForResourceOutput {
580
- /**
581
- * @internal
582
- */
583
- const filterSensitiveLog: (obj: ListTagsForResourceOutput) => any;
584
- }
585
- export interface PutContainerPolicyInput {
586
- /**
587
- * <p>The name of the container.</p>
588
- */
589
- ContainerName: string | undefined;
590
- /**
591
- * <p>The contents of the policy, which includes the following: </p>
592
- * <ul>
593
- * <li>
594
- * <p>One <code>Version</code> tag</p>
595
- * </li>
596
- * <li>
597
- * <p>One <code>Statement</code> tag that contains the standard tags for the
598
- * policy.</p>
599
- * </li>
600
- * </ul>
601
- */
602
- Policy: string | undefined;
603
- }
604
- export declare namespace PutContainerPolicyInput {
605
- /**
606
- * @internal
607
- */
608
- const filterSensitiveLog: (obj: PutContainerPolicyInput) => any;
609
- }
610
- export interface PutContainerPolicyOutput {
611
- }
612
- export declare namespace PutContainerPolicyOutput {
613
- /**
614
- * @internal
615
- */
616
- const filterSensitiveLog: (obj: PutContainerPolicyOutput) => any;
617
- }
618
- export interface PutCorsPolicyInput {
619
- /**
620
- * <p>The name of the container that you want to assign the CORS policy to.</p>
621
- */
622
- ContainerName: string | undefined;
623
- /**
624
- * <p>The CORS policy to apply to the container. </p>
625
- */
626
- CorsPolicy: CorsRule[] | undefined;
627
- }
628
- export declare namespace PutCorsPolicyInput {
629
- /**
630
- * @internal
631
- */
632
- const filterSensitiveLog: (obj: PutCorsPolicyInput) => any;
633
- }
634
- export interface PutCorsPolicyOutput {
635
- }
636
- export declare namespace PutCorsPolicyOutput {
637
- /**
638
- * @internal
639
- */
640
- const filterSensitiveLog: (obj: PutCorsPolicyOutput) => any;
641
- }
642
- export interface PutLifecyclePolicyInput {
643
- /**
644
- * <p>The name of the container that you want to assign the object lifecycle policy to.</p>
645
- */
646
- ContainerName: string | undefined;
647
- /**
648
- * <p>The object lifecycle policy to apply to the container.</p>
649
- */
650
- LifecyclePolicy: string | undefined;
651
- }
652
- export declare namespace PutLifecyclePolicyInput {
653
- /**
654
- * @internal
655
- */
656
- const filterSensitiveLog: (obj: PutLifecyclePolicyInput) => any;
657
- }
658
- export interface PutLifecyclePolicyOutput {
659
- }
660
- export declare namespace PutLifecyclePolicyOutput {
661
- /**
662
- * @internal
663
- */
664
- const filterSensitiveLog: (obj: PutLifecyclePolicyOutput) => any;
665
- }
666
- export interface PutMetricPolicyInput {
667
- /**
668
- * <p>The name of the container that you want to add the metric policy to.</p>
669
- */
670
- ContainerName: string | undefined;
671
- /**
672
- * <p>The metric policy that you want to associate with the container. In the policy, you must indicate whether you want MediaStore to send container-level metrics. You can also include up to five rules to define groups of objects that you want MediaStore to send object-level metrics for. If you include rules in the policy, construct each rule with both of the following:</p>
673
- * <ul>
674
- * <li>
675
- * <p>An object group that defines which objects to include in the group. The definition can be a path or a file name, but it can't have more than 900 characters. Valid characters are: a-z, A-Z, 0-9, _ (underscore), = (equal), : (colon), . (period), - (hyphen), ~ (tilde), / (forward slash), and * (asterisk). Wildcards (*) are acceptable.</p>
676
- * </li>
677
- * <li>
678
- * <p>An object group name that allows you to refer to the object group. The name can't have more than 30 characters. Valid characters are: a-z, A-Z, 0-9, and _ (underscore).</p>
679
- * </li>
680
- * </ul>
681
- */
682
- MetricPolicy: MetricPolicy | undefined;
683
- }
684
- export declare namespace PutMetricPolicyInput {
685
- /**
686
- * @internal
687
- */
688
- const filterSensitiveLog: (obj: PutMetricPolicyInput) => any;
689
- }
690
- export interface PutMetricPolicyOutput {
691
- }
692
- export declare namespace PutMetricPolicyOutput {
693
- /**
694
- * @internal
695
- */
696
- const filterSensitiveLog: (obj: PutMetricPolicyOutput) => any;
697
- }
698
- export interface StartAccessLoggingInput {
699
- /**
700
- * <p>The name of the container that you want to start access logging on.</p>
701
- */
702
- ContainerName: string | undefined;
703
- }
704
- export declare namespace StartAccessLoggingInput {
705
- /**
706
- * @internal
707
- */
708
- const filterSensitiveLog: (obj: StartAccessLoggingInput) => any;
709
- }
710
- export interface StartAccessLoggingOutput {
711
- }
712
- export declare namespace StartAccessLoggingOutput {
713
- /**
714
- * @internal
715
- */
716
- const filterSensitiveLog: (obj: StartAccessLoggingOutput) => any;
717
- }
718
- export interface StopAccessLoggingInput {
719
- /**
720
- * <p>The name of the container that you want to stop access logging on.</p>
721
- */
722
- ContainerName: string | undefined;
723
- }
724
- export declare namespace StopAccessLoggingInput {
725
- /**
726
- * @internal
727
- */
728
- const filterSensitiveLog: (obj: StopAccessLoggingInput) => any;
729
- }
730
- export interface StopAccessLoggingOutput {
731
- }
732
- export declare namespace StopAccessLoggingOutput {
733
- /**
734
- * @internal
735
- */
736
- const filterSensitiveLog: (obj: StopAccessLoggingOutput) => any;
737
- }
738
- export interface TagResourceInput {
739
- /**
740
- * <p>The Amazon Resource Name (ARN) for the container. </p>
741
- */
742
- Resource: string | undefined;
743
- /**
744
- * <p>An array of key:value pairs that you want to add to the container. You need to specify only the tags that you want to add or update. For example,
745
- * suppose a container already has two tags (customer:CompanyA and priority:High). You want to change the priority tag and also add a third tag
746
- * (type:Contract). For TagResource, you specify the following tags: priority:Medium, type:Contract. The result is that your container has three tags:
747
- * customer:CompanyA, priority:Medium, and type:Contract.</p>
748
- */
749
- Tags: Tag[] | undefined;
750
- }
751
- export declare namespace TagResourceInput {
752
- /**
753
- * @internal
754
- */
755
- const filterSensitiveLog: (obj: TagResourceInput) => any;
756
- }
757
- export interface TagResourceOutput {
758
- }
759
- export declare namespace TagResourceOutput {
760
- /**
761
- * @internal
762
- */
763
- const filterSensitiveLog: (obj: TagResourceOutput) => any;
764
- }
765
- export interface UntagResourceInput {
766
- /**
767
- * <p>The Amazon Resource Name (ARN) for the container.</p>
768
- */
769
- Resource: string | undefined;
770
- /**
771
- * <p>A comma-separated list of keys for tags that you want to remove from the container. For example, if your container has two tags (customer:CompanyA
772
- * and priority:High) and you want to remove one of the tags (priority:High), you specify the key for the tag that you want to remove
773
- * (priority).</p>
774
- */
775
- TagKeys: string[] | undefined;
776
- }
777
- export declare namespace UntagResourceInput {
778
- /**
779
- * @internal
780
- */
781
- const filterSensitiveLog: (obj: UntagResourceInput) => any;
782
- }
783
- export interface UntagResourceOutput {
784
- }
785
- export declare namespace UntagResourceOutput {
786
- /**
787
- * @internal
788
- */
789
- const filterSensitiveLog: (obj: UntagResourceOutput) => any;
790
- }
58
+