@aws-sdk/client-mediastore-data 3.168.0 → 3.170.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.
@@ -1,24 +1,42 @@
1
-
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { MediaStoreDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaStoreDataClient";
5
- import { PutObjectRequest, PutObjectResponse } from "../models/models_0";
6
- declare type PutObjectCommandInputType = Pick<PutObjectRequest, Exclude<keyof PutObjectRequest, "Body">> & {
7
-
8
- Body: PutObjectRequest["Body"] | string | Uint8Array | Buffer;
9
- };
10
-
11
- export interface PutObjectCommandInput extends PutObjectCommandInputType {
12
- }
13
- export interface PutObjectCommandOutput extends PutObjectResponse, __MetadataBearer {
14
- }
15
-
16
- export declare class PutObjectCommand extends $Command<PutObjectCommandInput, PutObjectCommandOutput, MediaStoreDataClientResolvedConfig> {
17
- readonly input: PutObjectCommandInput;
18
- constructor(input: PutObjectCommandInput);
19
-
20
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaStoreDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutObjectCommandInput, PutObjectCommandOutput>;
21
- private serialize;
22
- private deserialize;
23
- }
24
- export {};
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ MediaStoreDataClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../MediaStoreDataClient";
13
+ import { PutObjectRequest, PutObjectResponse } from "../models/models_0";
14
+ declare type PutObjectCommandInputType = Pick<
15
+ PutObjectRequest,
16
+ Exclude<keyof PutObjectRequest, "Body">
17
+ > & {
18
+ Body: PutObjectRequest["Body"] | string | Uint8Array | Buffer;
19
+ };
20
+
21
+ export interface PutObjectCommandInput extends PutObjectCommandInputType {}
22
+ export interface PutObjectCommandOutput
23
+ extends PutObjectResponse,
24
+ __MetadataBearer {}
25
+
26
+ export declare class PutObjectCommand extends $Command<
27
+ PutObjectCommandInput,
28
+ PutObjectCommandOutput,
29
+ MediaStoreDataClientResolvedConfig
30
+ > {
31
+ readonly input: PutObjectCommandInput;
32
+ constructor(input: PutObjectCommandInput);
33
+
34
+ resolveMiddleware(
35
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
36
+ configuration: MediaStoreDataClientResolvedConfig,
37
+ options?: __HttpHandlerOptions
38
+ ): Handler<PutObjectCommandInput, PutObjectCommandOutput>;
39
+ private serialize;
40
+ private deserialize;
41
+ }
42
+ export {};
@@ -1,5 +1,5 @@
1
- export * from "./DeleteObjectCommand";
2
- export * from "./DescribeObjectCommand";
3
- export * from "./GetObjectCommand";
4
- export * from "./ListItemsCommand";
5
- export * from "./PutObjectCommand";
1
+ export * from "./DeleteObjectCommand";
2
+ export * from "./DescribeObjectCommand";
3
+ export * from "./GetObjectCommand";
4
+ export * from "./ListItemsCommand";
5
+ export * from "./PutObjectCommand";
@@ -1,2 +1,2 @@
1
- import { RegionInfoProvider } from "@aws-sdk/types";
2
- export declare const defaultRegionInfoProvider: RegionInfoProvider;
1
+ import { RegionInfoProvider } from "@aws-sdk/types";
2
+ export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -1,6 +1,6 @@
1
- export * from "./MediaStoreData";
2
- export * from "./MediaStoreDataClient";
3
- export * from "./commands";
4
- export * from "./models";
5
- export * from "./pagination";
6
- export { MediaStoreDataServiceException } from "./models/MediaStoreDataServiceException";
1
+ export * from "./MediaStoreData";
2
+ export * from "./MediaStoreDataClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export { MediaStoreDataServiceException } from "./models/MediaStoreDataServiceException";
@@ -1,6 +1,8 @@
1
- import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
-
3
- export declare class MediaStoreDataServiceException extends __ServiceException {
4
-
5
- constructor(options: __ServiceExceptionOptions);
6
- }
1
+ import {
2
+ ServiceException as __ServiceException,
3
+ ServiceExceptionOptions as __ServiceExceptionOptions,
4
+ } from "@aws-sdk/smithy-client";
5
+
6
+ export declare class MediaStoreDataServiceException extends __ServiceException {
7
+ constructor(options: __ServiceExceptionOptions);
8
+ }
@@ -1 +1 @@
1
- export * from "./models_0";
1
+ export * from "./models_0";
@@ -1,166 +1,185 @@
1
-
2
- import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
3
- import { Readable } from "stream";
4
- import { MediaStoreDataServiceException as __BaseException } from "./MediaStoreDataServiceException";
5
-
6
- export declare class ContainerNotFoundException extends __BaseException {
7
- readonly name: "ContainerNotFoundException";
8
- readonly $fault: "client";
9
- Message?: string;
10
-
11
- constructor(opts: __ExceptionOptionType<ContainerNotFoundException, __BaseException>);
12
- }
13
- export interface DeleteObjectRequest {
14
-
15
- Path: string | undefined;
16
- }
17
- export interface DeleteObjectResponse {
18
- }
19
-
20
- export declare class InternalServerError extends __BaseException {
21
- readonly name: "InternalServerError";
22
- readonly $fault: "server";
23
- Message?: string;
24
-
25
- constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
26
- }
27
-
28
- export declare class ObjectNotFoundException extends __BaseException {
29
- readonly name: "ObjectNotFoundException";
30
- readonly $fault: "client";
31
- Message?: string;
32
-
33
- constructor(opts: __ExceptionOptionType<ObjectNotFoundException, __BaseException>);
34
- }
35
- export interface DescribeObjectRequest {
36
-
37
- Path: string | undefined;
38
- }
39
- export interface DescribeObjectResponse {
40
-
41
- ETag?: string;
42
-
43
- ContentType?: string;
44
-
45
- ContentLength?: number;
46
-
47
- CacheControl?: string;
48
-
49
- LastModified?: Date;
50
- }
51
- export interface GetObjectRequest {
52
-
53
- Path: string | undefined;
54
-
55
- Range?: string;
56
- }
57
- export interface GetObjectResponse {
58
-
59
- Body?: Readable | ReadableStream | Blob;
60
-
61
- CacheControl?: string;
62
-
63
- ContentRange?: string;
64
-
65
- ContentLength?: number;
66
-
67
- ContentType?: string;
68
-
69
- ETag?: string;
70
-
71
- LastModified?: Date;
72
-
73
- StatusCode: number | undefined;
74
- }
75
-
76
- export declare class RequestedRangeNotSatisfiableException extends __BaseException {
77
- readonly name: "RequestedRangeNotSatisfiableException";
78
- readonly $fault: "client";
79
- Message?: string;
80
-
81
- constructor(opts: __ExceptionOptionType<RequestedRangeNotSatisfiableException, __BaseException>);
82
- }
83
- export declare enum ItemType {
84
- FOLDER = "FOLDER",
85
- OBJECT = "OBJECT"
86
- }
87
-
88
- export interface Item {
89
-
90
- Name?: string;
91
-
92
- Type?: ItemType | string;
93
-
94
- ETag?: string;
95
-
96
- LastModified?: Date;
97
-
98
- ContentType?: string;
99
-
100
- ContentLength?: number;
101
- }
102
- export interface ListItemsRequest {
103
-
104
- Path?: string;
105
-
106
- MaxResults?: number;
107
-
108
- NextToken?: string;
109
- }
110
- export interface ListItemsResponse {
111
-
112
- Items?: Item[];
113
-
114
- NextToken?: string;
115
- }
116
- export declare enum StorageClass {
117
- TEMPORAL = "TEMPORAL"
118
- }
119
- export declare enum UploadAvailability {
120
- STANDARD = "STANDARD",
121
- STREAMING = "STREAMING"
122
- }
123
- export interface PutObjectRequest {
124
-
125
- Body: Readable | ReadableStream | Blob | undefined;
126
-
127
- Path: string | undefined;
128
-
129
- ContentType?: string;
130
-
131
- CacheControl?: string;
132
-
133
- StorageClass?: StorageClass | string;
134
-
135
- UploadAvailability?: UploadAvailability | string;
136
- }
137
- export interface PutObjectResponse {
138
-
139
- ContentSHA256?: string;
140
-
141
- ETag?: string;
142
-
143
- StorageClass?: StorageClass | string;
144
- }
145
-
146
- export declare const DeleteObjectRequestFilterSensitiveLog: (obj: DeleteObjectRequest) => any;
147
-
148
- export declare const DeleteObjectResponseFilterSensitiveLog: (obj: DeleteObjectResponse) => any;
149
-
150
- export declare const DescribeObjectRequestFilterSensitiveLog: (obj: DescribeObjectRequest) => any;
151
-
152
- export declare const DescribeObjectResponseFilterSensitiveLog: (obj: DescribeObjectResponse) => any;
153
-
154
- export declare const GetObjectRequestFilterSensitiveLog: (obj: GetObjectRequest) => any;
155
-
156
- export declare const GetObjectResponseFilterSensitiveLog: (obj: GetObjectResponse) => any;
157
-
158
- export declare const ItemFilterSensitiveLog: (obj: Item) => any;
159
-
160
- export declare const ListItemsRequestFilterSensitiveLog: (obj: ListItemsRequest) => any;
161
-
162
- export declare const ListItemsResponseFilterSensitiveLog: (obj: ListItemsResponse) => any;
163
-
164
- export declare const PutObjectRequestFilterSensitiveLog: (obj: PutObjectRequest) => any;
165
-
166
- export declare const PutObjectResponseFilterSensitiveLog: (obj: PutObjectResponse) => any;
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { Readable } from "stream";
3
+ import { MediaStoreDataServiceException as __BaseException } from "./MediaStoreDataServiceException";
4
+
5
+ export declare class ContainerNotFoundException extends __BaseException {
6
+ readonly name: "ContainerNotFoundException";
7
+ readonly $fault: "client";
8
+ Message?: string;
9
+
10
+ constructor(
11
+ opts: __ExceptionOptionType<ContainerNotFoundException, __BaseException>
12
+ );
13
+ }
14
+ export interface DeleteObjectRequest {
15
+ Path: string | undefined;
16
+ }
17
+ export interface DeleteObjectResponse {}
18
+
19
+ export declare class InternalServerError extends __BaseException {
20
+ readonly name: "InternalServerError";
21
+ readonly $fault: "server";
22
+ Message?: string;
23
+
24
+ constructor(
25
+ opts: __ExceptionOptionType<InternalServerError, __BaseException>
26
+ );
27
+ }
28
+
29
+ export declare class ObjectNotFoundException extends __BaseException {
30
+ readonly name: "ObjectNotFoundException";
31
+ readonly $fault: "client";
32
+ Message?: string;
33
+
34
+ constructor(
35
+ opts: __ExceptionOptionType<ObjectNotFoundException, __BaseException>
36
+ );
37
+ }
38
+ export interface DescribeObjectRequest {
39
+ Path: string | undefined;
40
+ }
41
+ export interface DescribeObjectResponse {
42
+ ETag?: string;
43
+
44
+ ContentType?: string;
45
+
46
+ ContentLength?: number;
47
+
48
+ CacheControl?: string;
49
+
50
+ LastModified?: Date;
51
+ }
52
+ export interface GetObjectRequest {
53
+ Path: string | undefined;
54
+
55
+ Range?: string;
56
+ }
57
+ export interface GetObjectResponse {
58
+ Body?: Readable | ReadableStream | Blob;
59
+
60
+ CacheControl?: string;
61
+
62
+ ContentRange?: string;
63
+
64
+ ContentLength?: number;
65
+
66
+ ContentType?: string;
67
+
68
+ ETag?: string;
69
+
70
+ LastModified?: Date;
71
+
72
+ StatusCode: number | undefined;
73
+ }
74
+
75
+ export declare class RequestedRangeNotSatisfiableException extends __BaseException {
76
+ readonly name: "RequestedRangeNotSatisfiableException";
77
+ readonly $fault: "client";
78
+ Message?: string;
79
+
80
+ constructor(
81
+ opts: __ExceptionOptionType<
82
+ RequestedRangeNotSatisfiableException,
83
+ __BaseException
84
+ >
85
+ );
86
+ }
87
+ export declare enum ItemType {
88
+ FOLDER = "FOLDER",
89
+ OBJECT = "OBJECT",
90
+ }
91
+
92
+ export interface Item {
93
+ Name?: string;
94
+
95
+ Type?: ItemType | string;
96
+
97
+ ETag?: string;
98
+
99
+ LastModified?: Date;
100
+
101
+ ContentType?: string;
102
+
103
+ ContentLength?: number;
104
+ }
105
+ export interface ListItemsRequest {
106
+ Path?: string;
107
+
108
+ MaxResults?: number;
109
+
110
+ NextToken?: string;
111
+ }
112
+ export interface ListItemsResponse {
113
+ Items?: Item[];
114
+
115
+ NextToken?: string;
116
+ }
117
+ export declare enum StorageClass {
118
+ TEMPORAL = "TEMPORAL",
119
+ }
120
+ export declare enum UploadAvailability {
121
+ STANDARD = "STANDARD",
122
+ STREAMING = "STREAMING",
123
+ }
124
+ export interface PutObjectRequest {
125
+ Body: Readable | ReadableStream | Blob | undefined;
126
+
127
+ Path: string | undefined;
128
+
129
+ ContentType?: string;
130
+
131
+ CacheControl?: string;
132
+
133
+ StorageClass?: StorageClass | string;
134
+
135
+ UploadAvailability?: UploadAvailability | string;
136
+ }
137
+ export interface PutObjectResponse {
138
+ ContentSHA256?: string;
139
+
140
+ ETag?: string;
141
+
142
+ StorageClass?: StorageClass | string;
143
+ }
144
+
145
+ export declare const DeleteObjectRequestFilterSensitiveLog: (
146
+ obj: DeleteObjectRequest
147
+ ) => any;
148
+
149
+ export declare const DeleteObjectResponseFilterSensitiveLog: (
150
+ obj: DeleteObjectResponse
151
+ ) => any;
152
+
153
+ export declare const DescribeObjectRequestFilterSensitiveLog: (
154
+ obj: DescribeObjectRequest
155
+ ) => any;
156
+
157
+ export declare const DescribeObjectResponseFilterSensitiveLog: (
158
+ obj: DescribeObjectResponse
159
+ ) => any;
160
+
161
+ export declare const GetObjectRequestFilterSensitiveLog: (
162
+ obj: GetObjectRequest
163
+ ) => any;
164
+
165
+ export declare const GetObjectResponseFilterSensitiveLog: (
166
+ obj: GetObjectResponse
167
+ ) => any;
168
+
169
+ export declare const ItemFilterSensitiveLog: (obj: Item) => any;
170
+
171
+ export declare const ListItemsRequestFilterSensitiveLog: (
172
+ obj: ListItemsRequest
173
+ ) => any;
174
+
175
+ export declare const ListItemsResponseFilterSensitiveLog: (
176
+ obj: ListItemsResponse
177
+ ) => any;
178
+
179
+ export declare const PutObjectRequestFilterSensitiveLog: (
180
+ obj: PutObjectRequest
181
+ ) => any;
182
+
183
+ export declare const PutObjectResponseFilterSensitiveLog: (
184
+ obj: PutObjectResponse
185
+ ) => any;
@@ -1,6 +1,7 @@
1
- import { PaginationConfiguration } from "@aws-sdk/types";
2
- import { MediaStoreData } from "../MediaStoreData";
3
- import { MediaStoreDataClient } from "../MediaStoreDataClient";
4
- export interface MediaStoreDataPaginationConfiguration extends PaginationConfiguration {
5
- client: MediaStoreData | MediaStoreDataClient;
6
- }
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
2
+ import { MediaStoreData } from "../MediaStoreData";
3
+ import { MediaStoreDataClient } from "../MediaStoreDataClient";
4
+ export interface MediaStoreDataPaginationConfiguration
5
+ extends PaginationConfiguration {
6
+ client: MediaStoreData | MediaStoreDataClient;
7
+ }
@@ -1,4 +1,11 @@
1
- import { Paginator } from "@aws-sdk/types";
2
- import { ListItemsCommandInput, ListItemsCommandOutput } from "../commands/ListItemsCommand";
3
- import { MediaStoreDataPaginationConfiguration } from "./Interfaces";
4
- export declare function paginateListItems(config: MediaStoreDataPaginationConfiguration, input: ListItemsCommandInput, ...additionalArguments: any): Paginator<ListItemsCommandOutput>;
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListItemsCommandInput,
4
+ ListItemsCommandOutput,
5
+ } from "../commands/ListItemsCommand";
6
+ import { MediaStoreDataPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListItems(
8
+ config: MediaStoreDataPaginationConfiguration,
9
+ input: ListItemsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListItemsCommandOutput>;
@@ -1,2 +1,2 @@
1
- export * from "./Interfaces";
2
- export * from "./ListItemsPaginator";
1
+ export * from "./Interfaces";
2
+ export * from "./ListItemsPaginator";
@@ -1,17 +1,65 @@
1
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
- import { DeleteObjectCommandInput, DeleteObjectCommandOutput } from "../commands/DeleteObjectCommand";
4
- import { DescribeObjectCommandInput, DescribeObjectCommandOutput } from "../commands/DescribeObjectCommand";
5
- import { GetObjectCommandInput, GetObjectCommandOutput } from "../commands/GetObjectCommand";
6
- import { ListItemsCommandInput, ListItemsCommandOutput } from "../commands/ListItemsCommand";
7
- import { PutObjectCommandInput, PutObjectCommandOutput } from "../commands/PutObjectCommand";
8
- export declare const serializeAws_restJson1DeleteObjectCommand: (input: DeleteObjectCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
9
- export declare const serializeAws_restJson1DescribeObjectCommand: (input: DescribeObjectCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
10
- export declare const serializeAws_restJson1GetObjectCommand: (input: GetObjectCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
11
- export declare const serializeAws_restJson1ListItemsCommand: (input: ListItemsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
12
- export declare const serializeAws_restJson1PutObjectCommand: (input: PutObjectCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
13
- export declare const deserializeAws_restJson1DeleteObjectCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteObjectCommandOutput>;
14
- export declare const deserializeAws_restJson1DescribeObjectCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeObjectCommandOutput>;
15
- export declare const deserializeAws_restJson1GetObjectCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetObjectCommandOutput>;
16
- export declare const deserializeAws_restJson1ListItemsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListItemsCommandOutput>;
17
- export declare const deserializeAws_restJson1PutObjectCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutObjectCommandOutput>;
1
+ import {
2
+ HttpRequest as __HttpRequest,
3
+ HttpResponse as __HttpResponse,
4
+ } from "@aws-sdk/protocol-http";
5
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
6
+ import {
7
+ DeleteObjectCommandInput,
8
+ DeleteObjectCommandOutput,
9
+ } from "../commands/DeleteObjectCommand";
10
+ import {
11
+ DescribeObjectCommandInput,
12
+ DescribeObjectCommandOutput,
13
+ } from "../commands/DescribeObjectCommand";
14
+ import {
15
+ GetObjectCommandInput,
16
+ GetObjectCommandOutput,
17
+ } from "../commands/GetObjectCommand";
18
+ import {
19
+ ListItemsCommandInput,
20
+ ListItemsCommandOutput,
21
+ } from "../commands/ListItemsCommand";
22
+ import {
23
+ PutObjectCommandInput,
24
+ PutObjectCommandOutput,
25
+ } from "../commands/PutObjectCommand";
26
+ export declare const serializeAws_restJson1DeleteObjectCommand: (
27
+ input: DeleteObjectCommandInput,
28
+ context: __SerdeContext
29
+ ) => Promise<__HttpRequest>;
30
+ export declare const serializeAws_restJson1DescribeObjectCommand: (
31
+ input: DescribeObjectCommandInput,
32
+ context: __SerdeContext
33
+ ) => Promise<__HttpRequest>;
34
+ export declare const serializeAws_restJson1GetObjectCommand: (
35
+ input: GetObjectCommandInput,
36
+ context: __SerdeContext
37
+ ) => Promise<__HttpRequest>;
38
+ export declare const serializeAws_restJson1ListItemsCommand: (
39
+ input: ListItemsCommandInput,
40
+ context: __SerdeContext
41
+ ) => Promise<__HttpRequest>;
42
+ export declare const serializeAws_restJson1PutObjectCommand: (
43
+ input: PutObjectCommandInput,
44
+ context: __SerdeContext
45
+ ) => Promise<__HttpRequest>;
46
+ export declare const deserializeAws_restJson1DeleteObjectCommand: (
47
+ output: __HttpResponse,
48
+ context: __SerdeContext
49
+ ) => Promise<DeleteObjectCommandOutput>;
50
+ export declare const deserializeAws_restJson1DescribeObjectCommand: (
51
+ output: __HttpResponse,
52
+ context: __SerdeContext
53
+ ) => Promise<DescribeObjectCommandOutput>;
54
+ export declare const deserializeAws_restJson1GetObjectCommand: (
55
+ output: __HttpResponse,
56
+ context: __SerdeContext
57
+ ) => Promise<GetObjectCommandOutput>;
58
+ export declare const deserializeAws_restJson1ListItemsCommand: (
59
+ output: __HttpResponse,
60
+ context: __SerdeContext
61
+ ) => Promise<ListItemsCommandOutput>;
62
+ export declare const deserializeAws_restJson1PutObjectCommand: (
63
+ output: __HttpResponse,
64
+ context: __SerdeContext
65
+ ) => Promise<PutObjectCommandOutput>;