@aws-sdk/client-mediastore-data 3.295.0 → 3.297.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-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 -0
- 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/package.json +31 -31
|
@@ -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>
|
|
@@ -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 {};
|
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.297.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",
|
|
@@ -22,39 +22,39 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
25
|
-
"@aws-sdk/client-sts": "3.
|
|
26
|
-
"@aws-sdk/config-resolver": "3.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
28
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
29
|
-
"@aws-sdk/hash-node": "3.
|
|
30
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
31
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
32
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
33
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
34
|
-
"@aws-sdk/middleware-logger": "3.
|
|
35
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
36
|
-
"@aws-sdk/middleware-retry": "3.
|
|
37
|
-
"@aws-sdk/middleware-serde": "3.
|
|
38
|
-
"@aws-sdk/middleware-signing": "3.
|
|
39
|
-
"@aws-sdk/middleware-stack": "3.
|
|
40
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
41
|
-
"@aws-sdk/node-config-provider": "3.
|
|
42
|
-
"@aws-sdk/node-http-handler": "3.
|
|
43
|
-
"@aws-sdk/protocol-http": "3.
|
|
44
|
-
"@aws-sdk/smithy-client": "3.
|
|
45
|
-
"@aws-sdk/types": "3.
|
|
46
|
-
"@aws-sdk/url-parser": "3.
|
|
25
|
+
"@aws-sdk/client-sts": "3.297.0",
|
|
26
|
+
"@aws-sdk/config-resolver": "3.296.0",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.297.0",
|
|
28
|
+
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
29
|
+
"@aws-sdk/hash-node": "3.296.0",
|
|
30
|
+
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
31
|
+
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
32
|
+
"@aws-sdk/middleware-endpoint": "3.296.0",
|
|
33
|
+
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
34
|
+
"@aws-sdk/middleware-logger": "3.296.0",
|
|
35
|
+
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
36
|
+
"@aws-sdk/middleware-retry": "3.296.0",
|
|
37
|
+
"@aws-sdk/middleware-serde": "3.296.0",
|
|
38
|
+
"@aws-sdk/middleware-signing": "3.296.0",
|
|
39
|
+
"@aws-sdk/middleware-stack": "3.296.0",
|
|
40
|
+
"@aws-sdk/middleware-user-agent": "3.296.0",
|
|
41
|
+
"@aws-sdk/node-config-provider": "3.296.0",
|
|
42
|
+
"@aws-sdk/node-http-handler": "3.296.0",
|
|
43
|
+
"@aws-sdk/protocol-http": "3.296.0",
|
|
44
|
+
"@aws-sdk/smithy-client": "3.296.0",
|
|
45
|
+
"@aws-sdk/types": "3.296.0",
|
|
46
|
+
"@aws-sdk/url-parser": "3.296.0",
|
|
47
47
|
"@aws-sdk/util-base64": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
51
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
52
|
-
"@aws-sdk/util-endpoints": "3.
|
|
53
|
-
"@aws-sdk/util-retry": "3.
|
|
54
|
-
"@aws-sdk/util-stream-browser": "3.
|
|
55
|
-
"@aws-sdk/util-stream-node": "3.
|
|
56
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
57
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
51
|
+
"@aws-sdk/util-defaults-mode-node": "3.296.0",
|
|
52
|
+
"@aws-sdk/util-endpoints": "3.296.0",
|
|
53
|
+
"@aws-sdk/util-retry": "3.296.0",
|
|
54
|
+
"@aws-sdk/util-stream-browser": "3.296.0",
|
|
55
|
+
"@aws-sdk/util-stream-node": "3.296.0",
|
|
56
|
+
"@aws-sdk/util-user-agent-browser": "3.296.0",
|
|
57
|
+
"@aws-sdk/util-user-agent-node": "3.296.0",
|
|
58
58
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
59
59
|
"tslib": "^2.5.0"
|
|
60
60
|
},
|