@aws-sdk/client-rbin 3.1137.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.1136.0";
72
+ var version = "3.1137.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -294,10 +294,10 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.rbin";
294
294
  const _se = "server";
295
295
  const _tK = "tagKeys";
296
296
  const n0 = "com.amazonaws.rbin";
297
- const _s_registry = TypeRegistry.for(_s);
297
+ const _s_registry = new TypeRegistry(_s);
298
298
  var RbinServiceException$ = [-3, _s, "RbinServiceException", 0, [], []];
299
299
  _s_registry.registerError(RbinServiceException$, RbinServiceException);
300
- const n0_registry = TypeRegistry.for(n0);
300
+ const n0_registry = new TypeRegistry(n0);
301
301
  var ConflictException$ = [-3, n0, _CE,
302
302
  { [_e]: _c, [_hE]: 409 },
303
303
  [_M, _R],
@@ -78,10 +78,10 @@ const n0 = "com.amazonaws.rbin";
78
78
  import { TypeRegistry } from "@smithy/core/schema";
79
79
  import { ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, } from "../models/errors";
80
80
  import { RbinServiceException } from "../models/RbinServiceException";
81
- const _s_registry = TypeRegistry.for(_s);
81
+ const _s_registry = new TypeRegistry(_s);
82
82
  export var RbinServiceException$ = [-3, _s, "RbinServiceException", 0, [], []];
83
83
  _s_registry.registerError(RbinServiceException$, RbinServiceException);
84
- const n0_registry = TypeRegistry.for(n0);
84
+ const n0_registry = new TypeRegistry(n0);
85
85
  export var ConflictException$ = [-3, n0, _CE,
86
86
  { [_e]: _c, [_hE]: 409 },
87
87
  [_M, _R],
@@ -1,4 +1,4 @@
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 CreateRuleCommandInput, type CreateRuleCommandOutput } from "./commands/CreateRuleCommand";
3
3
  import { type DeleteRuleCommandInput, type DeleteRuleCommandOutput } from "./commands/DeleteRuleCommand";
4
4
  import { type GetRuleCommandInput, type GetRuleCommandOutput } from "./commands/GetRuleCommand";
@@ -10,67 +10,73 @@ import { type UnlockRuleCommandInput, type UnlockRuleCommandOutput } from "./com
10
10
  import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
11
11
  import { type UpdateRuleCommandInput, type UpdateRuleCommandOutput } from "./commands/UpdateRuleCommand";
12
12
  import { RbinClient } from "./RbinClient";
13
+ /**
14
+ * @public
15
+ */
16
+ export interface RbinRequestOptions extends __HttpHandlerOptions {
17
+ metricsRecorder?: __MetricsRecorder<unknown>;
18
+ }
13
19
  export interface Rbin {
14
20
  /**
15
21
  * @see {@link CreateRuleCommand}
16
22
  */
17
- createRule(args: CreateRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateRuleCommandOutput>;
23
+ createRule(args: CreateRuleCommandInput, options?: RbinRequestOptions): Promise<CreateRuleCommandOutput>;
18
24
  createRule(args: CreateRuleCommandInput, cb: (err: any, data?: CreateRuleCommandOutput) => void): void;
19
- createRule(args: CreateRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRuleCommandOutput) => void): void;
25
+ createRule(args: CreateRuleCommandInput, options: RbinRequestOptions, cb: (err: any, data?: CreateRuleCommandOutput) => void): void;
20
26
  /**
21
27
  * @see {@link DeleteRuleCommand}
22
28
  */
23
- deleteRule(args: DeleteRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRuleCommandOutput>;
29
+ deleteRule(args: DeleteRuleCommandInput, options?: RbinRequestOptions): Promise<DeleteRuleCommandOutput>;
24
30
  deleteRule(args: DeleteRuleCommandInput, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
25
- deleteRule(args: DeleteRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
31
+ deleteRule(args: DeleteRuleCommandInput, options: RbinRequestOptions, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
26
32
  /**
27
33
  * @see {@link GetRuleCommand}
28
34
  */
29
- getRule(args: GetRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetRuleCommandOutput>;
35
+ getRule(args: GetRuleCommandInput, options?: RbinRequestOptions): Promise<GetRuleCommandOutput>;
30
36
  getRule(args: GetRuleCommandInput, cb: (err: any, data?: GetRuleCommandOutput) => void): void;
31
- getRule(args: GetRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRuleCommandOutput) => void): void;
37
+ getRule(args: GetRuleCommandInput, options: RbinRequestOptions, cb: (err: any, data?: GetRuleCommandOutput) => void): void;
32
38
  /**
33
39
  * @see {@link ListRulesCommand}
34
40
  */
35
- listRules(args: ListRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListRulesCommandOutput>;
41
+ listRules(args: ListRulesCommandInput, options?: RbinRequestOptions): Promise<ListRulesCommandOutput>;
36
42
  listRules(args: ListRulesCommandInput, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
37
- listRules(args: ListRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
43
+ listRules(args: ListRulesCommandInput, options: RbinRequestOptions, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
38
44
  /**
39
45
  * @see {@link ListTagsForResourceCommand}
40
46
  */
41
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
47
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: RbinRequestOptions): Promise<ListTagsForResourceCommandOutput>;
42
48
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
43
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
49
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: RbinRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
44
50
  /**
45
51
  * @see {@link LockRuleCommand}
46
52
  */
47
- lockRule(args: LockRuleCommandInput, options?: __HttpHandlerOptions): Promise<LockRuleCommandOutput>;
53
+ lockRule(args: LockRuleCommandInput, options?: RbinRequestOptions): Promise<LockRuleCommandOutput>;
48
54
  lockRule(args: LockRuleCommandInput, cb: (err: any, data?: LockRuleCommandOutput) => void): void;
49
- lockRule(args: LockRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: LockRuleCommandOutput) => void): void;
55
+ lockRule(args: LockRuleCommandInput, options: RbinRequestOptions, cb: (err: any, data?: LockRuleCommandOutput) => void): void;
50
56
  /**
51
57
  * @see {@link TagResourceCommand}
52
58
  */
53
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
59
+ tagResource(args: TagResourceCommandInput, options?: RbinRequestOptions): Promise<TagResourceCommandOutput>;
54
60
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
55
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
61
+ tagResource(args: TagResourceCommandInput, options: RbinRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
56
62
  /**
57
63
  * @see {@link UnlockRuleCommand}
58
64
  */
59
- unlockRule(args: UnlockRuleCommandInput, options?: __HttpHandlerOptions): Promise<UnlockRuleCommandOutput>;
65
+ unlockRule(args: UnlockRuleCommandInput, options?: RbinRequestOptions): Promise<UnlockRuleCommandOutput>;
60
66
  unlockRule(args: UnlockRuleCommandInput, cb: (err: any, data?: UnlockRuleCommandOutput) => void): void;
61
- unlockRule(args: UnlockRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnlockRuleCommandOutput) => void): void;
67
+ unlockRule(args: UnlockRuleCommandInput, options: RbinRequestOptions, cb: (err: any, data?: UnlockRuleCommandOutput) => void): void;
62
68
  /**
63
69
  * @see {@link UntagResourceCommand}
64
70
  */
65
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
71
+ untagResource(args: UntagResourceCommandInput, options?: RbinRequestOptions): Promise<UntagResourceCommandOutput>;
66
72
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
67
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
73
+ untagResource(args: UntagResourceCommandInput, options: RbinRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
68
74
  /**
69
75
  * @see {@link UpdateRuleCommand}
70
76
  */
71
- updateRule(args: UpdateRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRuleCommandOutput>;
77
+ updateRule(args: UpdateRuleCommandInput, options?: RbinRequestOptions): Promise<UpdateRuleCommandOutput>;
72
78
  updateRule(args: UpdateRuleCommandInput, cb: (err: any, data?: UpdateRuleCommandOutput) => void): void;
73
- updateRule(args: UpdateRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRuleCommandOutput) => void): void;
79
+ updateRule(args: UpdateRuleCommandInput, options: RbinRequestOptions, cb: (err: any, data?: UpdateRuleCommandOutput) => void): void;
74
80
  /**
75
81
  * @see {@link ListRulesCommand}
76
82
  * @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";
@@ -20,10 +21,13 @@ import {
20
21
  } from "./commands/UntagResourceCommand";
21
22
  import { UpdateRuleCommandInput, UpdateRuleCommandOutput } from "./commands/UpdateRuleCommand";
22
23
  import { RbinClient } from "./RbinClient";
24
+ export interface RbinRequestOptions extends __HttpHandlerOptions {
25
+ metricsRecorder?: __MetricsRecorder<unknown>;
26
+ }
23
27
  export interface Rbin {
24
28
  createRule(
25
29
  args: CreateRuleCommandInput,
26
- options?: __HttpHandlerOptions,
30
+ options?: RbinRequestOptions,
27
31
  ): Promise<CreateRuleCommandOutput>;
28
32
  createRule(
29
33
  args: CreateRuleCommandInput,
@@ -31,12 +35,12 @@ export interface Rbin {
31
35
  ): void;
32
36
  createRule(
33
37
  args: CreateRuleCommandInput,
34
- options: __HttpHandlerOptions,
38
+ options: RbinRequestOptions,
35
39
  cb: (err: any, data?: CreateRuleCommandOutput) => void,
36
40
  ): void;
37
41
  deleteRule(
38
42
  args: DeleteRuleCommandInput,
39
- options?: __HttpHandlerOptions,
43
+ options?: RbinRequestOptions,
40
44
  ): Promise<DeleteRuleCommandOutput>;
41
45
  deleteRule(
42
46
  args: DeleteRuleCommandInput,
@@ -44,19 +48,19 @@ export interface Rbin {
44
48
  ): void;
45
49
  deleteRule(
46
50
  args: DeleteRuleCommandInput,
47
- options: __HttpHandlerOptions,
51
+ options: RbinRequestOptions,
48
52
  cb: (err: any, data?: DeleteRuleCommandOutput) => void,
49
53
  ): void;
50
- getRule(args: GetRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetRuleCommandOutput>;
54
+ getRule(args: GetRuleCommandInput, options?: RbinRequestOptions): Promise<GetRuleCommandOutput>;
51
55
  getRule(args: GetRuleCommandInput, cb: (err: any, data?: GetRuleCommandOutput) => void): void;
52
56
  getRule(
53
57
  args: GetRuleCommandInput,
54
- options: __HttpHandlerOptions,
58
+ options: RbinRequestOptions,
55
59
  cb: (err: any, data?: GetRuleCommandOutput) => void,
56
60
  ): void;
57
61
  listRules(
58
62
  args: ListRulesCommandInput,
59
- options?: __HttpHandlerOptions,
63
+ options?: RbinRequestOptions,
60
64
  ): Promise<ListRulesCommandOutput>;
61
65
  listRules(
62
66
  args: ListRulesCommandInput,
@@ -64,12 +68,12 @@ export interface Rbin {
64
68
  ): void;
65
69
  listRules(
66
70
  args: ListRulesCommandInput,
67
- options: __HttpHandlerOptions,
71
+ options: RbinRequestOptions,
68
72
  cb: (err: any, data?: ListRulesCommandOutput) => void,
69
73
  ): void;
70
74
  listTagsForResource(
71
75
  args: ListTagsForResourceCommandInput,
72
- options?: __HttpHandlerOptions,
76
+ options?: RbinRequestOptions,
73
77
  ): Promise<ListTagsForResourceCommandOutput>;
74
78
  listTagsForResource(
75
79
  args: ListTagsForResourceCommandInput,
@@ -77,22 +81,22 @@ export interface Rbin {
77
81
  ): void;
78
82
  listTagsForResource(
79
83
  args: ListTagsForResourceCommandInput,
80
- options: __HttpHandlerOptions,
84
+ options: RbinRequestOptions,
81
85
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
82
86
  ): void;
83
87
  lockRule(
84
88
  args: LockRuleCommandInput,
85
- options?: __HttpHandlerOptions,
89
+ options?: RbinRequestOptions,
86
90
  ): Promise<LockRuleCommandOutput>;
87
91
  lockRule(args: LockRuleCommandInput, cb: (err: any, data?: LockRuleCommandOutput) => void): void;
88
92
  lockRule(
89
93
  args: LockRuleCommandInput,
90
- options: __HttpHandlerOptions,
94
+ options: RbinRequestOptions,
91
95
  cb: (err: any, data?: LockRuleCommandOutput) => void,
92
96
  ): void;
93
97
  tagResource(
94
98
  args: TagResourceCommandInput,
95
- options?: __HttpHandlerOptions,
99
+ options?: RbinRequestOptions,
96
100
  ): Promise<TagResourceCommandOutput>;
97
101
  tagResource(
98
102
  args: TagResourceCommandInput,
@@ -100,12 +104,12 @@ export interface Rbin {
100
104
  ): void;
101
105
  tagResource(
102
106
  args: TagResourceCommandInput,
103
- options: __HttpHandlerOptions,
107
+ options: RbinRequestOptions,
104
108
  cb: (err: any, data?: TagResourceCommandOutput) => void,
105
109
  ): void;
106
110
  unlockRule(
107
111
  args: UnlockRuleCommandInput,
108
- options?: __HttpHandlerOptions,
112
+ options?: RbinRequestOptions,
109
113
  ): Promise<UnlockRuleCommandOutput>;
110
114
  unlockRule(
111
115
  args: UnlockRuleCommandInput,
@@ -113,12 +117,12 @@ export interface Rbin {
113
117
  ): void;
114
118
  unlockRule(
115
119
  args: UnlockRuleCommandInput,
116
- options: __HttpHandlerOptions,
120
+ options: RbinRequestOptions,
117
121
  cb: (err: any, data?: UnlockRuleCommandOutput) => void,
118
122
  ): void;
119
123
  untagResource(
120
124
  args: UntagResourceCommandInput,
121
- options?: __HttpHandlerOptions,
125
+ options?: RbinRequestOptions,
122
126
  ): Promise<UntagResourceCommandOutput>;
123
127
  untagResource(
124
128
  args: UntagResourceCommandInput,
@@ -126,12 +130,12 @@ export interface Rbin {
126
130
  ): void;
127
131
  untagResource(
128
132
  args: UntagResourceCommandInput,
129
- options: __HttpHandlerOptions,
133
+ options: RbinRequestOptions,
130
134
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
131
135
  ): void;
132
136
  updateRule(
133
137
  args: UpdateRuleCommandInput,
134
- options?: __HttpHandlerOptions,
138
+ options?: RbinRequestOptions,
135
139
  ): Promise<UpdateRuleCommandOutput>;
136
140
  updateRule(
137
141
  args: UpdateRuleCommandInput,
@@ -139,7 +143,7 @@ export interface Rbin {
139
143
  ): void;
140
144
  updateRule(
141
145
  args: UpdateRuleCommandInput,
142
- options: __HttpHandlerOptions,
146
+ options: RbinRequestOptions,
143
147
  cb: (err: any, data?: UpdateRuleCommandOutput) => void,
144
148
  ): void;
145
149
  paginateListRules(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rbin",
3
- "version": "3.1137.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Rbin Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-rbin",
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": {