@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.
Files changed (106) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/S3Outposts.js +0 -4
  3. package/dist-cjs/S3OutpostsClient.js +0 -9
  4. package/dist-cjs/commands/CreateEndpointCommand.js +0 -46
  5. package/dist-cjs/commands/DeleteEndpointCommand.js +0 -46
  6. package/dist-cjs/commands/ListEndpointsCommand.js +0 -44
  7. package/dist-cjs/commands/index.js +6 -0
  8. package/dist-cjs/endpoints.js +1 -2
  9. package/dist-cjs/index.js +4 -8
  10. package/dist-cjs/models/index.js +0 -1
  11. package/dist-cjs/models/models_0.js +0 -37
  12. package/dist-cjs/pagination/Interfaces.js +0 -1
  13. package/dist-cjs/pagination/ListEndpointsPaginator.js +0 -11
  14. package/dist-cjs/pagination/index.js +5 -0
  15. package/dist-cjs/protocols/Aws_restJson1.js +0 -6
  16. package/dist-cjs/runtimeConfig.browser.js +1 -6
  17. package/dist-cjs/runtimeConfig.js +2 -7
  18. package/dist-cjs/runtimeConfig.native.js +0 -4
  19. package/dist-cjs/runtimeConfig.shared.js +0 -4
  20. package/dist-es/S3Outposts.js +0 -1
  21. package/dist-es/S3OutpostsClient.js +0 -1
  22. package/dist-es/commands/CreateEndpointCommand.js +0 -1
  23. package/dist-es/commands/DeleteEndpointCommand.js +0 -1
  24. package/dist-es/commands/ListEndpointsCommand.js +0 -1
  25. package/dist-es/commands/index.js +3 -0
  26. package/dist-es/endpoints.js +1 -2
  27. package/dist-es/index.js +4 -8
  28. package/dist-es/models/index.js +0 -1
  29. package/dist-es/models/models_0.js +0 -1
  30. package/dist-es/pagination/Interfaces.js +0 -1
  31. package/dist-es/pagination/ListEndpointsPaginator.js +0 -1
  32. package/dist-es/pagination/index.js +2 -0
  33. package/dist-es/protocols/Aws_restJson1.js +0 -1
  34. package/dist-es/runtimeConfig.browser.js +1 -2
  35. package/dist-es/runtimeConfig.js +2 -3
  36. package/dist-es/runtimeConfig.native.js +0 -1
  37. package/dist-es/runtimeConfig.shared.js +0 -1
  38. package/dist-types/commands/index.d.ts +3 -0
  39. package/dist-types/index.d.ts +4 -7
  40. package/dist-types/pagination/index.d.ts +2 -0
  41. package/dist-types/ts3.4/S3Outposts.d.ts +4 -73
  42. package/dist-types/ts3.4/S3OutpostsClient.d.ts +24 -89
  43. package/dist-types/ts3.4/commands/CreateEndpointCommand.d.ts +2 -41
  44. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +2 -41
  45. package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +2 -39
  46. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  47. package/dist-types/ts3.4/index.d.ts +4 -7
  48. package/dist-types/ts3.4/models/models_0.d.ts +43 -136
  49. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  50. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  51. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  52. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  53. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  54. package/package.json +33 -30
  55. package/dist-cjs/S3Outposts.js.map +0 -1
  56. package/dist-cjs/S3OutpostsClient.js.map +0 -1
  57. package/dist-cjs/commands/CreateEndpointCommand.js.map +0 -1
  58. package/dist-cjs/commands/DeleteEndpointCommand.js.map +0 -1
  59. package/dist-cjs/commands/ListEndpointsCommand.js.map +0 -1
  60. package/dist-cjs/endpoints.js.map +0 -1
  61. package/dist-cjs/index.js.map +0 -1
  62. package/dist-cjs/models/index.js.map +0 -1
  63. package/dist-cjs/models/models_0.js.map +0 -1
  64. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  65. package/dist-cjs/pagination/ListEndpointsPaginator.js.map +0 -1
  66. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  67. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  68. package/dist-cjs/runtimeConfig.js.map +0 -1
  69. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  70. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  71. package/dist-es/S3Outposts.js.map +0 -1
  72. package/dist-es/S3OutpostsClient.js.map +0 -1
  73. package/dist-es/commands/CreateEndpointCommand.js.map +0 -1
  74. package/dist-es/commands/DeleteEndpointCommand.js.map +0 -1
  75. package/dist-es/commands/ListEndpointsCommand.js.map +0 -1
  76. package/dist-es/endpoints.js.map +0 -1
  77. package/dist-es/index.js.map +0 -1
  78. package/dist-es/models/index.js.map +0 -1
  79. package/dist-es/models/models_0.js.map +0 -1
  80. package/dist-es/pagination/Interfaces.js.map +0 -1
  81. package/dist-es/pagination/ListEndpointsPaginator.js.map +0 -1
  82. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  83. package/dist-es/runtimeConfig.browser.js.map +0 -1
  84. package/dist-es/runtimeConfig.js.map +0 -1
  85. package/dist-es/runtimeConfig.native.js.map +0 -1
  86. package/dist-es/runtimeConfig.shared.js.map +0 -1
  87. package/jest.config.js +0 -4
  88. package/src/S3Outposts.ts +0 -180
  89. package/src/S3OutpostsClient.ts +0 -239
  90. package/src/commands/CreateEndpointCommand.ts +0 -116
  91. package/src/commands/DeleteEndpointCommand.ts +0 -116
  92. package/src/commands/ListEndpointsCommand.ts +0 -114
  93. package/src/endpoints.ts +0 -57
  94. package/src/index.ts +0 -8
  95. package/src/models/index.ts +0 -1
  96. package/src/models/models_0.ts +0 -312
  97. package/src/pagination/Interfaces.ts +0 -8
  98. package/src/pagination/ListEndpointsPaginator.ts +0 -59
  99. package/src/protocols/Aws_restJson1.ts +0 -557
  100. package/src/runtimeConfig.browser.ts +0 -41
  101. package/src/runtimeConfig.native.ts +0 -17
  102. package/src/runtimeConfig.shared.ts +0 -17
  103. package/src/runtimeConfig.ts +0 -46
  104. package/tsconfig.es.json +0 -10
  105. package/tsconfig.json +0 -33
  106. package/tsconfig.types.json +0 -9
package/dist-es/index.js CHANGED
@@ -1,9 +1,5 @@
1
- export * from "./S3OutpostsClient";
2
1
  export * from "./S3Outposts";
3
- export * from "./commands/CreateEndpointCommand";
4
- export * from "./commands/DeleteEndpointCommand";
5
- export * from "./commands/ListEndpointsCommand";
6
- export * from "./pagination/ListEndpointsPaginator";
7
- export * from "./pagination/Interfaces";
8
- export * from "./models/index";
9
- //# sourceMappingURL=index.js.map
2
+ export * from "./S3OutpostsClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
@@ -1,2 +1 @@
1
1
  export * from "./models_0";
2
- //# sourceMappingURL=index.js.map
@@ -58,4 +58,3 @@ export var ListEndpointsResult;
58
58
  (function (ListEndpointsResult) {
59
59
  ListEndpointsResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
60
60
  })(ListEndpointsResult || (ListEndpointsResult = {}));
61
- //# sourceMappingURL=models_0.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=Interfaces.js.map
@@ -72,4 +72,3 @@ export function paginateListEndpoints(config, input) {
72
72
  });
73
73
  });
74
74
  }
75
- //# sourceMappingURL=ListEndpointsPaginator.js.map
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListEndpointsPaginator";
@@ -519,4 +519,3 @@ var loadRestJsonErrorCode = function (output, data) {
519
519
  }
520
520
  return "";
521
521
  };
522
- //# sourceMappingURL=Aws_restJson1.js.map
@@ -1,4 +1,5 @@
1
1
  import { __assign } from "tslib";
2
+ import packageInfo from "../package.json";
2
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
3
4
  import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
4
5
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
@@ -7,11 +8,9 @@ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
7
8
  import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
8
9
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
9
10
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
10
- import packageInfo from "../package.json";
11
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
12
  export var getRuntimeConfig = function (config) {
13
13
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
14
14
  var clientSharedValues = getSharedRuntimeConfig(config);
15
15
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
16
16
  };
17
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -1,4 +1,5 @@
1
1
  import { __assign } from "tslib";
2
+ import packageInfo from "../package.json";
2
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
3
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
4
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
@@ -6,17 +7,15 @@ import { Hash } from "@aws-sdk/hash-node";
6
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
8
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
8
9
  import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
10
10
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
11
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
- import packageInfo from "../package.json";
15
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
+ import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
16
  export var getRuntimeConfig = function (config) {
17
17
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
18
18
  emitWarningIfUnsupportedVersion(process.version);
19
19
  var clientSharedValues = getSharedRuntimeConfig(config);
20
20
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
21
21
  };
22
- //# sourceMappingURL=runtimeConfig.js.map
@@ -6,4 +6,3 @@ export var getRuntimeConfig = function (config) {
6
6
  var browserDefaults = getBrowserRuntimeConfig(config);
7
7
  return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
8
8
  };
9
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -11,4 +11,3 @@ export var getRuntimeConfig = function (config) {
11
11
  urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
12
12
  });
13
13
  };
14
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -0,0 +1,3 @@
1
+ export * from "./CreateEndpointCommand";
2
+ export * from "./DeleteEndpointCommand";
3
+ export * from "./ListEndpointsCommand";
@@ -1,8 +1,5 @@
1
- export * from "./S3OutpostsClient";
2
1
  export * from "./S3Outposts";
3
- export * from "./commands/CreateEndpointCommand";
4
- export * from "./commands/DeleteEndpointCommand";
5
- export * from "./commands/ListEndpointsCommand";
6
- export * from "./pagination/ListEndpointsPaginator";
7
- export * from "./pagination/Interfaces";
8
- export * from "./models/index";
2
+ export * from "./S3OutpostsClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListEndpointsPaginator";
@@ -3,86 +3,17 @@ import { CreateEndpointCommandInput, CreateEndpointCommandOutput } from "./comma
3
3
  import { DeleteEndpointCommandInput, DeleteEndpointCommandOutput } from "./commands/DeleteEndpointCommand";
4
4
  import { ListEndpointsCommandInput, ListEndpointsCommandOutput } from "./commands/ListEndpointsCommand";
5
5
  import { S3OutpostsClient } from "./S3OutpostsClient";
6
- /**
7
- * <p>Amazon S3 on Outposts provides access to S3 on Outposts operations.</p>
8
- */
6
+
9
7
  export declare class S3Outposts extends S3OutpostsClient {
10
- /**
11
- * <p>Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts.
12
- * S3 on Outposts uses endpoints to connect to Outposts buckets so that you can perform actions within your
13
- * virtual private cloud (VPC). For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/AccessingS3Outposts.html">
14
- * Accessing S3 on Outposts using VPC only access points</a>.</p>
15
- * <p>This action creates an endpoint and associates it with the specified Outposts.</p>
16
- * <note>
17
- * <p>It can take up to 5 minutes for this action to complete.</p>
18
- * </note>
19
- * <p></p>
20
- * <p>Related actions include:</p>
21
- * <ul>
22
- * <li>
23
- * <p>
24
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_DeleteEndpoint.html">DeleteEndpoint</a>
25
- * </p>
26
- * </li>
27
- * <li>
28
- * <p>
29
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_ListEndpoints.html">ListEndpoints</a>
30
- * </p>
31
- * </li>
32
- * </ul>
33
- */
8
+
34
9
  createEndpoint(args: CreateEndpointCommandInput, options?: __HttpHandlerOptions): Promise<CreateEndpointCommandOutput>;
35
10
  createEndpoint(args: CreateEndpointCommandInput, cb: (err: any, data?: CreateEndpointCommandOutput) => void): void;
36
11
  createEndpoint(args: CreateEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEndpointCommandOutput) => void): void;
37
- /**
38
- * <p>Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts.
39
- * S3 on Outposts uses endpoints to connect to Outposts buckets so that you can perform actions within your
40
- * virtual private cloud (VPC). For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/AccessingS3Outposts.html">
41
- * Accessing S3 on Outposts using VPC only access points</a>.</p>
42
- * <p>This action deletes an endpoint.</p>
43
- * <note>
44
- * <p>It can take up to 5 minutes for this action to complete.</p>
45
- * </note>
46
- * <p></p>
47
- * <p>Related actions include:</p>
48
- * <ul>
49
- * <li>
50
- * <p>
51
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_CreateEndpoint.html">CreateEndpoint</a>
52
- * </p>
53
- * </li>
54
- * <li>
55
- * <p>
56
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_ListEndpoints.html">ListEndpoints</a>
57
- * </p>
58
- * </li>
59
- * </ul>
60
- */
12
+
61
13
  deleteEndpoint(args: DeleteEndpointCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEndpointCommandOutput>;
62
14
  deleteEndpoint(args: DeleteEndpointCommandInput, cb: (err: any, data?: DeleteEndpointCommandOutput) => void): void;
63
15
  deleteEndpoint(args: DeleteEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEndpointCommandOutput) => void): void;
64
- /**
65
- * <p>Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts.
66
- * S3 on Outposts uses endpoints to connect to Outposts buckets so that you can perform actions within your
67
- * virtual private cloud (VPC). For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/AccessingS3Outposts.html">
68
- * Accessing S3 on Outposts using VPC only access points</a>.</p>
69
- * <p>This action lists endpoints associated with the Outposts.
70
- * </p>
71
- * <p></p>
72
- * <p>Related actions include:</p>
73
- * <ul>
74
- * <li>
75
- * <p>
76
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_CreateEndpoint.html">CreateEndpoint</a>
77
- * </p>
78
- * </li>
79
- * <li>
80
- * <p>
81
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_DeleteEndpoint.html">DeleteEndpoint</a>
82
- * </p>
83
- * </li>
84
- * </ul>
85
- */
16
+
86
17
  listEndpoints(args: ListEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<ListEndpointsCommandOutput>;
87
18
  listEndpoints(args: ListEndpointsCommandInput, cb: (err: any, data?: ListEndpointsCommandOutput) => void): void;
88
19
  listEndpoints(args: ListEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEndpointsCommandOutput) => void): void;
@@ -12,124 +12,59 @@ import { ListEndpointsCommandInput, ListEndpointsCommandOutput } from "./command
12
12
  export declare type ServiceInputTypes = CreateEndpointCommandInput | DeleteEndpointCommandInput | ListEndpointsCommandInput;
13
13
  export declare type ServiceOutputTypes = CreateEndpointCommandOutput | DeleteEndpointCommandOutput | ListEndpointsCommandOutput;
14
14
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
15
- /**
16
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
17
- */
15
+
18
16
  requestHandler?: __HttpHandler;
19
- /**
20
- * A constructor for a class implementing the {@link __Hash} interface
21
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
22
- * @internal
23
- */
17
+
24
18
  sha256?: __HashConstructor;
25
- /**
26
- * The function that will be used to convert strings into HTTP endpoints.
27
- * @internal
28
- */
19
+
29
20
  urlParser?: __UrlParser;
30
- /**
31
- * A function that can calculate the length of a request body.
32
- * @internal
33
- */
21
+
34
22
  bodyLengthChecker?: (body: any) => number | undefined;
35
- /**
36
- * A function that converts a stream into an array of bytes.
37
- * @internal
38
- */
23
+
39
24
  streamCollector?: __StreamCollector;
40
- /**
41
- * The function that will be used to convert a base64-encoded string to a byte array.
42
- * @internal
43
- */
25
+
44
26
  base64Decoder?: __Decoder;
45
- /**
46
- * The function that will be used to convert binary data to a base64-encoded string.
47
- * @internal
48
- */
27
+
49
28
  base64Encoder?: __Encoder;
50
- /**
51
- * The function that will be used to convert a UTF8-encoded string to a byte array.
52
- * @internal
53
- */
29
+
54
30
  utf8Decoder?: __Decoder;
55
- /**
56
- * The function that will be used to convert binary data to a UTF-8 encoded string.
57
- * @internal
58
- */
31
+
59
32
  utf8Encoder?: __Encoder;
60
- /**
61
- * The runtime environment.
62
- * @internal
63
- */
33
+
64
34
  runtime?: string;
65
- /**
66
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
67
- * trait of an operation.
68
- */
35
+
69
36
  disableHostPrefix?: boolean;
70
- /**
71
- * Value for how many times a request will be made at most in case of retry.
72
- */
37
+
73
38
  maxAttempts?: number | __Provider<number>;
74
- /**
75
- * Specifies which retry algorithm to use.
76
- */
39
+
77
40
  retryMode?: string | __Provider<string>;
78
- /**
79
- * Optional logger for logging debug/info/warn/error.
80
- */
41
+
81
42
  logger?: __Logger;
82
- /**
83
- * Unique service identifier.
84
- * @internal
85
- */
43
+
86
44
  serviceId?: string;
87
- /**
88
- * The AWS region to which this client will send requests
89
- */
45
+
90
46
  region?: string | __Provider<string>;
91
- /**
92
- * Default credentials provider; Not available in browser runtime.
93
- * @internal
94
- */
47
+
95
48
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
96
- /**
97
- * Fetch related hostname, signing name or signing region with given region.
98
- * @internal
99
- */
49
+
100
50
  regionInfoProvider?: RegionInfoProvider;
101
- /**
102
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
103
- * @internal
104
- */
51
+
105
52
  defaultUserAgentProvider?: Provider<__UserAgent>;
106
53
  }
107
54
  declare type S3OutpostsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
108
- /**
109
- * The configuration interface of S3OutpostsClient class constructor that set the region, credentials and other options.
110
- */
55
+
111
56
  export interface S3OutpostsClientConfig extends S3OutpostsClientConfigType {
112
57
  }
113
58
  declare type S3OutpostsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
114
- /**
115
- * The resolved configuration interface of S3OutpostsClient class. This is resolved and normalized from the {@link S3OutpostsClientConfig | constructor configuration interface}.
116
- */
59
+
117
60
  export interface S3OutpostsClientResolvedConfig extends S3OutpostsClientResolvedConfigType {
118
61
  }
119
- /**
120
- * <p>Amazon S3 on Outposts provides access to S3 on Outposts operations.</p>
121
- */
62
+
122
63
  export declare class S3OutpostsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, S3OutpostsClientResolvedConfig> {
123
- /**
124
- * The resolved configuration of S3OutpostsClient class. This is resolved and normalized from the {@link S3OutpostsClientConfig | constructor configuration interface}.
125
- */
64
+
126
65
  readonly config: S3OutpostsClientResolvedConfig;
127
66
  constructor(configuration: S3OutpostsClientConfig);
128
- /**
129
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
130
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
131
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
132
- */
67
+
133
68
  destroy(): void;
134
69
  }
135
70
  export {};
@@ -6,50 +6,11 @@ export interface CreateEndpointCommandInput extends CreateEndpointRequest {
6
6
  }
7
7
  export interface CreateEndpointCommandOutput extends CreateEndpointResult, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts.
11
- * S3 on Outposts uses endpoints to connect to Outposts buckets so that you can perform actions within your
12
- * virtual private cloud (VPC). For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/AccessingS3Outposts.html">
13
- * Accessing S3 on Outposts using VPC only access points</a>.</p>
14
- * <p>This action creates an endpoint and associates it with the specified Outposts.</p>
15
- * <note>
16
- * <p>It can take up to 5 minutes for this action to complete.</p>
17
- * </note>
18
- * <p></p>
19
- * <p>Related actions include:</p>
20
- * <ul>
21
- * <li>
22
- * <p>
23
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_DeleteEndpoint.html">DeleteEndpoint</a>
24
- * </p>
25
- * </li>
26
- * <li>
27
- * <p>
28
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_ListEndpoints.html">ListEndpoints</a>
29
- * </p>
30
- * </li>
31
- * </ul>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { S3OutpostsClient, CreateEndpointCommand } from "@aws-sdk/client-s3outposts"; // ES Modules import
36
- * // const { S3OutpostsClient, CreateEndpointCommand } = require("@aws-sdk/client-s3outposts"); // CommonJS import
37
- * const client = new S3OutpostsClient(config);
38
- * const command = new CreateEndpointCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link CreateEndpointCommandInput} for command's `input` shape.
43
- * @see {@link CreateEndpointCommandOutput} for command's `response` shape.
44
- * @see {@link S3OutpostsClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
9
+
47
10
  export declare class CreateEndpointCommand extends $Command<CreateEndpointCommandInput, CreateEndpointCommandOutput, S3OutpostsClientResolvedConfig> {
48
11
  readonly input: CreateEndpointCommandInput;
49
12
  constructor(input: CreateEndpointCommandInput);
50
- /**
51
- * @internal
52
- */
13
+
53
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3OutpostsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateEndpointCommandInput, CreateEndpointCommandOutput>;
54
15
  private serialize;
55
16
  private deserialize;
@@ -6,50 +6,11 @@ export interface DeleteEndpointCommandInput extends DeleteEndpointRequest {
6
6
  }
7
7
  export interface DeleteEndpointCommandOutput extends __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts.
11
- * S3 on Outposts uses endpoints to connect to Outposts buckets so that you can perform actions within your
12
- * virtual private cloud (VPC). For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/AccessingS3Outposts.html">
13
- * Accessing S3 on Outposts using VPC only access points</a>.</p>
14
- * <p>This action deletes an endpoint.</p>
15
- * <note>
16
- * <p>It can take up to 5 minutes for this action to complete.</p>
17
- * </note>
18
- * <p></p>
19
- * <p>Related actions include:</p>
20
- * <ul>
21
- * <li>
22
- * <p>
23
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_CreateEndpoint.html">CreateEndpoint</a>
24
- * </p>
25
- * </li>
26
- * <li>
27
- * <p>
28
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_ListEndpoints.html">ListEndpoints</a>
29
- * </p>
30
- * </li>
31
- * </ul>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { S3OutpostsClient, DeleteEndpointCommand } from "@aws-sdk/client-s3outposts"; // ES Modules import
36
- * // const { S3OutpostsClient, DeleteEndpointCommand } = require("@aws-sdk/client-s3outposts"); // CommonJS import
37
- * const client = new S3OutpostsClient(config);
38
- * const command = new DeleteEndpointCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link DeleteEndpointCommandInput} for command's `input` shape.
43
- * @see {@link DeleteEndpointCommandOutput} for command's `response` shape.
44
- * @see {@link S3OutpostsClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
9
+
47
10
  export declare class DeleteEndpointCommand extends $Command<DeleteEndpointCommandInput, DeleteEndpointCommandOutput, S3OutpostsClientResolvedConfig> {
48
11
  readonly input: DeleteEndpointCommandInput;
49
12
  constructor(input: DeleteEndpointCommandInput);
50
- /**
51
- * @internal
52
- */
13
+
53
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3OutpostsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteEndpointCommandInput, DeleteEndpointCommandOutput>;
54
15
  private serialize;
55
16
  private deserialize;
@@ -6,48 +6,11 @@ export interface ListEndpointsCommandInput extends ListEndpointsRequest {
6
6
  }
7
7
  export interface ListEndpointsCommandOutput extends ListEndpointsResult, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts.
11
- * S3 on Outposts uses endpoints to connect to Outposts buckets so that you can perform actions within your
12
- * virtual private cloud (VPC). For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/AccessingS3Outposts.html">
13
- * Accessing S3 on Outposts using VPC only access points</a>.</p>
14
- * <p>This action lists endpoints associated with the Outposts.
15
- * </p>
16
- * <p></p>
17
- * <p>Related actions include:</p>
18
- * <ul>
19
- * <li>
20
- * <p>
21
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_CreateEndpoint.html">CreateEndpoint</a>
22
- * </p>
23
- * </li>
24
- * <li>
25
- * <p>
26
- * <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_DeleteEndpoint.html">DeleteEndpoint</a>
27
- * </p>
28
- * </li>
29
- * </ul>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { S3OutpostsClient, ListEndpointsCommand } from "@aws-sdk/client-s3outposts"; // ES Modules import
34
- * // const { S3OutpostsClient, ListEndpointsCommand } = require("@aws-sdk/client-s3outposts"); // CommonJS import
35
- * const client = new S3OutpostsClient(config);
36
- * const command = new ListEndpointsCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link ListEndpointsCommandInput} for command's `input` shape.
41
- * @see {@link ListEndpointsCommandOutput} for command's `response` shape.
42
- * @see {@link S3OutpostsClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
9
+
45
10
  export declare class ListEndpointsCommand extends $Command<ListEndpointsCommandInput, ListEndpointsCommandOutput, S3OutpostsClientResolvedConfig> {
46
11
  readonly input: ListEndpointsCommandInput;
47
12
  constructor(input: ListEndpointsCommandInput);
48
- /**
49
- * @internal
50
- */
13
+
51
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3OutpostsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListEndpointsCommandInput, ListEndpointsCommandOutput>;
52
15
  private serialize;
53
16
  private deserialize;
@@ -0,0 +1,3 @@
1
+ export * from "./CreateEndpointCommand";
2
+ export * from "./DeleteEndpointCommand";
3
+ export * from "./ListEndpointsCommand";
@@ -1,8 +1,5 @@
1
- export * from "./S3OutpostsClient";
2
1
  export * from "./S3Outposts";
3
- export * from "./commands/CreateEndpointCommand";
4
- export * from "./commands/DeleteEndpointCommand";
5
- export * from "./commands/ListEndpointsCommand";
6
- export * from "./pagination/ListEndpointsPaginator";
7
- export * from "./pagination/Interfaces";
8
- export * from "./models/index";
2
+ export * from "./S3OutpostsClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";