@aws-sdk/client-mq 3.782.0 → 3.794.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/README.md CHANGED
@@ -242,6 +242,14 @@ DeleteBroker
242
242
 
243
243
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mq/command/DeleteBrokerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mq/Interface/DeleteBrokerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mq/Interface/DeleteBrokerCommandOutput/)
244
244
 
245
+ </details>
246
+ <details>
247
+ <summary>
248
+ DeleteConfiguration
249
+ </summary>
250
+
251
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/mq/command/DeleteConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mq/Interface/DeleteConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-mq/Interface/DeleteConfigurationCommandOutput/)
252
+
245
253
  </details>
246
254
  <details>
247
255
  <summary>
package/dist-cjs/index.js CHANGED
@@ -34,6 +34,7 @@ __export(index_exports, {
34
34
  DataReplicationMode: () => DataReplicationMode,
35
35
  DayOfWeek: () => DayOfWeek,
36
36
  DeleteBrokerCommand: () => DeleteBrokerCommand,
37
+ DeleteConfigurationCommand: () => DeleteConfigurationCommand,
37
38
  DeleteTagsCommand: () => DeleteTagsCommand,
38
39
  DeleteUserCommand: () => DeleteUserCommand,
39
40
  DeploymentMode: () => DeploymentMode,
@@ -573,6 +574,15 @@ var se_DeleteBrokerCommand = /* @__PURE__ */ __name(async (input, context) => {
573
574
  b.m("DELETE").h(headers).b(body);
574
575
  return b.build();
575
576
  }, "se_DeleteBrokerCommand");
577
+ var se_DeleteConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
578
+ const b = (0, import_core.requestBuilder)(input, context);
579
+ const headers = {};
580
+ b.bp("/v1/configurations/{ConfigurationId}");
581
+ b.p("ConfigurationId", () => input.ConfigurationId, "{ConfigurationId}", false);
582
+ let body;
583
+ b.m("DELETE").h(headers).b(body);
584
+ return b.build();
585
+ }, "se_DeleteConfigurationCommand");
576
586
  var se_DeleteTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
577
587
  const b = (0, import_core.requestBuilder)(input, context);
578
588
  const headers = {};
@@ -875,6 +885,20 @@ var de_DeleteBrokerCommand = /* @__PURE__ */ __name(async (output, context) => {
875
885
  Object.assign(contents, doc);
876
886
  return contents;
877
887
  }, "de_DeleteBrokerCommand");
888
+ var de_DeleteConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
889
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
890
+ return de_CommandError(output, context);
891
+ }
892
+ const contents = (0, import_smithy_client.map)({
893
+ $metadata: deserializeMetadata(output)
894
+ });
895
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
896
+ const doc = (0, import_smithy_client.take)(data, {
897
+ ConfigurationId: [, import_smithy_client.expectString, `configurationId`]
898
+ });
899
+ Object.assign(contents, doc);
900
+ return contents;
901
+ }, "de_DeleteConfigurationCommand");
878
902
  var de_DeleteTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
879
903
  if (output.statusCode !== 204 && output.statusCode >= 300) {
880
904
  return de_CommandError(output, context);
@@ -1700,6 +1724,21 @@ var DeleteBrokerCommand = class extends import_smithy_client.Command.classBuilde
1700
1724
  }
1701
1725
  };
1702
1726
 
1727
+ // src/commands/DeleteConfigurationCommand.ts
1728
+
1729
+
1730
+
1731
+ var DeleteConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1732
+ return [
1733
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1734
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1735
+ ];
1736
+ }).s("mq", "DeleteConfiguration", {}).n("MqClient", "DeleteConfigurationCommand").f(void 0, void 0).ser(se_DeleteConfigurationCommand).de(de_DeleteConfigurationCommand).build() {
1737
+ static {
1738
+ __name(this, "DeleteConfigurationCommand");
1739
+ }
1740
+ };
1741
+
1703
1742
  // src/commands/DeleteTagsCommand.ts
1704
1743
 
1705
1744
 
@@ -1977,6 +2016,7 @@ var commands = {
1977
2016
  CreateTagsCommand,
1978
2017
  CreateUserCommand,
1979
2018
  DeleteBrokerCommand,
2019
+ DeleteConfigurationCommand,
1980
2020
  DeleteTagsCommand,
1981
2021
  DeleteUserCommand,
1982
2022
  DescribeBrokerCommand,
@@ -2019,6 +2059,7 @@ var paginateListBrokers = (0, import_core.createPaginator)(MqClient, ListBrokers
2019
2059
  CreateTagsCommand,
2020
2060
  CreateUserCommand,
2021
2061
  DeleteBrokerCommand,
2062
+ DeleteConfigurationCommand,
2022
2063
  DeleteTagsCommand,
2023
2064
  DeleteUserCommand,
2024
2065
  DescribeBrokerCommand,
package/dist-es/Mq.js CHANGED
@@ -4,6 +4,7 @@ import { CreateConfigurationCommand, } from "./commands/CreateConfigurationComma
4
4
  import { CreateTagsCommand } from "./commands/CreateTagsCommand";
5
5
  import { CreateUserCommand } from "./commands/CreateUserCommand";
6
6
  import { DeleteBrokerCommand, } from "./commands/DeleteBrokerCommand";
7
+ import { DeleteConfigurationCommand, } from "./commands/DeleteConfigurationCommand";
7
8
  import { DeleteTagsCommand } from "./commands/DeleteTagsCommand";
8
9
  import { DeleteUserCommand } from "./commands/DeleteUserCommand";
9
10
  import { DescribeBrokerCommand, } from "./commands/DescribeBrokerCommand";
@@ -29,6 +30,7 @@ const commands = {
29
30
  CreateTagsCommand,
30
31
  CreateUserCommand,
31
32
  DeleteBrokerCommand,
33
+ DeleteConfigurationCommand,
32
34
  DeleteTagsCommand,
33
35
  DeleteUserCommand,
34
36
  DescribeBrokerCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteConfigurationCommand, se_DeleteConfigurationCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteConfigurationCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("mq", "DeleteConfiguration", {})
17
+ .n("MqClient", "DeleteConfigurationCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteConfigurationCommand)
20
+ .de(de_DeleteConfigurationCommand)
21
+ .build() {
22
+ }
@@ -3,6 +3,7 @@ export * from "./CreateConfigurationCommand";
3
3
  export * from "./CreateTagsCommand";
4
4
  export * from "./CreateUserCommand";
5
5
  export * from "./DeleteBrokerCommand";
6
+ export * from "./DeleteConfigurationCommand";
6
7
  export * from "./DeleteTagsCommand";
7
8
  export * from "./DeleteUserCommand";
8
9
  export * from "./DescribeBrokerCommand";
@@ -95,6 +95,15 @@ export const se_DeleteBrokerCommand = async (input, context) => {
95
95
  b.m("DELETE").h(headers).b(body);
96
96
  return b.build();
97
97
  };
98
+ export const se_DeleteConfigurationCommand = async (input, context) => {
99
+ const b = rb(input, context);
100
+ const headers = {};
101
+ b.bp("/v1/configurations/{ConfigurationId}");
102
+ b.p("ConfigurationId", () => input.ConfigurationId, "{ConfigurationId}", false);
103
+ let body;
104
+ b.m("DELETE").h(headers).b(body);
105
+ return b.build();
106
+ };
98
107
  export const se_DeleteTagsCommand = async (input, context) => {
99
108
  const b = rb(input, context);
100
109
  const headers = {};
@@ -389,6 +398,20 @@ export const de_DeleteBrokerCommand = async (output, context) => {
389
398
  Object.assign(contents, doc);
390
399
  return contents;
391
400
  };
401
+ export const de_DeleteConfigurationCommand = async (output, context) => {
402
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
403
+ return de_CommandError(output, context);
404
+ }
405
+ const contents = map({
406
+ $metadata: deserializeMetadata(output),
407
+ });
408
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
409
+ const doc = take(data, {
410
+ ConfigurationId: [, __expectString, `configurationId`],
411
+ });
412
+ Object.assign(contents, doc);
413
+ return contents;
414
+ };
392
415
  export const de_DeleteTagsCommand = async (output, context) => {
393
416
  if (output.statusCode !== 204 && output.statusCode >= 300) {
394
417
  return de_CommandError(output, context);
@@ -4,6 +4,7 @@ import { CreateConfigurationCommandInput, CreateConfigurationCommandOutput } fro
4
4
  import { CreateTagsCommandInput, CreateTagsCommandOutput } from "./commands/CreateTagsCommand";
5
5
  import { CreateUserCommandInput, CreateUserCommandOutput } from "./commands/CreateUserCommand";
6
6
  import { DeleteBrokerCommandInput, DeleteBrokerCommandOutput } from "./commands/DeleteBrokerCommand";
7
+ import { DeleteConfigurationCommandInput, DeleteConfigurationCommandOutput } from "./commands/DeleteConfigurationCommand";
7
8
  import { DeleteTagsCommandInput, DeleteTagsCommandOutput } from "./commands/DeleteTagsCommand";
8
9
  import { DeleteUserCommandInput, DeleteUserCommandOutput } from "./commands/DeleteUserCommand";
9
10
  import { DescribeBrokerCommandInput, DescribeBrokerCommandOutput } from "./commands/DescribeBrokerCommand";
@@ -54,6 +55,12 @@ export interface Mq {
54
55
  deleteBroker(args: DeleteBrokerCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBrokerCommandOutput>;
55
56
  deleteBroker(args: DeleteBrokerCommandInput, cb: (err: any, data?: DeleteBrokerCommandOutput) => void): void;
56
57
  deleteBroker(args: DeleteBrokerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBrokerCommandOutput) => void): void;
58
+ /**
59
+ * @see {@link DeleteConfigurationCommand}
60
+ */
61
+ deleteConfiguration(args: DeleteConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConfigurationCommandOutput>;
62
+ deleteConfiguration(args: DeleteConfigurationCommandInput, cb: (err: any, data?: DeleteConfigurationCommandOutput) => void): void;
63
+ deleteConfiguration(args: DeleteConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConfigurationCommandOutput) => void): void;
57
64
  /**
58
65
  * @see {@link DeleteTagsCommand}
59
66
  */
@@ -12,6 +12,7 @@ import { CreateConfigurationCommandInput, CreateConfigurationCommandOutput } fro
12
12
  import { CreateTagsCommandInput, CreateTagsCommandOutput } from "./commands/CreateTagsCommand";
13
13
  import { CreateUserCommandInput, CreateUserCommandOutput } from "./commands/CreateUserCommand";
14
14
  import { DeleteBrokerCommandInput, DeleteBrokerCommandOutput } from "./commands/DeleteBrokerCommand";
15
+ import { DeleteConfigurationCommandInput, DeleteConfigurationCommandOutput } from "./commands/DeleteConfigurationCommand";
15
16
  import { DeleteTagsCommandInput, DeleteTagsCommandOutput } from "./commands/DeleteTagsCommand";
16
17
  import { DeleteUserCommandInput, DeleteUserCommandOutput } from "./commands/DeleteUserCommand";
17
18
  import { DescribeBrokerCommandInput, DescribeBrokerCommandOutput } from "./commands/DescribeBrokerCommand";
@@ -36,11 +37,11 @@ export { __Client };
36
37
  /**
37
38
  * @public
38
39
  */
39
- export type ServiceInputTypes = CreateBrokerCommandInput | CreateConfigurationCommandInput | CreateTagsCommandInput | CreateUserCommandInput | DeleteBrokerCommandInput | DeleteTagsCommandInput | DeleteUserCommandInput | DescribeBrokerCommandInput | DescribeBrokerEngineTypesCommandInput | DescribeBrokerInstanceOptionsCommandInput | DescribeConfigurationCommandInput | DescribeConfigurationRevisionCommandInput | DescribeUserCommandInput | ListBrokersCommandInput | ListConfigurationRevisionsCommandInput | ListConfigurationsCommandInput | ListTagsCommandInput | ListUsersCommandInput | PromoteCommandInput | RebootBrokerCommandInput | UpdateBrokerCommandInput | UpdateConfigurationCommandInput | UpdateUserCommandInput;
40
+ export type ServiceInputTypes = CreateBrokerCommandInput | CreateConfigurationCommandInput | CreateTagsCommandInput | CreateUserCommandInput | DeleteBrokerCommandInput | DeleteConfigurationCommandInput | DeleteTagsCommandInput | DeleteUserCommandInput | DescribeBrokerCommandInput | DescribeBrokerEngineTypesCommandInput | DescribeBrokerInstanceOptionsCommandInput | DescribeConfigurationCommandInput | DescribeConfigurationRevisionCommandInput | DescribeUserCommandInput | ListBrokersCommandInput | ListConfigurationRevisionsCommandInput | ListConfigurationsCommandInput | ListTagsCommandInput | ListUsersCommandInput | PromoteCommandInput | RebootBrokerCommandInput | UpdateBrokerCommandInput | UpdateConfigurationCommandInput | UpdateUserCommandInput;
40
41
  /**
41
42
  * @public
42
43
  */
43
- export type ServiceOutputTypes = CreateBrokerCommandOutput | CreateConfigurationCommandOutput | CreateTagsCommandOutput | CreateUserCommandOutput | DeleteBrokerCommandOutput | DeleteTagsCommandOutput | DeleteUserCommandOutput | DescribeBrokerCommandOutput | DescribeBrokerEngineTypesCommandOutput | DescribeBrokerInstanceOptionsCommandOutput | DescribeConfigurationCommandOutput | DescribeConfigurationRevisionCommandOutput | DescribeUserCommandOutput | ListBrokersCommandOutput | ListConfigurationRevisionsCommandOutput | ListConfigurationsCommandOutput | ListTagsCommandOutput | ListUsersCommandOutput | PromoteCommandOutput | RebootBrokerCommandOutput | UpdateBrokerCommandOutput | UpdateConfigurationCommandOutput | UpdateUserCommandOutput;
44
+ export type ServiceOutputTypes = CreateBrokerCommandOutput | CreateConfigurationCommandOutput | CreateTagsCommandOutput | CreateUserCommandOutput | DeleteBrokerCommandOutput | DeleteConfigurationCommandOutput | DeleteTagsCommandOutput | DeleteUserCommandOutput | DescribeBrokerCommandOutput | DescribeBrokerEngineTypesCommandOutput | DescribeBrokerInstanceOptionsCommandOutput | DescribeConfigurationCommandOutput | DescribeConfigurationRevisionCommandOutput | DescribeUserCommandOutput | ListBrokersCommandOutput | ListConfigurationRevisionsCommandOutput | ListConfigurationsCommandOutput | ListTagsCommandOutput | ListUsersCommandOutput | PromoteCommandOutput | RebootBrokerCommandOutput | UpdateBrokerCommandOutput | UpdateConfigurationCommandOutput | UpdateUserCommandOutput;
44
45
  /**
45
46
  * @public
46
47
  */
@@ -0,0 +1,87 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeleteConfigurationRequest, DeleteConfigurationResponse } from "../models/models_0";
4
+ import { MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MqClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteConfigurationCommand}.
14
+ */
15
+ export interface DeleteConfigurationCommandInput extends DeleteConfigurationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteConfigurationCommand}.
21
+ */
22
+ export interface DeleteConfigurationCommandOutput extends DeleteConfigurationResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteConfigurationCommand_base: {
25
+ new (input: DeleteConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConfigurationCommandInput, DeleteConfigurationCommandOutput, MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConfigurationCommandInput, DeleteConfigurationCommandOutput, MqClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes the specified configuration.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MqClient, DeleteConfigurationCommand } from "@aws-sdk/client-mq"; // ES Modules import
35
+ * // const { MqClient, DeleteConfigurationCommand } = require("@aws-sdk/client-mq"); // CommonJS import
36
+ * const client = new MqClient(config);
37
+ * const input = { // DeleteConfigurationRequest
38
+ * ConfigurationId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DeleteConfigurationCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // DeleteConfigurationResponse
43
+ * // ConfigurationId: "STRING_VALUE",
44
+ * // };
45
+ *
46
+ * ```
47
+ *
48
+ * @param DeleteConfigurationCommandInput - {@link DeleteConfigurationCommandInput}
49
+ * @returns {@link DeleteConfigurationCommandOutput}
50
+ * @see {@link DeleteConfigurationCommandInput} for command's `input` shape.
51
+ * @see {@link DeleteConfigurationCommandOutput} for command's `response` shape.
52
+ * @see {@link MqClientResolvedConfig | config} for MqClient's `config` shape.
53
+ *
54
+ * @throws {@link BadRequestException} (client fault)
55
+ * <p>Returns information about an error.</p>
56
+ *
57
+ * @throws {@link ConflictException} (client fault)
58
+ * <p>Returns information about an error.</p>
59
+ *
60
+ * @throws {@link ForbiddenException} (client fault)
61
+ * <p>Returns information about an error.</p>
62
+ *
63
+ * @throws {@link InternalServerErrorException} (server fault)
64
+ * <p>Returns information about an error.</p>
65
+ *
66
+ * @throws {@link NotFoundException} (client fault)
67
+ * <p>Returns information about an error.</p>
68
+ *
69
+ * @throws {@link MqServiceException}
70
+ * <p>Base exception class for all service exceptions from Mq service.</p>
71
+ *
72
+ *
73
+ * @public
74
+ */
75
+ export declare class DeleteConfigurationCommand extends DeleteConfigurationCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: DeleteConfigurationRequest;
80
+ output: DeleteConfigurationResponse;
81
+ };
82
+ sdk: {
83
+ input: DeleteConfigurationCommandInput;
84
+ output: DeleteConfigurationCommandOutput;
85
+ };
86
+ };
87
+ }
@@ -3,6 +3,7 @@ export * from "./CreateConfigurationCommand";
3
3
  export * from "./CreateTagsCommand";
4
4
  export * from "./CreateUserCommand";
5
5
  export * from "./DeleteBrokerCommand";
6
+ export * from "./DeleteConfigurationCommand";
6
7
  export * from "./DeleteTagsCommand";
7
8
  export * from "./DeleteUserCommand";
8
9
  export * from "./DescribeBrokerCommand";
@@ -1012,6 +1012,26 @@ export interface DeleteBrokerResponse {
1012
1012
  */
1013
1013
  BrokerId?: string | undefined;
1014
1014
  }
1015
+ /**
1016
+ * @public
1017
+ */
1018
+ export interface DeleteConfigurationRequest {
1019
+ /**
1020
+ * <p>The unique ID that Amazon MQ generates for the configuration.</p>
1021
+ * @public
1022
+ */
1023
+ ConfigurationId: string | undefined;
1024
+ }
1025
+ /**
1026
+ * @public
1027
+ */
1028
+ export interface DeleteConfigurationResponse {
1029
+ /**
1030
+ * <p>The unique ID that Amazon MQ generates for the configuration.</p>
1031
+ * @public
1032
+ */
1033
+ ConfigurationId?: string | undefined;
1034
+ }
1015
1035
  /**
1016
1036
  * @public
1017
1037
  */
@@ -5,6 +5,7 @@ import { CreateConfigurationCommandInput, CreateConfigurationCommandOutput } fro
5
5
  import { CreateTagsCommandInput, CreateTagsCommandOutput } from "../commands/CreateTagsCommand";
6
6
  import { CreateUserCommandInput, CreateUserCommandOutput } from "../commands/CreateUserCommand";
7
7
  import { DeleteBrokerCommandInput, DeleteBrokerCommandOutput } from "../commands/DeleteBrokerCommand";
8
+ import { DeleteConfigurationCommandInput, DeleteConfigurationCommandOutput } from "../commands/DeleteConfigurationCommand";
8
9
  import { DeleteTagsCommandInput, DeleteTagsCommandOutput } from "../commands/DeleteTagsCommand";
9
10
  import { DeleteUserCommandInput, DeleteUserCommandOutput } from "../commands/DeleteUserCommand";
10
11
  import { DescribeBrokerCommandInput, DescribeBrokerCommandOutput } from "../commands/DescribeBrokerCommand";
@@ -43,6 +44,10 @@ export declare const se_CreateUserCommand: (input: CreateUserCommandInput, conte
43
44
  * serializeAws_restJson1DeleteBrokerCommand
44
45
  */
45
46
  export declare const se_DeleteBrokerCommand: (input: DeleteBrokerCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
+ /**
48
+ * serializeAws_restJson1DeleteConfigurationCommand
49
+ */
50
+ export declare const se_DeleteConfigurationCommand: (input: DeleteConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
51
  /**
47
52
  * serializeAws_restJson1DeleteTagsCommand
48
53
  */
@@ -135,6 +140,10 @@ export declare const de_CreateUserCommand: (output: __HttpResponse, context: __S
135
140
  * deserializeAws_restJson1DeleteBrokerCommand
136
141
  */
137
142
  export declare const de_DeleteBrokerCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBrokerCommandOutput>;
143
+ /**
144
+ * deserializeAws_restJson1DeleteConfigurationCommand
145
+ */
146
+ export declare const de_DeleteConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteConfigurationCommandOutput>;
138
147
  /**
139
148
  * deserializeAws_restJson1DeleteTagsCommand
140
149
  */
@@ -19,6 +19,10 @@ import {
19
19
  DeleteBrokerCommandInput,
20
20
  DeleteBrokerCommandOutput,
21
21
  } from "./commands/DeleteBrokerCommand";
22
+ import {
23
+ DeleteConfigurationCommandInput,
24
+ DeleteConfigurationCommandOutput,
25
+ } from "./commands/DeleteConfigurationCommand";
22
26
  import {
23
27
  DeleteTagsCommandInput,
24
28
  DeleteTagsCommandOutput,
@@ -158,6 +162,19 @@ export interface Mq {
158
162
  options: __HttpHandlerOptions,
159
163
  cb: (err: any, data?: DeleteBrokerCommandOutput) => void
160
164
  ): void;
165
+ deleteConfiguration(
166
+ args: DeleteConfigurationCommandInput,
167
+ options?: __HttpHandlerOptions
168
+ ): Promise<DeleteConfigurationCommandOutput>;
169
+ deleteConfiguration(
170
+ args: DeleteConfigurationCommandInput,
171
+ cb: (err: any, data?: DeleteConfigurationCommandOutput) => void
172
+ ): void;
173
+ deleteConfiguration(
174
+ args: DeleteConfigurationCommandInput,
175
+ options: __HttpHandlerOptions,
176
+ cb: (err: any, data?: DeleteConfigurationCommandOutput) => void
177
+ ): void;
161
178
  deleteTags(
162
179
  args: DeleteTagsCommandInput,
163
180
  options?: __HttpHandlerOptions
@@ -65,6 +65,10 @@ import {
65
65
  DeleteBrokerCommandInput,
66
66
  DeleteBrokerCommandOutput,
67
67
  } from "./commands/DeleteBrokerCommand";
68
+ import {
69
+ DeleteConfigurationCommandInput,
70
+ DeleteConfigurationCommandOutput,
71
+ } from "./commands/DeleteConfigurationCommand";
68
72
  import {
69
73
  DeleteTagsCommandInput,
70
74
  DeleteTagsCommandOutput,
@@ -150,6 +154,7 @@ export type ServiceInputTypes =
150
154
  | CreateTagsCommandInput
151
155
  | CreateUserCommandInput
152
156
  | DeleteBrokerCommandInput
157
+ | DeleteConfigurationCommandInput
153
158
  | DeleteTagsCommandInput
154
159
  | DeleteUserCommandInput
155
160
  | DescribeBrokerCommandInput
@@ -174,6 +179,7 @@ export type ServiceOutputTypes =
174
179
  | CreateTagsCommandOutput
175
180
  | CreateUserCommandOutput
176
181
  | DeleteBrokerCommandOutput
182
+ | DeleteConfigurationCommandOutput
177
183
  | DeleteTagsCommandOutput
178
184
  | DeleteUserCommandOutput
179
185
  | DescribeBrokerCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DeleteConfigurationRequest,
5
+ DeleteConfigurationResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ MqClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../MqClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DeleteConfigurationCommandInput
15
+ extends DeleteConfigurationRequest {}
16
+ export interface DeleteConfigurationCommandOutput
17
+ extends DeleteConfigurationResponse,
18
+ __MetadataBearer {}
19
+ declare const DeleteConfigurationCommand_base: {
20
+ new (
21
+ input: DeleteConfigurationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DeleteConfigurationCommandInput,
24
+ DeleteConfigurationCommandOutput,
25
+ MqClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: DeleteConfigurationCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DeleteConfigurationCommandInput,
33
+ DeleteConfigurationCommandOutput,
34
+ MqClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DeleteConfigurationCommand extends DeleteConfigurationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DeleteConfigurationRequest;
44
+ output: DeleteConfigurationResponse;
45
+ };
46
+ sdk: {
47
+ input: DeleteConfigurationCommandInput;
48
+ output: DeleteConfigurationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -3,6 +3,7 @@ export * from "./CreateConfigurationCommand";
3
3
  export * from "./CreateTagsCommand";
4
4
  export * from "./CreateUserCommand";
5
5
  export * from "./DeleteBrokerCommand";
6
+ export * from "./DeleteConfigurationCommand";
6
7
  export * from "./DeleteTagsCommand";
7
8
  export * from "./DeleteUserCommand";
8
9
  export * from "./DescribeBrokerCommand";
@@ -285,6 +285,12 @@ export interface DeleteBrokerRequest {
285
285
  export interface DeleteBrokerResponse {
286
286
  BrokerId?: string | undefined;
287
287
  }
288
+ export interface DeleteConfigurationRequest {
289
+ ConfigurationId: string | undefined;
290
+ }
291
+ export interface DeleteConfigurationResponse {
292
+ ConfigurationId?: string | undefined;
293
+ }
288
294
  export interface DeleteTagsRequest {
289
295
  ResourceArn: string | undefined;
290
296
  TagKeys: string[] | undefined;
@@ -23,6 +23,10 @@ import {
23
23
  DeleteBrokerCommandInput,
24
24
  DeleteBrokerCommandOutput,
25
25
  } from "../commands/DeleteBrokerCommand";
26
+ import {
27
+ DeleteConfigurationCommandInput,
28
+ DeleteConfigurationCommandOutput,
29
+ } from "../commands/DeleteConfigurationCommand";
26
30
  import {
27
31
  DeleteTagsCommandInput,
28
32
  DeleteTagsCommandOutput,
@@ -115,6 +119,10 @@ export declare const se_DeleteBrokerCommand: (
115
119
  input: DeleteBrokerCommandInput,
116
120
  context: __SerdeContext
117
121
  ) => Promise<__HttpRequest>;
122
+ export declare const se_DeleteConfigurationCommand: (
123
+ input: DeleteConfigurationCommandInput,
124
+ context: __SerdeContext
125
+ ) => Promise<__HttpRequest>;
118
126
  export declare const se_DeleteTagsCommand: (
119
127
  input: DeleteTagsCommandInput,
120
128
  context: __SerdeContext
@@ -207,6 +215,10 @@ export declare const de_DeleteBrokerCommand: (
207
215
  output: __HttpResponse,
208
216
  context: __SerdeContext
209
217
  ) => Promise<DeleteBrokerCommandOutput>;
218
+ export declare const de_DeleteConfigurationCommand: (
219
+ output: __HttpResponse,
220
+ context: __SerdeContext
221
+ ) => Promise<DeleteConfigurationCommandOutput>;
210
222
  export declare const de_DeleteTagsCommand: (
211
223
  output: __HttpResponse,
212
224
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mq",
3
3
  "description": "AWS SDK for JavaScript Mq Client for Node.js, Browser and React Native",
4
- "version": "3.782.0",
4
+ "version": "3.794.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-mq",
@@ -21,16 +21,16 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.775.0",
24
- "@aws-sdk/credential-provider-node": "3.782.0",
24
+ "@aws-sdk/credential-provider-node": "3.787.0",
25
25
  "@aws-sdk/middleware-host-header": "3.775.0",
26
26
  "@aws-sdk/middleware-logger": "3.775.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
- "@aws-sdk/middleware-user-agent": "3.782.0",
28
+ "@aws-sdk/middleware-user-agent": "3.787.0",
29
29
  "@aws-sdk/region-config-resolver": "3.775.0",
30
30
  "@aws-sdk/types": "3.775.0",
31
- "@aws-sdk/util-endpoints": "3.782.0",
31
+ "@aws-sdk/util-endpoints": "3.787.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.775.0",
33
- "@aws-sdk/util-user-agent-node": "3.782.0",
33
+ "@aws-sdk/util-user-agent-node": "3.787.0",
34
34
  "@smithy/config-resolver": "^4.1.0",
35
35
  "@smithy/core": "^3.2.0",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",