@aws-sdk/client-s3outposts 3.35.0 → 3.38.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/CHANGELOG.md +47 -0
- package/dist-cjs/S3Outposts.js +0 -4
- package/dist-cjs/S3OutpostsClient.js +0 -9
- package/dist-cjs/commands/CreateEndpointCommand.js +0 -46
- package/dist-cjs/commands/DeleteEndpointCommand.js +0 -46
- package/dist-cjs/commands/ListEndpointsCommand.js +0 -44
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -8
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -37
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListEndpointsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/S3Outposts.js +0 -1
- package/dist-es/S3OutpostsClient.js +0 -1
- package/dist-es/commands/CreateEndpointCommand.js +0 -1
- package/dist-es/commands/DeleteEndpointCommand.js +0 -1
- package/dist-es/commands/ListEndpointsCommand.js +0 -1
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -8
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListEndpointsPaginator.js +0 -1
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +4 -7
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/S3Outposts.d.ts +4 -73
- package/dist-types/ts3.4/S3OutpostsClient.d.ts +24 -89
- package/dist-types/ts3.4/commands/CreateEndpointCommand.d.ts +2 -41
- package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +2 -41
- package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/index.d.ts +4 -7
- package/dist-types/ts3.4/models/models_0.d.ts +43 -136
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/S3Outposts.js.map +0 -1
- package/dist-cjs/S3OutpostsClient.js.map +0 -1
- package/dist-cjs/commands/CreateEndpointCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteEndpointCommand.js.map +0 -1
- package/dist-cjs/commands/ListEndpointsCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListEndpointsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/S3Outposts.js.map +0 -1
- package/dist-es/S3OutpostsClient.js.map +0 -1
- package/dist-es/commands/CreateEndpointCommand.js.map +0 -1
- package/dist-es/commands/DeleteEndpointCommand.js.map +0 -1
- package/dist-es/commands/ListEndpointsCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListEndpointsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/S3Outposts.ts +0 -180
- package/src/S3OutpostsClient.ts +0 -239
- package/src/commands/CreateEndpointCommand.ts +0 -116
- package/src/commands/DeleteEndpointCommand.ts +0 -116
- package/src/commands/ListEndpointsCommand.ts +0 -114
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -8
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -312
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListEndpointsPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -557
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
|
|
12
|
+
* **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Features
|
|
44
|
+
|
|
45
|
+
* publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
|
|
46
|
+
* **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
|
|
47
|
+
* **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
|
|
7
54
|
|
|
8
55
|
|
package/dist-cjs/S3Outposts.js
CHANGED
|
@@ -5,9 +5,6 @@ const CreateEndpointCommand_1 = require("./commands/CreateEndpointCommand");
|
|
|
5
5
|
const DeleteEndpointCommand_1 = require("./commands/DeleteEndpointCommand");
|
|
6
6
|
const ListEndpointsCommand_1 = require("./commands/ListEndpointsCommand");
|
|
7
7
|
const S3OutpostsClient_1 = require("./S3OutpostsClient");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Amazon S3 on Outposts provides access to S3 on Outposts operations.</p>
|
|
10
|
-
*/
|
|
11
8
|
class S3Outposts extends S3OutpostsClient_1.S3OutpostsClient {
|
|
12
9
|
createEndpoint(args, optionsOrCb, cb) {
|
|
13
10
|
const command = new CreateEndpointCommand_1.CreateEndpointCommand(args);
|
|
@@ -53,4 +50,3 @@ class S3Outposts extends S3OutpostsClient_1.S3OutpostsClient {
|
|
|
53
50
|
}
|
|
54
51
|
}
|
|
55
52
|
exports.S3Outposts = S3Outposts;
|
|
56
|
-
//# sourceMappingURL=S3Outposts.js.map
|
|
@@ -10,9 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
10
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
-
/**
|
|
14
|
-
* <p>Amazon S3 on Outposts provides access to S3 on Outposts operations.</p>
|
|
15
|
-
*/
|
|
16
13
|
class S3OutpostsClient extends smithy_client_1.Client {
|
|
17
14
|
constructor(configuration) {
|
|
18
15
|
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
@@ -31,14 +28,8 @@ class S3OutpostsClient extends smithy_client_1.Client {
|
|
|
31
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
32
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
33
30
|
}
|
|
34
|
-
/**
|
|
35
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
36
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
37
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
38
|
-
*/
|
|
39
31
|
destroy() {
|
|
40
32
|
super.destroy();
|
|
41
33
|
}
|
|
42
34
|
}
|
|
43
35
|
exports.S3OutpostsClient = S3OutpostsClient;
|
|
44
|
-
//# sourceMappingURL=S3OutpostsClient.js.map
|
|
@@ -5,56 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts.
|
|
10
|
-
* S3 on Outposts uses endpoints to connect to Outposts buckets so that you can perform actions within your
|
|
11
|
-
* virtual private cloud (VPC). For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/AccessingS3Outposts.html">
|
|
12
|
-
* Accessing S3 on Outposts using VPC only access points</a>.</p>
|
|
13
|
-
* <p>This action creates an endpoint and associates it with the specified Outposts.</p>
|
|
14
|
-
* <note>
|
|
15
|
-
* <p>It can take up to 5 minutes for this action to complete.</p>
|
|
16
|
-
* </note>
|
|
17
|
-
* <p></p>
|
|
18
|
-
* <p>Related actions include:</p>
|
|
19
|
-
* <ul>
|
|
20
|
-
* <li>
|
|
21
|
-
* <p>
|
|
22
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_DeleteEndpoint.html">DeleteEndpoint</a>
|
|
23
|
-
* </p>
|
|
24
|
-
* </li>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>
|
|
27
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_ListEndpoints.html">ListEndpoints</a>
|
|
28
|
-
* </p>
|
|
29
|
-
* </li>
|
|
30
|
-
* </ul>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { S3OutpostsClient, CreateEndpointCommand } from "@aws-sdk/client-s3outposts"; // ES Modules import
|
|
35
|
-
* // const { S3OutpostsClient, CreateEndpointCommand } = require("@aws-sdk/client-s3outposts"); // CommonJS import
|
|
36
|
-
* const client = new S3OutpostsClient(config);
|
|
37
|
-
* const command = new CreateEndpointCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link CreateEndpointCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link CreateEndpointCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link S3OutpostsClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
8
|
class CreateEndpointCommand extends smithy_client_1.Command {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
9
|
constructor(input) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
10
|
super();
|
|
52
11
|
this.input = input;
|
|
53
|
-
// End section: command_constructor
|
|
54
12
|
}
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
59
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
60
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -79,4 +34,3 @@ class CreateEndpointCommand extends smithy_client_1.Command {
|
|
|
79
34
|
}
|
|
80
35
|
}
|
|
81
36
|
exports.CreateEndpointCommand = CreateEndpointCommand;
|
|
82
|
-
//# sourceMappingURL=CreateEndpointCommand.js.map
|
|
@@ -5,56 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts.
|
|
10
|
-
* S3 on Outposts uses endpoints to connect to Outposts buckets so that you can perform actions within your
|
|
11
|
-
* virtual private cloud (VPC). For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/AccessingS3Outposts.html">
|
|
12
|
-
* Accessing S3 on Outposts using VPC only access points</a>.</p>
|
|
13
|
-
* <p>This action deletes an endpoint.</p>
|
|
14
|
-
* <note>
|
|
15
|
-
* <p>It can take up to 5 minutes for this action to complete.</p>
|
|
16
|
-
* </note>
|
|
17
|
-
* <p></p>
|
|
18
|
-
* <p>Related actions include:</p>
|
|
19
|
-
* <ul>
|
|
20
|
-
* <li>
|
|
21
|
-
* <p>
|
|
22
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_CreateEndpoint.html">CreateEndpoint</a>
|
|
23
|
-
* </p>
|
|
24
|
-
* </li>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>
|
|
27
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_ListEndpoints.html">ListEndpoints</a>
|
|
28
|
-
* </p>
|
|
29
|
-
* </li>
|
|
30
|
-
* </ul>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { S3OutpostsClient, DeleteEndpointCommand } from "@aws-sdk/client-s3outposts"; // ES Modules import
|
|
35
|
-
* // const { S3OutpostsClient, DeleteEndpointCommand } = require("@aws-sdk/client-s3outposts"); // CommonJS import
|
|
36
|
-
* const client = new S3OutpostsClient(config);
|
|
37
|
-
* const command = new DeleteEndpointCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link DeleteEndpointCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link DeleteEndpointCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link S3OutpostsClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
8
|
class DeleteEndpointCommand extends smithy_client_1.Command {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
9
|
constructor(input) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
10
|
super();
|
|
52
11
|
this.input = input;
|
|
53
|
-
// End section: command_constructor
|
|
54
12
|
}
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
59
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
60
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -79,4 +34,3 @@ class DeleteEndpointCommand extends smithy_client_1.Command {
|
|
|
79
34
|
}
|
|
80
35
|
}
|
|
81
36
|
exports.DeleteEndpointCommand = DeleteEndpointCommand;
|
|
82
|
-
//# sourceMappingURL=DeleteEndpointCommand.js.map
|
|
@@ -5,54 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts.
|
|
10
|
-
* S3 on Outposts uses endpoints to connect to Outposts buckets so that you can perform actions within your
|
|
11
|
-
* virtual private cloud (VPC). For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/AccessingS3Outposts.html">
|
|
12
|
-
* Accessing S3 on Outposts using VPC only access points</a>.</p>
|
|
13
|
-
* <p>This action lists endpoints associated with the Outposts.
|
|
14
|
-
* </p>
|
|
15
|
-
* <p></p>
|
|
16
|
-
* <p>Related actions include:</p>
|
|
17
|
-
* <ul>
|
|
18
|
-
* <li>
|
|
19
|
-
* <p>
|
|
20
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_CreateEndpoint.html">CreateEndpoint</a>
|
|
21
|
-
* </p>
|
|
22
|
-
* </li>
|
|
23
|
-
* <li>
|
|
24
|
-
* <p>
|
|
25
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_DeleteEndpoint.html">DeleteEndpoint</a>
|
|
26
|
-
* </p>
|
|
27
|
-
* </li>
|
|
28
|
-
* </ul>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { S3OutpostsClient, ListEndpointsCommand } from "@aws-sdk/client-s3outposts"; // ES Modules import
|
|
33
|
-
* // const { S3OutpostsClient, ListEndpointsCommand } = require("@aws-sdk/client-s3outposts"); // CommonJS import
|
|
34
|
-
* const client = new S3OutpostsClient(config);
|
|
35
|
-
* const command = new ListEndpointsCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link ListEndpointsCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link ListEndpointsCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link S3OutpostsClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
8
|
class ListEndpointsCommand extends smithy_client_1.Command {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
9
|
constructor(input) {
|
|
48
|
-
// Start section: command_constructor
|
|
49
10
|
super();
|
|
50
11
|
this.input = input;
|
|
51
|
-
// End section: command_constructor
|
|
52
12
|
}
|
|
53
|
-
/**
|
|
54
|
-
* @internal
|
|
55
|
-
*/
|
|
56
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
57
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
58
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -77,4 +34,3 @@ class ListEndpointsCommand extends smithy_client_1.Command {
|
|
|
77
34
|
}
|
|
78
35
|
}
|
|
79
36
|
exports.ListEndpointsCommand = ListEndpointsCommand;
|
|
80
|
-
//# sourceMappingURL=ListEndpointsCommand.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./CreateEndpointCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./DeleteEndpointCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListEndpointsCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -35,7 +35,7 @@ const partitionHash = {
|
|
|
35
35
|
hostname: "s3-outposts.{region}.amazonaws.com.cn",
|
|
36
36
|
},
|
|
37
37
|
"aws-iso": {
|
|
38
|
-
regions: ["us-iso-east-1"],
|
|
38
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
39
39
|
hostname: "s3-outposts.{region}.c2s.ic.gov",
|
|
40
40
|
},
|
|
41
41
|
"aws-iso-b": {
|
|
@@ -54,4 +54,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
|
|
|
54
54
|
partitionHash,
|
|
55
55
|
});
|
|
56
56
|
exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
|
|
57
|
-
//# sourceMappingURL=endpoints.js.map
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./S3OutpostsClient"), exports);
|
|
5
4
|
tslib_1.__exportStar(require("./S3Outposts"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./
|
|
7
|
-
tslib_1.__exportStar(require("./commands
|
|
8
|
-
tslib_1.__exportStar(require("./
|
|
9
|
-
tslib_1.__exportStar(require("./pagination
|
|
10
|
-
tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./models/index"), exports);
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
5
|
+
tslib_1.__exportStar(require("./S3OutpostsClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -3,18 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ListEndpointsResult = exports.ListEndpointsRequest = exports.Endpoint = exports.EndpointStatus = exports.NetworkInterface = exports.DeleteEndpointRequest = exports.ValidationException = exports.ResourceNotFoundException = exports.InternalServerException = exports.CreateEndpointResult = exports.CreateEndpointRequest = exports.EndpointAccessType = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
4
|
var AccessDeniedException;
|
|
5
5
|
(function (AccessDeniedException) {
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
10
7
|
...obj,
|
|
11
8
|
});
|
|
12
9
|
})(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
|
|
13
10
|
var ConflictException;
|
|
14
11
|
(function (ConflictException) {
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
*/
|
|
18
12
|
ConflictException.filterSensitiveLog = (obj) => ({
|
|
19
13
|
...obj,
|
|
20
14
|
});
|
|
@@ -26,63 +20,42 @@ var EndpointAccessType;
|
|
|
26
20
|
})(EndpointAccessType = exports.EndpointAccessType || (exports.EndpointAccessType = {}));
|
|
27
21
|
var CreateEndpointRequest;
|
|
28
22
|
(function (CreateEndpointRequest) {
|
|
29
|
-
/**
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
32
23
|
CreateEndpointRequest.filterSensitiveLog = (obj) => ({
|
|
33
24
|
...obj,
|
|
34
25
|
});
|
|
35
26
|
})(CreateEndpointRequest = exports.CreateEndpointRequest || (exports.CreateEndpointRequest = {}));
|
|
36
27
|
var CreateEndpointResult;
|
|
37
28
|
(function (CreateEndpointResult) {
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
29
|
CreateEndpointResult.filterSensitiveLog = (obj) => ({
|
|
42
30
|
...obj,
|
|
43
31
|
});
|
|
44
32
|
})(CreateEndpointResult = exports.CreateEndpointResult || (exports.CreateEndpointResult = {}));
|
|
45
33
|
var InternalServerException;
|
|
46
34
|
(function (InternalServerException) {
|
|
47
|
-
/**
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
50
35
|
InternalServerException.filterSensitiveLog = (obj) => ({
|
|
51
36
|
...obj,
|
|
52
37
|
});
|
|
53
38
|
})(InternalServerException = exports.InternalServerException || (exports.InternalServerException = {}));
|
|
54
39
|
var ResourceNotFoundException;
|
|
55
40
|
(function (ResourceNotFoundException) {
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
41
|
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
60
42
|
...obj,
|
|
61
43
|
});
|
|
62
44
|
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
|
|
63
45
|
var ValidationException;
|
|
64
46
|
(function (ValidationException) {
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
*/
|
|
68
47
|
ValidationException.filterSensitiveLog = (obj) => ({
|
|
69
48
|
...obj,
|
|
70
49
|
});
|
|
71
50
|
})(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
|
|
72
51
|
var DeleteEndpointRequest;
|
|
73
52
|
(function (DeleteEndpointRequest) {
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
77
53
|
DeleteEndpointRequest.filterSensitiveLog = (obj) => ({
|
|
78
54
|
...obj,
|
|
79
55
|
});
|
|
80
56
|
})(DeleteEndpointRequest = exports.DeleteEndpointRequest || (exports.DeleteEndpointRequest = {}));
|
|
81
57
|
var NetworkInterface;
|
|
82
58
|
(function (NetworkInterface) {
|
|
83
|
-
/**
|
|
84
|
-
* @internal
|
|
85
|
-
*/
|
|
86
59
|
NetworkInterface.filterSensitiveLog = (obj) => ({
|
|
87
60
|
...obj,
|
|
88
61
|
});
|
|
@@ -95,29 +68,19 @@ var EndpointStatus;
|
|
|
95
68
|
})(EndpointStatus = exports.EndpointStatus || (exports.EndpointStatus = {}));
|
|
96
69
|
var Endpoint;
|
|
97
70
|
(function (Endpoint) {
|
|
98
|
-
/**
|
|
99
|
-
* @internal
|
|
100
|
-
*/
|
|
101
71
|
Endpoint.filterSensitiveLog = (obj) => ({
|
|
102
72
|
...obj,
|
|
103
73
|
});
|
|
104
74
|
})(Endpoint = exports.Endpoint || (exports.Endpoint = {}));
|
|
105
75
|
var ListEndpointsRequest;
|
|
106
76
|
(function (ListEndpointsRequest) {
|
|
107
|
-
/**
|
|
108
|
-
* @internal
|
|
109
|
-
*/
|
|
110
77
|
ListEndpointsRequest.filterSensitiveLog = (obj) => ({
|
|
111
78
|
...obj,
|
|
112
79
|
});
|
|
113
80
|
})(ListEndpointsRequest = exports.ListEndpointsRequest || (exports.ListEndpointsRequest = {}));
|
|
114
81
|
var ListEndpointsResult;
|
|
115
82
|
(function (ListEndpointsResult) {
|
|
116
|
-
/**
|
|
117
|
-
* @internal
|
|
118
|
-
*/
|
|
119
83
|
ListEndpointsResult.filterSensitiveLog = (obj) => ({
|
|
120
84
|
...obj,
|
|
121
85
|
});
|
|
122
86
|
})(ListEndpointsResult = exports.ListEndpointsResult || (exports.ListEndpointsResult = {}));
|
|
123
|
-
//# sourceMappingURL=models_0.js.map
|
|
@@ -4,22 +4,13 @@ exports.paginateListEndpoints = void 0;
|
|
|
4
4
|
const ListEndpointsCommand_1 = require("../commands/ListEndpointsCommand");
|
|
5
5
|
const S3Outposts_1 = require("../S3Outposts");
|
|
6
6
|
const S3OutpostsClient_1 = require("../S3OutpostsClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListEndpointsCommand_1.ListEndpointsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listEndpoints(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListEndpoints(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,8 +30,6 @@ async function* paginateListEndpoints(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.NextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListEndpoints = paginateListEndpoints;
|
|
46
|
-
//# sourceMappingURL=ListEndpointsPaginator.js.map
|
|
@@ -414,14 +414,12 @@ const deserializeMetadata = (output) => {
|
|
|
414
414
|
cfId: output.headers["x-amz-cf-id"],
|
|
415
415
|
});
|
|
416
416
|
};
|
|
417
|
-
// Collect low-level response body stream to Uint8Array.
|
|
418
417
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
419
418
|
if (streamBody instanceof Uint8Array) {
|
|
420
419
|
return Promise.resolve(streamBody);
|
|
421
420
|
}
|
|
422
421
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
423
422
|
};
|
|
424
|
-
// Encode Uint8Array data into string with utf-8.
|
|
425
423
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
426
424
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
427
425
|
value !== null &&
|
|
@@ -434,9 +432,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
434
432
|
}
|
|
435
433
|
return {};
|
|
436
434
|
});
|
|
437
|
-
/**
|
|
438
|
-
* Load an error code for the aws.rest-json-1.1 protocol.
|
|
439
|
-
*/
|
|
440
435
|
const loadRestJsonErrorCode = (output, data) => {
|
|
441
436
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
442
437
|
const sanitizeErrorCode = (rawValue) => {
|
|
@@ -461,4 +456,3 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
461
456
|
}
|
|
462
457
|
return "";
|
|
463
458
|
};
|
|
464
|
-
//# sourceMappingURL=Aws_restJson1.js.map
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
5
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
6
7
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
7
8
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -10,12 +11,7 @@ const util_base64_browser_1 = require("@aws-sdk/util-base64-browser");
|
|
|
10
11
|
const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
11
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
12
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
13
|
-
// @ts-ignore: package.json will be imported from dist folders
|
|
14
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
15
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
15
|
const getRuntimeConfig = (config) => {
|
|
20
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
21
17
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
@@ -39,4 +35,3 @@ const getRuntimeConfig = (config) => {
|
|
|
39
35
|
};
|
|
40
36
|
};
|
|
41
37
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
42
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
5
6
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
6
7
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
7
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -9,17 +10,12 @@ const hash_node_1 = require("@aws-sdk/hash-node");
|
|
|
9
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
10
11
|
const node_config_provider_1 = require("@aws-sdk/node-config-provider");
|
|
11
12
|
const node_http_handler_1 = require("@aws-sdk/node-http-handler");
|
|
12
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
13
13
|
const util_base64_node_1 = require("@aws-sdk/util-base64-node");
|
|
14
14
|
const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
15
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
|
-
// @ts-ignore: package.json will be imported from dist folders
|
|
18
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
19
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
20
|
-
|
|
21
|
-
* @internal
|
|
22
|
-
*/
|
|
18
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
23
19
|
const getRuntimeConfig = (config) => {
|
|
24
20
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
25
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -44,4 +40,3 @@ const getRuntimeConfig = (config) => {
|
|
|
44
40
|
};
|
|
45
41
|
};
|
|
46
42
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
47
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a;
|
|
11
8
|
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
@@ -17,4 +14,3 @@ const getRuntimeConfig = (config) => {
|
|
|
17
14
|
};
|
|
18
15
|
};
|
|
19
16
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
20
|
-
//# sourceMappingURL=runtimeConfig.native.js.map
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
5
|
const endpoints_1 = require("./endpoints");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a, _b, _c, _d, _e;
|
|
11
8
|
return ({
|
|
@@ -18,4 +15,3 @@ const getRuntimeConfig = (config) => {
|
|
|
18
15
|
});
|
|
19
16
|
};
|
|
20
17
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
21
|
-
//# sourceMappingURL=runtimeConfig.shared.js.map
|
package/dist-es/S3Outposts.js
CHANGED
package/dist-es/endpoints.js
CHANGED
|
@@ -33,7 +33,7 @@ var partitionHash = {
|
|
|
33
33
|
hostname: "s3-outposts.{region}.amazonaws.com.cn",
|
|
34
34
|
},
|
|
35
35
|
"aws-iso": {
|
|
36
|
-
regions: ["us-iso-east-1"],
|
|
36
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
37
37
|
hostname: "s3-outposts.{region}.c2s.ic.gov",
|
|
38
38
|
},
|
|
39
39
|
"aws-iso-b": {
|
|
@@ -50,4 +50,3 @@ export var defaultRegionInfoProvider = function (region, options) { return __awa
|
|
|
50
50
|
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "s3-outposts", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
51
51
|
});
|
|
52
52
|
}); };
|
|
53
|
-
//# sourceMappingURL=endpoints.js.map
|