@aws-sdk/client-mediastore-data 3.477.0 → 3.481.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 +18 -41
- package/dist-cjs/commands/DescribeObjectCommand.js +18 -41
- package/dist-cjs/commands/GetObjectCommand.js +18 -41
- package/dist-cjs/commands/ListItemsCommand.js +18 -41
- package/dist-cjs/commands/PutObjectCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListItemsPaginator.js +2 -24
- package/dist-es/commands/DeleteObjectCommand.js +18 -41
- package/dist-es/commands/DescribeObjectCommand.js +18 -41
- package/dist-es/commands/GetObjectCommand.js +18 -41
- package/dist-es/commands/ListItemsCommand.js +18 -41
- package/dist-es/commands/PutObjectCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListItemsPaginator.js +2 -23
- package/dist-types/commands/DeleteObjectCommand.d.ts +6 -21
- package/dist-types/commands/DescribeObjectCommand.d.ts +6 -21
- package/dist-types/commands/GetObjectCommand.d.ts +6 -21
- package/dist-types/commands/ListItemsCommand.d.ts +6 -21
- package/dist-types/commands/PutObjectCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListItemsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeObjectCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetObjectCommand.d.ts +13 -20
- package/dist-types/ts3.4/commands/ListItemsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +13 -20
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListItemsPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListItemsCommand, se_ListItemsCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListItemsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MediaStoreDataClient";
|
|
26
|
-
const commandName = "ListItemsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "MediaStoreObject_20170901",
|
|
35
|
-
operation: "ListItems",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListItemsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListItemsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListItemsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("MediaStoreObject_20170901", "ListItems", {})
|
|
19
|
+
.n("MediaStoreDataClient", "ListItemsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListItemsCommand)
|
|
22
|
+
.de(de_ListItemsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { PutObjectRequestFilterSensitiveLog } from "../models/models_0";
|
|
6
6
|
import { de_PutObjectCommand, se_PutObjectCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class PutObjectCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "MediaStoreDataClient";
|
|
27
|
-
const commandName = "PutObjectCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: PutObjectRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "MediaStoreObject_20170901",
|
|
36
|
-
operation: "PutObject",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_PutObjectCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_PutObjectCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class PutObjectCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("MediaStoreObject_20170901", "PutObject", {})
|
|
20
|
+
.n("MediaStoreDataClient", "PutObjectCommand")
|
|
21
|
+
.f(PutObjectRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_PutObjectCommand)
|
|
23
|
+
.de(de_PutObjectCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "mediastore",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListItemsCommand } from "../commands/ListItemsCommand";
|
|
2
3
|
import { MediaStoreDataClient } from "../MediaStoreDataClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListItemsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListItems(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof MediaStoreDataClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MediaStoreData | MediaStoreDataClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListItems = createPaginator(MediaStoreDataClient, ListItemsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { MediaStoreDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaStoreDataClient";
|
|
5
4
|
import { DeleteObjectRequest, DeleteObjectResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteObjectCommandInput extends DeleteObjectRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteObjectCommandOutput extends DeleteObjectResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteObjectCommand_base: {
|
|
24
|
+
new (input: DeleteObjectCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteObjectCommandInput, DeleteObjectCommandOutput, MediaStoreDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes an object at the specified path.</p>
|
|
@@ -58,23 +61,5 @@ export interface DeleteObjectCommandOutput extends DeleteObjectResponse, __Metad
|
|
|
58
61
|
* <p>Base exception class for all service exceptions from MediaStoreData service.</p>
|
|
59
62
|
*
|
|
60
63
|
*/
|
|
61
|
-
export declare class DeleteObjectCommand extends
|
|
62
|
-
readonly input: DeleteObjectCommandInput;
|
|
63
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
64
|
-
/**
|
|
65
|
-
* @public
|
|
66
|
-
*/
|
|
67
|
-
constructor(input: DeleteObjectCommandInput);
|
|
68
|
-
/**
|
|
69
|
-
* @internal
|
|
70
|
-
*/
|
|
71
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaStoreDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteObjectCommandInput, DeleteObjectCommandOutput>;
|
|
72
|
-
/**
|
|
73
|
-
* @internal
|
|
74
|
-
*/
|
|
75
|
-
private serialize;
|
|
76
|
-
/**
|
|
77
|
-
* @internal
|
|
78
|
-
*/
|
|
79
|
-
private deserialize;
|
|
64
|
+
export declare class DeleteObjectCommand extends DeleteObjectCommand_base {
|
|
80
65
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { MediaStoreDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaStoreDataClient";
|
|
5
4
|
import { DescribeObjectRequest, DescribeObjectResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DescribeObjectCommandInput extends DescribeObjectRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DescribeObjectCommandOutput extends DescribeObjectResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DescribeObjectCommand_base: {
|
|
24
|
+
new (input: DescribeObjectCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeObjectCommandInput, DescribeObjectCommandOutput, MediaStoreDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Gets the headers for an object at the specified path.</p>
|
|
@@ -64,23 +67,5 @@ export interface DescribeObjectCommandOutput extends DescribeObjectResponse, __M
|
|
|
64
67
|
* <p>Base exception class for all service exceptions from MediaStoreData service.</p>
|
|
65
68
|
*
|
|
66
69
|
*/
|
|
67
|
-
export declare class DescribeObjectCommand extends
|
|
68
|
-
readonly input: DescribeObjectCommandInput;
|
|
69
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
70
|
-
/**
|
|
71
|
-
* @public
|
|
72
|
-
*/
|
|
73
|
-
constructor(input: DescribeObjectCommandInput);
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
77
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaStoreDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeObjectCommandInput, DescribeObjectCommandOutput>;
|
|
78
|
-
/**
|
|
79
|
-
* @internal
|
|
80
|
-
*/
|
|
81
|
-
private serialize;
|
|
82
|
-
/**
|
|
83
|
-
* @internal
|
|
84
|
-
*/
|
|
85
|
-
private deserialize;
|
|
70
|
+
export declare class DescribeObjectCommand extends DescribeObjectCommand_base {
|
|
86
71
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types";
|
|
4
3
|
import { MediaStoreDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaStoreDataClient";
|
|
5
4
|
import { GetObjectRequest, GetObjectResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -22,6 +21,10 @@ export interface GetObjectCommandInput extends GetObjectRequest {
|
|
|
22
21
|
export interface GetObjectCommandOutput extends Omit<GetObjectResponse, "Body">, __MetadataBearer {
|
|
23
22
|
Body?: StreamingBlobPayloadOutputTypes;
|
|
24
23
|
}
|
|
24
|
+
declare const GetObjectCommand_base: {
|
|
25
|
+
new (input: GetObjectCommandInput): import("@smithy/smithy-client").CommandImpl<GetObjectCommandInput, GetObjectCommandOutput, MediaStoreDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
25
28
|
/**
|
|
26
29
|
* @public
|
|
27
30
|
* <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>
|
|
@@ -72,23 +75,5 @@ export interface GetObjectCommandOutput extends Omit<GetObjectResponse, "Body">,
|
|
|
72
75
|
* <p>Base exception class for all service exceptions from MediaStoreData service.</p>
|
|
73
76
|
*
|
|
74
77
|
*/
|
|
75
|
-
export declare class GetObjectCommand extends
|
|
76
|
-
readonly input: GetObjectCommandInput;
|
|
77
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
78
|
-
/**
|
|
79
|
-
* @public
|
|
80
|
-
*/
|
|
81
|
-
constructor(input: GetObjectCommandInput);
|
|
82
|
-
/**
|
|
83
|
-
* @internal
|
|
84
|
-
*/
|
|
85
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaStoreDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetObjectCommandInput, GetObjectCommandOutput>;
|
|
86
|
-
/**
|
|
87
|
-
* @internal
|
|
88
|
-
*/
|
|
89
|
-
private serialize;
|
|
90
|
-
/**
|
|
91
|
-
* @internal
|
|
92
|
-
*/
|
|
93
|
-
private deserialize;
|
|
78
|
+
export declare class GetObjectCommand extends GetObjectCommand_base {
|
|
94
79
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { MediaStoreDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaStoreDataClient";
|
|
5
4
|
import { ListItemsRequest, ListItemsResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface ListItemsCommandInput extends ListItemsRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface ListItemsCommandOutput extends ListItemsResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const ListItemsCommand_base: {
|
|
24
|
+
new (input: ListItemsCommandInput): import("@smithy/smithy-client").CommandImpl<ListItemsCommandInput, ListItemsCommandOutput, MediaStoreDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Provides a list of metadata entries about folders and objects in the specified
|
|
@@ -70,23 +73,5 @@ export interface ListItemsCommandOutput extends ListItemsResponse, __MetadataBea
|
|
|
70
73
|
* <p>Base exception class for all service exceptions from MediaStoreData service.</p>
|
|
71
74
|
*
|
|
72
75
|
*/
|
|
73
|
-
export declare class ListItemsCommand extends
|
|
74
|
-
readonly input: ListItemsCommandInput;
|
|
75
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
-
/**
|
|
77
|
-
* @public
|
|
78
|
-
*/
|
|
79
|
-
constructor(input: ListItemsCommandInput);
|
|
80
|
-
/**
|
|
81
|
-
* @internal
|
|
82
|
-
*/
|
|
83
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaStoreDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListItemsCommandInput, ListItemsCommandOutput>;
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
87
|
-
private serialize;
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
|
-
private deserialize;
|
|
76
|
+
export declare class ListItemsCommand extends ListItemsCommand_base {
|
|
92
77
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes } from "@smithy/types";
|
|
4
3
|
import { MediaStoreDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaStoreDataClient";
|
|
5
4
|
import { PutObjectRequest, PutObjectResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -22,6 +21,10 @@ export interface PutObjectCommandInput extends Omit<PutObjectRequest, "Body"> {
|
|
|
22
21
|
*/
|
|
23
22
|
export interface PutObjectCommandOutput extends PutObjectResponse, __MetadataBearer {
|
|
24
23
|
}
|
|
24
|
+
declare const PutObjectCommand_base: {
|
|
25
|
+
new (input: PutObjectCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectCommandInput, PutObjectCommandOutput, MediaStoreDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
25
28
|
/**
|
|
26
29
|
* @public
|
|
27
30
|
* <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>
|
|
@@ -65,23 +68,5 @@ export interface PutObjectCommandOutput extends PutObjectResponse, __MetadataBea
|
|
|
65
68
|
* <p>Base exception class for all service exceptions from MediaStoreData service.</p>
|
|
66
69
|
*
|
|
67
70
|
*/
|
|
68
|
-
export declare class PutObjectCommand extends
|
|
69
|
-
readonly input: PutObjectCommandInput;
|
|
70
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
71
|
-
/**
|
|
72
|
-
* @public
|
|
73
|
-
*/
|
|
74
|
-
constructor(input: PutObjectCommandInput);
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaStoreDataClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutObjectCommandInput, PutObjectCommandOutput>;
|
|
79
|
-
/**
|
|
80
|
-
* @internal
|
|
81
|
-
*/
|
|
82
|
-
private serialize;
|
|
83
|
-
/**
|
|
84
|
-
* @internal
|
|
85
|
-
*/
|
|
86
|
-
private deserialize;
|
|
71
|
+
export declare class PutObjectCommand extends PutObjectCommand_base {
|
|
87
72
|
}
|
|
@@ -14,6 +14,24 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
|
14
14
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
15
15
|
defaultSigningName: string;
|
|
16
16
|
};
|
|
17
|
+
export declare const commonParams: {
|
|
18
|
+
readonly UseFIPS: {
|
|
19
|
+
readonly type: "builtInParams";
|
|
20
|
+
readonly name: "useFipsEndpoint";
|
|
21
|
+
};
|
|
22
|
+
readonly Endpoint: {
|
|
23
|
+
readonly type: "builtInParams";
|
|
24
|
+
readonly name: "endpoint";
|
|
25
|
+
};
|
|
26
|
+
readonly Region: {
|
|
27
|
+
readonly type: "builtInParams";
|
|
28
|
+
readonly name: "region";
|
|
29
|
+
};
|
|
30
|
+
readonly UseDualStack: {
|
|
31
|
+
readonly type: "builtInParams";
|
|
32
|
+
readonly name: "useDualstackEndpoint";
|
|
33
|
+
};
|
|
34
|
+
};
|
|
17
35
|
export interface EndpointParameters extends __EndpointParameters {
|
|
18
36
|
Region?: string;
|
|
19
37
|
UseDualStack?: boolean;
|
|
@@ -4,4 +4,4 @@ import { MediaStoreDataPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListItems: (config: MediaStoreDataPaginationConfiguration, input: ListItemsCommandInput, ...rest: any[]) => Paginator<ListItemsCommandOutput>;
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
Handler,
|
|
5
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
-
MetadataBearer as __MetadataBearer,
|
|
7
|
-
MiddlewareStack,
|
|
8
|
-
} from "@smithy/types";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
9
3
|
import {
|
|
10
4
|
MediaStoreDataClientResolvedConfig,
|
|
11
5
|
ServiceInputTypes,
|
|
@@ -17,19 +11,16 @@ export interface DeleteObjectCommandInput extends DeleteObjectRequest {}
|
|
|
17
11
|
export interface DeleteObjectCommandOutput
|
|
18
12
|
extends DeleteObjectResponse,
|
|
19
13
|
__MetadataBearer {}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
private serialize;
|
|
34
|
-
private deserialize;
|
|
35
|
-
}
|
|
14
|
+
declare const DeleteObjectCommand_base: {
|
|
15
|
+
new (
|
|
16
|
+
input: DeleteObjectCommandInput
|
|
17
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
18
|
+
DeleteObjectCommandInput,
|
|
19
|
+
DeleteObjectCommandOutput,
|
|
20
|
+
MediaStoreDataClientResolvedConfig,
|
|
21
|
+
ServiceInputTypes,
|
|
22
|
+
ServiceOutputTypes
|
|
23
|
+
>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
export declare class DeleteObjectCommand extends DeleteObjectCommand_base {}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
Handler,
|
|
5
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
-
MetadataBearer as __MetadataBearer,
|
|
7
|
-
MiddlewareStack,
|
|
8
|
-
} from "@smithy/types";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
9
3
|
import {
|
|
10
4
|
MediaStoreDataClientResolvedConfig,
|
|
11
5
|
ServiceInputTypes,
|
|
@@ -20,19 +14,16 @@ export interface DescribeObjectCommandInput extends DescribeObjectRequest {}
|
|
|
20
14
|
export interface DescribeObjectCommandOutput
|
|
21
15
|
extends DescribeObjectResponse,
|
|
22
16
|
__MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
private serialize;
|
|
37
|
-
private deserialize;
|
|
38
|
-
}
|
|
17
|
+
declare const DescribeObjectCommand_base: {
|
|
18
|
+
new (
|
|
19
|
+
input: DescribeObjectCommandInput
|
|
20
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
21
|
+
DescribeObjectCommandInput,
|
|
22
|
+
DescribeObjectCommandOutput,
|
|
23
|
+
MediaStoreDataClientResolvedConfig,
|
|
24
|
+
ServiceInputTypes,
|
|
25
|
+
ServiceOutputTypes
|
|
26
|
+
>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
export declare class DescribeObjectCommand extends DescribeObjectCommand_base {}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import {
|
|
4
|
-
Handler,
|
|
5
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
3
|
MetadataBearer as __MetadataBearer,
|
|
7
|
-
MiddlewareStack,
|
|
8
4
|
StreamingBlobPayloadOutputTypes,
|
|
9
5
|
} from "@smithy/types";
|
|
10
6
|
import {
|
|
@@ -20,19 +16,16 @@ export interface GetObjectCommandOutput
|
|
|
20
16
|
__MetadataBearer {
|
|
21
17
|
Body?: StreamingBlobPayloadOutputTypes;
|
|
22
18
|
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
private serialize;
|
|
37
|
-
private deserialize;
|
|
38
|
-
}
|
|
19
|
+
declare const GetObjectCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetObjectCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetObjectCommandInput,
|
|
24
|
+
GetObjectCommandOutput,
|
|
25
|
+
MediaStoreDataClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class GetObjectCommand extends GetObjectCommand_base {}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
Handler,
|
|
5
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
-
MetadataBearer as __MetadataBearer,
|
|
7
|
-
MiddlewareStack,
|
|
8
|
-
} from "@smithy/types";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
9
3
|
import {
|
|
10
4
|
MediaStoreDataClientResolvedConfig,
|
|
11
5
|
ServiceInputTypes,
|
|
@@ -17,19 +11,16 @@ export interface ListItemsCommandInput extends ListItemsRequest {}
|
|
|
17
11
|
export interface ListItemsCommandOutput
|
|
18
12
|
extends ListItemsResponse,
|
|
19
13
|
__MetadataBearer {}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
private serialize;
|
|
34
|
-
private deserialize;
|
|
35
|
-
}
|
|
14
|
+
declare const ListItemsCommand_base: {
|
|
15
|
+
new (
|
|
16
|
+
input: ListItemsCommandInput
|
|
17
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
18
|
+
ListItemsCommandInput,
|
|
19
|
+
ListItemsCommandOutput,
|
|
20
|
+
MediaStoreDataClientResolvedConfig,
|
|
21
|
+
ServiceInputTypes,
|
|
22
|
+
ServiceOutputTypes
|
|
23
|
+
>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
export declare class ListItemsCommand extends ListItemsCommand_base {}
|