@aws-sdk/client-s3outposts 3.533.0 → 3.540.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.
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
- const util_endpoints_1 = require("@smithy/util-endpoints");
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const util_endpoints_2 = require("@smithy/util-endpoints");
5
6
  const ruleset_1 = require("./ruleset");
6
7
  const defaultEndpointResolver = (endpointParams, context = {}) => {
7
- return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
8
+ return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
8
9
  endpointParams: endpointParams,
9
10
  logger: context.logger,
10
11
  });
11
12
  };
12
13
  exports.defaultEndpointResolver = defaultEndpointResolver;
14
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -765,9 +765,6 @@ var paginateListOutpostsWithS3 = (0, import_core.createPaginator)(S3OutpostsClie
765
765
  // src/pagination/ListSharedEndpointsPaginator.ts
766
766
 
767
767
  var paginateListSharedEndpoints = (0, import_core.createPaginator)(S3OutpostsClient, ListSharedEndpointsCommand, "NextToken", "NextToken", "MaxResults");
768
-
769
- // src/index.ts
770
- var import_util_endpoints = require("@aws-sdk/util-endpoints");
771
768
  // Annotate the CommonJS export names for ESM import in node:
772
769
 
773
770
  0 && (module.exports = {
@@ -1,4 +1,5 @@
1
- import { resolveEndpoint } from "@smithy/util-endpoints";
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
3
  import { ruleSet } from "./ruleset";
3
4
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
5
  return resolveEndpoint(ruleSet, {
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
6
7
  logger: context.logger,
7
8
  });
8
9
  };
10
+ customEndpointFunctions.aws = awsEndpointFunctions;
package/dist-es/index.js CHANGED
@@ -3,5 +3,4 @@ export * from "./S3Outposts";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./models";
6
- import "@aws-sdk/util-endpoints";
7
6
  export { S3OutpostsServiceException } from "./models/S3OutpostsServiceException";
@@ -21,12 +21,14 @@ export interface S3Outposts {
21
21
  /**
22
22
  * @see {@link ListEndpointsCommand}
23
23
  */
24
+ listEndpoints(): Promise<ListEndpointsCommandOutput>;
24
25
  listEndpoints(args: ListEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<ListEndpointsCommandOutput>;
25
26
  listEndpoints(args: ListEndpointsCommandInput, cb: (err: any, data?: ListEndpointsCommandOutput) => void): void;
26
27
  listEndpoints(args: ListEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEndpointsCommandOutput) => void): void;
27
28
  /**
28
29
  * @see {@link ListOutpostsWithS3Command}
29
30
  */
31
+ listOutpostsWithS3(): Promise<ListOutpostsWithS3CommandOutput>;
30
32
  listOutpostsWithS3(args: ListOutpostsWithS3CommandInput, options?: __HttpHandlerOptions): Promise<ListOutpostsWithS3CommandOutput>;
31
33
  listOutpostsWithS3(args: ListOutpostsWithS3CommandInput, cb: (err: any, data?: ListOutpostsWithS3CommandOutput) => void): void;
32
34
  listOutpostsWithS3(args: ListOutpostsWithS3CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOutpostsWithS3CommandOutput) => void): void;
@@ -38,8 +40,8 @@ export interface S3Outposts {
38
40
  listSharedEndpoints(args: ListSharedEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSharedEndpointsCommandOutput) => void): void;
39
41
  }
40
42
  /**
41
- * @public
42
43
  * <p>Amazon S3 on Outposts provides access to S3 on Outposts operations.</p>
44
+ * @public
43
45
  */
44
46
  export declare class S3Outposts extends S3OutpostsClient implements S3Outposts {
45
47
  }
@@ -156,8 +156,8 @@ export type S3OutpostsClientResolvedConfigType = __SmithyResolvedConfiguration<_
156
156
  export interface S3OutpostsClientResolvedConfig extends S3OutpostsClientResolvedConfigType {
157
157
  }
158
158
  /**
159
- * @public
160
159
  * <p>Amazon S3 on Outposts provides access to S3 on Outposts operations.</p>
160
+ * @public
161
161
  */
162
162
  export declare class S3OutpostsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, S3OutpostsClientResolvedConfig> {
163
163
  /**
@@ -22,10 +22,10 @@ export interface CreateEndpointCommandOutput extends CreateEndpointResult, __Met
22
22
  }
23
23
  declare const CreateEndpointCommand_base: {
24
24
  new (input: CreateEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<CreateEndpointCommandInput, CreateEndpointCommandOutput, S3OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: CreateEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<CreateEndpointCommandInput, CreateEndpointCommandOutput, S3OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Creates an endpoint and associates it with the specified Outpost.</p>
30
30
  * <note>
31
31
  * <p>It can take up to 5 minutes for this action to finish.</p>
@@ -95,6 +95,7 @@ declare const CreateEndpointCommand_base: {
95
95
  * @throws {@link S3OutpostsServiceException}
96
96
  * <p>Base exception class for all service exceptions from S3Outposts service.</p>
97
97
  *
98
+ * @public
98
99
  */
99
100
  export declare class CreateEndpointCommand extends CreateEndpointCommand_base {
100
101
  }
@@ -22,10 +22,10 @@ export interface DeleteEndpointCommandOutput extends __MetadataBearer {
22
22
  }
23
23
  declare const DeleteEndpointCommand_base: {
24
24
  new (input: DeleteEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteEndpointCommandInput, DeleteEndpointCommandOutput, S3OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DeleteEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteEndpointCommandInput, DeleteEndpointCommandOutput, S3OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Deletes an endpoint.</p>
30
30
  * <note>
31
31
  * <p>It can take up to 5 minutes for this action to finish.</p>
@@ -87,6 +87,7 @@ declare const DeleteEndpointCommand_base: {
87
87
  * @throws {@link S3OutpostsServiceException}
88
88
  * <p>Base exception class for all service exceptions from S3Outposts service.</p>
89
89
  *
90
+ * @public
90
91
  */
91
92
  export declare class DeleteEndpointCommand extends DeleteEndpointCommand_base {
92
93
  }
@@ -22,10 +22,10 @@ export interface ListEndpointsCommandOutput extends ListEndpointsResult, __Metad
22
22
  }
23
23
  declare const ListEndpointsCommand_base: {
24
24
  new (input: ListEndpointsCommandInput): import("@smithy/smithy-client").CommandImpl<ListEndpointsCommandInput, ListEndpointsCommandOutput, S3OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [ListEndpointsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListEndpointsCommandInput, ListEndpointsCommandOutput, S3OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Lists endpoints associated with the specified Outpost. </p>
30
30
  * <p>Related actions include:</p>
31
31
  * <ul>
@@ -105,6 +105,7 @@ declare const ListEndpointsCommand_base: {
105
105
  * @throws {@link S3OutpostsServiceException}
106
106
  * <p>Base exception class for all service exceptions from S3Outposts service.</p>
107
107
  *
108
+ * @public
108
109
  */
109
110
  export declare class ListEndpointsCommand extends ListEndpointsCommand_base {
110
111
  }
@@ -22,10 +22,10 @@ export interface ListOutpostsWithS3CommandOutput extends ListOutpostsWithS3Resul
22
22
  }
23
23
  declare const ListOutpostsWithS3Command_base: {
24
24
  new (input: ListOutpostsWithS3CommandInput): import("@smithy/smithy-client").CommandImpl<ListOutpostsWithS3CommandInput, ListOutpostsWithS3CommandOutput, S3OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [ListOutpostsWithS3CommandInput]): import("@smithy/smithy-client").CommandImpl<ListOutpostsWithS3CommandInput, ListOutpostsWithS3CommandOutput, S3OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Lists the Outposts with S3 on Outposts capacity for your Amazon Web Services account.
30
30
  * Includes S3 on Outposts that you have access to as the Outposts owner, or as a shared user
31
31
  * from Resource Access Manager (RAM). </p>
@@ -77,6 +77,7 @@ declare const ListOutpostsWithS3Command_base: {
77
77
  * @throws {@link S3OutpostsServiceException}
78
78
  * <p>Base exception class for all service exceptions from S3Outposts service.</p>
79
79
  *
80
+ * @public
80
81
  */
81
82
  export declare class ListOutpostsWithS3Command extends ListOutpostsWithS3Command_base {
82
83
  }
@@ -22,10 +22,10 @@ export interface ListSharedEndpointsCommandOutput extends ListSharedEndpointsRes
22
22
  }
23
23
  declare const ListSharedEndpointsCommand_base: {
24
24
  new (input: ListSharedEndpointsCommandInput): import("@smithy/smithy-client").CommandImpl<ListSharedEndpointsCommandInput, ListSharedEndpointsCommandOutput, S3OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: ListSharedEndpointsCommandInput): import("@smithy/smithy-client").CommandImpl<ListSharedEndpointsCommandInput, ListSharedEndpointsCommandOutput, S3OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Lists all endpoints associated with an Outpost that has been shared by Amazon Web Services Resource Access Manager (RAM).</p>
30
30
  * <p>Related actions include:</p>
31
31
  * <ul>
@@ -106,6 +106,7 @@ declare const ListSharedEndpointsCommand_base: {
106
106
  * @throws {@link S3OutpostsServiceException}
107
107
  * <p>Base exception class for all service exceptions from S3Outposts service.</p>
108
108
  *
109
+ * @public
109
110
  */
110
111
  export declare class ListSharedEndpointsCommand extends ListSharedEndpointsCommand_base {
111
112
  }
@@ -11,5 +11,4 @@ export { S3OutpostsExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
13
  export * from "./models";
14
- import "@aws-sdk/util-endpoints";
15
14
  export { S3OutpostsServiceException } from "./models/S3OutpostsServiceException";
@@ -1,8 +1,8 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { S3OutpostsServiceException as __BaseException } from "./S3OutpostsServiceException";
3
3
  /**
4
- * @public
5
4
  * <p>Access was denied for this action.</p>
5
+ * @public
6
6
  */
7
7
  export declare class AccessDeniedException extends __BaseException {
8
8
  readonly name: "AccessDeniedException";
@@ -14,8 +14,8 @@ export declare class AccessDeniedException extends __BaseException {
14
14
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
15
  }
16
16
  /**
17
- * @public
18
17
  * <p>There was a conflict with this action, and it could not be completed.</p>
18
+ * @public
19
19
  */
20
20
  export declare class ConflictException extends __BaseException {
21
21
  readonly name: "ConflictException";
@@ -43,23 +43,22 @@ export type EndpointAccessType = (typeof EndpointAccessType)[keyof typeof Endpoi
43
43
  */
44
44
  export interface CreateEndpointRequest {
45
45
  /**
46
- * @public
47
46
  * <p>The ID of the Outposts. </p>
47
+ * @public
48
48
  */
49
49
  OutpostId: string | undefined;
50
50
  /**
51
- * @public
52
51
  * <p>The ID of the subnet in the selected VPC. The endpoint subnet must belong to the Outpost
53
52
  * that has Amazon S3 on Outposts provisioned.</p>
53
+ * @public
54
54
  */
55
55
  SubnetId: string | undefined;
56
56
  /**
57
- * @public
58
57
  * <p>The ID of the security group to use with the endpoint.</p>
58
+ * @public
59
59
  */
60
60
  SecurityGroupId: string | undefined;
61
61
  /**
62
- * @public
63
62
  * <p>The type of access for the network connectivity for the Amazon S3 on Outposts endpoint. To use
64
63
  * the Amazon Web Services VPC, choose <code>Private</code>. To use the endpoint with an on-premises
65
64
  * network, choose <code>CustomerOwnedIp</code>. If you choose
@@ -69,12 +68,13 @@ export interface CreateEndpointRequest {
69
68
  * <p>
70
69
  * <code>Private</code> is the default access type value.</p>
71
70
  * </note>
71
+ * @public
72
72
  */
73
73
  AccessType?: EndpointAccessType;
74
74
  /**
75
- * @public
76
75
  * <p>The ID of the customer-owned IPv4 address pool (CoIP pool) for the endpoint. IP addresses
77
76
  * are allocated from this pool for the endpoint.</p>
77
+ * @public
78
78
  */
79
79
  CustomerOwnedIpv4Pool?: string;
80
80
  }
@@ -83,14 +83,14 @@ export interface CreateEndpointRequest {
83
83
  */
84
84
  export interface CreateEndpointResult {
85
85
  /**
86
- * @public
87
86
  * <p>The Amazon Resource Name (ARN) of the endpoint.</p>
87
+ * @public
88
88
  */
89
89
  EndpointArn?: string;
90
90
  }
91
91
  /**
92
- * @public
93
92
  * <p>There was an exception with the internal server.</p>
93
+ * @public
94
94
  */
95
95
  export declare class InternalServerException extends __BaseException {
96
96
  readonly name: "InternalServerException";
@@ -102,8 +102,8 @@ export declare class InternalServerException extends __BaseException {
102
102
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
103
103
  }
104
104
  /**
105
- * @public
106
105
  * <p>The service link connection to your Outposts home Region is down. Check your connection and try again.</p>
106
+ * @public
107
107
  */
108
108
  export declare class OutpostOfflineException extends __BaseException {
109
109
  readonly name: "OutpostOfflineException";
@@ -115,8 +115,8 @@ export declare class OutpostOfflineException extends __BaseException {
115
115
  constructor(opts: __ExceptionOptionType<OutpostOfflineException, __BaseException>);
116
116
  }
117
117
  /**
118
- * @public
119
118
  * <p>The requested resource was not found.</p>
119
+ * @public
120
120
  */
121
121
  export declare class ResourceNotFoundException extends __BaseException {
122
122
  readonly name: "ResourceNotFoundException";
@@ -128,8 +128,8 @@ export declare class ResourceNotFoundException extends __BaseException {
128
128
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
129
129
  }
130
130
  /**
131
- * @public
132
131
  * <p>The request was denied due to request throttling.</p>
132
+ * @public
133
133
  */
134
134
  export declare class ThrottlingException extends __BaseException {
135
135
  readonly name: "ThrottlingException";
@@ -141,8 +141,8 @@ export declare class ThrottlingException extends __BaseException {
141
141
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
142
142
  }
143
143
  /**
144
- * @public
145
144
  * <p>There was an exception validating this data.</p>
145
+ * @public
146
146
  */
147
147
  export declare class ValidationException extends __BaseException {
148
148
  readonly name: "ValidationException";
@@ -158,40 +158,40 @@ export declare class ValidationException extends __BaseException {
158
158
  */
159
159
  export interface DeleteEndpointRequest {
160
160
  /**
161
- * @public
162
161
  * <p>The ID of the endpoint.</p>
162
+ * @public
163
163
  */
164
164
  EndpointId: string | undefined;
165
165
  /**
166
- * @public
167
166
  * <p>The ID of the Outposts. </p>
167
+ * @public
168
168
  */
169
169
  OutpostId: string | undefined;
170
170
  }
171
171
  /**
172
- * @public
173
172
  * <p>The failure reason, if any, for a create or delete endpoint operation.</p>
173
+ * @public
174
174
  */
175
175
  export interface FailedReason {
176
176
  /**
177
- * @public
178
177
  * <p>The failure code, if any, for a create or delete endpoint operation.</p>
178
+ * @public
179
179
  */
180
180
  ErrorCode?: string;
181
181
  /**
182
- * @public
183
182
  * <p>Additional error details describing the endpoint failure and recommended action.</p>
183
+ * @public
184
184
  */
185
185
  Message?: string;
186
186
  }
187
187
  /**
188
- * @public
189
188
  * <p>The container for the network interface.</p>
189
+ * @public
190
190
  */
191
191
  export interface NetworkInterface {
192
192
  /**
193
- * @public
194
193
  * <p>The ID for the network interface.</p>
194
+ * @public
195
195
  */
196
196
  NetworkInterfaceId?: string;
197
197
  }
@@ -211,71 +211,71 @@ export declare const EndpointStatus: {
211
211
  */
212
212
  export type EndpointStatus = (typeof EndpointStatus)[keyof typeof EndpointStatus];
213
213
  /**
214
- * @public
215
214
  * <p>Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts.
216
215
  * S3 on Outposts uses endpoints to connect to Outposts buckets so that you can perform actions within your
217
216
  * virtual private cloud (VPC). For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/WorkingWithS3Outposts.html">
218
217
  * Accessing S3 on Outposts using VPC-only access points</a> in the <i>Amazon Simple Storage Service User Guide</i>.</p>
218
+ * @public
219
219
  */
220
220
  export interface Endpoint {
221
221
  /**
222
- * @public
223
222
  * <p>The Amazon Resource Name (ARN) of the endpoint.</p>
223
+ * @public
224
224
  */
225
225
  EndpointArn?: string;
226
226
  /**
227
- * @public
228
227
  * <p>The ID of the Outposts.</p>
228
+ * @public
229
229
  */
230
230
  OutpostsId?: string;
231
231
  /**
232
- * @public
233
232
  * <p>The VPC CIDR committed by this endpoint.</p>
233
+ * @public
234
234
  */
235
235
  CidrBlock?: string;
236
236
  /**
237
- * @public
238
237
  * <p>The status of the endpoint.</p>
238
+ * @public
239
239
  */
240
240
  Status?: EndpointStatus;
241
241
  /**
242
- * @public
243
242
  * <p>The time the endpoint was created.</p>
243
+ * @public
244
244
  */
245
245
  CreationTime?: Date;
246
246
  /**
247
- * @public
248
247
  * <p>The network interface of the endpoint.</p>
248
+ * @public
249
249
  */
250
250
  NetworkInterfaces?: NetworkInterface[];
251
251
  /**
252
- * @public
253
252
  * <p>The ID of the VPC used for the endpoint.</p>
253
+ * @public
254
254
  */
255
255
  VpcId?: string;
256
256
  /**
257
- * @public
258
257
  * <p>The ID of the subnet used for the endpoint.</p>
258
+ * @public
259
259
  */
260
260
  SubnetId?: string;
261
261
  /**
262
- * @public
263
262
  * <p>The ID of the security group used for the endpoint.</p>
263
+ * @public
264
264
  */
265
265
  SecurityGroupId?: string;
266
266
  /**
267
- * @public
268
267
  * <p>The type of connectivity used to access the Amazon S3 on Outposts endpoint.</p>
268
+ * @public
269
269
  */
270
270
  AccessType?: EndpointAccessType;
271
271
  /**
272
- * @public
273
272
  * <p>The ID of the customer-owned IPv4 address pool used for the endpoint.</p>
273
+ * @public
274
274
  */
275
275
  CustomerOwnedIpv4Pool?: string;
276
276
  /**
277
- * @public
278
277
  * <p>The failure reason, if any, for a create or delete endpoint operation.</p>
278
+ * @public
279
279
  */
280
280
  FailedReason?: FailedReason;
281
281
  }
@@ -284,14 +284,14 @@ export interface Endpoint {
284
284
  */
285
285
  export interface ListEndpointsRequest {
286
286
  /**
287
- * @public
288
287
  * <p>If a previous response from this operation included a <code>NextToken</code> value,
289
288
  * provide that value here to retrieve the next page of results.</p>
289
+ * @public
290
290
  */
291
291
  NextToken?: string;
292
292
  /**
293
- * @public
294
293
  * <p>The maximum number of endpoints that will be returned in the response.</p>
294
+ * @public
295
295
  */
296
296
  MaxResults?: number;
297
297
  }
@@ -300,14 +300,14 @@ export interface ListEndpointsRequest {
300
300
  */
301
301
  export interface ListEndpointsResult {
302
302
  /**
303
- * @public
304
303
  * <p>The list of endpoints associated with the specified Outpost.</p>
304
+ * @public
305
305
  */
306
306
  Endpoints?: Endpoint[];
307
307
  /**
308
- * @public
309
308
  * <p>If the number of endpoints associated with the specified Outpost exceeds <code>MaxResults</code>,
310
309
  * you can include this value in subsequent calls to this operation to retrieve more results.</p>
310
+ * @public
311
311
  */
312
312
  NextToken?: string;
313
313
  }
@@ -316,47 +316,47 @@ export interface ListEndpointsResult {
316
316
  */
317
317
  export interface ListOutpostsWithS3Request {
318
318
  /**
319
- * @public
320
319
  * <p>When you can get additional results from the <code>ListOutpostsWithS3</code> call, a
321
320
  * <code>NextToken</code> parameter is returned in the output. You can then pass in a
322
321
  * subsequent command to the <code>NextToken</code> parameter to continue listing
323
322
  * additional Outposts.</p>
323
+ * @public
324
324
  */
325
325
  NextToken?: string;
326
326
  /**
327
- * @public
328
327
  * <p>The maximum number of Outposts to return. The limit is 100.</p>
328
+ * @public
329
329
  */
330
330
  MaxResults?: number;
331
331
  }
332
332
  /**
333
- * @public
334
333
  * <p>Contains the details for the Outpost object.</p>
334
+ * @public
335
335
  */
336
336
  export interface Outpost {
337
337
  /**
338
- * @public
339
338
  * <p>Specifies the unique Amazon Resource Name (ARN) for the outpost.</p>
339
+ * @public
340
340
  */
341
341
  OutpostArn?: string;
342
342
  /**
343
- * @public
344
343
  * <p>Specifies the unique S3 on Outposts ARN for use with Resource Access Manager (RAM).</p>
344
+ * @public
345
345
  */
346
346
  S3OutpostArn?: string;
347
347
  /**
348
- * @public
349
348
  * <p>Specifies the unique identifier for the outpost.</p>
349
+ * @public
350
350
  */
351
351
  OutpostId?: string;
352
352
  /**
353
- * @public
354
353
  * <p>Returns the Amazon Web Services account ID of the outpost owner. Useful for comparing owned versus shared outposts.</p>
354
+ * @public
355
355
  */
356
356
  OwnerId?: string;
357
357
  /**
358
- * @public
359
358
  * <p>The Amazon S3 capacity of the outpost in bytes.</p>
359
+ * @public
360
360
  */
361
361
  CapacityInBytes?: number;
362
362
  }
@@ -365,7 +365,6 @@ export interface Outpost {
365
365
  */
366
366
  export interface ListOutpostsWithS3Result {
367
367
  /**
368
- * @public
369
368
  * <p>Returns the list of Outposts that have the following characteristics:</p>
370
369
  * <ul>
371
370
  * <li>
@@ -378,11 +377,12 @@ export interface ListOutpostsWithS3Result {
378
377
  * <p>outposts to which the the calling Amazon Web Services account has access</p>
379
378
  * </li>
380
379
  * </ul>
380
+ * @public
381
381
  */
382
382
  Outposts?: Outpost[];
383
383
  /**
384
- * @public
385
384
  * <p>Returns a token that you can use to call <code>ListOutpostsWithS3</code> again and receive additional results, if there are any.</p>
385
+ * @public
386
386
  */
387
387
  NextToken?: string;
388
388
  }
@@ -391,19 +391,19 @@ export interface ListOutpostsWithS3Result {
391
391
  */
392
392
  export interface ListSharedEndpointsRequest {
393
393
  /**
394
- * @public
395
394
  * <p>If a previous response from this operation included a <code>NextToken</code> value, you
396
395
  * can provide that value here to retrieve the next page of results.</p>
396
+ * @public
397
397
  */
398
398
  NextToken?: string;
399
399
  /**
400
- * @public
401
400
  * <p>The maximum number of endpoints that will be returned in the response.</p>
401
+ * @public
402
402
  */
403
403
  MaxResults?: number;
404
404
  /**
405
- * @public
406
405
  * <p>The ID of the Amazon Web Services Outpost.</p>
406
+ * @public
407
407
  */
408
408
  OutpostId: string | undefined;
409
409
  }
@@ -412,14 +412,14 @@ export interface ListSharedEndpointsRequest {
412
412
  */
413
413
  export interface ListSharedEndpointsResult {
414
414
  /**
415
- * @public
416
415
  * <p>The list of endpoints associated with the specified Outpost that have been shared by Amazon Web Services Resource Access Manager (RAM).</p>
416
+ * @public
417
417
  */
418
418
  Endpoints?: Endpoint[];
419
419
  /**
420
- * @public
421
420
  * <p>If the number of endpoints associated with the specified Outpost exceeds <code>MaxResults</code>,
422
421
  * you can include this value in subsequent calls to this operation to retrieve more results.</p>
422
+ * @public
423
423
  */
424
424
  NextToken?: string;
425
425
  }
@@ -47,6 +47,7 @@ export interface S3Outposts {
47
47
  options: __HttpHandlerOptions,
48
48
  cb: (err: any, data?: DeleteEndpointCommandOutput) => void
49
49
  ): void;
50
+ listEndpoints(): Promise<ListEndpointsCommandOutput>;
50
51
  listEndpoints(
51
52
  args: ListEndpointsCommandInput,
52
53
  options?: __HttpHandlerOptions
@@ -60,6 +61,7 @@ export interface S3Outposts {
60
61
  options: __HttpHandlerOptions,
61
62
  cb: (err: any, data?: ListEndpointsCommandOutput) => void
62
63
  ): void;
64
+ listOutpostsWithS3(): Promise<ListOutpostsWithS3CommandOutput>;
63
65
  listOutpostsWithS3(
64
66
  args: ListOutpostsWithS3CommandInput,
65
67
  options?: __HttpHandlerOptions
@@ -24,6 +24,15 @@ declare const CreateEndpointCommand_base: {
24
24
  ServiceInputTypes,
25
25
  ServiceOutputTypes
26
26
  >;
27
+ new (
28
+ __0_0: CreateEndpointCommandInput
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ CreateEndpointCommandInput,
31
+ CreateEndpointCommandOutput,
32
+ S3OutpostsClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
27
36
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
37
  };
29
38
  export declare class CreateEndpointCommand extends CreateEndpointCommand_base {}
@@ -19,6 +19,15 @@ declare const DeleteEndpointCommand_base: {
19
19
  ServiceInputTypes,
20
20
  ServiceOutputTypes
21
21
  >;
22
+ new (
23
+ __0_0: DeleteEndpointCommandInput
24
+ ): import("@smithy/smithy-client").CommandImpl<
25
+ DeleteEndpointCommandInput,
26
+ DeleteEndpointCommandOutput,
27
+ S3OutpostsClientResolvedConfig,
28
+ ServiceInputTypes,
29
+ ServiceOutputTypes
30
+ >;
22
31
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
23
32
  };
24
33
  export declare class DeleteEndpointCommand extends DeleteEndpointCommand_base {}
@@ -21,6 +21,15 @@ declare const ListEndpointsCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ ...[input]: [] | [ListEndpointsCommandInput]
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ ListEndpointsCommandInput,
28
+ ListEndpointsCommandOutput,
29
+ S3OutpostsClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class ListEndpointsCommand extends ListEndpointsCommand_base {}
@@ -25,6 +25,15 @@ declare const ListOutpostsWithS3Command_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ ...[input]: [] | [ListOutpostsWithS3CommandInput]
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ ListOutpostsWithS3CommandInput,
32
+ ListOutpostsWithS3CommandOutput,
33
+ S3OutpostsClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class ListOutpostsWithS3Command extends ListOutpostsWithS3Command_base {}
@@ -25,6 +25,15 @@ declare const ListSharedEndpointsCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: ListSharedEndpointsCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ ListSharedEndpointsCommandInput,
32
+ ListSharedEndpointsCommandOutput,
33
+ S3OutpostsClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class ListSharedEndpointsCommand extends ListSharedEndpointsCommand_base {}
@@ -6,5 +6,4 @@ export { S3OutpostsExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
8
  export * from "./models";
9
- import "@aws-sdk/util-endpoints";
10
9
  export { S3OutpostsServiceException } from "./models/S3OutpostsServiceException";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3outposts",
3
3
  "description": "AWS SDK for JavaScript S3outposts Client for Node.js, Browser and React Native",
4
- "version": "3.533.0",
4
+ "version": "3.540.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-s3outposts",
@@ -20,47 +20,47 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.533.0",
24
- "@aws-sdk/core": "3.533.0",
25
- "@aws-sdk/credential-provider-node": "3.533.0",
26
- "@aws-sdk/middleware-host-header": "3.533.0",
27
- "@aws-sdk/middleware-logger": "3.533.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.533.0",
29
- "@aws-sdk/middleware-user-agent": "3.533.0",
30
- "@aws-sdk/region-config-resolver": "3.533.0",
31
- "@aws-sdk/types": "3.533.0",
32
- "@aws-sdk/util-endpoints": "3.533.0",
33
- "@aws-sdk/util-user-agent-browser": "3.533.0",
34
- "@aws-sdk/util-user-agent-node": "3.533.0",
35
- "@smithy/config-resolver": "^2.1.5",
36
- "@smithy/core": "^1.3.8",
37
- "@smithy/fetch-http-handler": "^2.4.5",
38
- "@smithy/hash-node": "^2.1.4",
39
- "@smithy/invalid-dependency": "^2.1.4",
40
- "@smithy/middleware-content-length": "^2.1.4",
41
- "@smithy/middleware-endpoint": "^2.4.6",
42
- "@smithy/middleware-retry": "^2.1.7",
43
- "@smithy/middleware-serde": "^2.2.1",
44
- "@smithy/middleware-stack": "^2.1.4",
45
- "@smithy/node-config-provider": "^2.2.5",
46
- "@smithy/node-http-handler": "^2.4.3",
47
- "@smithy/protocol-http": "^3.2.2",
48
- "@smithy/smithy-client": "^2.4.5",
49
- "@smithy/types": "^2.11.0",
50
- "@smithy/url-parser": "^2.1.4",
51
- "@smithy/util-base64": "^2.2.1",
52
- "@smithy/util-body-length-browser": "^2.1.1",
53
- "@smithy/util-body-length-node": "^2.2.2",
54
- "@smithy/util-defaults-mode-browser": "^2.1.7",
55
- "@smithy/util-defaults-mode-node": "^2.2.7",
56
- "@smithy/util-endpoints": "^1.1.5",
57
- "@smithy/util-middleware": "^2.1.4",
58
- "@smithy/util-retry": "^2.1.4",
59
- "@smithy/util-utf8": "^2.2.0",
60
- "tslib": "^2.5.0"
23
+ "@aws-sdk/client-sts": "3.540.0",
24
+ "@aws-sdk/core": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.540.0",
26
+ "@aws-sdk/middleware-host-header": "3.535.0",
27
+ "@aws-sdk/middleware-logger": "3.535.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.540.0",
30
+ "@aws-sdk/region-config-resolver": "3.535.0",
31
+ "@aws-sdk/types": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.540.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.535.0",
34
+ "@aws-sdk/util-user-agent-node": "3.535.0",
35
+ "@smithy/config-resolver": "^2.2.0",
36
+ "@smithy/core": "^1.4.0",
37
+ "@smithy/fetch-http-handler": "^2.5.0",
38
+ "@smithy/hash-node": "^2.2.0",
39
+ "@smithy/invalid-dependency": "^2.2.0",
40
+ "@smithy/middleware-content-length": "^2.2.0",
41
+ "@smithy/middleware-endpoint": "^2.5.0",
42
+ "@smithy/middleware-retry": "^2.2.0",
43
+ "@smithy/middleware-serde": "^2.3.0",
44
+ "@smithy/middleware-stack": "^2.2.0",
45
+ "@smithy/node-config-provider": "^2.3.0",
46
+ "@smithy/node-http-handler": "^2.5.0",
47
+ "@smithy/protocol-http": "^3.3.0",
48
+ "@smithy/smithy-client": "^2.5.0",
49
+ "@smithy/types": "^2.12.0",
50
+ "@smithy/url-parser": "^2.2.0",
51
+ "@smithy/util-base64": "^2.3.0",
52
+ "@smithy/util-body-length-browser": "^2.2.0",
53
+ "@smithy/util-body-length-node": "^2.3.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.2.0",
55
+ "@smithy/util-defaults-mode-node": "^2.3.0",
56
+ "@smithy/util-endpoints": "^1.2.0",
57
+ "@smithy/util-middleware": "^2.2.0",
58
+ "@smithy/util-retry": "^2.2.0",
59
+ "@smithy/util-utf8": "^2.3.0",
60
+ "tslib": "^2.6.2"
61
61
  },
62
62
  "devDependencies": {
63
- "@smithy/service-client-documentation-generator": "^2.1.1",
63
+ "@smithy/service-client-documentation-generator": "^2.2.0",
64
64
  "@tsconfig/node14": "1.0.3",
65
65
  "@types/node": "^14.14.31",
66
66
  "concurrently": "7.0.0",