@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
@@ -1,56 +0,0 @@
1
- import { S3OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3OutpostsClient";
2
- import { DeleteEndpointRequest } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
- export interface DeleteEndpointCommandInput extends DeleteEndpointRequest {
6
- }
7
- export interface DeleteEndpointCommandOutput extends __MetadataBearer {
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
- */
47
- export declare class DeleteEndpointCommand extends $Command<DeleteEndpointCommandInput, DeleteEndpointCommandOutput, S3OutpostsClientResolvedConfig> {
48
- readonly input: DeleteEndpointCommandInput;
49
- constructor(input: DeleteEndpointCommandInput);
50
- /**
51
- * @internal
52
- */
53
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3OutpostsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteEndpointCommandInput, DeleteEndpointCommandOutput>;
54
- private serialize;
55
- private deserialize;
56
- }
@@ -1,54 +0,0 @@
1
- import { S3OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3OutpostsClient";
2
- import { ListEndpointsRequest, ListEndpointsResult } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
- export interface ListEndpointsCommandInput extends ListEndpointsRequest {
6
- }
7
- export interface ListEndpointsCommandOutput extends ListEndpointsResult, __MetadataBearer {
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
- */
45
- export declare class ListEndpointsCommand extends $Command<ListEndpointsCommandInput, ListEndpointsCommandOutput, S3OutpostsClientResolvedConfig> {
46
- readonly input: ListEndpointsCommandInput;
47
- constructor(input: ListEndpointsCommandInput);
48
- /**
49
- * @internal
50
- */
51
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: S3OutpostsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListEndpointsCommandInput, ListEndpointsCommandOutput>;
52
- private serialize;
53
- private deserialize;
54
- }
@@ -1,245 +0,0 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
- /**
3
- * <p>Access was denied for this action.</p>
4
- */
5
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
- name: "AccessDeniedException";
7
- $fault: "client";
8
- Message?: string;
9
- }
10
- export declare namespace AccessDeniedException {
11
- /**
12
- * @internal
13
- */
14
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
15
- }
16
- /**
17
- * <p>There was a conflict with this action, and it could not be completed.</p>
18
- */
19
- export interface ConflictException extends __SmithyException, $MetadataBearer {
20
- name: "ConflictException";
21
- $fault: "client";
22
- Message?: string;
23
- }
24
- export declare namespace ConflictException {
25
- /**
26
- * @internal
27
- */
28
- const filterSensitiveLog: (obj: ConflictException) => any;
29
- }
30
- export declare enum EndpointAccessType {
31
- CUSTOMER_OWNED_IP = "CustomerOwnedIp",
32
- PRIVATE = "Private"
33
- }
34
- export interface CreateEndpointRequest {
35
- /**
36
- * <p>The ID of the AWS Outposts. </p>
37
- */
38
- OutpostId: string | undefined;
39
- /**
40
- * <p>The ID of the subnet in the selected VPC. The endpoint subnet
41
- * must belong to the Outpost that has the Amazon S3 on Outposts provisioned.</p>
42
- */
43
- SubnetId: string | undefined;
44
- /**
45
- * <p>The ID of the security group to use with the endpoint.</p>
46
- */
47
- SecurityGroupId: string | undefined;
48
- /**
49
- * <p>The type of access for the on-premise network connectivity for the
50
- * Outpost endpoint. To access the endpoint from an on-premises network, you must
51
- * specify the access type and provide the customer owned IPv4 pool.</p>
52
- */
53
- AccessType?: EndpointAccessType | string;
54
- /**
55
- * <p>The ID of the customer-owned IPv4 pool for the endpoint.
56
- * IP addresses will be allocated from this pool for the endpoint.</p>
57
- */
58
- CustomerOwnedIpv4Pool?: string;
59
- }
60
- export declare namespace CreateEndpointRequest {
61
- /**
62
- * @internal
63
- */
64
- const filterSensitiveLog: (obj: CreateEndpointRequest) => any;
65
- }
66
- export interface CreateEndpointResult {
67
- /**
68
- * <p>The Amazon Resource Name (ARN) of the endpoint.</p>
69
- */
70
- EndpointArn?: string;
71
- }
72
- export declare namespace CreateEndpointResult {
73
- /**
74
- * @internal
75
- */
76
- const filterSensitiveLog: (obj: CreateEndpointResult) => any;
77
- }
78
- /**
79
- * <p>There was an exception with the internal server.</p>
80
- */
81
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
82
- name: "InternalServerException";
83
- $fault: "server";
84
- Message?: string;
85
- }
86
- export declare namespace InternalServerException {
87
- /**
88
- * @internal
89
- */
90
- const filterSensitiveLog: (obj: InternalServerException) => any;
91
- }
92
- /**
93
- * <p>The requested resource was not found.</p>
94
- */
95
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
96
- name: "ResourceNotFoundException";
97
- $fault: "client";
98
- Message?: string;
99
- }
100
- export declare namespace ResourceNotFoundException {
101
- /**
102
- * @internal
103
- */
104
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
105
- }
106
- /**
107
- * <p>There was an exception validating this data.</p>
108
- */
109
- export interface ValidationException extends __SmithyException, $MetadataBearer {
110
- name: "ValidationException";
111
- $fault: "client";
112
- Message?: string;
113
- }
114
- export declare namespace ValidationException {
115
- /**
116
- * @internal
117
- */
118
- const filterSensitiveLog: (obj: ValidationException) => any;
119
- }
120
- export interface DeleteEndpointRequest {
121
- /**
122
- * <p>The ID of the endpoint.</p>
123
- */
124
- EndpointId: string | undefined;
125
- /**
126
- * <p>The ID of the AWS Outposts. </p>
127
- */
128
- OutpostId: string | undefined;
129
- }
130
- export declare namespace DeleteEndpointRequest {
131
- /**
132
- * @internal
133
- */
134
- const filterSensitiveLog: (obj: DeleteEndpointRequest) => any;
135
- }
136
- /**
137
- * <p>The container for the network interface.</p>
138
- */
139
- export interface NetworkInterface {
140
- /**
141
- * <p>The ID for the network interface.</p>
142
- */
143
- NetworkInterfaceId?: string;
144
- }
145
- export declare namespace NetworkInterface {
146
- /**
147
- * @internal
148
- */
149
- const filterSensitiveLog: (obj: NetworkInterface) => any;
150
- }
151
- export declare enum EndpointStatus {
152
- AVAILABLE = "Available",
153
- DELETING = "Deleting",
154
- PENDING = "Pending"
155
- }
156
- /**
157
- * <p>Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts.
158
- * S3 on Outposts uses endpoints to connect to Outposts buckets so that you can perform actions within your
159
- * virtual private cloud (VPC). For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/AccessingS3Outposts.html">
160
- * Accessing S3 on Outposts using VPC only access points</a>.</p>
161
- */
162
- export interface Endpoint {
163
- /**
164
- * <p>The Amazon Resource Name (ARN) of the endpoint.</p>
165
- */
166
- EndpointArn?: string;
167
- /**
168
- * <p>The ID of the AWS Outposts.</p>
169
- */
170
- OutpostsId?: string;
171
- /**
172
- * <p>The VPC CIDR committed by this endpoint.</p>
173
- */
174
- CidrBlock?: string;
175
- /**
176
- * <p>The status of the endpoint.</p>
177
- */
178
- Status?: EndpointStatus | string;
179
- /**
180
- * <p>The time the endpoint was created.</p>
181
- */
182
- CreationTime?: Date;
183
- /**
184
- * <p>The network interface of the endpoint.</p>
185
- */
186
- NetworkInterfaces?: NetworkInterface[];
187
- /**
188
- * <p>The ID of the VPC used for the endpoint.</p>
189
- */
190
- VpcId?: string;
191
- /**
192
- * <p>The ID of the subnet used for the endpoint.</p>
193
- */
194
- SubnetId?: string;
195
- /**
196
- * <p>The ID of the security group used for the endpoint.</p>
197
- */
198
- SecurityGroupId?: string;
199
- /**
200
- * <p></p>
201
- */
202
- AccessType?: EndpointAccessType | string;
203
- /**
204
- * <p>The ID of the customer-owned IPv4 pool used for the endpoint.</p>
205
- */
206
- CustomerOwnedIpv4Pool?: string;
207
- }
208
- export declare namespace Endpoint {
209
- /**
210
- * @internal
211
- */
212
- const filterSensitiveLog: (obj: Endpoint) => any;
213
- }
214
- export interface ListEndpointsRequest {
215
- /**
216
- * <p>The next endpoint requested in the list.</p>
217
- */
218
- NextToken?: string;
219
- /**
220
- * <p>The max number of endpoints that can be returned on the request.</p>
221
- */
222
- MaxResults?: number;
223
- }
224
- export declare namespace ListEndpointsRequest {
225
- /**
226
- * @internal
227
- */
228
- const filterSensitiveLog: (obj: ListEndpointsRequest) => any;
229
- }
230
- export interface ListEndpointsResult {
231
- /**
232
- * <p>Returns an array of endpoints associated with AWS Outposts.</p>
233
- */
234
- Endpoints?: Endpoint[];
235
- /**
236
- * <p>The next endpoint returned in the list.</p>
237
- */
238
- NextToken?: string;
239
- }
240
- export declare namespace ListEndpointsResult {
241
- /**
242
- * @internal
243
- */
244
- const filterSensitiveLog: (obj: ListEndpointsResult) => any;
245
- }
package/endpoints.ts DELETED
@@ -1,57 +0,0 @@
1
- import { PartitionHash, RegionHash, getRegionInfo } from "@aws-sdk/config-resolver";
2
- import { RegionInfoProvider } from "@aws-sdk/types";
3
-
4
- const regionHash: RegionHash = {};
5
-
6
- const partitionHash: PartitionHash = {
7
- aws: {
8
- regions: [
9
- "af-south-1",
10
- "ap-east-1",
11
- "ap-northeast-1",
12
- "ap-northeast-2",
13
- "ap-northeast-3",
14
- "ap-south-1",
15
- "ap-southeast-1",
16
- "ap-southeast-2",
17
- "ca-central-1",
18
- "eu-central-1",
19
- "eu-north-1",
20
- "eu-south-1",
21
- "eu-west-1",
22
- "eu-west-2",
23
- "eu-west-3",
24
- "me-south-1",
25
- "sa-east-1",
26
- "us-east-1",
27
- "us-east-2",
28
- "us-west-1",
29
- "us-west-2",
30
- ],
31
- hostname: "s3-outposts.{region}.amazonaws.com",
32
- },
33
- "aws-cn": {
34
- regions: ["cn-north-1", "cn-northwest-1"],
35
- hostname: "s3-outposts.{region}.amazonaws.com.cn",
36
- },
37
- "aws-iso": {
38
- regions: ["us-iso-east-1"],
39
- hostname: "s3-outposts.{region}.c2s.ic.gov",
40
- },
41
- "aws-iso-b": {
42
- regions: ["us-isob-east-1"],
43
- hostname: "s3-outposts.{region}.sc2s.sgov.gov",
44
- },
45
- "aws-us-gov": {
46
- regions: ["us-gov-east-1", "us-gov-west-1"],
47
- hostname: "s3-outposts.{region}.amazonaws.com",
48
- },
49
- };
50
-
51
- export const defaultRegionInfoProvider: RegionInfoProvider = async (region: string, options?: any) =>
52
- getRegionInfo(region, {
53
- ...options,
54
- signingService: "s3-outposts",
55
- regionHash,
56
- partitionHash,
57
- });
package/jest.config.js DELETED
@@ -1,4 +0,0 @@
1
- module.exports = {
2
- preset: "ts-jest",
3
- testMatch: ["**/*.spec.ts", "!**/*.browser.spec.ts", "!**/*.integ.spec.ts"],
4
- };