@aws-sdk/client-datasync 3.267.0 → 3.271.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/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +2 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +2 -0
- package/dist-types/DataSync.d.ts +15 -18
- package/dist-types/DataSyncClient.d.ts +15 -15
- package/dist-types/commands/CreateLocationS3Command.d.ts +2 -5
- package/dist-types/commands/CreateLocationSmbCommand.d.ts +1 -2
- package/dist-types/commands/DescribeAgentCommand.d.ts +1 -3
- package/dist-types/commands/ListAgentsCommand.d.ts +11 -8
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +92 -60
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +4 -4
- package/dist-types/ts3.4/DataSyncClient.d.ts +4 -4
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
- package/package.json +29 -29
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const q = "
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://datasync-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://datasync-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://datasync.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://datasync.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -59,7 +59,9 @@ var NfsVersion;
|
|
|
59
59
|
var SmbVersion;
|
|
60
60
|
(function (SmbVersion) {
|
|
61
61
|
SmbVersion["AUTOMATIC"] = "AUTOMATIC";
|
|
62
|
+
SmbVersion["SMB1"] = "SMB1";
|
|
62
63
|
SmbVersion["SMB2"] = "SMB2";
|
|
64
|
+
SmbVersion["SMB2_0"] = "SMB2_0";
|
|
63
65
|
SmbVersion["SMB3"] = "SMB3";
|
|
64
66
|
})(SmbVersion = exports.SmbVersion || (exports.SmbVersion = {}));
|
|
65
67
|
var HdfsAuthenticationType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const q = "
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://datasync-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://datasync-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://datasync.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://datasync.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -52,7 +52,9 @@ export var NfsVersion;
|
|
|
52
52
|
export var SmbVersion;
|
|
53
53
|
(function (SmbVersion) {
|
|
54
54
|
SmbVersion["AUTOMATIC"] = "AUTOMATIC";
|
|
55
|
+
SmbVersion["SMB1"] = "SMB1";
|
|
55
56
|
SmbVersion["SMB2"] = "SMB2";
|
|
57
|
+
SmbVersion["SMB2_0"] = "SMB2_0";
|
|
56
58
|
SmbVersion["SMB3"] = "SMB3";
|
|
57
59
|
})(SmbVersion || (SmbVersion = {}));
|
|
58
60
|
export var HdfsAuthenticationType;
|
package/dist-types/DataSync.d.ts
CHANGED
|
@@ -141,18 +141,14 @@ export declare class DataSync extends DataSyncClient {
|
|
|
141
141
|
createLocationObjectStorage(args: CreateLocationObjectStorageCommandInput, cb: (err: any, data?: CreateLocationObjectStorageCommandOutput) => void): void;
|
|
142
142
|
createLocationObjectStorage(args: CreateLocationObjectStorageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLocationObjectStorageCommandOutput) => void): void;
|
|
143
143
|
/**
|
|
144
|
-
* <p>Creates an endpoint for an Amazon S3 bucket that DataSync can
|
|
145
|
-
*
|
|
146
|
-
* more information, see
|
|
147
|
-
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-locations-cli.html#create-location-s3-cli">Create an Amazon S3 location</a>
|
|
148
|
-
* in the <i>DataSync User Guide</i>.</p>
|
|
144
|
+
* <p>Creates an endpoint for an Amazon S3 bucket that DataSync can
|
|
145
|
+
* access for a transfer. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-locations-cli.html#create-location-s3-cli">Create an Amazon S3 location</a>.</p>
|
|
149
146
|
*/
|
|
150
147
|
createLocationS3(args: CreateLocationS3CommandInput, options?: __HttpHandlerOptions): Promise<CreateLocationS3CommandOutput>;
|
|
151
148
|
createLocationS3(args: CreateLocationS3CommandInput, cb: (err: any, data?: CreateLocationS3CommandOutput) => void): void;
|
|
152
149
|
createLocationS3(args: CreateLocationS3CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLocationS3CommandOutput) => void): void;
|
|
153
150
|
/**
|
|
154
|
-
* <p>
|
|
155
|
-
* written to.</p>
|
|
151
|
+
* <p>Creates an endpoint for a Server Message Block (SMB) file server that DataSync can access for a transfer. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html">Creating an SMB location</a>.</p>
|
|
156
152
|
*/
|
|
157
153
|
createLocationSmb(args: CreateLocationSmbCommandInput, options?: __HttpHandlerOptions): Promise<CreateLocationSmbCommandOutput>;
|
|
158
154
|
createLocationSmb(args: CreateLocationSmbCommandInput, cb: (err: any, data?: CreateLocationSmbCommandOutput) => void): void;
|
|
@@ -189,9 +185,7 @@ export declare class DataSync extends DataSyncClient {
|
|
|
189
185
|
deleteTask(args: DeleteTaskCommandInput, cb: (err: any, data?: DeleteTaskCommandOutput) => void): void;
|
|
190
186
|
deleteTask(args: DeleteTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTaskCommandOutput) => void): void;
|
|
191
187
|
/**
|
|
192
|
-
* <p>Returns metadata such as
|
|
193
|
-
* whether the agent is running or not) for an agent. To specify which agent to describe, use the
|
|
194
|
-
* Amazon Resource Name (ARN) of the agent in your request. </p>
|
|
188
|
+
* <p>Returns metadata about an DataSync agent, such as its name, endpoint type, and status.</p>
|
|
195
189
|
*/
|
|
196
190
|
describeAgent(args: DescribeAgentCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAgentCommandOutput>;
|
|
197
191
|
describeAgent(args: DescribeAgentCommandInput, cb: (err: any, data?: DescribeAgentCommandOutput) => void): void;
|
|
@@ -279,14 +273,17 @@ export declare class DataSync extends DataSyncClient {
|
|
|
279
273
|
describeTaskExecution(args: DescribeTaskExecutionCommandInput, cb: (err: any, data?: DescribeTaskExecutionCommandOutput) => void): void;
|
|
280
274
|
describeTaskExecution(args: DescribeTaskExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTaskExecutionCommandOutput) => void): void;
|
|
281
275
|
/**
|
|
282
|
-
* <p>Returns a list of agents
|
|
283
|
-
*
|
|
284
|
-
*
|
|
285
|
-
*
|
|
286
|
-
*
|
|
287
|
-
*
|
|
288
|
-
*
|
|
289
|
-
*
|
|
276
|
+
* <p>Returns a list of DataSync agents that belong to an Amazon Web Services account in the Amazon Web Services Region specified in the request.</p>
|
|
277
|
+
* <p>With pagination, you can reduce the number of agents returned in a response. If you get
|
|
278
|
+
* a truncated list of agents in a response, the response contains a marker that you can specify
|
|
279
|
+
* in your next request to fetch the next page of agents.</p>
|
|
280
|
+
* <p>
|
|
281
|
+
* <code>ListAgents</code> is eventually consistent. This means the result of running the
|
|
282
|
+
* operation might not reflect that you just created or deleted an agent. For example, if you
|
|
283
|
+
* create an agent with <a href="https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateAgent.html">CreateAgent</a> and then
|
|
284
|
+
* immediately run <code>ListAgents</code>, that agent might not show up in the list right away.
|
|
285
|
+
* In situations like this, you can always confirm whether an agent has been created (or deleted)
|
|
286
|
+
* by using <a href="https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeAgent.html">DescribeAgent</a>.</p>
|
|
290
287
|
*/
|
|
291
288
|
listAgents(args: ListAgentsCommandInput, options?: __HttpHandlerOptions): Promise<ListAgentsCommandOutput>;
|
|
292
289
|
listAgents(args: ListAgentsCommandInput, cb: (err: any, data?: ListAgentsCommandOutput) => void): void;
|
|
@@ -111,17 +111,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
111
111
|
*/
|
|
112
112
|
disableHostPrefix?: boolean;
|
|
113
113
|
/**
|
|
114
|
-
*
|
|
115
|
-
|
|
116
|
-
maxAttempts?: number | __Provider<number>;
|
|
117
|
-
/**
|
|
118
|
-
* Specifies which retry algorithm to use.
|
|
119
|
-
*/
|
|
120
|
-
retryMode?: string | __Provider<string>;
|
|
121
|
-
/**
|
|
122
|
-
* Optional logger for logging debug/info/warn/error.
|
|
114
|
+
* Unique service identifier.
|
|
115
|
+
* @internal
|
|
123
116
|
*/
|
|
124
|
-
|
|
117
|
+
serviceId?: string;
|
|
125
118
|
/**
|
|
126
119
|
* Enables IPv6/IPv4 dualstack endpoint.
|
|
127
120
|
*/
|
|
@@ -130,11 +123,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
130
123
|
* Enables FIPS compatible endpoints.
|
|
131
124
|
*/
|
|
132
125
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
133
|
-
/**
|
|
134
|
-
* Unique service identifier.
|
|
135
|
-
* @internal
|
|
136
|
-
*/
|
|
137
|
-
serviceId?: string;
|
|
138
126
|
/**
|
|
139
127
|
* The AWS region to which this client will send requests
|
|
140
128
|
*/
|
|
@@ -149,6 +137,18 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
149
137
|
* @internal
|
|
150
138
|
*/
|
|
151
139
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
140
|
+
/**
|
|
141
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
142
|
+
*/
|
|
143
|
+
maxAttempts?: number | __Provider<number>;
|
|
144
|
+
/**
|
|
145
|
+
* Specifies which retry algorithm to use.
|
|
146
|
+
*/
|
|
147
|
+
retryMode?: string | __Provider<string>;
|
|
148
|
+
/**
|
|
149
|
+
* Optional logger for logging debug/info/warn/error.
|
|
150
|
+
*/
|
|
151
|
+
logger?: __Logger;
|
|
152
152
|
/**
|
|
153
153
|
* The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
154
154
|
*/
|
|
@@ -8,11 +8,8 @@ export interface CreateLocationS3CommandInput extends CreateLocationS3Request {
|
|
|
8
8
|
export interface CreateLocationS3CommandOutput extends CreateLocationS3Response, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Creates an endpoint for an Amazon S3 bucket that DataSync can
|
|
12
|
-
*
|
|
13
|
-
* more information, see
|
|
14
|
-
* <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-locations-cli.html#create-location-s3-cli">Create an Amazon S3 location</a>
|
|
15
|
-
* in the <i>DataSync User Guide</i>.</p>
|
|
11
|
+
* <p>Creates an endpoint for an Amazon S3 bucket that DataSync can
|
|
12
|
+
* access for a transfer. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-locations-cli.html#create-location-s3-cli">Create an Amazon S3 location</a>.</p>
|
|
16
13
|
* @example
|
|
17
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
18
15
|
* ```javascript
|
|
@@ -8,8 +8,7 @@ export interface CreateLocationSmbCommandInput extends CreateLocationSmbRequest
|
|
|
8
8
|
export interface CreateLocationSmbCommandOutput extends CreateLocationSmbResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>
|
|
12
|
-
* written to.</p>
|
|
11
|
+
* <p>Creates an endpoint for a Server Message Block (SMB) file server that DataSync can access for a transfer. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html">Creating an SMB location</a>.</p>
|
|
13
12
|
* @example
|
|
14
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
14
|
* ```javascript
|
|
@@ -8,9 +8,7 @@ export interface DescribeAgentCommandInput extends DescribeAgentRequest {
|
|
|
8
8
|
export interface DescribeAgentCommandOutput extends DescribeAgentResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Returns metadata such as
|
|
12
|
-
* whether the agent is running or not) for an agent. To specify which agent to describe, use the
|
|
13
|
-
* Amazon Resource Name (ARN) of the agent in your request. </p>
|
|
11
|
+
* <p>Returns metadata about an DataSync agent, such as its name, endpoint type, and status.</p>
|
|
14
12
|
* @example
|
|
15
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
14
|
* ```javascript
|
|
@@ -8,14 +8,17 @@ export interface ListAgentsCommandInput extends ListAgentsRequest {
|
|
|
8
8
|
export interface ListAgentsCommandOutput extends ListAgentsResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Returns a list of agents
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
11
|
+
* <p>Returns a list of DataSync agents that belong to an Amazon Web Services account in the Amazon Web Services Region specified in the request.</p>
|
|
12
|
+
* <p>With pagination, you can reduce the number of agents returned in a response. If you get
|
|
13
|
+
* a truncated list of agents in a response, the response contains a marker that you can specify
|
|
14
|
+
* in your next request to fetch the next page of agents.</p>
|
|
15
|
+
* <p>
|
|
16
|
+
* <code>ListAgents</code> is eventually consistent. This means the result of running the
|
|
17
|
+
* operation might not reflect that you just created or deleted an agent. For example, if you
|
|
18
|
+
* create an agent with <a href="https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateAgent.html">CreateAgent</a> and then
|
|
19
|
+
* immediately run <code>ListAgents</code>, that agent might not show up in the list right away.
|
|
20
|
+
* In situations like this, you can always confirm whether an agent has been created (or deleted)
|
|
21
|
+
* by using <a href="https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeAgent.html">DescribeAgent</a>.</p>
|
|
19
22
|
* @example
|
|
20
23
|
* Use a bare-bones client and the command you need to make an API call.
|
|
21
24
|
* ```javascript
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -5,22 +5,20 @@ export declare enum AgentStatus {
|
|
|
5
5
|
ONLINE = "ONLINE"
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
|
-
* <p>Represents a single entry in a list of agents
|
|
9
|
-
*
|
|
10
|
-
* operation is
|
|
11
|
-
* called.</p>
|
|
8
|
+
* <p>Represents a single entry in a list (or array) of DataSync agents when
|
|
9
|
+
* you call the <a href="https://docs.aws.amazon.com/datasync/latest/userguide/API_ListAgents.html">ListAgents</a> operation.</p>
|
|
12
10
|
*/
|
|
13
11
|
export interface AgentListEntry {
|
|
14
12
|
/**
|
|
15
|
-
* <p>The Amazon Resource Name (ARN) of
|
|
13
|
+
* <p>The Amazon Resource Name (ARN) of a DataSync agent.</p>
|
|
16
14
|
*/
|
|
17
15
|
AgentArn?: string;
|
|
18
16
|
/**
|
|
19
|
-
* <p>The name of
|
|
17
|
+
* <p>The name of an agent.</p>
|
|
20
18
|
*/
|
|
21
19
|
Name?: string;
|
|
22
20
|
/**
|
|
23
|
-
* <p>The status of
|
|
21
|
+
* <p>The status of an agent. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/understand-agent-statuses.html">DataSync agent statuses</a>.</p>
|
|
24
22
|
*/
|
|
25
23
|
Status?: AgentStatus | string;
|
|
26
24
|
}
|
|
@@ -303,16 +301,51 @@ export interface FsxProtocolNfs {
|
|
|
303
301
|
}
|
|
304
302
|
export declare enum SmbVersion {
|
|
305
303
|
AUTOMATIC = "AUTOMATIC",
|
|
304
|
+
SMB1 = "SMB1",
|
|
306
305
|
SMB2 = "SMB2",
|
|
306
|
+
SMB2_0 = "SMB2_0",
|
|
307
307
|
SMB3 = "SMB3"
|
|
308
308
|
}
|
|
309
309
|
/**
|
|
310
|
-
* <p>Specifies
|
|
310
|
+
* <p>Specifies the version of the Server Message Block (SMB) protocol that DataSync uses to access an SMB file server.</p>
|
|
311
311
|
*/
|
|
312
312
|
export interface SmbMountOptions {
|
|
313
313
|
/**
|
|
314
|
-
* <p>
|
|
315
|
-
*
|
|
314
|
+
* <p>By default, DataSync automatically chooses an SMB protocol version based on
|
|
315
|
+
* negotiation with your SMB file server. You also can configure DataSync to use a
|
|
316
|
+
* specific SMB version, but we recommend doing this only if DataSync has trouble
|
|
317
|
+
* negotiating with the SMB file server automatically.</p>
|
|
318
|
+
* <p>These are the following options for configuring the SMB version:</p>
|
|
319
|
+
* <ul>
|
|
320
|
+
* <li>
|
|
321
|
+
* <p>
|
|
322
|
+
* <code>AUTOMATIC</code> (default): DataSync and the SMB file server negotiate a
|
|
323
|
+
* protocol version that they mutually support. (DataSync supports SMB versions 1.0
|
|
324
|
+
* and later.)</p>
|
|
325
|
+
* <p>This is the recommended option. If you instead choose a specific version that your
|
|
326
|
+
* file server doesn't support, you may get an <code>Operation Not Supported</code>
|
|
327
|
+
* error.</p>
|
|
328
|
+
* </li>
|
|
329
|
+
* <li>
|
|
330
|
+
* <p>
|
|
331
|
+
* <code>SMB3</code>: Restricts the protocol negotiation to only SMB version 3.0.2.</p>
|
|
332
|
+
* </li>
|
|
333
|
+
* <li>
|
|
334
|
+
* <p>
|
|
335
|
+
* <code>SMB2</code>: Restricts the protocol negotiation to only SMB version 2.1.</p>
|
|
336
|
+
* </li>
|
|
337
|
+
* <li>
|
|
338
|
+
* <p>
|
|
339
|
+
* <code>SMB2_0</code>: Restricts the protocol negotiation to only SMB version 2.0.</p>
|
|
340
|
+
* </li>
|
|
341
|
+
* <li>
|
|
342
|
+
* <p>
|
|
343
|
+
* <code>SMB1</code>: Restricts the protocol negotiation to only SMB version 1.0.</p>
|
|
344
|
+
* <note>
|
|
345
|
+
* <p>The <code>SMB1</code> option isn't available when <a href="https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationFsxOntap.html">creating an Amazon FSx for NetApp ONTAP location</a>.</p>
|
|
346
|
+
* </note>
|
|
347
|
+
* </li>
|
|
348
|
+
* </ul>
|
|
316
349
|
*/
|
|
317
350
|
Version?: SmbVersion | string;
|
|
318
351
|
}
|
|
@@ -325,7 +358,7 @@ export interface FsxProtocolSmb {
|
|
|
325
358
|
*/
|
|
326
359
|
Domain?: string;
|
|
327
360
|
/**
|
|
328
|
-
* <p>Specifies
|
|
361
|
+
* <p>Specifies the version of the Server Message Block (SMB) protocol that DataSync uses to access an SMB file server.</p>
|
|
329
362
|
*/
|
|
330
363
|
MountOptions?: SmbMountOptions;
|
|
331
364
|
/**
|
|
@@ -410,13 +443,15 @@ export interface CreateLocationFsxOntapRequest {
|
|
|
410
443
|
*/
|
|
411
444
|
SecurityGroupArns: string[] | undefined;
|
|
412
445
|
/**
|
|
413
|
-
* <p>Specifies the ARN of the storage virtual machine (SVM)
|
|
414
|
-
*
|
|
446
|
+
* <p>Specifies the ARN of the storage virtual machine (SVM) in your file system where you want
|
|
447
|
+
* to copy data to or from.</p>
|
|
415
448
|
*/
|
|
416
449
|
StorageVirtualMachineArn: string | undefined;
|
|
417
450
|
/**
|
|
418
|
-
* <p>Specifies
|
|
419
|
-
*
|
|
451
|
+
* <p>Specifies a path to the file share in the SVM where you'll copy your data.</p>
|
|
452
|
+
* <p>You can specify a junction path (also known as a mount point), qtree path (for NFS file
|
|
453
|
+
* shares), or share name (for SMB file shares). For example, your mount path might be
|
|
454
|
+
* <code>/vol1</code>, <code>/vol1/tree1</code>, or <code>/share1</code>.</p>
|
|
420
455
|
* <note>
|
|
421
456
|
* <p>Don't specify a junction path in the SVM's root volume. For more
|
|
422
457
|
* information, see <a href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-svms.html">Managing FSx for ONTAP
|
|
@@ -886,61 +921,53 @@ export interface CreateLocationS3Response {
|
|
|
886
921
|
*/
|
|
887
922
|
export interface CreateLocationSmbRequest {
|
|
888
923
|
/**
|
|
889
|
-
* <p>
|
|
890
|
-
*
|
|
891
|
-
*
|
|
892
|
-
*
|
|
893
|
-
* <
|
|
894
|
-
*
|
|
895
|
-
* <code>Subdirectory</code> must be specified with forward slashes. For example,
|
|
896
|
-
* <code>/path/to/folder</code>.</p>
|
|
897
|
-
* </note>
|
|
898
|
-
* <p>To transfer all the data in the folder you specified, DataSync needs to have permissions
|
|
899
|
-
* to mount the SMB share, as well as to access all the data in that share. To ensure this,
|
|
900
|
-
* either ensure that the user/password specified belongs to the user who can mount the share,
|
|
901
|
-
* and who has the appropriate permissions for all of the files and directories that you want
|
|
902
|
-
* DataSync to access, or use credentials of a member of the Backup Operators group to mount
|
|
903
|
-
* the share. Doing either enables the agent to access the data. For the agent to access
|
|
904
|
-
* directories, you must additionally enable all execute access.</p>
|
|
924
|
+
* <p>Specifies the name of the share exported by your SMB file server where DataSync
|
|
925
|
+
* will read or write data. You can include a subdirectory in the share path (for example,
|
|
926
|
+
* <code>/path/to/subdirectory</code>). Make sure that other SMB clients in your network can
|
|
927
|
+
* also mount this path.</p>
|
|
928
|
+
* <p>To copy all data in the specified subdirectory, DataSync must be able to mount
|
|
929
|
+
* the SMB share and access all of its data. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions">required permissions</a> for SMB locations.</p>
|
|
905
930
|
*/
|
|
906
931
|
Subdirectory: string | undefined;
|
|
907
932
|
/**
|
|
908
|
-
* <p>
|
|
909
|
-
*
|
|
910
|
-
* server in a network.</p>
|
|
933
|
+
* <p>Specifies the Domain Name Service (DNS) name or IP address of the SMB file server that
|
|
934
|
+
* your DataSync agent will mount.</p>
|
|
911
935
|
* <note>
|
|
912
|
-
* <p>
|
|
936
|
+
* <p>You can't specify an IP version 6 (IPv6) address.</p>
|
|
913
937
|
* </note>
|
|
914
938
|
*/
|
|
915
939
|
ServerHostname: string | undefined;
|
|
916
940
|
/**
|
|
917
|
-
* <p>
|
|
918
|
-
*
|
|
919
|
-
* <p>For information about choosing a user
|
|
920
|
-
*
|
|
941
|
+
* <p>Specifies the user name that can mount your SMB file server and has permission to access
|
|
942
|
+
* the files and folders involved in your transfer.</p>
|
|
943
|
+
* <p>For information about choosing a user with the right level of access for your transfer,
|
|
944
|
+
* see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions">required permissions</a> for SMB locations.</p>
|
|
921
945
|
*/
|
|
922
946
|
User: string | undefined;
|
|
923
947
|
/**
|
|
924
|
-
* <p>
|
|
948
|
+
* <p>Specifies the Windows domain name that your SMB file server belongs to. </p>
|
|
949
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions">required permissions</a> for SMB locations.</p>
|
|
925
950
|
*/
|
|
926
951
|
Domain?: string;
|
|
927
952
|
/**
|
|
928
|
-
* <p>
|
|
929
|
-
* folders in
|
|
953
|
+
* <p>Specifies the password of the user who can mount your SMB file server and has permission
|
|
954
|
+
* to access the files and folders involved in your transfer.</p>
|
|
955
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions">required permissions</a> for SMB locations.</p>
|
|
930
956
|
*/
|
|
931
957
|
Password: string | undefined;
|
|
932
958
|
/**
|
|
933
|
-
* <p>
|
|
934
|
-
*
|
|
959
|
+
* <p>Specifies the DataSync agent (or agents) which you want to connect to your SMB
|
|
960
|
+
* file server. You specify an agent by using its Amazon Resource Name (ARN).</p>
|
|
935
961
|
*/
|
|
936
962
|
AgentArns: string[] | undefined;
|
|
937
963
|
/**
|
|
938
|
-
* <p>
|
|
964
|
+
* <p>Specifies the version of the SMB protocol that DataSync uses to access your SMB
|
|
965
|
+
* file server.</p>
|
|
939
966
|
*/
|
|
940
967
|
MountOptions?: SmbMountOptions;
|
|
941
968
|
/**
|
|
942
|
-
* <p>
|
|
943
|
-
*
|
|
969
|
+
* <p>Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We
|
|
970
|
+
* recommend creating at least a name tag for your location.</p>
|
|
944
971
|
*/
|
|
945
972
|
Tags?: TagListEntry[];
|
|
946
973
|
}
|
|
@@ -949,8 +976,7 @@ export interface CreateLocationSmbRequest {
|
|
|
949
976
|
*/
|
|
950
977
|
export interface CreateLocationSmbResponse {
|
|
951
978
|
/**
|
|
952
|
-
* <p>The
|
|
953
|
-
* created.</p>
|
|
979
|
+
* <p>The ARN of the SMB location that you created.</p>
|
|
954
980
|
*/
|
|
955
981
|
LocationArn?: string;
|
|
956
982
|
}
|
|
@@ -1078,7 +1104,7 @@ export interface Options {
|
|
|
1078
1104
|
* those changes. </p>
|
|
1079
1105
|
* <p>Some storage classes have specific behaviors that can affect your Amazon S3
|
|
1080
1106
|
* storage cost. For detailed information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes">Considerations
|
|
1081
|
-
* when working with Amazon S3 storage classes in DataSync
|
|
1107
|
+
* when working with Amazon S3 storage classes in DataSync</a>.</p>
|
|
1082
1108
|
*/
|
|
1083
1109
|
OverwriteMode?: OverwriteMode | string;
|
|
1084
1110
|
/**
|
|
@@ -1149,7 +1175,7 @@ export interface Options {
|
|
|
1149
1175
|
* should be preserved. This option can affect your Amazon S3 storage cost. If your task
|
|
1150
1176
|
* deletes objects, you might incur minimum storage duration charges for certain storage classes.
|
|
1151
1177
|
* For detailed information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes">Considerations
|
|
1152
|
-
* when working with Amazon S3 storage classes in DataSync
|
|
1178
|
+
* when working with Amazon S3 storage classes in DataSync</a>.</p>
|
|
1153
1179
|
* <p>Default value: <code>PRESERVE</code>
|
|
1154
1180
|
* </p>
|
|
1155
1181
|
* <p>
|
|
@@ -1157,6 +1183,10 @@ export interface Options {
|
|
|
1157
1183
|
* <p>
|
|
1158
1184
|
* <code>REMOVE</code>: Delete destination files that aren’t present in the
|
|
1159
1185
|
* source.</p>
|
|
1186
|
+
* <note>
|
|
1187
|
+
* <p>If you set this parameter to <code>REMOVE</code>, you can't set
|
|
1188
|
+
* <code>TransferMode</code> to <code>ALL</code>. When you transfer all data, DataSync doesn't scan your destination location and doesn't know what to delete.</p>
|
|
1189
|
+
* </note>
|
|
1160
1190
|
*/
|
|
1161
1191
|
PreserveDeletedFiles?: PreserveDeletedFiles | string;
|
|
1162
1192
|
/**
|
|
@@ -1391,7 +1421,7 @@ export interface DeleteTaskResponse {
|
|
|
1391
1421
|
*/
|
|
1392
1422
|
export interface DescribeAgentRequest {
|
|
1393
1423
|
/**
|
|
1394
|
-
* <p>
|
|
1424
|
+
* <p>Specifies the Amazon Resource Name (ARN) of the DataSync agent to describe.</p>
|
|
1395
1425
|
*/
|
|
1396
1426
|
AgentArn: string | undefined;
|
|
1397
1427
|
}
|
|
@@ -1433,7 +1463,7 @@ export interface PrivateLinkConfig {
|
|
|
1433
1463
|
*/
|
|
1434
1464
|
export interface DescribeAgentResponse {
|
|
1435
1465
|
/**
|
|
1436
|
-
* <p>The
|
|
1466
|
+
* <p>The ARN of the agent.</p>
|
|
1437
1467
|
*/
|
|
1438
1468
|
AgentArn?: string;
|
|
1439
1469
|
/**
|
|
@@ -2128,12 +2158,13 @@ export interface DescribeTaskExecutionResponse {
|
|
|
2128
2158
|
*/
|
|
2129
2159
|
export interface ListAgentsRequest {
|
|
2130
2160
|
/**
|
|
2131
|
-
* <p>
|
|
2161
|
+
* <p>Specifies the maximum number of DataSync agents to list in a response. By
|
|
2162
|
+
* default, a response shows a maximum of 100 agents.</p>
|
|
2132
2163
|
*/
|
|
2133
2164
|
MaxResults?: number;
|
|
2134
2165
|
/**
|
|
2135
|
-
* <p>
|
|
2136
|
-
*
|
|
2166
|
+
* <p>Specifies an opaque string that indicates the position to begin the next list of
|
|
2167
|
+
* results in the response.</p>
|
|
2137
2168
|
*/
|
|
2138
2169
|
NextToken?: string;
|
|
2139
2170
|
}
|
|
@@ -2142,12 +2173,13 @@ export interface ListAgentsRequest {
|
|
|
2142
2173
|
*/
|
|
2143
2174
|
export interface ListAgentsResponse {
|
|
2144
2175
|
/**
|
|
2145
|
-
* <p>A list of agents in your account
|
|
2176
|
+
* <p>A list of DataSync agents in your Amazon Web Services account in the Amazon Web Services Region specified in the request. The list is ordered by the agents' Amazon
|
|
2177
|
+
* Resource Names (ARNs).</p>
|
|
2146
2178
|
*/
|
|
2147
2179
|
Agents?: AgentListEntry[];
|
|
2148
2180
|
/**
|
|
2149
|
-
* <p>
|
|
2150
|
-
*
|
|
2181
|
+
* <p>The opaque string that indicates the position to begin the next list of results in the
|
|
2182
|
+
* response.</p>
|
|
2151
2183
|
*/
|
|
2152
2184
|
NextToken?: string;
|
|
2153
2185
|
}
|
|
@@ -2713,7 +2745,7 @@ export interface UpdateLocationSmbRequest {
|
|
|
2713
2745
|
*/
|
|
2714
2746
|
AgentArns?: string[];
|
|
2715
2747
|
/**
|
|
2716
|
-
* <p>Specifies
|
|
2748
|
+
* <p>Specifies the version of the Server Message Block (SMB) protocol that DataSync uses to access an SMB file server.</p>
|
|
2717
2749
|
*/
|
|
2718
2750
|
MountOptions?: SmbMountOptions;
|
|
2719
2751
|
}
|
|
@@ -24,8 +24,8 @@ export declare const getRuntimeConfig: (config: DataSyncClientConfig) => {
|
|
|
24
24
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
25
25
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
|
-
logger: import("@aws-sdk/types").Logger;
|
|
28
27
|
serviceId: string;
|
|
28
|
+
logger: import("@aws-sdk/types").Logger;
|
|
29
29
|
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
30
30
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
31
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
@@ -24,8 +24,8 @@ export declare const getRuntimeConfig: (config: DataSyncClientConfig) => {
|
|
|
24
24
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
25
25
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
|
-
logger: import("@aws-sdk/types").Logger;
|
|
28
27
|
serviceId: string;
|
|
28
|
+
logger: import("@aws-sdk/types").Logger;
|
|
29
29
|
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
30
30
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
31
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
@@ -15,15 +15,15 @@ export declare const getRuntimeConfig: (config: DataSyncClientConfig) => {
|
|
|
15
15
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
16
16
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
17
17
|
disableHostPrefix: boolean;
|
|
18
|
-
|
|
19
|
-
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
20
|
-
logger: import("@aws-sdk/types").Logger;
|
|
18
|
+
serviceId: string;
|
|
21
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
|
-
serviceId: string;
|
|
24
21
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
22
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
23
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
24
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
25
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
26
|
+
logger: import("@aws-sdk/types").Logger;
|
|
27
27
|
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
28
28
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> | undefined;
|
|
29
29
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
@@ -328,15 +328,15 @@ export interface ClientDefaults
|
|
|
328
328
|
utf8Encoder?: __Encoder;
|
|
329
329
|
runtime?: string;
|
|
330
330
|
disableHostPrefix?: boolean;
|
|
331
|
-
|
|
332
|
-
retryMode?: string | __Provider<string>;
|
|
333
|
-
logger?: __Logger;
|
|
331
|
+
serviceId?: string;
|
|
334
332
|
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
335
333
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
336
|
-
serviceId?: string;
|
|
337
334
|
region?: string | __Provider<string>;
|
|
338
335
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
339
336
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
337
|
+
maxAttempts?: number | __Provider<number>;
|
|
338
|
+
retryMode?: string | __Provider<string>;
|
|
339
|
+
logger?: __Logger;
|
|
340
340
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
341
341
|
}
|
|
342
342
|
declare type DataSyncClientConfigType = Partial<
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region?: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
|
@@ -34,8 +34,8 @@ export declare const getRuntimeConfig: (config: DataSyncClientConfig) => {
|
|
|
34
34
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
35
35
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
|
-
logger: import("@aws-sdk/types").Logger;
|
|
38
37
|
serviceId: string;
|
|
38
|
+
logger: import("@aws-sdk/types").Logger;
|
|
39
39
|
endpoint?:
|
|
40
40
|
| ((
|
|
41
41
|
| string
|
|
@@ -34,8 +34,8 @@ export declare const getRuntimeConfig: (config: DataSyncClientConfig) => {
|
|
|
34
34
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
35
35
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
|
-
logger: import("@aws-sdk/types").Logger;
|
|
38
37
|
serviceId: string;
|
|
38
|
+
logger: import("@aws-sdk/types").Logger;
|
|
39
39
|
endpoint?:
|
|
40
40
|
| ((
|
|
41
41
|
| string
|
|
@@ -19,12 +19,9 @@ export declare const getRuntimeConfig: (config: DataSyncClientConfig) => {
|
|
|
19
19
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
20
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
21
|
disableHostPrefix: boolean;
|
|
22
|
-
|
|
23
|
-
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
24
|
-
logger: import("@aws-sdk/types").Logger;
|
|
22
|
+
serviceId: string;
|
|
25
23
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
26
24
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
27
|
-
serviceId: string;
|
|
28
25
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
29
26
|
credentialDefaultProvider: (
|
|
30
27
|
input: any
|
|
@@ -32,6 +29,9 @@ export declare const getRuntimeConfig: (config: DataSyncClientConfig) => {
|
|
|
32
29
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
33
30
|
import("@aws-sdk/types").UserAgent
|
|
34
31
|
>;
|
|
32
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
33
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
34
|
+
logger: import("@aws-sdk/types").Logger;
|
|
35
35
|
defaultsMode:
|
|
36
36
|
| import("@aws-sdk/smithy-client").DefaultsMode
|
|
37
37
|
| import("@aws-sdk/types").Provider<
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-datasync",
|
|
3
3
|
"description": "AWS SDK for JavaScript Datasync Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.271.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",
|
|
@@ -20,37 +20,37 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.271.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.271.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.271.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.271.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.271.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.271.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.271.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.271.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.271.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.271.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.271.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.271.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.271.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.271.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.271.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.271.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.271.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.271.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.271.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.271.0",
|
|
43
|
+
"@aws-sdk/types": "3.271.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.271.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.271.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.271.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.271.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.271.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.271.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.271.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
55
55
|
"tslib": "^2.3.1"
|
|
56
56
|
},
|