Skip to content

Commit 4c95b9f

Browse files
committed
Merge "master" into "bmq-Node.js-2024-09-01-online-2403-2026_03_24_18_05_51"
Conflicts: meta.json
2 parents b91f1d3 + 9939381 commit 4c95b9f

6 files changed

Lines changed: 91 additions & 3 deletions

File tree

meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"lasted": "1.0.9",
3-
"meta_commit": "1a5af1e915812b284fb857948e1cd8a664b60d14"
3+
"meta_commit": "a191a246059b0e419611b0dbafde9d3aed6059d1"
44
}

service/bmq/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@volcengine/bmq",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "swagger client for @volcengine/bmq",
55
"license": "Apache-2.0",
66
"main": "./dist/cjs/index.js",

service/bmq/src/api.ts

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ import { PreviewTopicDataRequest } from './types/index';
7474
import { PreviewTopicDataResponse } from './types/index';
7575
import { ResetSubscriptionOffsetRequest } from './types/index';
7676
import { ResetSubscriptionOffsetResponse } from './types/index';
77+
import { ScaleDownInstanceRequest } from './types/index';
78+
import { ScaleDownInstanceResponse } from './types/index';
7779
import { ScaleUpTopicRequest } from './types/index';
7880
import { ScaleUpTopicResponse } from './types/index';
7981
import { SearchGroupsRequest } from './types/index';
@@ -122,6 +124,7 @@ export type ModifyInstanceTagCommandOutput = CommandOutput<ModifyInstanceTagResp
122124
export type ModifyOverlayAccessCommandOutput = CommandOutput<ModifyOverlayAccessResponse>;
123125
export type PreviewTopicDataCommandOutput = CommandOutput<PreviewTopicDataResponse>;
124126
export type ResetSubscriptionOffsetCommandOutput = CommandOutput<ResetSubscriptionOffsetResponse>;
127+
export type ScaleDownInstanceCommandOutput = CommandOutput<ScaleDownInstanceResponse>;
125128
export type ScaleUpTopicCommandOutput = CommandOutput<ScaleUpTopicResponse>;
126129
export type SearchGroupsCommandOutput = CommandOutput<SearchGroupsResponse>;
127130
export type SearchInstancesCommandOutput = CommandOutput<SearchInstancesResponse>;
@@ -130,7 +133,6 @@ export type TopicExistCommandOutput = CommandOutput<TopicExistResponse>;
130133
export type UpdateInstanceMessageRetentionCommandOutput = CommandOutput<UpdateInstanceMessageRetentionResponse>;
131134
export type UpdateTopicMessageRetentionCommandOutput = CommandOutput<UpdateTopicMessageRetentionResponse>;
132135

133-
134136
/**
135137
* BMQClient Service Client
136138
*/
@@ -594,6 +596,21 @@ export class ResetSubscriptionOffsetCommand extends Command<
594596
this.requestConfig = buildRequestConfigFromMetaPath(ResetSubscriptionOffsetCommand.metaPath);
595597
}
596598
}
599+
/**
600+
* Command to ScaleDownInstance
601+
*/
602+
export class ScaleDownInstanceCommand extends Command<
603+
ScaleDownInstanceRequest,
604+
ScaleDownInstanceCommandOutput,
605+
'ScaleDownInstanceCommand'
606+
> {
607+
static readonly metaPath = '/ScaleDownInstance/2023-06-01/bmq/post/application_json/';
608+
609+
constructor(input: ScaleDownInstanceRequest) {
610+
super(input);
611+
this.requestConfig = buildRequestConfigFromMetaPath(ScaleDownInstanceCommand.metaPath);
612+
}
613+
}
597614
/**
598615
* Command to ScaleUpTopic
599616
*/
@@ -732,6 +749,7 @@ export default {
732749
ModifyOverlayAccessCommand,
733750
PreviewTopicDataCommand,
734751
ResetSubscriptionOffsetCommand,
752+
ScaleDownInstanceCommand,
735753
ScaleUpTopicCommand,
736754
SearchGroupsCommand,
737755
SearchInstancesCommand,

service/bmq/src/types/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ export * from './reset-subscription-offset-response';
8080
export * from './resource-tag-for-describe-instance-output';
8181
export * from './resource-tag-for-search-instances-output';
8282
export * from './resources-for-describe-instance-output';
83+
export * from './scale-down-instance-request';
84+
export * from './scale-down-instance-response';
8385
export * from './scale-up-topic-request';
8486
export * from './scale-up-topic-response';
8587
export * from './search-groups-request';
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* bmq
5+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6+
*
7+
* OpenAPI spec version: common-version
8+
*
9+
*
10+
* NOTE: This class is auto generated by the swagger code generator program.
11+
* https://github.com/swagger-api/swagger-codegen.git
12+
* Do not edit the class manually.
13+
*/
14+
15+
/**
16+
*
17+
*
18+
* @export
19+
* @interface ScaleDownInstanceRequest
20+
*/
21+
export interface ScaleDownInstanceRequest {
22+
23+
/**
24+
* @type {string}
25+
* @memberof ScaleDownInstanceRequest
26+
*/
27+
InstanceId: string;
28+
29+
/**
30+
* @type {string}
31+
* @memberof ScaleDownInstanceRequest
32+
*/
33+
TargetSpecification: string;
34+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* bmq
5+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6+
*
7+
* OpenAPI spec version: common-version
8+
*
9+
*
10+
* NOTE: This class is auto generated by the swagger code generator program.
11+
* https://github.com/swagger-api/swagger-codegen.git
12+
* Do not edit the class manually.
13+
*/
14+
15+
/**
16+
*
17+
*
18+
* @export
19+
* @interface ScaleDownInstanceResponse
20+
*/
21+
export interface ScaleDownInstanceResponse {
22+
23+
/**
24+
* @type {string}
25+
* @memberof ScaleDownInstanceResponse
26+
*/
27+
Message?: string;
28+
29+
/**
30+
* @type {string}
31+
* @memberof ScaleDownInstanceResponse
32+
*/
33+
Status?: string;
34+
}

0 commit comments

Comments
 (0)