@aws-sdk/client-mq 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
 
@@ -594,10 +594,10 @@ const _uSS = "userSearchSubtree";
594
594
  const _us = "username";
595
595
  const _w = "warnings";
596
596
  const n0 = "com.amazonaws.mq";
597
- const _s_registry = TypeRegistry.for(_s);
597
+ const _s_registry = new TypeRegistry(_s);
598
598
  var MqServiceException$ = [-3, _s, "MqServiceException", 0, [], []];
599
599
  _s_registry.registerError(MqServiceException$, MqServiceException);
600
- const n0_registry = TypeRegistry.for(n0);
600
+ const n0_registry = new TypeRegistry(n0);
601
601
  var BadRequestException$ = [-3, n0, _BRE,
602
602
  { [_e]: _c, [_hE]: 400 },
603
603
  [_EA, _M, _RSE],
@@ -348,10 +348,10 @@ const n0 = "com.amazonaws.mq";
348
348
  import { TypeRegistry } from "@smithy/core/schema";
349
349
  import { BadRequestException, ConflictException, ForbiddenException, InternalServerErrorException, NotFoundException, UnauthorizedException, } from "../models/errors";
350
350
  import { MqServiceException } from "../models/MqServiceException";
351
- const _s_registry = TypeRegistry.for(_s);
351
+ const _s_registry = new TypeRegistry(_s);
352
352
  export var MqServiceException$ = [-3, _s, "MqServiceException", 0, [], []];
353
353
  _s_registry.registerError(MqServiceException$, MqServiceException);
354
- const n0_registry = TypeRegistry.for(n0);
354
+ const n0_registry = new TypeRegistry(n0);
355
355
  export var BadRequestException$ = [-3, n0, _BRE,
356
356
  { [_e]: _c, [_hE]: 400 },
357
357
  [_EA, _M, _RSE],
@@ -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 CreateBrokerCommandInput, type CreateBrokerCommandOutput } from "./commands/CreateBrokerCommand";
3
3
  import { type CreateConfigurationCommandInput, type CreateConfigurationCommandOutput } from "./commands/CreateConfigurationCommand";
4
4
  import { type CreateTagsCommandInput, type CreateTagsCommandOutput } from "./commands/CreateTagsCommand";
@@ -25,161 +25,167 @@ import { type UpdateBrokerCommandInput, type UpdateBrokerCommandOutput } from ".
25
25
  import { type UpdateConfigurationCommandInput, type UpdateConfigurationCommandOutput } from "./commands/UpdateConfigurationCommand";
26
26
  import { type UpdateUserCommandInput, type UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
27
27
  import { MqClient } from "./MqClient";
28
+ /**
29
+ * @public
30
+ */
31
+ export interface MqRequestOptions extends __HttpHandlerOptions {
32
+ metricsRecorder?: __MetricsRecorder<unknown>;
33
+ }
28
34
  export interface Mq {
29
35
  /**
30
36
  * @see {@link CreateBrokerCommand}
31
37
  */
32
- createBroker(args: CreateBrokerCommandInput, options?: __HttpHandlerOptions): Promise<CreateBrokerCommandOutput>;
38
+ createBroker(args: CreateBrokerCommandInput, options?: MqRequestOptions): Promise<CreateBrokerCommandOutput>;
33
39
  createBroker(args: CreateBrokerCommandInput, cb: (err: any, data?: CreateBrokerCommandOutput) => void): void;
34
- createBroker(args: CreateBrokerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBrokerCommandOutput) => void): void;
40
+ createBroker(args: CreateBrokerCommandInput, options: MqRequestOptions, cb: (err: any, data?: CreateBrokerCommandOutput) => void): void;
35
41
  /**
36
42
  * @see {@link CreateConfigurationCommand}
37
43
  */
38
- createConfiguration(args: CreateConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateConfigurationCommandOutput>;
44
+ createConfiguration(args: CreateConfigurationCommandInput, options?: MqRequestOptions): Promise<CreateConfigurationCommandOutput>;
39
45
  createConfiguration(args: CreateConfigurationCommandInput, cb: (err: any, data?: CreateConfigurationCommandOutput) => void): void;
40
- createConfiguration(args: CreateConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConfigurationCommandOutput) => void): void;
46
+ createConfiguration(args: CreateConfigurationCommandInput, options: MqRequestOptions, cb: (err: any, data?: CreateConfigurationCommandOutput) => void): void;
41
47
  /**
42
48
  * @see {@link CreateTagsCommand}
43
49
  */
44
- createTags(args: CreateTagsCommandInput, options?: __HttpHandlerOptions): Promise<CreateTagsCommandOutput>;
50
+ createTags(args: CreateTagsCommandInput, options?: MqRequestOptions): Promise<CreateTagsCommandOutput>;
45
51
  createTags(args: CreateTagsCommandInput, cb: (err: any, data?: CreateTagsCommandOutput) => void): void;
46
- createTags(args: CreateTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTagsCommandOutput) => void): void;
52
+ createTags(args: CreateTagsCommandInput, options: MqRequestOptions, cb: (err: any, data?: CreateTagsCommandOutput) => void): void;
47
53
  /**
48
54
  * @see {@link CreateUserCommand}
49
55
  */
50
- createUser(args: CreateUserCommandInput, options?: __HttpHandlerOptions): Promise<CreateUserCommandOutput>;
56
+ createUser(args: CreateUserCommandInput, options?: MqRequestOptions): Promise<CreateUserCommandOutput>;
51
57
  createUser(args: CreateUserCommandInput, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
52
- createUser(args: CreateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
58
+ createUser(args: CreateUserCommandInput, options: MqRequestOptions, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
53
59
  /**
54
60
  * @see {@link DeleteBrokerCommand}
55
61
  */
56
- deleteBroker(args: DeleteBrokerCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBrokerCommandOutput>;
62
+ deleteBroker(args: DeleteBrokerCommandInput, options?: MqRequestOptions): Promise<DeleteBrokerCommandOutput>;
57
63
  deleteBroker(args: DeleteBrokerCommandInput, cb: (err: any, data?: DeleteBrokerCommandOutput) => void): void;
58
- deleteBroker(args: DeleteBrokerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBrokerCommandOutput) => void): void;
64
+ deleteBroker(args: DeleteBrokerCommandInput, options: MqRequestOptions, cb: (err: any, data?: DeleteBrokerCommandOutput) => void): void;
59
65
  /**
60
66
  * @see {@link DeleteConfigurationCommand}
61
67
  */
62
- deleteConfiguration(args: DeleteConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConfigurationCommandOutput>;
68
+ deleteConfiguration(args: DeleteConfigurationCommandInput, options?: MqRequestOptions): Promise<DeleteConfigurationCommandOutput>;
63
69
  deleteConfiguration(args: DeleteConfigurationCommandInput, cb: (err: any, data?: DeleteConfigurationCommandOutput) => void): void;
64
- deleteConfiguration(args: DeleteConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConfigurationCommandOutput) => void): void;
70
+ deleteConfiguration(args: DeleteConfigurationCommandInput, options: MqRequestOptions, cb: (err: any, data?: DeleteConfigurationCommandOutput) => void): void;
65
71
  /**
66
72
  * @see {@link DeleteTagsCommand}
67
73
  */
68
- deleteTags(args: DeleteTagsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTagsCommandOutput>;
74
+ deleteTags(args: DeleteTagsCommandInput, options?: MqRequestOptions): Promise<DeleteTagsCommandOutput>;
69
75
  deleteTags(args: DeleteTagsCommandInput, cb: (err: any, data?: DeleteTagsCommandOutput) => void): void;
70
- deleteTags(args: DeleteTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTagsCommandOutput) => void): void;
76
+ deleteTags(args: DeleteTagsCommandInput, options: MqRequestOptions, cb: (err: any, data?: DeleteTagsCommandOutput) => void): void;
71
77
  /**
72
78
  * @see {@link DeleteUserCommand}
73
79
  */
74
- deleteUser(args: DeleteUserCommandInput, options?: __HttpHandlerOptions): Promise<DeleteUserCommandOutput>;
80
+ deleteUser(args: DeleteUserCommandInput, options?: MqRequestOptions): Promise<DeleteUserCommandOutput>;
75
81
  deleteUser(args: DeleteUserCommandInput, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
76
- deleteUser(args: DeleteUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
82
+ deleteUser(args: DeleteUserCommandInput, options: MqRequestOptions, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
77
83
  /**
78
84
  * @see {@link DescribeBrokerCommand}
79
85
  */
80
- describeBroker(args: DescribeBrokerCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBrokerCommandOutput>;
86
+ describeBroker(args: DescribeBrokerCommandInput, options?: MqRequestOptions): Promise<DescribeBrokerCommandOutput>;
81
87
  describeBroker(args: DescribeBrokerCommandInput, cb: (err: any, data?: DescribeBrokerCommandOutput) => void): void;
82
- describeBroker(args: DescribeBrokerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBrokerCommandOutput) => void): void;
88
+ describeBroker(args: DescribeBrokerCommandInput, options: MqRequestOptions, cb: (err: any, data?: DescribeBrokerCommandOutput) => void): void;
83
89
  /**
84
90
  * @see {@link DescribeBrokerEngineTypesCommand}
85
91
  */
86
92
  describeBrokerEngineTypes(): Promise<DescribeBrokerEngineTypesCommandOutput>;
87
- describeBrokerEngineTypes(args: DescribeBrokerEngineTypesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBrokerEngineTypesCommandOutput>;
93
+ describeBrokerEngineTypes(args: DescribeBrokerEngineTypesCommandInput, options?: MqRequestOptions): Promise<DescribeBrokerEngineTypesCommandOutput>;
88
94
  describeBrokerEngineTypes(args: DescribeBrokerEngineTypesCommandInput, cb: (err: any, data?: DescribeBrokerEngineTypesCommandOutput) => void): void;
89
- describeBrokerEngineTypes(args: DescribeBrokerEngineTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBrokerEngineTypesCommandOutput) => void): void;
95
+ describeBrokerEngineTypes(args: DescribeBrokerEngineTypesCommandInput, options: MqRequestOptions, cb: (err: any, data?: DescribeBrokerEngineTypesCommandOutput) => void): void;
90
96
  /**
91
97
  * @see {@link DescribeBrokerInstanceOptionsCommand}
92
98
  */
93
99
  describeBrokerInstanceOptions(): Promise<DescribeBrokerInstanceOptionsCommandOutput>;
94
- describeBrokerInstanceOptions(args: DescribeBrokerInstanceOptionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBrokerInstanceOptionsCommandOutput>;
100
+ describeBrokerInstanceOptions(args: DescribeBrokerInstanceOptionsCommandInput, options?: MqRequestOptions): Promise<DescribeBrokerInstanceOptionsCommandOutput>;
95
101
  describeBrokerInstanceOptions(args: DescribeBrokerInstanceOptionsCommandInput, cb: (err: any, data?: DescribeBrokerInstanceOptionsCommandOutput) => void): void;
96
- describeBrokerInstanceOptions(args: DescribeBrokerInstanceOptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBrokerInstanceOptionsCommandOutput) => void): void;
102
+ describeBrokerInstanceOptions(args: DescribeBrokerInstanceOptionsCommandInput, options: MqRequestOptions, cb: (err: any, data?: DescribeBrokerInstanceOptionsCommandOutput) => void): void;
97
103
  /**
98
104
  * @see {@link DescribeConfigurationCommand}
99
105
  */
100
- describeConfiguration(args: DescribeConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeConfigurationCommandOutput>;
106
+ describeConfiguration(args: DescribeConfigurationCommandInput, options?: MqRequestOptions): Promise<DescribeConfigurationCommandOutput>;
101
107
  describeConfiguration(args: DescribeConfigurationCommandInput, cb: (err: any, data?: DescribeConfigurationCommandOutput) => void): void;
102
- describeConfiguration(args: DescribeConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeConfigurationCommandOutput) => void): void;
108
+ describeConfiguration(args: DescribeConfigurationCommandInput, options: MqRequestOptions, cb: (err: any, data?: DescribeConfigurationCommandOutput) => void): void;
103
109
  /**
104
110
  * @see {@link DescribeConfigurationRevisionCommand}
105
111
  */
106
- describeConfigurationRevision(args: DescribeConfigurationRevisionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeConfigurationRevisionCommandOutput>;
112
+ describeConfigurationRevision(args: DescribeConfigurationRevisionCommandInput, options?: MqRequestOptions): Promise<DescribeConfigurationRevisionCommandOutput>;
107
113
  describeConfigurationRevision(args: DescribeConfigurationRevisionCommandInput, cb: (err: any, data?: DescribeConfigurationRevisionCommandOutput) => void): void;
108
- describeConfigurationRevision(args: DescribeConfigurationRevisionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeConfigurationRevisionCommandOutput) => void): void;
114
+ describeConfigurationRevision(args: DescribeConfigurationRevisionCommandInput, options: MqRequestOptions, cb: (err: any, data?: DescribeConfigurationRevisionCommandOutput) => void): void;
109
115
  /**
110
116
  * @see {@link DescribeSharedResourcesCommand}
111
117
  */
112
- describeSharedResources(args: DescribeSharedResourcesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSharedResourcesCommandOutput>;
118
+ describeSharedResources(args: DescribeSharedResourcesCommandInput, options?: MqRequestOptions): Promise<DescribeSharedResourcesCommandOutput>;
113
119
  describeSharedResources(args: DescribeSharedResourcesCommandInput, cb: (err: any, data?: DescribeSharedResourcesCommandOutput) => void): void;
114
- describeSharedResources(args: DescribeSharedResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSharedResourcesCommandOutput) => void): void;
120
+ describeSharedResources(args: DescribeSharedResourcesCommandInput, options: MqRequestOptions, cb: (err: any, data?: DescribeSharedResourcesCommandOutput) => void): void;
115
121
  /**
116
122
  * @see {@link DescribeUserCommand}
117
123
  */
118
- describeUser(args: DescribeUserCommandInput, options?: __HttpHandlerOptions): Promise<DescribeUserCommandOutput>;
124
+ describeUser(args: DescribeUserCommandInput, options?: MqRequestOptions): Promise<DescribeUserCommandOutput>;
119
125
  describeUser(args: DescribeUserCommandInput, cb: (err: any, data?: DescribeUserCommandOutput) => void): void;
120
- describeUser(args: DescribeUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeUserCommandOutput) => void): void;
126
+ describeUser(args: DescribeUserCommandInput, options: MqRequestOptions, cb: (err: any, data?: DescribeUserCommandOutput) => void): void;
121
127
  /**
122
128
  * @see {@link ListBrokersCommand}
123
129
  */
124
130
  listBrokers(): Promise<ListBrokersCommandOutput>;
125
- listBrokers(args: ListBrokersCommandInput, options?: __HttpHandlerOptions): Promise<ListBrokersCommandOutput>;
131
+ listBrokers(args: ListBrokersCommandInput, options?: MqRequestOptions): Promise<ListBrokersCommandOutput>;
126
132
  listBrokers(args: ListBrokersCommandInput, cb: (err: any, data?: ListBrokersCommandOutput) => void): void;
127
- listBrokers(args: ListBrokersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBrokersCommandOutput) => void): void;
133
+ listBrokers(args: ListBrokersCommandInput, options: MqRequestOptions, cb: (err: any, data?: ListBrokersCommandOutput) => void): void;
128
134
  /**
129
135
  * @see {@link ListConfigurationRevisionsCommand}
130
136
  */
131
- listConfigurationRevisions(args: ListConfigurationRevisionsCommandInput, options?: __HttpHandlerOptions): Promise<ListConfigurationRevisionsCommandOutput>;
137
+ listConfigurationRevisions(args: ListConfigurationRevisionsCommandInput, options?: MqRequestOptions): Promise<ListConfigurationRevisionsCommandOutput>;
132
138
  listConfigurationRevisions(args: ListConfigurationRevisionsCommandInput, cb: (err: any, data?: ListConfigurationRevisionsCommandOutput) => void): void;
133
- listConfigurationRevisions(args: ListConfigurationRevisionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConfigurationRevisionsCommandOutput) => void): void;
139
+ listConfigurationRevisions(args: ListConfigurationRevisionsCommandInput, options: MqRequestOptions, cb: (err: any, data?: ListConfigurationRevisionsCommandOutput) => void): void;
134
140
  /**
135
141
  * @see {@link ListConfigurationsCommand}
136
142
  */
137
143
  listConfigurations(): Promise<ListConfigurationsCommandOutput>;
138
- listConfigurations(args: ListConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListConfigurationsCommandOutput>;
144
+ listConfigurations(args: ListConfigurationsCommandInput, options?: MqRequestOptions): Promise<ListConfigurationsCommandOutput>;
139
145
  listConfigurations(args: ListConfigurationsCommandInput, cb: (err: any, data?: ListConfigurationsCommandOutput) => void): void;
140
- listConfigurations(args: ListConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConfigurationsCommandOutput) => void): void;
146
+ listConfigurations(args: ListConfigurationsCommandInput, options: MqRequestOptions, cb: (err: any, data?: ListConfigurationsCommandOutput) => void): void;
141
147
  /**
142
148
  * @see {@link ListTagsCommand}
143
149
  */
144
- listTags(args: ListTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsCommandOutput>;
150
+ listTags(args: ListTagsCommandInput, options?: MqRequestOptions): Promise<ListTagsCommandOutput>;
145
151
  listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
146
- listTags(args: ListTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
152
+ listTags(args: ListTagsCommandInput, options: MqRequestOptions, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
147
153
  /**
148
154
  * @see {@link ListUsersCommand}
149
155
  */
150
- listUsers(args: ListUsersCommandInput, options?: __HttpHandlerOptions): Promise<ListUsersCommandOutput>;
156
+ listUsers(args: ListUsersCommandInput, options?: MqRequestOptions): Promise<ListUsersCommandOutput>;
151
157
  listUsers(args: ListUsersCommandInput, cb: (err: any, data?: ListUsersCommandOutput) => void): void;
152
- listUsers(args: ListUsersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListUsersCommandOutput) => void): void;
158
+ listUsers(args: ListUsersCommandInput, options: MqRequestOptions, cb: (err: any, data?: ListUsersCommandOutput) => void): void;
153
159
  /**
154
160
  * @see {@link PromoteCommand}
155
161
  */
156
- promote(args: PromoteCommandInput, options?: __HttpHandlerOptions): Promise<PromoteCommandOutput>;
162
+ promote(args: PromoteCommandInput, options?: MqRequestOptions): Promise<PromoteCommandOutput>;
157
163
  promote(args: PromoteCommandInput, cb: (err: any, data?: PromoteCommandOutput) => void): void;
158
- promote(args: PromoteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PromoteCommandOutput) => void): void;
164
+ promote(args: PromoteCommandInput, options: MqRequestOptions, cb: (err: any, data?: PromoteCommandOutput) => void): void;
159
165
  /**
160
166
  * @see {@link RebootBrokerCommand}
161
167
  */
162
- rebootBroker(args: RebootBrokerCommandInput, options?: __HttpHandlerOptions): Promise<RebootBrokerCommandOutput>;
168
+ rebootBroker(args: RebootBrokerCommandInput, options?: MqRequestOptions): Promise<RebootBrokerCommandOutput>;
163
169
  rebootBroker(args: RebootBrokerCommandInput, cb: (err: any, data?: RebootBrokerCommandOutput) => void): void;
164
- rebootBroker(args: RebootBrokerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RebootBrokerCommandOutput) => void): void;
170
+ rebootBroker(args: RebootBrokerCommandInput, options: MqRequestOptions, cb: (err: any, data?: RebootBrokerCommandOutput) => void): void;
165
171
  /**
166
172
  * @see {@link UpdateBrokerCommand}
167
173
  */
168
- updateBroker(args: UpdateBrokerCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBrokerCommandOutput>;
174
+ updateBroker(args: UpdateBrokerCommandInput, options?: MqRequestOptions): Promise<UpdateBrokerCommandOutput>;
169
175
  updateBroker(args: UpdateBrokerCommandInput, cb: (err: any, data?: UpdateBrokerCommandOutput) => void): void;
170
- updateBroker(args: UpdateBrokerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBrokerCommandOutput) => void): void;
176
+ updateBroker(args: UpdateBrokerCommandInput, options: MqRequestOptions, cb: (err: any, data?: UpdateBrokerCommandOutput) => void): void;
171
177
  /**
172
178
  * @see {@link UpdateConfigurationCommand}
173
179
  */
174
- updateConfiguration(args: UpdateConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConfigurationCommandOutput>;
180
+ updateConfiguration(args: UpdateConfigurationCommandInput, options?: MqRequestOptions): Promise<UpdateConfigurationCommandOutput>;
175
181
  updateConfiguration(args: UpdateConfigurationCommandInput, cb: (err: any, data?: UpdateConfigurationCommandOutput) => void): void;
176
- updateConfiguration(args: UpdateConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConfigurationCommandOutput) => void): void;
182
+ updateConfiguration(args: UpdateConfigurationCommandInput, options: MqRequestOptions, cb: (err: any, data?: UpdateConfigurationCommandOutput) => void): void;
177
183
  /**
178
184
  * @see {@link UpdateUserCommand}
179
185
  */
180
- updateUser(args: UpdateUserCommandInput, options?: __HttpHandlerOptions): Promise<UpdateUserCommandOutput>;
186
+ updateUser(args: UpdateUserCommandInput, options?: MqRequestOptions): Promise<UpdateUserCommandOutput>;
181
187
  updateUser(args: UpdateUserCommandInput, cb: (err: any, data?: UpdateUserCommandOutput) => void): void;
182
- updateUser(args: UpdateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateUserCommandOutput) => void): void;
188
+ updateUser(args: UpdateUserCommandInput, options: MqRequestOptions, cb: (err: any, data?: UpdateUserCommandOutput) => void): void;
183
189
  /**
184
190
  * @see {@link DescribeSharedResourcesCommand}
185
191
  * @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";
@@ -77,10 +78,13 @@ import {
77
78
  } from "./commands/UpdateConfigurationCommand";
78
79
  import { UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
79
80
  import { MqClient } from "./MqClient";
81
+ export interface MqRequestOptions extends __HttpHandlerOptions {
82
+ metricsRecorder?: __MetricsRecorder<unknown>;
83
+ }
80
84
  export interface Mq {
81
85
  createBroker(
82
86
  args: CreateBrokerCommandInput,
83
- options?: __HttpHandlerOptions,
87
+ options?: MqRequestOptions,
84
88
  ): Promise<CreateBrokerCommandOutput>;
85
89
  createBroker(
86
90
  args: CreateBrokerCommandInput,
@@ -88,12 +92,12 @@ export interface Mq {
88
92
  ): void;
89
93
  createBroker(
90
94
  args: CreateBrokerCommandInput,
91
- options: __HttpHandlerOptions,
95
+ options: MqRequestOptions,
92
96
  cb: (err: any, data?: CreateBrokerCommandOutput) => void,
93
97
  ): void;
94
98
  createConfiguration(
95
99
  args: CreateConfigurationCommandInput,
96
- options?: __HttpHandlerOptions,
100
+ options?: MqRequestOptions,
97
101
  ): Promise<CreateConfigurationCommandOutput>;
98
102
  createConfiguration(
99
103
  args: CreateConfigurationCommandInput,
@@ -101,12 +105,12 @@ export interface Mq {
101
105
  ): void;
102
106
  createConfiguration(
103
107
  args: CreateConfigurationCommandInput,
104
- options: __HttpHandlerOptions,
108
+ options: MqRequestOptions,
105
109
  cb: (err: any, data?: CreateConfigurationCommandOutput) => void,
106
110
  ): void;
107
111
  createTags(
108
112
  args: CreateTagsCommandInput,
109
- options?: __HttpHandlerOptions,
113
+ options?: MqRequestOptions,
110
114
  ): Promise<CreateTagsCommandOutput>;
111
115
  createTags(
112
116
  args: CreateTagsCommandInput,
@@ -114,12 +118,12 @@ export interface Mq {
114
118
  ): void;
115
119
  createTags(
116
120
  args: CreateTagsCommandInput,
117
- options: __HttpHandlerOptions,
121
+ options: MqRequestOptions,
118
122
  cb: (err: any, data?: CreateTagsCommandOutput) => void,
119
123
  ): void;
120
124
  createUser(
121
125
  args: CreateUserCommandInput,
122
- options?: __HttpHandlerOptions,
126
+ options?: MqRequestOptions,
123
127
  ): Promise<CreateUserCommandOutput>;
124
128
  createUser(
125
129
  args: CreateUserCommandInput,
@@ -127,12 +131,12 @@ export interface Mq {
127
131
  ): void;
128
132
  createUser(
129
133
  args: CreateUserCommandInput,
130
- options: __HttpHandlerOptions,
134
+ options: MqRequestOptions,
131
135
  cb: (err: any, data?: CreateUserCommandOutput) => void,
132
136
  ): void;
133
137
  deleteBroker(
134
138
  args: DeleteBrokerCommandInput,
135
- options?: __HttpHandlerOptions,
139
+ options?: MqRequestOptions,
136
140
  ): Promise<DeleteBrokerCommandOutput>;
137
141
  deleteBroker(
138
142
  args: DeleteBrokerCommandInput,
@@ -140,12 +144,12 @@ export interface Mq {
140
144
  ): void;
141
145
  deleteBroker(
142
146
  args: DeleteBrokerCommandInput,
143
- options: __HttpHandlerOptions,
147
+ options: MqRequestOptions,
144
148
  cb: (err: any, data?: DeleteBrokerCommandOutput) => void,
145
149
  ): void;
146
150
  deleteConfiguration(
147
151
  args: DeleteConfigurationCommandInput,
148
- options?: __HttpHandlerOptions,
152
+ options?: MqRequestOptions,
149
153
  ): Promise<DeleteConfigurationCommandOutput>;
150
154
  deleteConfiguration(
151
155
  args: DeleteConfigurationCommandInput,
@@ -153,12 +157,12 @@ export interface Mq {
153
157
  ): void;
154
158
  deleteConfiguration(
155
159
  args: DeleteConfigurationCommandInput,
156
- options: __HttpHandlerOptions,
160
+ options: MqRequestOptions,
157
161
  cb: (err: any, data?: DeleteConfigurationCommandOutput) => void,
158
162
  ): void;
159
163
  deleteTags(
160
164
  args: DeleteTagsCommandInput,
161
- options?: __HttpHandlerOptions,
165
+ options?: MqRequestOptions,
162
166
  ): Promise<DeleteTagsCommandOutput>;
163
167
  deleteTags(
164
168
  args: DeleteTagsCommandInput,
@@ -166,12 +170,12 @@ export interface Mq {
166
170
  ): void;
167
171
  deleteTags(
168
172
  args: DeleteTagsCommandInput,
169
- options: __HttpHandlerOptions,
173
+ options: MqRequestOptions,
170
174
  cb: (err: any, data?: DeleteTagsCommandOutput) => void,
171
175
  ): void;
172
176
  deleteUser(
173
177
  args: DeleteUserCommandInput,
174
- options?: __HttpHandlerOptions,
178
+ options?: MqRequestOptions,
175
179
  ): Promise<DeleteUserCommandOutput>;
176
180
  deleteUser(
177
181
  args: DeleteUserCommandInput,
@@ -179,12 +183,12 @@ export interface Mq {
179
183
  ): void;
180
184
  deleteUser(
181
185
  args: DeleteUserCommandInput,
182
- options: __HttpHandlerOptions,
186
+ options: MqRequestOptions,
183
187
  cb: (err: any, data?: DeleteUserCommandOutput) => void,
184
188
  ): void;
185
189
  describeBroker(
186
190
  args: DescribeBrokerCommandInput,
187
- options?: __HttpHandlerOptions,
191
+ options?: MqRequestOptions,
188
192
  ): Promise<DescribeBrokerCommandOutput>;
189
193
  describeBroker(
190
194
  args: DescribeBrokerCommandInput,
@@ -192,13 +196,13 @@ export interface Mq {
192
196
  ): void;
193
197
  describeBroker(
194
198
  args: DescribeBrokerCommandInput,
195
- options: __HttpHandlerOptions,
199
+ options: MqRequestOptions,
196
200
  cb: (err: any, data?: DescribeBrokerCommandOutput) => void,
197
201
  ): void;
198
202
  describeBrokerEngineTypes(): Promise<DescribeBrokerEngineTypesCommandOutput>;
199
203
  describeBrokerEngineTypes(
200
204
  args: DescribeBrokerEngineTypesCommandInput,
201
- options?: __HttpHandlerOptions,
205
+ options?: MqRequestOptions,
202
206
  ): Promise<DescribeBrokerEngineTypesCommandOutput>;
203
207
  describeBrokerEngineTypes(
204
208
  args: DescribeBrokerEngineTypesCommandInput,
@@ -206,13 +210,13 @@ export interface Mq {
206
210
  ): void;
207
211
  describeBrokerEngineTypes(
208
212
  args: DescribeBrokerEngineTypesCommandInput,
209
- options: __HttpHandlerOptions,
213
+ options: MqRequestOptions,
210
214
  cb: (err: any, data?: DescribeBrokerEngineTypesCommandOutput) => void,
211
215
  ): void;
212
216
  describeBrokerInstanceOptions(): Promise<DescribeBrokerInstanceOptionsCommandOutput>;
213
217
  describeBrokerInstanceOptions(
214
218
  args: DescribeBrokerInstanceOptionsCommandInput,
215
- options?: __HttpHandlerOptions,
219
+ options?: MqRequestOptions,
216
220
  ): Promise<DescribeBrokerInstanceOptionsCommandOutput>;
217
221
  describeBrokerInstanceOptions(
218
222
  args: DescribeBrokerInstanceOptionsCommandInput,
@@ -220,12 +224,12 @@ export interface Mq {
220
224
  ): void;
221
225
  describeBrokerInstanceOptions(
222
226
  args: DescribeBrokerInstanceOptionsCommandInput,
223
- options: __HttpHandlerOptions,
227
+ options: MqRequestOptions,
224
228
  cb: (err: any, data?: DescribeBrokerInstanceOptionsCommandOutput) => void,
225
229
  ): void;
226
230
  describeConfiguration(
227
231
  args: DescribeConfigurationCommandInput,
228
- options?: __HttpHandlerOptions,
232
+ options?: MqRequestOptions,
229
233
  ): Promise<DescribeConfigurationCommandOutput>;
230
234
  describeConfiguration(
231
235
  args: DescribeConfigurationCommandInput,
@@ -233,12 +237,12 @@ export interface Mq {
233
237
  ): void;
234
238
  describeConfiguration(
235
239
  args: DescribeConfigurationCommandInput,
236
- options: __HttpHandlerOptions,
240
+ options: MqRequestOptions,
237
241
  cb: (err: any, data?: DescribeConfigurationCommandOutput) => void,
238
242
  ): void;
239
243
  describeConfigurationRevision(
240
244
  args: DescribeConfigurationRevisionCommandInput,
241
- options?: __HttpHandlerOptions,
245
+ options?: MqRequestOptions,
242
246
  ): Promise<DescribeConfigurationRevisionCommandOutput>;
243
247
  describeConfigurationRevision(
244
248
  args: DescribeConfigurationRevisionCommandInput,
@@ -246,12 +250,12 @@ export interface Mq {
246
250
  ): void;
247
251
  describeConfigurationRevision(
248
252
  args: DescribeConfigurationRevisionCommandInput,
249
- options: __HttpHandlerOptions,
253
+ options: MqRequestOptions,
250
254
  cb: (err: any, data?: DescribeConfigurationRevisionCommandOutput) => void,
251
255
  ): void;
252
256
  describeSharedResources(
253
257
  args: DescribeSharedResourcesCommandInput,
254
- options?: __HttpHandlerOptions,
258
+ options?: MqRequestOptions,
255
259
  ): Promise<DescribeSharedResourcesCommandOutput>;
256
260
  describeSharedResources(
257
261
  args: DescribeSharedResourcesCommandInput,
@@ -259,12 +263,12 @@ export interface Mq {
259
263
  ): void;
260
264
  describeSharedResources(
261
265
  args: DescribeSharedResourcesCommandInput,
262
- options: __HttpHandlerOptions,
266
+ options: MqRequestOptions,
263
267
  cb: (err: any, data?: DescribeSharedResourcesCommandOutput) => void,
264
268
  ): void;
265
269
  describeUser(
266
270
  args: DescribeUserCommandInput,
267
- options?: __HttpHandlerOptions,
271
+ options?: MqRequestOptions,
268
272
  ): Promise<DescribeUserCommandOutput>;
269
273
  describeUser(
270
274
  args: DescribeUserCommandInput,
@@ -272,13 +276,13 @@ export interface Mq {
272
276
  ): void;
273
277
  describeUser(
274
278
  args: DescribeUserCommandInput,
275
- options: __HttpHandlerOptions,
279
+ options: MqRequestOptions,
276
280
  cb: (err: any, data?: DescribeUserCommandOutput) => void,
277
281
  ): void;
278
282
  listBrokers(): Promise<ListBrokersCommandOutput>;
279
283
  listBrokers(
280
284
  args: ListBrokersCommandInput,
281
- options?: __HttpHandlerOptions,
285
+ options?: MqRequestOptions,
282
286
  ): Promise<ListBrokersCommandOutput>;
283
287
  listBrokers(
284
288
  args: ListBrokersCommandInput,
@@ -286,12 +290,12 @@ export interface Mq {
286
290
  ): void;
287
291
  listBrokers(
288
292
  args: ListBrokersCommandInput,
289
- options: __HttpHandlerOptions,
293
+ options: MqRequestOptions,
290
294
  cb: (err: any, data?: ListBrokersCommandOutput) => void,
291
295
  ): void;
292
296
  listConfigurationRevisions(
293
297
  args: ListConfigurationRevisionsCommandInput,
294
- options?: __HttpHandlerOptions,
298
+ options?: MqRequestOptions,
295
299
  ): Promise<ListConfigurationRevisionsCommandOutput>;
296
300
  listConfigurationRevisions(
297
301
  args: ListConfigurationRevisionsCommandInput,
@@ -299,13 +303,13 @@ export interface Mq {
299
303
  ): void;
300
304
  listConfigurationRevisions(
301
305
  args: ListConfigurationRevisionsCommandInput,
302
- options: __HttpHandlerOptions,
306
+ options: MqRequestOptions,
303
307
  cb: (err: any, data?: ListConfigurationRevisionsCommandOutput) => void,
304
308
  ): void;
305
309
  listConfigurations(): Promise<ListConfigurationsCommandOutput>;
306
310
  listConfigurations(
307
311
  args: ListConfigurationsCommandInput,
308
- options?: __HttpHandlerOptions,
312
+ options?: MqRequestOptions,
309
313
  ): Promise<ListConfigurationsCommandOutput>;
310
314
  listConfigurations(
311
315
  args: ListConfigurationsCommandInput,
@@ -313,22 +317,19 @@ export interface Mq {
313
317
  ): void;
314
318
  listConfigurations(
315
319
  args: ListConfigurationsCommandInput,
316
- options: __HttpHandlerOptions,
320
+ options: MqRequestOptions,
317
321
  cb: (err: any, data?: ListConfigurationsCommandOutput) => void,
318
322
  ): void;
319
- listTags(
320
- args: ListTagsCommandInput,
321
- options?: __HttpHandlerOptions,
322
- ): Promise<ListTagsCommandOutput>;
323
+ listTags(args: ListTagsCommandInput, options?: MqRequestOptions): Promise<ListTagsCommandOutput>;
323
324
  listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
324
325
  listTags(
325
326
  args: ListTagsCommandInput,
326
- options: __HttpHandlerOptions,
327
+ options: MqRequestOptions,
327
328
  cb: (err: any, data?: ListTagsCommandOutput) => void,
328
329
  ): void;
329
330
  listUsers(
330
331
  args: ListUsersCommandInput,
331
- options?: __HttpHandlerOptions,
332
+ options?: MqRequestOptions,
332
333
  ): Promise<ListUsersCommandOutput>;
333
334
  listUsers(
334
335
  args: ListUsersCommandInput,
@@ -336,19 +337,19 @@ export interface Mq {
336
337
  ): void;
337
338
  listUsers(
338
339
  args: ListUsersCommandInput,
339
- options: __HttpHandlerOptions,
340
+ options: MqRequestOptions,
340
341
  cb: (err: any, data?: ListUsersCommandOutput) => void,
341
342
  ): void;
342
- promote(args: PromoteCommandInput, options?: __HttpHandlerOptions): Promise<PromoteCommandOutput>;
343
+ promote(args: PromoteCommandInput, options?: MqRequestOptions): Promise<PromoteCommandOutput>;
343
344
  promote(args: PromoteCommandInput, cb: (err: any, data?: PromoteCommandOutput) => void): void;
344
345
  promote(
345
346
  args: PromoteCommandInput,
346
- options: __HttpHandlerOptions,
347
+ options: MqRequestOptions,
347
348
  cb: (err: any, data?: PromoteCommandOutput) => void,
348
349
  ): void;
349
350
  rebootBroker(
350
351
  args: RebootBrokerCommandInput,
351
- options?: __HttpHandlerOptions,
352
+ options?: MqRequestOptions,
352
353
  ): Promise<RebootBrokerCommandOutput>;
353
354
  rebootBroker(
354
355
  args: RebootBrokerCommandInput,
@@ -356,12 +357,12 @@ export interface Mq {
356
357
  ): void;
357
358
  rebootBroker(
358
359
  args: RebootBrokerCommandInput,
359
- options: __HttpHandlerOptions,
360
+ options: MqRequestOptions,
360
361
  cb: (err: any, data?: RebootBrokerCommandOutput) => void,
361
362
  ): void;
362
363
  updateBroker(
363
364
  args: UpdateBrokerCommandInput,
364
- options?: __HttpHandlerOptions,
365
+ options?: MqRequestOptions,
365
366
  ): Promise<UpdateBrokerCommandOutput>;
366
367
  updateBroker(
367
368
  args: UpdateBrokerCommandInput,
@@ -369,12 +370,12 @@ export interface Mq {
369
370
  ): void;
370
371
  updateBroker(
371
372
  args: UpdateBrokerCommandInput,
372
- options: __HttpHandlerOptions,
373
+ options: MqRequestOptions,
373
374
  cb: (err: any, data?: UpdateBrokerCommandOutput) => void,
374
375
  ): void;
375
376
  updateConfiguration(
376
377
  args: UpdateConfigurationCommandInput,
377
- options?: __HttpHandlerOptions,
378
+ options?: MqRequestOptions,
378
379
  ): Promise<UpdateConfigurationCommandOutput>;
379
380
  updateConfiguration(
380
381
  args: UpdateConfigurationCommandInput,
@@ -382,12 +383,12 @@ export interface Mq {
382
383
  ): void;
383
384
  updateConfiguration(
384
385
  args: UpdateConfigurationCommandInput,
385
- options: __HttpHandlerOptions,
386
+ options: MqRequestOptions,
386
387
  cb: (err: any, data?: UpdateConfigurationCommandOutput) => void,
387
388
  ): void;
388
389
  updateUser(
389
390
  args: UpdateUserCommandInput,
390
- options?: __HttpHandlerOptions,
391
+ options?: MqRequestOptions,
391
392
  ): Promise<UpdateUserCommandOutput>;
392
393
  updateUser(
393
394
  args: UpdateUserCommandInput,
@@ -395,7 +396,7 @@ export interface Mq {
395
396
  ): void;
396
397
  updateUser(
397
398
  args: UpdateUserCommandInput,
398
- options: __HttpHandlerOptions,
399
+ options: MqRequestOptions,
399
400
  cb: (err: any, data?: UpdateUserCommandOutput) => void,
400
401
  ): void;
401
402
  paginateDescribeSharedResources(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mq",
3
- "version": "3.1137.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Mq Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-mq",
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": {