@aws-sdk/client-s3outposts 3.34.0 → 3.37.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.
Files changed (130) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/S3Outposts.js +1 -5
  3. package/{dist/cjs → dist-cjs}/S3OutpostsClient.js +8 -17
  4. package/dist-cjs/commands/CreateEndpointCommand.js +36 -0
  5. package/dist-cjs/commands/DeleteEndpointCommand.js +36 -0
  6. package/dist-cjs/commands/ListEndpointsCommand.js +36 -0
  7. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  8. package/{dist/cjs → dist-cjs}/index.js +0 -1
  9. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  10. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -37
  11. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  12. package/{dist/cjs → dist-cjs}/pagination/ListEndpointsPaginator.js +1 -12
  13. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +3 -9
  14. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  15. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  16. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  17. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  18. package/{dist/es → dist-es}/S3Outposts.js +1 -2
  19. package/{dist/es → dist-es}/S3OutpostsClient.js +1 -2
  20. package/{dist/es → dist-es}/commands/CreateEndpointCommand.js +2 -3
  21. package/{dist/es → dist-es}/commands/DeleteEndpointCommand.js +2 -3
  22. package/{dist/es → dist-es}/commands/ListEndpointsCommand.js +2 -3
  23. package/{dist/es → dist-es}/endpoints.js +1 -2
  24. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  25. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  26. package/{dist/es → dist-es}/models/models_0.js +0 -1
  27. package/dist-es/pagination/Interfaces.js +1 -0
  28. package/{dist/es → dist-es}/pagination/ListEndpointsPaginator.js +1 -2
  29. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
  30. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  31. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  32. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  33. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  34. package/{dist/types → dist-types}/S3Outposts.d.ts +2 -2
  35. package/{dist/types → dist-types}/S3OutpostsClient.d.ts +4 -4
  36. package/{dist/types → dist-types}/commands/CreateEndpointCommand.d.ts +3 -3
  37. package/{dist/types → dist-types}/commands/DeleteEndpointCommand.d.ts +3 -3
  38. package/{dist/types → dist-types}/commands/ListEndpointsCommand.d.ts +3 -3
  39. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  40. package/{index.ts → dist-types/index.d.ts} +0 -0
  41. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  42. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  43. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  44. package/{dist/types → dist-types}/pagination/ListEndpointsPaginator.d.ts +1 -1
  45. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  46. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  47. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  48. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  49. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  50. package/dist-types/ts3.4/S3Outposts.d.ts +20 -0
  51. package/dist-types/ts3.4/S3OutpostsClient.d.ts +70 -0
  52. package/dist-types/ts3.4/commands/CreateEndpointCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +17 -0
  55. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  56. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  57. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  58. package/dist-types/ts3.4/models/models_0.d.ts +152 -0
  59. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  60. package/{dist/types → dist-types}/ts3.4/pagination/ListEndpointsPaginator.d.ts +1 -1
  61. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  62. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  63. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  64. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  65. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  66. package/package.json +45 -42
  67. package/S3Outposts.ts +0 -179
  68. package/S3OutpostsClient.ts +0 -238
  69. package/commands/CreateEndpointCommand.ts +0 -115
  70. package/commands/DeleteEndpointCommand.ts +0 -115
  71. package/commands/ListEndpointsCommand.ts +0 -113
  72. package/dist/cjs/S3Outposts.js.map +0 -1
  73. package/dist/cjs/S3OutpostsClient.js.map +0 -1
  74. package/dist/cjs/commands/CreateEndpointCommand.js +0 -82
  75. package/dist/cjs/commands/CreateEndpointCommand.js.map +0 -1
  76. package/dist/cjs/commands/DeleteEndpointCommand.js +0 -82
  77. package/dist/cjs/commands/DeleteEndpointCommand.js.map +0 -1
  78. package/dist/cjs/commands/ListEndpointsCommand.js +0 -80
  79. package/dist/cjs/commands/ListEndpointsCommand.js.map +0 -1
  80. package/dist/cjs/endpoints.js.map +0 -1
  81. package/dist/cjs/index.js.map +0 -1
  82. package/dist/cjs/models/index.js.map +0 -1
  83. package/dist/cjs/models/models_0.js.map +0 -1
  84. package/dist/cjs/package.json +0 -91
  85. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  86. package/dist/cjs/pagination/ListEndpointsPaginator.js.map +0 -1
  87. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  88. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  89. package/dist/cjs/runtimeConfig.js.map +0 -1
  90. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  91. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  92. package/dist/es/S3Outposts.js.map +0 -1
  93. package/dist/es/S3OutpostsClient.js.map +0 -1
  94. package/dist/es/commands/CreateEndpointCommand.js.map +0 -1
  95. package/dist/es/commands/DeleteEndpointCommand.js.map +0 -1
  96. package/dist/es/commands/ListEndpointsCommand.js.map +0 -1
  97. package/dist/es/endpoints.js.map +0 -1
  98. package/dist/es/index.js +0 -9
  99. package/dist/es/index.js.map +0 -1
  100. package/dist/es/models/index.js +0 -2
  101. package/dist/es/models/index.js.map +0 -1
  102. package/dist/es/models/models_0.js.map +0 -1
  103. package/dist/es/package.json +0 -91
  104. package/dist/es/pagination/Interfaces.js +0 -2
  105. package/dist/es/pagination/Interfaces.js.map +0 -1
  106. package/dist/es/pagination/ListEndpointsPaginator.js.map +0 -1
  107. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  108. package/dist/es/runtimeConfig.browser.js.map +0 -1
  109. package/dist/es/runtimeConfig.js.map +0 -1
  110. package/dist/es/runtimeConfig.native.js.map +0 -1
  111. package/dist/es/runtimeConfig.shared.js.map +0 -1
  112. package/dist/types/ts3.4/S3Outposts.d.ts +0 -89
  113. package/dist/types/ts3.4/S3OutpostsClient.d.ts +0 -135
  114. package/dist/types/ts3.4/commands/CreateEndpointCommand.d.ts +0 -56
  115. package/dist/types/ts3.4/commands/DeleteEndpointCommand.d.ts +0 -56
  116. package/dist/types/ts3.4/commands/ListEndpointsCommand.d.ts +0 -54
  117. package/dist/types/ts3.4/models/models_0.d.ts +0 -245
  118. package/endpoints.ts +0 -57
  119. package/jest.config.js +0 -4
  120. package/models/models_0.ts +0 -312
  121. package/pagination/Interfaces.ts +0 -7
  122. package/pagination/ListEndpointsPaginator.ts +0 -58
  123. package/protocols/Aws_restJson1.ts +0 -556
  124. package/runtimeConfig.browser.ts +0 -40
  125. package/runtimeConfig.native.ts +0 -16
  126. package/runtimeConfig.shared.ts +0 -16
  127. package/runtimeConfig.ts +0 -45
  128. package/tsconfig.es.json +0 -10
  129. package/tsconfig.json +0 -31
  130. package/tsconfig.types.json +0 -8
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.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
7
+
8
+
9
+ ### Features
10
+
11
+ * **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))
12
+
13
+
14
+
15
+
16
+
17
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **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))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
29
+
30
+
31
+ ### Features
32
+
33
+ * 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))
34
+ * **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))
35
+ * **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))
36
+
37
+
38
+
39
+
40
+
41
+ # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
42
+
43
+
44
+ ### Features
45
+
46
+ * **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba))
47
+ * **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d))
48
+
49
+
50
+
51
+
52
+
6
53
  # [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
7
54
 
8
55
 
@@ -1,13 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.S3Outposts = void 0;
4
- const S3OutpostsClient_1 = require("./S3OutpostsClient");
5
4
  const CreateEndpointCommand_1 = require("./commands/CreateEndpointCommand");
6
5
  const DeleteEndpointCommand_1 = require("./commands/DeleteEndpointCommand");
7
6
  const ListEndpointsCommand_1 = require("./commands/ListEndpointsCommand");
8
- /**
9
- * <p>Amazon S3 on Outposts provides access to S3 on Outposts operations.</p>
10
- */
7
+ const S3OutpostsClient_1 = require("./S3OutpostsClient");
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
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.S3OutpostsClient = void 0;
4
- const runtimeConfig_1 = require("./runtimeConfig");
5
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
6
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
7
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
@@ -10,18 +9,16 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
10
9
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
11
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
12
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
13
- /**
14
- * <p>Amazon S3 on Outposts provides access to S3 on Outposts operations.</p>
15
- */
12
+ const runtimeConfig_1 = require("./runtimeConfig");
16
13
  class S3OutpostsClient extends smithy_client_1.Client {
17
14
  constructor(configuration) {
18
- let _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
19
- let _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
20
- let _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
21
- let _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
22
- let _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
23
- let _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
24
- let _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
15
+ const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
16
+ const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
17
+ const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
18
+ const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
19
+ const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
20
+ const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
21
+ const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
25
22
  super(_config_6);
26
23
  this.config = _config_6;
27
24
  this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
@@ -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
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateEndpointCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class CreateEndpointCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "S3OutpostsClient";
18
+ const commandName = "CreateEndpointCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.CreateEndpointRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.CreateEndpointResult.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1CreateEndpointCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1CreateEndpointCommand(output, context);
34
+ }
35
+ }
36
+ exports.CreateEndpointCommand = CreateEndpointCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteEndpointCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class DeleteEndpointCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "S3OutpostsClient";
18
+ const commandName = "DeleteEndpointCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DeleteEndpointRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: (output) => output,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1DeleteEndpointCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1DeleteEndpointCommand(output, context);
34
+ }
35
+ }
36
+ exports.DeleteEndpointCommand = DeleteEndpointCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListEndpointsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListEndpointsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "S3OutpostsClient";
18
+ const commandName = "ListEndpointsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListEndpointsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListEndpointsResult.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1ListEndpointsCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1ListEndpointsCommand(output, context);
34
+ }
35
+ }
36
+ exports.ListEndpointsCommand = ListEndpointsCommand;
@@ -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
@@ -9,4 +9,3 @@ tslib_1.__exportStar(require("./commands/ListEndpointsCommand"), exports);
9
9
  tslib_1.__exportStar(require("./pagination/ListEndpointsPaginator"), exports);
10
10
  tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
11
11
  tslib_1.__exportStar(require("./models/index"), exports);
12
- //# sourceMappingURL=index.js.map
@@ -2,4 +2,3 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./models_0"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -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
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Interfaces.js.map
@@ -1,25 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListEndpoints = void 0;
4
+ const ListEndpointsCommand_1 = require("../commands/ListEndpointsCommand");
4
5
  const S3Outposts_1 = require("../S3Outposts");
5
6
  const S3OutpostsClient_1 = require("../S3OutpostsClient");
6
- const ListEndpointsCommand_1 = require("../commands/ListEndpointsCommand");
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
@@ -8,7 +8,7 @@ const serializeAws_restJson1CreateEndpointCommand = async (input, context) => {
8
8
  const headers = {
9
9
  "content-type": "application/json",
10
10
  };
11
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/S3Outposts/CreateEndpoint";
11
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/S3Outposts/CreateEndpoint";
12
12
  let body;
13
13
  body = JSON.stringify({
14
14
  ...(input.AccessType !== undefined && input.AccessType !== null && { AccessType: input.AccessType }),
@@ -33,7 +33,7 @@ exports.serializeAws_restJson1CreateEndpointCommand = serializeAws_restJson1Crea
33
33
  const serializeAws_restJson1DeleteEndpointCommand = async (input, context) => {
34
34
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
35
35
  const headers = {};
36
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/S3Outposts/DeleteEndpoint";
36
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/S3Outposts/DeleteEndpoint";
37
37
  const query = {
38
38
  ...(input.EndpointId !== undefined && { endpointId: input.EndpointId }),
39
39
  ...(input.OutpostId !== undefined && { outpostId: input.OutpostId }),
@@ -54,7 +54,7 @@ exports.serializeAws_restJson1DeleteEndpointCommand = serializeAws_restJson1Dele
54
54
  const serializeAws_restJson1ListEndpointsCommand = async (input, context) => {
55
55
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
56
56
  const headers = {};
57
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/S3Outposts/ListEndpoints";
57
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/S3Outposts/ListEndpoints";
58
58
  const query = {
59
59
  ...(input.NextToken !== undefined && { nextToken: input.NextToken }),
60
60
  ...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }),
@@ -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,7 +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
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
7
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
8
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -12,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
12
12
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
13
13
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
14
14
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
15
- /**
16
- * @internal
17
- */
18
15
  const getRuntimeConfig = (config) => {
19
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
20
17
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
@@ -38,4 +35,3 @@ const getRuntimeConfig = (config) => {
38
35
  };
39
36
  };
40
37
  exports.getRuntimeConfig = getRuntimeConfig;
41
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -2,7 +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
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const client_sts_1 = require("@aws-sdk/client-sts");
7
7
  const config_resolver_1 = require("@aws-sdk/config-resolver");
8
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -16,9 +16,6 @@ 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
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
- /**
20
- * @internal
21
- */
22
19
  const getRuntimeConfig = (config) => {
23
20
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
24
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
@@ -43,4 +40,3 @@ const getRuntimeConfig = (config) => {
43
40
  };
44
41
  };
45
42
  exports.getRuntimeConfig = getRuntimeConfig;
46
- //# 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
@@ -1,11 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const endpoints_1 = require("./endpoints");
5
4
  const url_parser_1 = require("@aws-sdk/url-parser");
6
- /**
7
- * @internal
8
- */
5
+ const endpoints_1 = require("./endpoints");
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
@@ -1,8 +1,8 @@
1
1
  import { __extends } from "tslib";
2
- import { S3OutpostsClient } from "./S3OutpostsClient";
3
2
  import { CreateEndpointCommand, } from "./commands/CreateEndpointCommand";
4
3
  import { DeleteEndpointCommand, } from "./commands/DeleteEndpointCommand";
5
4
  import { ListEndpointsCommand, } from "./commands/ListEndpointsCommand";
5
+ import { S3OutpostsClient } from "./S3OutpostsClient";
6
6
  var S3Outposts = (function (_super) {
7
7
  __extends(S3Outposts, _super);
8
8
  function S3Outposts() {
@@ -53,4 +53,3 @@ var S3Outposts = (function (_super) {
53
53
  return S3Outposts;
54
54
  }(S3OutpostsClient));
55
55
  export { S3Outposts };
56
- //# sourceMappingURL=S3Outposts.js.map
@@ -1,5 +1,4 @@
1
1
  import { __extends } from "tslib";
2
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
3
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
4
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
5
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,6 +7,7 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
8
7
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
11
  var S3OutpostsClient = (function (_super) {
12
12
  __extends(S3OutpostsClient, _super);
13
13
  function S3OutpostsClient(configuration) {
@@ -35,4 +35,3 @@ var S3OutpostsClient = (function (_super) {
35
35
  return S3OutpostsClient;
36
36
  }(__Client));
37
37
  export { S3OutpostsClient };
38
- //# sourceMappingURL=S3OutpostsClient.js.map
@@ -1,8 +1,8 @@
1
1
  import { __extends } from "tslib";
2
- import { CreateEndpointRequest, CreateEndpointResult } from "../models/models_0";
3
- import { deserializeAws_restJson1CreateEndpointCommand, serializeAws_restJson1CreateEndpointCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateEndpointRequest, CreateEndpointResult } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateEndpointCommand, serializeAws_restJson1CreateEndpointCommand, } from "../protocols/Aws_restJson1";
6
6
  var CreateEndpointCommand = (function (_super) {
7
7
  __extends(CreateEndpointCommand, _super);
8
8
  function CreateEndpointCommand(input) {
@@ -37,4 +37,3 @@ var CreateEndpointCommand = (function (_super) {
37
37
  return CreateEndpointCommand;
38
38
  }($Command));
39
39
  export { CreateEndpointCommand };
40
- //# sourceMappingURL=CreateEndpointCommand.js.map
@@ -1,8 +1,8 @@
1
1
  import { __extends } from "tslib";
2
- import { DeleteEndpointRequest } from "../models/models_0";
3
- import { deserializeAws_restJson1DeleteEndpointCommand, serializeAws_restJson1DeleteEndpointCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteEndpointRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteEndpointCommand, serializeAws_restJson1DeleteEndpointCommand, } from "../protocols/Aws_restJson1";
6
6
  var DeleteEndpointCommand = (function (_super) {
7
7
  __extends(DeleteEndpointCommand, _super);
8
8
  function DeleteEndpointCommand(input) {
@@ -37,4 +37,3 @@ var DeleteEndpointCommand = (function (_super) {
37
37
  return DeleteEndpointCommand;
38
38
  }($Command));
39
39
  export { DeleteEndpointCommand };
40
- //# sourceMappingURL=DeleteEndpointCommand.js.map
@@ -1,8 +1,8 @@
1
1
  import { __extends } from "tslib";
2
- import { ListEndpointsRequest, ListEndpointsResult } from "../models/models_0";
3
- import { deserializeAws_restJson1ListEndpointsCommand, serializeAws_restJson1ListEndpointsCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListEndpointsRequest, ListEndpointsResult } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListEndpointsCommand, serializeAws_restJson1ListEndpointsCommand, } from "../protocols/Aws_restJson1";
6
6
  var ListEndpointsCommand = (function (_super) {
7
7
  __extends(ListEndpointsCommand, _super);
8
8
  function ListEndpointsCommand(input) {
@@ -37,4 +37,3 @@ var ListEndpointsCommand = (function (_super) {
37
37
  return ListEndpointsCommand;
38
38
  }($Command));
39
39
  export { ListEndpointsCommand };
40
- //# sourceMappingURL=ListEndpointsCommand.js.map
@@ -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