@aws-sdk/client-mediastore-data 3.296.0 → 3.298.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/dist-cjs/commands/DeleteObjectCommand.js +2 -3
- package/dist-cjs/commands/DescribeObjectCommand.js +2 -3
- package/dist-cjs/commands/GetObjectCommand.js +1 -1
- package/dist-cjs/commands/ListItemsCommand.js +2 -3
- package/dist-cjs/commands/PutObjectCommand.js +1 -1
- package/dist-cjs/models/models_0.js +1 -37
- package/dist-es/commands/DeleteObjectCommand.js +2 -3
- package/dist-es/commands/DescribeObjectCommand.js +2 -3
- package/dist-es/commands/GetObjectCommand.js +2 -2
- package/dist-es/commands/ListItemsCommand.js +2 -3
- package/dist-es/commands/PutObjectCommand.js +2 -2
- package/dist-es/models/models_0.js +0 -27
- package/dist-types/MediaStoreData.d.ts +6 -0
- package/dist-types/MediaStoreDataClient.d.ts +24 -4
- package/dist-types/commands/DeleteObjectCommand.d.ts +16 -0
- package/dist-types/commands/DescribeObjectCommand.d.ts +16 -0
- package/dist-types/commands/GetObjectCommand.d.ts +16 -0
- package/dist-types/commands/ListItemsCommand.d.ts +16 -0
- package/dist-types/commands/PutObjectCommand.d.ts +17 -2
- package/dist-types/models/MediaStoreDataServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +44 -36
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListItemsPaginator.d.ts +3 -0
- package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +0 -25
- package/package.json +4 -3
|
@@ -4,7 +4,6 @@ exports.DeleteObjectCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
8
|
class DeleteObjectCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class DeleteObjectCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.DescribeObjectCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
8
|
class DescribeObjectCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class DescribeObjectCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -30,7 +30,7 @@ class GetObjectCommand extends smithy_client_1.Command {
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
34
|
outputFilterSensitiveLog: models_0_1.GetObjectResponseFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
@@ -4,7 +4,6 @@ exports.ListItemsCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
8
|
class ListItemsCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class ListItemsCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -31,7 +31,7 @@ class PutObjectCommand extends smithy_client_1.Command {
|
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
33
|
inputFilterSensitiveLog: models_0_1.PutObjectRequestFilterSensitiveLog,
|
|
34
|
-
outputFilterSensitiveLog:
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.PutObjectRequestFilterSensitiveLog = exports.GetObjectResponseFilterSensitiveLog = exports.UploadAvailability = exports.StorageClass = exports.ItemType = exports.RequestedRangeNotSatisfiableException = exports.ObjectNotFoundException = exports.InternalServerError = exports.ContainerNotFoundException = void 0;
|
|
4
4
|
const MediaStoreDataServiceException_1 = require("./MediaStoreDataServiceException");
|
|
5
5
|
class ContainerNotFoundException extends MediaStoreDataServiceException_1.MediaStoreDataServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -72,47 +72,11 @@ var UploadAvailability;
|
|
|
72
72
|
UploadAvailability["STANDARD"] = "STANDARD";
|
|
73
73
|
UploadAvailability["STREAMING"] = "STREAMING";
|
|
74
74
|
})(UploadAvailability = exports.UploadAvailability || (exports.UploadAvailability = {}));
|
|
75
|
-
const DeleteObjectRequestFilterSensitiveLog = (obj) => ({
|
|
76
|
-
...obj,
|
|
77
|
-
});
|
|
78
|
-
exports.DeleteObjectRequestFilterSensitiveLog = DeleteObjectRequestFilterSensitiveLog;
|
|
79
|
-
const DeleteObjectResponseFilterSensitiveLog = (obj) => ({
|
|
80
|
-
...obj,
|
|
81
|
-
});
|
|
82
|
-
exports.DeleteObjectResponseFilterSensitiveLog = DeleteObjectResponseFilterSensitiveLog;
|
|
83
|
-
const DescribeObjectRequestFilterSensitiveLog = (obj) => ({
|
|
84
|
-
...obj,
|
|
85
|
-
});
|
|
86
|
-
exports.DescribeObjectRequestFilterSensitiveLog = DescribeObjectRequestFilterSensitiveLog;
|
|
87
|
-
const DescribeObjectResponseFilterSensitiveLog = (obj) => ({
|
|
88
|
-
...obj,
|
|
89
|
-
});
|
|
90
|
-
exports.DescribeObjectResponseFilterSensitiveLog = DescribeObjectResponseFilterSensitiveLog;
|
|
91
|
-
const GetObjectRequestFilterSensitiveLog = (obj) => ({
|
|
92
|
-
...obj,
|
|
93
|
-
});
|
|
94
|
-
exports.GetObjectRequestFilterSensitiveLog = GetObjectRequestFilterSensitiveLog;
|
|
95
75
|
const GetObjectResponseFilterSensitiveLog = (obj) => ({
|
|
96
76
|
...obj,
|
|
97
77
|
});
|
|
98
78
|
exports.GetObjectResponseFilterSensitiveLog = GetObjectResponseFilterSensitiveLog;
|
|
99
|
-
const ItemFilterSensitiveLog = (obj) => ({
|
|
100
|
-
...obj,
|
|
101
|
-
});
|
|
102
|
-
exports.ItemFilterSensitiveLog = ItemFilterSensitiveLog;
|
|
103
|
-
const ListItemsRequestFilterSensitiveLog = (obj) => ({
|
|
104
|
-
...obj,
|
|
105
|
-
});
|
|
106
|
-
exports.ListItemsRequestFilterSensitiveLog = ListItemsRequestFilterSensitiveLog;
|
|
107
|
-
const ListItemsResponseFilterSensitiveLog = (obj) => ({
|
|
108
|
-
...obj,
|
|
109
|
-
});
|
|
110
|
-
exports.ListItemsResponseFilterSensitiveLog = ListItemsResponseFilterSensitiveLog;
|
|
111
79
|
const PutObjectRequestFilterSensitiveLog = (obj) => ({
|
|
112
80
|
...obj,
|
|
113
81
|
});
|
|
114
82
|
exports.PutObjectRequestFilterSensitiveLog = PutObjectRequestFilterSensitiveLog;
|
|
115
|
-
const PutObjectResponseFilterSensitiveLog = (obj) => ({
|
|
116
|
-
...obj,
|
|
117
|
-
});
|
|
118
|
-
exports.PutObjectResponseFilterSensitiveLog = PutObjectResponseFilterSensitiveLog;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DeleteObjectRequestFilterSensitiveLog, DeleteObjectResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1DeleteObjectCommand, serializeAws_restJson1DeleteObjectCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class DeleteObjectCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class DeleteObjectCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DescribeObjectRequestFilterSensitiveLog, DescribeObjectResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1DescribeObjectCommand, serializeAws_restJson1DescribeObjectCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class DescribeObjectCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class DescribeObjectCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { GetObjectResponseFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1GetObjectCommand, serializeAws_restJson1GetObjectCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class GetObjectCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
@@ -27,7 +27,7 @@ export class GetObjectCommand extends $Command {
|
|
|
27
27
|
logger,
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
31
|
outputFilterSensitiveLog: GetObjectResponseFilterSensitiveLog,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ListItemsRequestFilterSensitiveLog, ListItemsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1ListItemsCommand, serializeAws_restJson1ListItemsCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class ListItemsCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class ListItemsCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { PutObjectRequestFilterSensitiveLog
|
|
4
|
+
import { PutObjectRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1PutObjectCommand, serializeAws_restJson1PutObjectCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class PutObjectCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
@@ -28,7 +28,7 @@ export class PutObjectCommand extends $Command {
|
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
30
|
inputFilterSensitiveLog: PutObjectRequestFilterSensitiveLog,
|
|
31
|
-
outputFilterSensitiveLog:
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
34
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -65,36 +65,9 @@ export var UploadAvailability;
|
|
|
65
65
|
UploadAvailability["STANDARD"] = "STANDARD";
|
|
66
66
|
UploadAvailability["STREAMING"] = "STREAMING";
|
|
67
67
|
})(UploadAvailability || (UploadAvailability = {}));
|
|
68
|
-
export const DeleteObjectRequestFilterSensitiveLog = (obj) => ({
|
|
69
|
-
...obj,
|
|
70
|
-
});
|
|
71
|
-
export const DeleteObjectResponseFilterSensitiveLog = (obj) => ({
|
|
72
|
-
...obj,
|
|
73
|
-
});
|
|
74
|
-
export const DescribeObjectRequestFilterSensitiveLog = (obj) => ({
|
|
75
|
-
...obj,
|
|
76
|
-
});
|
|
77
|
-
export const DescribeObjectResponseFilterSensitiveLog = (obj) => ({
|
|
78
|
-
...obj,
|
|
79
|
-
});
|
|
80
|
-
export const GetObjectRequestFilterSensitiveLog = (obj) => ({
|
|
81
|
-
...obj,
|
|
82
|
-
});
|
|
83
68
|
export const GetObjectResponseFilterSensitiveLog = (obj) => ({
|
|
84
69
|
...obj,
|
|
85
70
|
});
|
|
86
|
-
export const ItemFilterSensitiveLog = (obj) => ({
|
|
87
|
-
...obj,
|
|
88
|
-
});
|
|
89
|
-
export const ListItemsRequestFilterSensitiveLog = (obj) => ({
|
|
90
|
-
...obj,
|
|
91
|
-
});
|
|
92
|
-
export const ListItemsResponseFilterSensitiveLog = (obj) => ({
|
|
93
|
-
...obj,
|
|
94
|
-
});
|
|
95
71
|
export const PutObjectRequestFilterSensitiveLog = (obj) => ({
|
|
96
72
|
...obj,
|
|
97
73
|
});
|
|
98
|
-
export const PutObjectResponseFilterSensitiveLog = (obj) => ({
|
|
99
|
-
...obj,
|
|
100
|
-
});
|
|
@@ -6,30 +6,35 @@ import { ListItemsCommandInput, ListItemsCommandOutput } from "./commands/ListIt
|
|
|
6
6
|
import { PutObjectCommandInput, PutObjectCommandOutput } from "./commands/PutObjectCommand";
|
|
7
7
|
import { MediaStoreDataClient } from "./MediaStoreDataClient";
|
|
8
8
|
/**
|
|
9
|
+
* @public
|
|
9
10
|
* <p>An AWS Elemental MediaStore asset is an object, similar to an object in the Amazon S3
|
|
10
11
|
* service. Objects are the fundamental entities that are stored in AWS Elemental
|
|
11
12
|
* MediaStore.</p>
|
|
12
13
|
*/
|
|
13
14
|
export declare class MediaStoreData extends MediaStoreDataClient {
|
|
14
15
|
/**
|
|
16
|
+
* @public
|
|
15
17
|
* <p>Deletes an object at the specified path.</p>
|
|
16
18
|
*/
|
|
17
19
|
deleteObject(args: DeleteObjectCommandInput, options?: __HttpHandlerOptions): Promise<DeleteObjectCommandOutput>;
|
|
18
20
|
deleteObject(args: DeleteObjectCommandInput, cb: (err: any, data?: DeleteObjectCommandOutput) => void): void;
|
|
19
21
|
deleteObject(args: DeleteObjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteObjectCommandOutput) => void): void;
|
|
20
22
|
/**
|
|
23
|
+
* @public
|
|
21
24
|
* <p>Gets the headers for an object at the specified path.</p>
|
|
22
25
|
*/
|
|
23
26
|
describeObject(args: DescribeObjectCommandInput, options?: __HttpHandlerOptions): Promise<DescribeObjectCommandOutput>;
|
|
24
27
|
describeObject(args: DescribeObjectCommandInput, cb: (err: any, data?: DescribeObjectCommandOutput) => void): void;
|
|
25
28
|
describeObject(args: DescribeObjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeObjectCommandOutput) => void): void;
|
|
26
29
|
/**
|
|
30
|
+
* @public
|
|
27
31
|
* <p>Downloads the object at the specified path. If the object’s upload availability is set to <code>streaming</code>, AWS Elemental MediaStore downloads the object even if it’s still uploading the object.</p>
|
|
28
32
|
*/
|
|
29
33
|
getObject(args: GetObjectCommandInput, options?: __HttpHandlerOptions): Promise<GetObjectCommandOutput>;
|
|
30
34
|
getObject(args: GetObjectCommandInput, cb: (err: any, data?: GetObjectCommandOutput) => void): void;
|
|
31
35
|
getObject(args: GetObjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetObjectCommandOutput) => void): void;
|
|
32
36
|
/**
|
|
37
|
+
* @public
|
|
33
38
|
* <p>Provides a list of metadata entries about folders and objects in the specified
|
|
34
39
|
* folder.</p>
|
|
35
40
|
*/
|
|
@@ -37,6 +42,7 @@ export declare class MediaStoreData extends MediaStoreDataClient {
|
|
|
37
42
|
listItems(args: ListItemsCommandInput, cb: (err: any, data?: ListItemsCommandOutput) => void): void;
|
|
38
43
|
listItems(args: ListItemsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListItemsCommandOutput) => void): void;
|
|
39
44
|
/**
|
|
45
|
+
* @public
|
|
40
46
|
* <p>Uploads an object to the specified path. Object sizes are limited to 25 MB for standard upload availability and 10 MB for streaming upload availability.</p>
|
|
41
47
|
*/
|
|
42
48
|
putObject(args: PutObjectCommandInput, options?: __HttpHandlerOptions): Promise<PutObjectCommandOutput>;
|
|
@@ -13,15 +13,24 @@ import { GetObjectCommandInput, GetObjectCommandOutput } from "./commands/GetObj
|
|
|
13
13
|
import { ListItemsCommandInput, ListItemsCommandOutput } from "./commands/ListItemsCommand";
|
|
14
14
|
import { PutObjectCommandInput, PutObjectCommandOutput } from "./commands/PutObjectCommand";
|
|
15
15
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
16
19
|
export type ServiceInputTypes = DeleteObjectCommandInput | DescribeObjectCommandInput | GetObjectCommandInput | ListItemsCommandInput | PutObjectCommandInput;
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
17
23
|
export type ServiceOutputTypes = DeleteObjectCommandOutput | DescribeObjectCommandOutput | GetObjectCommandOutput | ListItemsCommandOutput | PutObjectCommandOutput;
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
18
27
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
19
28
|
/**
|
|
20
29
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
21
30
|
*/
|
|
22
31
|
requestHandler?: __HttpHandler;
|
|
23
32
|
/**
|
|
24
|
-
* A constructor for a class implementing the {@link
|
|
33
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
25
34
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
26
35
|
* @internal
|
|
27
36
|
*/
|
|
@@ -111,7 +120,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
111
120
|
*/
|
|
112
121
|
logger?: __Logger;
|
|
113
122
|
/**
|
|
114
|
-
* The {@link
|
|
123
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
115
124
|
*/
|
|
116
125
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
117
126
|
/**
|
|
@@ -120,19 +129,30 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
120
129
|
*/
|
|
121
130
|
sdkStreamMixin?: __SdkStreamMixinInjector;
|
|
122
131
|
}
|
|
132
|
+
/**
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
123
135
|
type MediaStoreDataClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
124
136
|
/**
|
|
125
|
-
*
|
|
137
|
+
* @public
|
|
138
|
+
*
|
|
139
|
+
* The configuration interface of MediaStoreDataClient class constructor that set the region, credentials and other options.
|
|
126
140
|
*/
|
|
127
141
|
export interface MediaStoreDataClientConfig extends MediaStoreDataClientConfigType {
|
|
128
142
|
}
|
|
143
|
+
/**
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
129
146
|
type MediaStoreDataClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
130
147
|
/**
|
|
131
|
-
*
|
|
148
|
+
* @public
|
|
149
|
+
*
|
|
150
|
+
* The resolved configuration interface of MediaStoreDataClient class. This is resolved and normalized from the {@link MediaStoreDataClientConfig | constructor configuration interface}.
|
|
132
151
|
*/
|
|
133
152
|
export interface MediaStoreDataClientResolvedConfig extends MediaStoreDataClientResolvedConfigType {
|
|
134
153
|
}
|
|
135
154
|
/**
|
|
155
|
+
* @public
|
|
136
156
|
* <p>An AWS Elemental MediaStore asset is an object, similar to an object in the Amazon S3
|
|
137
157
|
* service. Objects are the fundamental entities that are stored in AWS Elemental
|
|
138
158
|
* MediaStore.</p>
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { MediaStoreDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaStoreDataClient";
|
|
5
5
|
import { DeleteObjectRequest, DeleteObjectResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DeleteObjectCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DeleteObjectCommandInput extends DeleteObjectRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DeleteObjectCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DeleteObjectCommandOutput extends DeleteObjectResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deletes an object at the specified path.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface DeleteObjectCommandOutput extends DeleteObjectResponse, __Metad
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param DeleteObjectCommandInput - {@link DeleteObjectCommandInput}
|
|
34
|
+
* @returns {@link DeleteObjectCommandOutput}
|
|
28
35
|
* @see {@link DeleteObjectCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link DeleteObjectCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link MediaStoreDataClientResolvedConfig | config} for MediaStoreDataClient's `config` shape.
|
|
@@ -43,11 +50,20 @@ export interface DeleteObjectCommandOutput extends DeleteObjectResponse, __Metad
|
|
|
43
50
|
export declare class DeleteObjectCommand extends $Command<DeleteObjectCommandInput, DeleteObjectCommandOutput, MediaStoreDataClientResolvedConfig> {
|
|
44
51
|
readonly input: DeleteObjectCommandInput;
|
|
45
52
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
46
56
|
constructor(input: DeleteObjectCommandInput);
|
|
47
57
|
/**
|
|
48
58
|
* @internal
|
|
49
59
|
*/
|
|
50
60
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaStoreDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteObjectCommandInput, DeleteObjectCommandOutput>;
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
51
64
|
private serialize;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
52
68
|
private deserialize;
|
|
53
69
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { MediaStoreDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaStoreDataClient";
|
|
5
5
|
import { DescribeObjectRequest, DescribeObjectResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DescribeObjectCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DescribeObjectCommandInput extends DescribeObjectRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DescribeObjectCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DescribeObjectCommandOutput extends DescribeObjectResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Gets the headers for an object at the specified path.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface DescribeObjectCommandOutput extends DescribeObjectResponse, __M
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param DescribeObjectCommandInput - {@link DescribeObjectCommandInput}
|
|
34
|
+
* @returns {@link DescribeObjectCommandOutput}
|
|
28
35
|
* @see {@link DescribeObjectCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link DescribeObjectCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link MediaStoreDataClientResolvedConfig | config} for MediaStoreDataClient's `config` shape.
|
|
@@ -43,11 +50,20 @@ export interface DescribeObjectCommandOutput extends DescribeObjectResponse, __M
|
|
|
43
50
|
export declare class DescribeObjectCommand extends $Command<DescribeObjectCommandInput, DescribeObjectCommandOutput, MediaStoreDataClientResolvedConfig> {
|
|
44
51
|
readonly input: DescribeObjectCommandInput;
|
|
45
52
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
46
56
|
constructor(input: DescribeObjectCommandInput);
|
|
47
57
|
/**
|
|
48
58
|
* @internal
|
|
49
59
|
*/
|
|
50
60
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaStoreDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeObjectCommandInput, DescribeObjectCommandOutput>;
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
51
64
|
private serialize;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
52
68
|
private deserialize;
|
|
53
69
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { MediaStoreDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaStoreDataClient";
|
|
5
5
|
import { GetObjectRequest, GetObjectResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetObjectCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetObjectCommandInput extends GetObjectRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetObjectCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetObjectCommandOutput extends __WithSdkStreamMixin<GetObjectResponse, "Body">, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Downloads the object at the specified path. If the object’s upload availability is set to <code>streaming</code>, AWS Elemental MediaStore downloads the object even if it’s still uploading the object.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface GetObjectCommandOutput extends __WithSdkStreamMixin<GetObjectRe
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param GetObjectCommandInput - {@link GetObjectCommandInput}
|
|
34
|
+
* @returns {@link GetObjectCommandOutput}
|
|
28
35
|
* @see {@link GetObjectCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link GetObjectCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link MediaStoreDataClientResolvedConfig | config} for MediaStoreDataClient's `config` shape.
|
|
@@ -46,11 +53,20 @@ export interface GetObjectCommandOutput extends __WithSdkStreamMixin<GetObjectRe
|
|
|
46
53
|
export declare class GetObjectCommand extends $Command<GetObjectCommandInput, GetObjectCommandOutput, MediaStoreDataClientResolvedConfig> {
|
|
47
54
|
readonly input: GetObjectCommandInput;
|
|
48
55
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
49
59
|
constructor(input: GetObjectCommandInput);
|
|
50
60
|
/**
|
|
51
61
|
* @internal
|
|
52
62
|
*/
|
|
53
63
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaStoreDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetObjectCommandInput, GetObjectCommandOutput>;
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
54
67
|
private serialize;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
55
71
|
private deserialize;
|
|
56
72
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { MediaStoreDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaStoreDataClient";
|
|
5
5
|
import { ListItemsRequest, ListItemsResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListItemsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListItemsCommandInput extends ListItemsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListItemsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListItemsCommandOutput extends ListItemsResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Provides a list of metadata entries about folders and objects in the specified
|
|
18
23
|
* folder.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface ListItemsCommandOutput extends ListItemsResponse, __MetadataBea
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param ListItemsCommandInput - {@link ListItemsCommandInput}
|
|
35
|
+
* @returns {@link ListItemsCommandOutput}
|
|
29
36
|
* @see {@link ListItemsCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link ListItemsCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link MediaStoreDataClientResolvedConfig | config} for MediaStoreDataClient's `config` shape.
|
|
@@ -41,11 +48,20 @@ export interface ListItemsCommandOutput extends ListItemsResponse, __MetadataBea
|
|
|
41
48
|
export declare class ListItemsCommand extends $Command<ListItemsCommandInput, ListItemsCommandOutput, MediaStoreDataClientResolvedConfig> {
|
|
42
49
|
readonly input: ListItemsCommandInput;
|
|
43
50
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
44
54
|
constructor(input: ListItemsCommandInput);
|
|
45
55
|
/**
|
|
46
56
|
* @internal
|
|
47
57
|
*/
|
|
48
58
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaStoreDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListItemsCommandInput, ListItemsCommandOutput>;
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
49
62
|
private serialize;
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
50
66
|
private deserialize;
|
|
51
67
|
}
|
|
@@ -5,9 +5,11 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
5
5
|
import { MediaStoreDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaStoreDataClient";
|
|
6
6
|
import { PutObjectRequest, PutObjectResponse } from "../models/models_0";
|
|
7
7
|
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
8
10
|
* The input for {@link PutObjectCommand}.
|
|
9
11
|
*/
|
|
10
|
-
type PutObjectCommandInputType = Omit<PutObjectRequest, "Body"> & {
|
|
12
|
+
export type PutObjectCommandInputType = Omit<PutObjectRequest, "Body"> & {
|
|
11
13
|
/**
|
|
12
14
|
* For *`PutObjectRequest["Body"]`*, see {@link PutObjectRequest.Body}.
|
|
13
15
|
*/
|
|
@@ -19,11 +21,14 @@ type PutObjectCommandInputType = Omit<PutObjectRequest, "Body"> & {
|
|
|
19
21
|
export interface PutObjectCommandInput extends PutObjectCommandInputType {
|
|
20
22
|
}
|
|
21
23
|
/**
|
|
24
|
+
* @public
|
|
25
|
+
*
|
|
22
26
|
* The output of {@link PutObjectCommand}.
|
|
23
27
|
*/
|
|
24
28
|
export interface PutObjectCommandOutput extends PutObjectResponse, __MetadataBearer {
|
|
25
29
|
}
|
|
26
30
|
/**
|
|
31
|
+
* @public
|
|
27
32
|
* <p>Uploads an object to the specified path. Object sizes are limited to 25 MB for standard upload availability and 10 MB for streaming upload availability.</p>
|
|
28
33
|
* @example
|
|
29
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -35,6 +40,8 @@ export interface PutObjectCommandOutput extends PutObjectResponse, __MetadataBea
|
|
|
35
40
|
* const response = await client.send(command);
|
|
36
41
|
* ```
|
|
37
42
|
*
|
|
43
|
+
* @param PutObjectCommandInput - {@link PutObjectCommandInput}
|
|
44
|
+
* @returns {@link PutObjectCommandOutput}
|
|
38
45
|
* @see {@link PutObjectCommandInput} for command's `input` shape.
|
|
39
46
|
* @see {@link PutObjectCommandOutput} for command's `response` shape.
|
|
40
47
|
* @see {@link MediaStoreDataClientResolvedConfig | config} for MediaStoreDataClient's `config` shape.
|
|
@@ -50,12 +57,20 @@ export interface PutObjectCommandOutput extends PutObjectResponse, __MetadataBea
|
|
|
50
57
|
export declare class PutObjectCommand extends $Command<PutObjectCommandInput, PutObjectCommandOutput, MediaStoreDataClientResolvedConfig> {
|
|
51
58
|
readonly input: PutObjectCommandInput;
|
|
52
59
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
53
63
|
constructor(input: PutObjectCommandInput);
|
|
54
64
|
/**
|
|
55
65
|
* @internal
|
|
56
66
|
*/
|
|
57
67
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaStoreDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutObjectCommandInput, PutObjectCommandOutput>;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
58
71
|
private serialize;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
59
75
|
private deserialize;
|
|
60
76
|
}
|
|
61
|
-
export {};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from MediaStoreData service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class MediaStoreDataServiceException extends __ServiceException {
|
|
@@ -3,6 +3,7 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
|
|
|
3
3
|
import { Readable } from "stream";
|
|
4
4
|
import { MediaStoreDataServiceException as __BaseException } from "./MediaStoreDataServiceException";
|
|
5
5
|
/**
|
|
6
|
+
* @public
|
|
6
7
|
* <p>The specified container was not found for the specified account.</p>
|
|
7
8
|
*/
|
|
8
9
|
export declare class ContainerNotFoundException extends __BaseException {
|
|
@@ -14,6 +15,9 @@ export declare class ContainerNotFoundException extends __BaseException {
|
|
|
14
15
|
*/
|
|
15
16
|
constructor(opts: __ExceptionOptionType<ContainerNotFoundException, __BaseException>);
|
|
16
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
17
21
|
export interface DeleteObjectRequest {
|
|
18
22
|
/**
|
|
19
23
|
* <p>The path (including the file name) where the object is stored in the container.
|
|
@@ -21,9 +25,13 @@ export interface DeleteObjectRequest {
|
|
|
21
25
|
*/
|
|
22
26
|
Path: string | undefined;
|
|
23
27
|
}
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
24
31
|
export interface DeleteObjectResponse {
|
|
25
32
|
}
|
|
26
33
|
/**
|
|
34
|
+
* @public
|
|
27
35
|
* <p>The service is temporarily unavailable.</p>
|
|
28
36
|
*/
|
|
29
37
|
export declare class InternalServerError extends __BaseException {
|
|
@@ -36,6 +44,7 @@ export declare class InternalServerError extends __BaseException {
|
|
|
36
44
|
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
37
45
|
}
|
|
38
46
|
/**
|
|
47
|
+
* @public
|
|
39
48
|
* <p>Could not perform an operation on an object that does not exist.</p>
|
|
40
49
|
*/
|
|
41
50
|
export declare class ObjectNotFoundException extends __BaseException {
|
|
@@ -47,6 +56,9 @@ export declare class ObjectNotFoundException extends __BaseException {
|
|
|
47
56
|
*/
|
|
48
57
|
constructor(opts: __ExceptionOptionType<ObjectNotFoundException, __BaseException>);
|
|
49
58
|
}
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
50
62
|
export interface DescribeObjectRequest {
|
|
51
63
|
/**
|
|
52
64
|
* <p>The path (including the file name) where the object is stored in the container.
|
|
@@ -54,6 +66,9 @@ export interface DescribeObjectRequest {
|
|
|
54
66
|
*/
|
|
55
67
|
Path: string | undefined;
|
|
56
68
|
}
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
57
72
|
export interface DescribeObjectResponse {
|
|
58
73
|
/**
|
|
59
74
|
* <p>The ETag that represents a unique instance of the object.</p>
|
|
@@ -78,6 +93,9 @@ export interface DescribeObjectResponse {
|
|
|
78
93
|
*/
|
|
79
94
|
LastModified?: Date;
|
|
80
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
81
99
|
export interface GetObjectRequest {
|
|
82
100
|
/**
|
|
83
101
|
* <p>The path (including the file name) where the object is stored in the container.
|
|
@@ -106,6 +124,9 @@ export interface GetObjectRequest {
|
|
|
106
124
|
*/
|
|
107
125
|
Range?: string;
|
|
108
126
|
}
|
|
127
|
+
/**
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
109
130
|
export interface GetObjectResponse {
|
|
110
131
|
/**
|
|
111
132
|
* <p>The bytes of the object. </p>
|
|
@@ -144,6 +165,7 @@ export interface GetObjectResponse {
|
|
|
144
165
|
StatusCode: number | undefined;
|
|
145
166
|
}
|
|
146
167
|
/**
|
|
168
|
+
* @public
|
|
147
169
|
* <p>The requested content range is not valid.</p>
|
|
148
170
|
*/
|
|
149
171
|
export declare class RequestedRangeNotSatisfiableException extends __BaseException {
|
|
@@ -155,11 +177,15 @@ export declare class RequestedRangeNotSatisfiableException extends __BaseExcepti
|
|
|
155
177
|
*/
|
|
156
178
|
constructor(opts: __ExceptionOptionType<RequestedRangeNotSatisfiableException, __BaseException>);
|
|
157
179
|
}
|
|
180
|
+
/**
|
|
181
|
+
* @public
|
|
182
|
+
*/
|
|
158
183
|
export declare enum ItemType {
|
|
159
184
|
FOLDER = "FOLDER",
|
|
160
185
|
OBJECT = "OBJECT"
|
|
161
186
|
}
|
|
162
187
|
/**
|
|
188
|
+
* @public
|
|
163
189
|
* <p>A metadata entry for a folder or object.</p>
|
|
164
190
|
*/
|
|
165
191
|
export interface Item {
|
|
@@ -188,6 +214,9 @@ export interface Item {
|
|
|
188
214
|
*/
|
|
189
215
|
ContentLength?: number;
|
|
190
216
|
}
|
|
217
|
+
/**
|
|
218
|
+
* @public
|
|
219
|
+
*/
|
|
191
220
|
export interface ListItemsRequest {
|
|
192
221
|
/**
|
|
193
222
|
* <p>The path in the container from which to retrieve items. Format: <folder
|
|
@@ -215,6 +244,9 @@ export interface ListItemsRequest {
|
|
|
215
244
|
*/
|
|
216
245
|
NextToken?: string;
|
|
217
246
|
}
|
|
247
|
+
/**
|
|
248
|
+
* @public
|
|
249
|
+
*/
|
|
218
250
|
export interface ListItemsResponse {
|
|
219
251
|
/**
|
|
220
252
|
* <p>The metadata entries for the folders and objects at the requested path.</p>
|
|
@@ -229,13 +261,22 @@ export interface ListItemsResponse {
|
|
|
229
261
|
*/
|
|
230
262
|
NextToken?: string;
|
|
231
263
|
}
|
|
264
|
+
/**
|
|
265
|
+
* @public
|
|
266
|
+
*/
|
|
232
267
|
export declare enum StorageClass {
|
|
233
268
|
TEMPORAL = "TEMPORAL"
|
|
234
269
|
}
|
|
270
|
+
/**
|
|
271
|
+
* @public
|
|
272
|
+
*/
|
|
235
273
|
export declare enum UploadAvailability {
|
|
236
274
|
STANDARD = "STANDARD",
|
|
237
275
|
STREAMING = "STREAMING"
|
|
238
276
|
}
|
|
277
|
+
/**
|
|
278
|
+
* @public
|
|
279
|
+
*/
|
|
239
280
|
export interface PutObjectRequest {
|
|
240
281
|
/**
|
|
241
282
|
* <p>The bytes to be stored. </p>
|
|
@@ -286,6 +327,9 @@ export interface PutObjectRequest {
|
|
|
286
327
|
*/
|
|
287
328
|
UploadAvailability?: UploadAvailability | string;
|
|
288
329
|
}
|
|
330
|
+
/**
|
|
331
|
+
* @public
|
|
332
|
+
*/
|
|
289
333
|
export interface PutObjectResponse {
|
|
290
334
|
/**
|
|
291
335
|
* <p>The SHA256 digest of the object that is persisted.</p>
|
|
@@ -301,47 +345,11 @@ export interface PutObjectResponse {
|
|
|
301
345
|
*/
|
|
302
346
|
StorageClass?: StorageClass | string;
|
|
303
347
|
}
|
|
304
|
-
/**
|
|
305
|
-
* @internal
|
|
306
|
-
*/
|
|
307
|
-
export declare const DeleteObjectRequestFilterSensitiveLog: (obj: DeleteObjectRequest) => any;
|
|
308
|
-
/**
|
|
309
|
-
* @internal
|
|
310
|
-
*/
|
|
311
|
-
export declare const DeleteObjectResponseFilterSensitiveLog: (obj: DeleteObjectResponse) => any;
|
|
312
|
-
/**
|
|
313
|
-
* @internal
|
|
314
|
-
*/
|
|
315
|
-
export declare const DescribeObjectRequestFilterSensitiveLog: (obj: DescribeObjectRequest) => any;
|
|
316
|
-
/**
|
|
317
|
-
* @internal
|
|
318
|
-
*/
|
|
319
|
-
export declare const DescribeObjectResponseFilterSensitiveLog: (obj: DescribeObjectResponse) => any;
|
|
320
|
-
/**
|
|
321
|
-
* @internal
|
|
322
|
-
*/
|
|
323
|
-
export declare const GetObjectRequestFilterSensitiveLog: (obj: GetObjectRequest) => any;
|
|
324
348
|
/**
|
|
325
349
|
* @internal
|
|
326
350
|
*/
|
|
327
351
|
export declare const GetObjectResponseFilterSensitiveLog: (obj: GetObjectResponse) => any;
|
|
328
|
-
/**
|
|
329
|
-
* @internal
|
|
330
|
-
*/
|
|
331
|
-
export declare const ItemFilterSensitiveLog: (obj: Item) => any;
|
|
332
|
-
/**
|
|
333
|
-
* @internal
|
|
334
|
-
*/
|
|
335
|
-
export declare const ListItemsRequestFilterSensitiveLog: (obj: ListItemsRequest) => any;
|
|
336
|
-
/**
|
|
337
|
-
* @internal
|
|
338
|
-
*/
|
|
339
|
-
export declare const ListItemsResponseFilterSensitiveLog: (obj: ListItemsResponse) => any;
|
|
340
352
|
/**
|
|
341
353
|
* @internal
|
|
342
354
|
*/
|
|
343
355
|
export declare const PutObjectRequestFilterSensitiveLog: (obj: PutObjectRequest) => any;
|
|
344
|
-
/**
|
|
345
|
-
* @internal
|
|
346
|
-
*/
|
|
347
|
-
export declare const PutObjectResponseFilterSensitiveLog: (obj: PutObjectResponse) => any;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
2
|
import { MediaStoreDataClient } from "../MediaStoreDataClient";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
3
6
|
export interface MediaStoreDataPaginationConfiguration extends PaginationConfiguration {
|
|
4
7
|
client: MediaStoreDataClient;
|
|
5
8
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListItemsCommandInput, ListItemsCommandOutput } from "../commands/ListItemsCommand";
|
|
3
3
|
import { MediaStoreDataPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListItems(config: MediaStoreDataPaginationConfiguration, input: ListItemsCommandInput, ...additionalArguments: any): Paginator<ListItemsCommandOutput>;
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../MediaStoreDataClient";
|
|
14
14
|
import { PutObjectRequest, PutObjectResponse } from "../models/models_0";
|
|
15
|
-
type PutObjectCommandInputType = Pick<
|
|
15
|
+
export type PutObjectCommandInputType = Pick<
|
|
16
16
|
PutObjectRequest,
|
|
17
17
|
Exclude<keyof PutObjectRequest, "Body">
|
|
18
18
|
> & {
|
|
@@ -38,4 +38,3 @@ export declare class PutObjectCommand extends $Command<
|
|
|
38
38
|
private serialize;
|
|
39
39
|
private deserialize;
|
|
40
40
|
}
|
|
41
|
-
export {};
|
|
@@ -105,34 +105,9 @@ export interface PutObjectResponse {
|
|
|
105
105
|
ETag?: string;
|
|
106
106
|
StorageClass?: StorageClass | string;
|
|
107
107
|
}
|
|
108
|
-
export declare const DeleteObjectRequestFilterSensitiveLog: (
|
|
109
|
-
obj: DeleteObjectRequest
|
|
110
|
-
) => any;
|
|
111
|
-
export declare const DeleteObjectResponseFilterSensitiveLog: (
|
|
112
|
-
obj: DeleteObjectResponse
|
|
113
|
-
) => any;
|
|
114
|
-
export declare const DescribeObjectRequestFilterSensitiveLog: (
|
|
115
|
-
obj: DescribeObjectRequest
|
|
116
|
-
) => any;
|
|
117
|
-
export declare const DescribeObjectResponseFilterSensitiveLog: (
|
|
118
|
-
obj: DescribeObjectResponse
|
|
119
|
-
) => any;
|
|
120
|
-
export declare const GetObjectRequestFilterSensitiveLog: (
|
|
121
|
-
obj: GetObjectRequest
|
|
122
|
-
) => any;
|
|
123
108
|
export declare const GetObjectResponseFilterSensitiveLog: (
|
|
124
109
|
obj: GetObjectResponse
|
|
125
110
|
) => any;
|
|
126
|
-
export declare const ItemFilterSensitiveLog: (obj: Item) => any;
|
|
127
|
-
export declare const ListItemsRequestFilterSensitiveLog: (
|
|
128
|
-
obj: ListItemsRequest
|
|
129
|
-
) => any;
|
|
130
|
-
export declare const ListItemsResponseFilterSensitiveLog: (
|
|
131
|
-
obj: ListItemsResponse
|
|
132
|
-
) => any;
|
|
133
111
|
export declare const PutObjectRequestFilterSensitiveLog: (
|
|
134
112
|
obj: PutObjectRequest
|
|
135
113
|
) => any;
|
|
136
|
-
export declare const PutObjectResponseFilterSensitiveLog: (
|
|
137
|
-
obj: PutObjectResponse
|
|
138
|
-
) => any;
|
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.
|
|
4
|
+
"version": "3.298.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",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
12
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
|
+
"extract:docs": "api-extractor run --local",
|
|
14
15
|
"generate:client": "node ../../scripts/generate-clients/single-service --solo mediastore-data",
|
|
15
16
|
"test": "yarn test:unit",
|
|
16
17
|
"test:unit": "ts-mocha test/**/*.spec.ts"
|
|
@@ -22,9 +23,9 @@
|
|
|
22
23
|
"dependencies": {
|
|
23
24
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
24
25
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
25
|
-
"@aws-sdk/client-sts": "3.
|
|
26
|
+
"@aws-sdk/client-sts": "3.298.0",
|
|
26
27
|
"@aws-sdk/config-resolver": "3.296.0",
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
28
|
+
"@aws-sdk/credential-provider-node": "3.298.0",
|
|
28
29
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
29
30
|
"@aws-sdk/hash-node": "3.296.0",
|
|
30
31
|
"@aws-sdk/invalid-dependency": "3.296.0",
|