@aws-sdk/client-s3outposts 3.1136.0 → 3.1138.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1135.0";
72
+ var version = "3.1137.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -298,10 +298,10 @@ const _oI = "outpostId";
298
298
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.s3outposts";
299
299
  const _se = "server";
300
300
  const n0 = "com.amazonaws.s3outposts";
301
- const _s_registry = TypeRegistry.for(_s);
301
+ const _s_registry = new TypeRegistry(_s);
302
302
  var S3OutpostsServiceException$ = [-3, _s, "S3OutpostsServiceException", 0, [], []];
303
303
  _s_registry.registerError(S3OutpostsServiceException$, S3OutpostsServiceException);
304
- const n0_registry = TypeRegistry.for(n0);
304
+ const n0_registry = new TypeRegistry(n0);
305
305
  var AccessDeniedException$ = [-3, n0, _ADE,
306
306
  { [_e]: _c, [_hE]: 403 },
307
307
  [_M],
@@ -62,10 +62,10 @@ const n0 = "com.amazonaws.s3outposts";
62
62
  import { TypeRegistry } from "@smithy/core/schema";
63
63
  import { AccessDeniedException, ConflictException, InternalServerException, OutpostOfflineException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/errors";
64
64
  import { S3OutpostsServiceException } from "../models/S3OutpostsServiceException";
65
- const _s_registry = TypeRegistry.for(_s);
65
+ const _s_registry = new TypeRegistry(_s);
66
66
  export var S3OutpostsServiceException$ = [-3, _s, "S3OutpostsServiceException", 0, [], []];
67
67
  _s_registry.registerError(S3OutpostsServiceException$, S3OutpostsServiceException);
68
- const n0_registry = TypeRegistry.for(n0);
68
+ const n0_registry = new TypeRegistry(n0);
69
69
  export var AccessDeniedException$ = [-3, n0, _ADE,
70
70
  { [_e]: _c, [_hE]: 403 },
71
71
  [_M],
@@ -1,43 +1,49 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { type CreateEndpointCommandInput, type CreateEndpointCommandOutput } from "./commands/CreateEndpointCommand";
3
3
  import { type DeleteEndpointCommandInput, type DeleteEndpointCommandOutput } from "./commands/DeleteEndpointCommand";
4
4
  import { type ListEndpointsCommandInput, type ListEndpointsCommandOutput } from "./commands/ListEndpointsCommand";
5
5
  import { type ListOutpostsWithS3CommandInput, type ListOutpostsWithS3CommandOutput } from "./commands/ListOutpostsWithS3Command";
6
6
  import { type ListSharedEndpointsCommandInput, type ListSharedEndpointsCommandOutput } from "./commands/ListSharedEndpointsCommand";
7
7
  import { S3OutpostsClient } from "./S3OutpostsClient";
8
+ /**
9
+ * @public
10
+ */
11
+ export interface S3OutpostsRequestOptions extends __HttpHandlerOptions {
12
+ metricsRecorder?: __MetricsRecorder<unknown>;
13
+ }
8
14
  export interface S3Outposts {
9
15
  /**
10
16
  * @see {@link CreateEndpointCommand}
11
17
  */
12
- createEndpoint(args: CreateEndpointCommandInput, options?: __HttpHandlerOptions): Promise<CreateEndpointCommandOutput>;
18
+ createEndpoint(args: CreateEndpointCommandInput, options?: S3OutpostsRequestOptions): Promise<CreateEndpointCommandOutput>;
13
19
  createEndpoint(args: CreateEndpointCommandInput, cb: (err: any, data?: CreateEndpointCommandOutput) => void): void;
14
- createEndpoint(args: CreateEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEndpointCommandOutput) => void): void;
20
+ createEndpoint(args: CreateEndpointCommandInput, options: S3OutpostsRequestOptions, cb: (err: any, data?: CreateEndpointCommandOutput) => void): void;
15
21
  /**
16
22
  * @see {@link DeleteEndpointCommand}
17
23
  */
18
- deleteEndpoint(args: DeleteEndpointCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEndpointCommandOutput>;
24
+ deleteEndpoint(args: DeleteEndpointCommandInput, options?: S3OutpostsRequestOptions): Promise<DeleteEndpointCommandOutput>;
19
25
  deleteEndpoint(args: DeleteEndpointCommandInput, cb: (err: any, data?: DeleteEndpointCommandOutput) => void): void;
20
- deleteEndpoint(args: DeleteEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEndpointCommandOutput) => void): void;
26
+ deleteEndpoint(args: DeleteEndpointCommandInput, options: S3OutpostsRequestOptions, cb: (err: any, data?: DeleteEndpointCommandOutput) => void): void;
21
27
  /**
22
28
  * @see {@link ListEndpointsCommand}
23
29
  */
24
30
  listEndpoints(): Promise<ListEndpointsCommandOutput>;
25
- listEndpoints(args: ListEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<ListEndpointsCommandOutput>;
31
+ listEndpoints(args: ListEndpointsCommandInput, options?: S3OutpostsRequestOptions): Promise<ListEndpointsCommandOutput>;
26
32
  listEndpoints(args: ListEndpointsCommandInput, cb: (err: any, data?: ListEndpointsCommandOutput) => void): void;
27
- listEndpoints(args: ListEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEndpointsCommandOutput) => void): void;
33
+ listEndpoints(args: ListEndpointsCommandInput, options: S3OutpostsRequestOptions, cb: (err: any, data?: ListEndpointsCommandOutput) => void): void;
28
34
  /**
29
35
  * @see {@link ListOutpostsWithS3Command}
30
36
  */
31
37
  listOutpostsWithS3(): Promise<ListOutpostsWithS3CommandOutput>;
32
- listOutpostsWithS3(args: ListOutpostsWithS3CommandInput, options?: __HttpHandlerOptions): Promise<ListOutpostsWithS3CommandOutput>;
38
+ listOutpostsWithS3(args: ListOutpostsWithS3CommandInput, options?: S3OutpostsRequestOptions): Promise<ListOutpostsWithS3CommandOutput>;
33
39
  listOutpostsWithS3(args: ListOutpostsWithS3CommandInput, cb: (err: any, data?: ListOutpostsWithS3CommandOutput) => void): void;
34
- listOutpostsWithS3(args: ListOutpostsWithS3CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOutpostsWithS3CommandOutput) => void): void;
40
+ listOutpostsWithS3(args: ListOutpostsWithS3CommandInput, options: S3OutpostsRequestOptions, cb: (err: any, data?: ListOutpostsWithS3CommandOutput) => void): void;
35
41
  /**
36
42
  * @see {@link ListSharedEndpointsCommand}
37
43
  */
38
- listSharedEndpoints(args: ListSharedEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<ListSharedEndpointsCommandOutput>;
44
+ listSharedEndpoints(args: ListSharedEndpointsCommandInput, options?: S3OutpostsRequestOptions): Promise<ListSharedEndpointsCommandOutput>;
39
45
  listSharedEndpoints(args: ListSharedEndpointsCommandInput, cb: (err: any, data?: ListSharedEndpointsCommandOutput) => void): void;
40
- listSharedEndpoints(args: ListSharedEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSharedEndpointsCommandOutput) => void): void;
46
+ listSharedEndpoints(args: ListSharedEndpointsCommandInput, options: S3OutpostsRequestOptions, cb: (err: any, data?: ListSharedEndpointsCommandOutput) => void): void;
41
47
  /**
42
48
  * @see {@link ListEndpointsCommand}
43
49
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -24,10 +25,13 @@ import {
24
25
  ListSharedEndpointsCommandOutput,
25
26
  } from "./commands/ListSharedEndpointsCommand";
26
27
  import { S3OutpostsClient } from "./S3OutpostsClient";
28
+ export interface S3OutpostsRequestOptions extends __HttpHandlerOptions {
29
+ metricsRecorder?: __MetricsRecorder<unknown>;
30
+ }
27
31
  export interface S3Outposts {
28
32
  createEndpoint(
29
33
  args: CreateEndpointCommandInput,
30
- options?: __HttpHandlerOptions,
34
+ options?: S3OutpostsRequestOptions,
31
35
  ): Promise<CreateEndpointCommandOutput>;
32
36
  createEndpoint(
33
37
  args: CreateEndpointCommandInput,
@@ -35,12 +39,12 @@ export interface S3Outposts {
35
39
  ): void;
36
40
  createEndpoint(
37
41
  args: CreateEndpointCommandInput,
38
- options: __HttpHandlerOptions,
42
+ options: S3OutpostsRequestOptions,
39
43
  cb: (err: any, data?: CreateEndpointCommandOutput) => void,
40
44
  ): void;
41
45
  deleteEndpoint(
42
46
  args: DeleteEndpointCommandInput,
43
- options?: __HttpHandlerOptions,
47
+ options?: S3OutpostsRequestOptions,
44
48
  ): Promise<DeleteEndpointCommandOutput>;
45
49
  deleteEndpoint(
46
50
  args: DeleteEndpointCommandInput,
@@ -48,13 +52,13 @@ export interface S3Outposts {
48
52
  ): void;
49
53
  deleteEndpoint(
50
54
  args: DeleteEndpointCommandInput,
51
- options: __HttpHandlerOptions,
55
+ options: S3OutpostsRequestOptions,
52
56
  cb: (err: any, data?: DeleteEndpointCommandOutput) => void,
53
57
  ): void;
54
58
  listEndpoints(): Promise<ListEndpointsCommandOutput>;
55
59
  listEndpoints(
56
60
  args: ListEndpointsCommandInput,
57
- options?: __HttpHandlerOptions,
61
+ options?: S3OutpostsRequestOptions,
58
62
  ): Promise<ListEndpointsCommandOutput>;
59
63
  listEndpoints(
60
64
  args: ListEndpointsCommandInput,
@@ -62,13 +66,13 @@ export interface S3Outposts {
62
66
  ): void;
63
67
  listEndpoints(
64
68
  args: ListEndpointsCommandInput,
65
- options: __HttpHandlerOptions,
69
+ options: S3OutpostsRequestOptions,
66
70
  cb: (err: any, data?: ListEndpointsCommandOutput) => void,
67
71
  ): void;
68
72
  listOutpostsWithS3(): Promise<ListOutpostsWithS3CommandOutput>;
69
73
  listOutpostsWithS3(
70
74
  args: ListOutpostsWithS3CommandInput,
71
- options?: __HttpHandlerOptions,
75
+ options?: S3OutpostsRequestOptions,
72
76
  ): Promise<ListOutpostsWithS3CommandOutput>;
73
77
  listOutpostsWithS3(
74
78
  args: ListOutpostsWithS3CommandInput,
@@ -76,12 +80,12 @@ export interface S3Outposts {
76
80
  ): void;
77
81
  listOutpostsWithS3(
78
82
  args: ListOutpostsWithS3CommandInput,
79
- options: __HttpHandlerOptions,
83
+ options: S3OutpostsRequestOptions,
80
84
  cb: (err: any, data?: ListOutpostsWithS3CommandOutput) => void,
81
85
  ): void;
82
86
  listSharedEndpoints(
83
87
  args: ListSharedEndpointsCommandInput,
84
- options?: __HttpHandlerOptions,
88
+ options?: S3OutpostsRequestOptions,
85
89
  ): Promise<ListSharedEndpointsCommandOutput>;
86
90
  listSharedEndpoints(
87
91
  args: ListSharedEndpointsCommandInput,
@@ -89,7 +93,7 @@ export interface S3Outposts {
89
93
  ): void;
90
94
  listSharedEndpoints(
91
95
  args: ListSharedEndpointsCommandInput,
92
- options: __HttpHandlerOptions,
96
+ options: S3OutpostsRequestOptions,
93
97
  cb: (err: any, data?: ListSharedEndpointsCommandOutput) => void,
94
98
  ): void;
95
99
  paginateListEndpoints(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3outposts",
3
- "version": "3.1136.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript S3outposts Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3outposts",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {