@aws-sdk/client-mediastore-data 3.321.1 → 3.326.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.
@@ -31,6 +31,8 @@ export interface DeleteObjectCommandOutput extends DeleteObjectResponse, __Metad
31
31
  * };
32
32
  * const command = new DeleteObjectCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param DeleteObjectCommandInput - {@link DeleteObjectCommandInput}
@@ -48,6 +50,8 @@ export interface DeleteObjectCommandOutput extends DeleteObjectResponse, __Metad
48
50
  * @throws {@link ObjectNotFoundException} (client fault)
49
51
  * <p>Could not perform an operation on an object that does not exist.</p>
50
52
  *
53
+ * @throws {@link MediaStoreDataServiceException}
54
+ * <p>Base exception class for all service exceptions from MediaStoreData service.</p>
51
55
  *
52
56
  */
53
57
  export declare class DeleteObjectCommand extends $Command<DeleteObjectCommandInput, DeleteObjectCommandOutput, MediaStoreDataClientResolvedConfig> {
@@ -31,6 +31,14 @@ export interface DescribeObjectCommandOutput extends DescribeObjectResponse, __M
31
31
  * };
32
32
  * const command = new DescribeObjectCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // DescribeObjectResponse
35
+ * // ETag: "STRING_VALUE",
36
+ * // ContentType: "STRING_VALUE",
37
+ * // ContentLength: Number("long"),
38
+ * // CacheControl: "STRING_VALUE",
39
+ * // LastModified: new Date("TIMESTAMP"),
40
+ * // };
41
+ *
34
42
  * ```
35
43
  *
36
44
  * @param DescribeObjectCommandInput - {@link DescribeObjectCommandInput}
@@ -48,6 +56,8 @@ export interface DescribeObjectCommandOutput extends DescribeObjectResponse, __M
48
56
  * @throws {@link ObjectNotFoundException} (client fault)
49
57
  * <p>Could not perform an operation on an object that does not exist.</p>
50
58
  *
59
+ * @throws {@link MediaStoreDataServiceException}
60
+ * <p>Base exception class for all service exceptions from MediaStoreData service.</p>
51
61
  *
52
62
  */
53
63
  export declare class DescribeObjectCommand extends $Command<DescribeObjectCommandInput, DescribeObjectCommandOutput, MediaStoreDataClientResolvedConfig> {
@@ -32,6 +32,17 @@ export interface GetObjectCommandOutput extends __WithSdkStreamMixin<GetObjectRe
32
32
  * };
33
33
  * const command = new GetObjectCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetObjectResponse
36
+ * // Body: "STREAMING_BLOB_VALUE",
37
+ * // CacheControl: "STRING_VALUE",
38
+ * // ContentRange: "STRING_VALUE",
39
+ * // ContentLength: Number("long"),
40
+ * // ContentType: "STRING_VALUE",
41
+ * // ETag: "STRING_VALUE",
42
+ * // LastModified: new Date("TIMESTAMP"),
43
+ * // StatusCode: Number("int"), // required
44
+ * // };
45
+ *
35
46
  * ```
36
47
  *
37
48
  * @param GetObjectCommandInput - {@link GetObjectCommandInput}
@@ -52,6 +63,8 @@ export interface GetObjectCommandOutput extends __WithSdkStreamMixin<GetObjectRe
52
63
  * @throws {@link RequestedRangeNotSatisfiableException} (client fault)
53
64
  * <p>The requested content range is not valid.</p>
54
65
  *
66
+ * @throws {@link MediaStoreDataServiceException}
67
+ * <p>Base exception class for all service exceptions from MediaStoreData service.</p>
55
68
  *
56
69
  */
57
70
  export declare class GetObjectCommand extends $Command<GetObjectCommandInput, GetObjectCommandOutput, MediaStoreDataClientResolvedConfig> {
@@ -34,6 +34,20 @@ export interface ListItemsCommandOutput extends ListItemsResponse, __MetadataBea
34
34
  * };
35
35
  * const command = new ListItemsCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // ListItemsResponse
38
+ * // Items: [ // ItemList
39
+ * // { // Item
40
+ * // Name: "STRING_VALUE",
41
+ * // Type: "STRING_VALUE",
42
+ * // ETag: "STRING_VALUE",
43
+ * // LastModified: new Date("TIMESTAMP"),
44
+ * // ContentType: "STRING_VALUE",
45
+ * // ContentLength: Number("long"),
46
+ * // },
47
+ * // ],
48
+ * // NextToken: "STRING_VALUE",
49
+ * // };
50
+ *
37
51
  * ```
38
52
  *
39
53
  * @param ListItemsCommandInput - {@link ListItemsCommandInput}
@@ -48,6 +62,8 @@ export interface ListItemsCommandOutput extends ListItemsResponse, __MetadataBea
48
62
  * @throws {@link InternalServerError} (server fault)
49
63
  * <p>The service is temporarily unavailable.</p>
50
64
  *
65
+ * @throws {@link MediaStoreDataServiceException}
66
+ * <p>Base exception class for all service exceptions from MediaStoreData service.</p>
51
67
  *
52
68
  */
53
69
  export declare class ListItemsCommand extends $Command<ListItemsCommandInput, ListItemsCommandOutput, MediaStoreDataClientResolvedConfig> {
@@ -46,6 +46,12 @@ export interface PutObjectCommandOutput extends PutObjectResponse, __MetadataBea
46
46
  * };
47
47
  * const command = new PutObjectCommand(input);
48
48
  * const response = await client.send(command);
49
+ * // { // PutObjectResponse
50
+ * // ContentSHA256: "STRING_VALUE",
51
+ * // ETag: "STRING_VALUE",
52
+ * // StorageClass: "STRING_VALUE",
53
+ * // };
54
+ *
49
55
  * ```
50
56
  *
51
57
  * @param PutObjectCommandInput - {@link PutObjectCommandInput}
@@ -60,6 +66,8 @@ export interface PutObjectCommandOutput extends PutObjectResponse, __MetadataBea
60
66
  * @throws {@link InternalServerError} (server fault)
61
67
  * <p>The service is temporarily unavailable.</p>
62
68
  *
69
+ * @throws {@link MediaStoreDataServiceException}
70
+ * <p>Base exception class for all service exceptions from MediaStoreData service.</p>
63
71
  *
64
72
  */
65
73
  export declare class PutObjectCommand extends $Command<PutObjectCommandInput, PutObjectCommandOutput, MediaStoreDataClientResolvedConfig> {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediastore-data",
3
3
  "description": "AWS SDK for JavaScript Mediastore Data Client for Node.js, Browser and React Native",
4
- "version": "3.321.1",
4
+ "version": "3.326.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -23,33 +23,33 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "3.0.0",
25
25
  "@aws-crypto/sha256-js": "3.0.0",
26
- "@aws-sdk/client-sts": "3.321.1",
26
+ "@aws-sdk/client-sts": "3.326.0",
27
27
  "@aws-sdk/config-resolver": "3.310.0",
28
- "@aws-sdk/credential-provider-node": "3.321.1",
28
+ "@aws-sdk/credential-provider-node": "3.326.0",
29
29
  "@aws-sdk/fetch-http-handler": "3.310.0",
30
30
  "@aws-sdk/hash-node": "3.310.0",
31
31
  "@aws-sdk/invalid-dependency": "3.310.0",
32
- "@aws-sdk/middleware-content-length": "3.310.0",
33
- "@aws-sdk/middleware-endpoint": "3.310.0",
34
- "@aws-sdk/middleware-host-header": "3.310.0",
35
- "@aws-sdk/middleware-logger": "3.310.0",
36
- "@aws-sdk/middleware-recursion-detection": "3.310.0",
37
- "@aws-sdk/middleware-retry": "3.310.0",
38
- "@aws-sdk/middleware-serde": "3.310.0",
39
- "@aws-sdk/middleware-signing": "3.310.0",
40
- "@aws-sdk/middleware-stack": "3.310.0",
41
- "@aws-sdk/middleware-user-agent": "3.319.0",
32
+ "@aws-sdk/middleware-content-length": "3.325.0",
33
+ "@aws-sdk/middleware-endpoint": "3.325.0",
34
+ "@aws-sdk/middleware-host-header": "3.325.0",
35
+ "@aws-sdk/middleware-logger": "3.325.0",
36
+ "@aws-sdk/middleware-recursion-detection": "3.325.0",
37
+ "@aws-sdk/middleware-retry": "3.325.0",
38
+ "@aws-sdk/middleware-serde": "3.325.0",
39
+ "@aws-sdk/middleware-signing": "3.325.0",
40
+ "@aws-sdk/middleware-stack": "3.325.0",
41
+ "@aws-sdk/middleware-user-agent": "3.325.0",
42
42
  "@aws-sdk/node-config-provider": "3.310.0",
43
43
  "@aws-sdk/node-http-handler": "3.321.1",
44
44
  "@aws-sdk/protocol-http": "3.310.0",
45
- "@aws-sdk/smithy-client": "3.316.0",
45
+ "@aws-sdk/smithy-client": "3.325.0",
46
46
  "@aws-sdk/types": "3.310.0",
47
47
  "@aws-sdk/url-parser": "3.310.0",
48
48
  "@aws-sdk/util-base64": "3.310.0",
49
49
  "@aws-sdk/util-body-length-browser": "3.310.0",
50
50
  "@aws-sdk/util-body-length-node": "3.310.0",
51
- "@aws-sdk/util-defaults-mode-browser": "3.316.0",
52
- "@aws-sdk/util-defaults-mode-node": "3.316.0",
51
+ "@aws-sdk/util-defaults-mode-browser": "3.325.0",
52
+ "@aws-sdk/util-defaults-mode-node": "3.325.0",
53
53
  "@aws-sdk/util-endpoints": "3.319.0",
54
54
  "@aws-sdk/util-retry": "3.310.0",
55
55
  "@aws-sdk/util-stream-browser": "3.310.0",