client

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangeResourceGroupRequest added in v1.0.4

type ChangeResourceGroupRequest struct {
	// The ID of the region in which the instance resides.
	RegionId *string `json:"regionId,omitempty" xml:"regionId,omitempty"`
	// The ID of the resource group to which the instance is changed.
	//
	// You can call the [ListResourceGroups](https://www.alibabacloud.com/help/resource-management/latest/listresourcegroups) operation to query existing resource groups.
	ResourceGroupId *string `json:"resourceGroupId,omitempty" xml:"resourceGroupId,omitempty"`
	// The ID of the resource. Set this parameter to the ID of the ApsaraMQ for RocketMQ instance whose resource group you want to change.
	ResourceId *string `json:"resourceId,omitempty" xml:"resourceId,omitempty"`
	// The type of resource.
	//
	// Set this parameter to **instance**. The value of this parameter cannot be changed.
	ResourceType *string `json:"resourceType,omitempty" xml:"resourceType,omitempty"`
}

func (ChangeResourceGroupRequest) GoString added in v1.0.4

func (s ChangeResourceGroupRequest) GoString() string

func (*ChangeResourceGroupRequest) SetRegionId added in v1.0.4

func (*ChangeResourceGroupRequest) SetResourceGroupId added in v1.0.4

func (*ChangeResourceGroupRequest) SetResourceId added in v1.0.4

func (*ChangeResourceGroupRequest) SetResourceType added in v1.0.4

func (ChangeResourceGroupRequest) String added in v1.0.4

type ChangeResourceGroupResponse added in v1.0.4

type ChangeResourceGroupResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ChangeResourceGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ChangeResourceGroupResponse) GoString added in v1.0.4

func (s ChangeResourceGroupResponse) GoString() string

func (*ChangeResourceGroupResponse) SetBody added in v1.0.4

func (*ChangeResourceGroupResponse) SetHeaders added in v1.0.4

func (*ChangeResourceGroupResponse) SetStatusCode added in v1.0.4

func (ChangeResourceGroupResponse) String added in v1.0.4

type ChangeResourceGroupResponseBody added in v1.0.4

type ChangeResourceGroupResponseBody struct {
	// The error code returned if the call failed.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The returned result.
	Data *bool `json:"data,omitempty" xml:"data,omitempty"`
	// The dynamic error code.
	DynamicCode *string `json:"dynamicCode,omitempty" xml:"dynamicCode,omitempty"`
	// The dynamic error message.
	DynamicMessage *string `json:"dynamicMessage,omitempty" xml:"dynamicMessage,omitempty"`
	// The HTTP status code returned.
	HttpStatusCode *int32 `json:"httpStatusCode,omitempty" xml:"httpStatusCode,omitempty"`
	// The error message.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
	// The ID of the request. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
	// Indicates whether the call was successful.
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (ChangeResourceGroupResponseBody) GoString added in v1.0.4

func (*ChangeResourceGroupResponseBody) SetCode added in v1.0.4

func (*ChangeResourceGroupResponseBody) SetData added in v1.0.4

func (*ChangeResourceGroupResponseBody) SetDynamicCode added in v1.0.4

func (*ChangeResourceGroupResponseBody) SetDynamicMessage added in v1.0.4

func (*ChangeResourceGroupResponseBody) SetHttpStatusCode added in v1.0.4

func (*ChangeResourceGroupResponseBody) SetMessage added in v1.0.4

func (*ChangeResourceGroupResponseBody) SetRequestId added in v1.0.4

func (*ChangeResourceGroupResponseBody) SetSuccess added in v1.0.4

func (ChangeResourceGroupResponseBody) String added in v1.0.4

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) ChangeResourceGroup added in v1.0.4

func (client *Client) ChangeResourceGroup(request *ChangeResourceGroupRequest) (_result *ChangeResourceGroupResponse, _err error)

func (*Client) ChangeResourceGroupWithOptions added in v1.0.4

func (client *Client) ChangeResourceGroupWithOptions(request *ChangeResourceGroupRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ChangeResourceGroupResponse, _err error)

func (*Client) CreateConsumerGroup

func (client *Client) CreateConsumerGroup(instanceId *string, consumerGroupId *string, request *CreateConsumerGroupRequest) (_result *CreateConsumerGroupResponse, _err error)

*

  • > API operations provided by Alibaba Cloud are used to manage and query resources of Alibaba Cloud services. We recommend that you integrate these API operations only in management systems. Do not use these API operations in the core system of messaging services. Otherwise, system risks may occur. *
  • @param request CreateConsumerGroupRequest
  • @return CreateConsumerGroupResponse

func (*Client) CreateConsumerGroupWithOptions

func (client *Client) CreateConsumerGroupWithOptions(instanceId *string, consumerGroupId *string, request *CreateConsumerGroupRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateConsumerGroupResponse, _err error)

*

  • > API operations provided by Alibaba Cloud are used to manage and query resources of Alibaba Cloud services. We recommend that you integrate these API operations only in management systems. Do not use these API operations in the core system of messaging services. Otherwise, system risks may occur. *
  • @param request CreateConsumerGroupRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateConsumerGroupResponse

func (*Client) CreateInstance added in v1.0.2

func (client *Client) CreateInstance(request *CreateInstanceRequest) (_result *CreateInstanceResponse, _err error)

*

  • > API operations provided by Alibaba Cloud are used to manage and query resources of Alibaba Cloud services. We recommend that you integrate these API operations only in management systems. Do not use these API operations in the core system of messaging services. Otherwise, system risks may occur. *
  • @param request CreateInstanceRequest
  • @return CreateInstanceResponse

func (*Client) CreateInstanceWithOptions added in v1.0.2

func (client *Client) CreateInstanceWithOptions(request *CreateInstanceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateInstanceResponse, _err error)

*

  • > API operations provided by Alibaba Cloud are used to manage and query resources of Alibaba Cloud services. We recommend that you integrate these API operations only in management systems. Do not use these API operations in the core system of messaging services. Otherwise, system risks may occur. *
  • @param request CreateInstanceRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateInstanceResponse

func (*Client) CreateTopic

func (client *Client) CreateTopic(instanceId *string, topicName *string, request *CreateTopicRequest) (_result *CreateTopicResponse, _err error)

func (*Client) CreateTopicWithOptions

func (client *Client) CreateTopicWithOptions(instanceId *string, topicName *string, request *CreateTopicRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateTopicResponse, _err error)

func (*Client) DeleteConsumerGroup

func (client *Client) DeleteConsumerGroup(instanceId *string, consumerGroupId *string) (_result *DeleteConsumerGroupResponse, _err error)

*

  • > API operations provided by Alibaba Cloud are used to manage and query resources of Alibaba Cloud services. We recommend that you integrate these API operations only in management systems. Do not use these API operations in the core system of messaging services. Otherwise, system risks may occur.
  • After you delete a consumer group, the consumer client associated with the consumer group cannot consume messages. Exercise caution when you call this operation. *
  • @return DeleteConsumerGroupResponse

func (*Client) DeleteConsumerGroupWithOptions

func (client *Client) DeleteConsumerGroupWithOptions(instanceId *string, consumerGroupId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteConsumerGroupResponse, _err error)

*

  • > API operations provided by Alibaba Cloud are used to manage and query resources of Alibaba Cloud services. We recommend that you integrate these API operations only in management systems. Do not use these API operations in the core system of messaging services. Otherwise, system risks may occur.
  • After you delete a consumer group, the consumer client associated with the consumer group cannot consume messages. Exercise caution when you call this operation. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteConsumerGroupResponse

func (*Client) DeleteInstance

func (client *Client) DeleteInstance(instanceId *string) (_result *DeleteInstanceResponse, _err error)

*

  • > API operations provided by Alibaba Cloud are used to manage and query resources of Alibaba Cloud services. We recommend that you integrate these API operations only in management systems. Do not use these API operations in the core system of messaging services. Otherwise, system risks may occur.
  • * After an instance is deleted, the instance cannot be restored. Exercise caution when you call this operation.
  • * This operation is used to delete a pay-as-you-go instance. A subscription instance is automatically released after it expires. You do not need to manually delete a subscription instance. *
  • @return DeleteInstanceResponse

func (*Client) DeleteInstanceWithOptions

func (client *Client) DeleteInstanceWithOptions(instanceId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteInstanceResponse, _err error)

*

  • > API operations provided by Alibaba Cloud are used to manage and query resources of Alibaba Cloud services. We recommend that you integrate these API operations only in management systems. Do not use these API operations in the core system of messaging services. Otherwise, system risks may occur.
  • * After an instance is deleted, the instance cannot be restored. Exercise caution when you call this operation.
  • * This operation is used to delete a pay-as-you-go instance. A subscription instance is automatically released after it expires. You do not need to manually delete a subscription instance. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteInstanceResponse

func (*Client) DeleteTopic

func (client *Client) DeleteTopic(instanceId *string, topicName *string) (_result *DeleteTopicResponse, _err error)

*

  • If you delete the topic, the publishing and subscription relationships that are established based on the topic are cleared. Exercise caution when you call this operation. *
  • @return DeleteTopicResponse

func (*Client) DeleteTopicWithOptions

func (client *Client) DeleteTopicWithOptions(instanceId *string, topicName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteTopicResponse, _err error)

*

  • If you delete the topic, the publishing and subscription relationships that are established based on the topic are cleared. Exercise caution when you call this operation. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteTopicResponse

func (*Client) GetConsumerGroup

func (client *Client) GetConsumerGroup(instanceId *string, consumerGroupId *string) (_result *GetConsumerGroupResponse, _err error)

*

  • > API operations provided by Alibaba Cloud are used to manage and query resources of Alibaba Cloud services. We recommend that you integrate these API operations only in management systems. Do not use these API operations in the core system of messaging services. Otherwise, system risks may occur. *
  • @return GetConsumerGroupResponse

func (*Client) GetConsumerGroupWithOptions

func (client *Client) GetConsumerGroupWithOptions(instanceId *string, consumerGroupId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetConsumerGroupResponse, _err error)

*

  • > API operations provided by Alibaba Cloud are used to manage and query resources of Alibaba Cloud services. We recommend that you integrate these API operations only in management systems. Do not use these API operations in the core system of messaging services. Otherwise, system risks may occur. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetConsumerGroupResponse

func (*Client) GetEndpoint

func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

func (*Client) GetInstance

func (client *Client) GetInstance(instanceId *string) (_result *GetInstanceResponse, _err error)

*

  • > API operations provided by Alibaba Cloud are used to manage and query resources of Alibaba Cloud services. We recommend that you integrate these API operations only in management systems. Do not use these API operations in the core system of messaging services. Otherwise, system risks may occur. *
  • @return GetInstanceResponse

func (*Client) GetInstanceWithOptions

func (client *Client) GetInstanceWithOptions(instanceId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetInstanceResponse, _err error)

*

  • > API operations provided by Alibaba Cloud are used to manage and query resources of Alibaba Cloud services. We recommend that you integrate these API operations only in management systems. Do not use these API operations in the core system of messaging services. Otherwise, system risks may occur. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetInstanceResponse

func (*Client) GetTopic

func (client *Client) GetTopic(instanceId *string, topicName *string) (_result *GetTopicResponse, _err error)

func (*Client) GetTopicWithOptions

func (client *Client) GetTopicWithOptions(instanceId *string, topicName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetTopicResponse, _err error)

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) ListConsumerGroupSubscriptions added in v1.1.0

func (client *Client) ListConsumerGroupSubscriptions(instanceId *string, consumerGroupId *string) (_result *ListConsumerGroupSubscriptionsResponse, _err error)

func (*Client) ListConsumerGroupSubscriptionsWithOptions added in v1.1.0

func (client *Client) ListConsumerGroupSubscriptionsWithOptions(instanceId *string, consumerGroupId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListConsumerGroupSubscriptionsResponse, _err error)

func (*Client) ListConsumerGroups

func (client *Client) ListConsumerGroups(instanceId *string, request *ListConsumerGroupsRequest) (_result *ListConsumerGroupsResponse, _err error)

*

  • > API operations provided by Alibaba Cloud are used to manage and query resources of Alibaba Cloud services. We recommend that you integrate these API operations only in management systems. Do not use these API operations in the core system of messaging services. Otherwise, system risks may occur. *
  • @param request ListConsumerGroupsRequest
  • @return ListConsumerGroupsResponse

func (*Client) ListConsumerGroupsWithOptions

func (client *Client) ListConsumerGroupsWithOptions(instanceId *string, request *ListConsumerGroupsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListConsumerGroupsResponse, _err error)

*

  • > API operations provided by Alibaba Cloud are used to manage and query resources of Alibaba Cloud services. We recommend that you integrate these API operations only in management systems. Do not use these API operations in the core system of messaging services. Otherwise, system risks may occur. *
  • @param request ListConsumerGroupsRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListConsumerGroupsResponse

func (*Client) ListInstances

func (client *Client) ListInstances(request *ListInstancesRequest) (_result *ListInstancesResponse, _err error)

*

  • > API operations provided by Alibaba Cloud are used to manage and query resources of Alibaba Cloud services. We recommend that you integrate these API operations only in management systems. Do not use these API operations in the core system of messaging services. Otherwise, system risks may occur. *
  • @param request ListInstancesRequest
  • @return ListInstancesResponse

func (*Client) ListInstancesWithOptions

func (client *Client) ListInstancesWithOptions(request *ListInstancesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListInstancesResponse, _err error)

*

  • > API operations provided by Alibaba Cloud are used to manage and query resources of Alibaba Cloud services. We recommend that you integrate these API operations only in management systems. Do not use these API operations in the core system of messaging services. Otherwise, system risks may occur. *
  • @param request ListInstancesRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListInstancesResponse

func (*Client) ListTopics

func (client *Client) ListTopics(instanceId *string, request *ListTopicsRequest) (_result *ListTopicsResponse, _err error)

func (*Client) ListTopicsWithOptions

func (client *Client) ListTopicsWithOptions(instanceId *string, tmpReq *ListTopicsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListTopicsResponse, _err error)

func (*Client) ResetConsumeOffset added in v1.1.0

func (client *Client) ResetConsumeOffset(instanceId *string, consumerGroupId *string, topicName *string, request *ResetConsumeOffsetRequest) (_result *ResetConsumeOffsetResponse, _err error)

func (*Client) ResetConsumeOffsetWithOptions added in v1.1.0

func (client *Client) ResetConsumeOffsetWithOptions(instanceId *string, consumerGroupId *string, topicName *string, request *ResetConsumeOffsetRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ResetConsumeOffsetResponse, _err error)

func (*Client) UpdateConsumerGroup

func (client *Client) UpdateConsumerGroup(instanceId *string, consumerGroupId *string, request *UpdateConsumerGroupRequest) (_result *UpdateConsumerGroupResponse, _err error)

*

  • > API operations provided by Alibaba Cloud are used to manage and query resources of Alibaba Cloud services. We recommend that you integrate these API operations only in management systems. Do not use these API operations in the core system of messaging services. Otherwise, system risks may occur. *
  • @param request UpdateConsumerGroupRequest
  • @return UpdateConsumerGroupResponse

func (*Client) UpdateConsumerGroupWithOptions

func (client *Client) UpdateConsumerGroupWithOptions(instanceId *string, consumerGroupId *string, request *UpdateConsumerGroupRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateConsumerGroupResponse, _err error)

*

  • > API operations provided by Alibaba Cloud are used to manage and query resources of Alibaba Cloud services. We recommend that you integrate these API operations only in management systems. Do not use these API operations in the core system of messaging services. Otherwise, system risks may occur. *
  • @param request UpdateConsumerGroupRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateConsumerGroupResponse

func (*Client) UpdateInstance

func (client *Client) UpdateInstance(instanceId *string, request *UpdateInstanceRequest) (_result *UpdateInstanceResponse, _err error)

*

  • > API operations provided by Alibaba Cloud are used to manage and query resources of Alibaba Cloud services. We recommend that you integrate these API operations only in management systems. Do not use these API operations in the core system of messaging services. Otherwise, system risks may occur. *
  • @param request UpdateInstanceRequest
  • @return UpdateInstanceResponse

func (*Client) UpdateInstanceWithOptions

func (client *Client) UpdateInstanceWithOptions(instanceId *string, request *UpdateInstanceRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateInstanceResponse, _err error)

*

  • > API operations provided by Alibaba Cloud are used to manage and query resources of Alibaba Cloud services. We recommend that you integrate these API operations only in management systems. Do not use these API operations in the core system of messaging services. Otherwise, system risks may occur. *
  • @param request UpdateInstanceRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateInstanceResponse

func (*Client) UpdateTopic

func (client *Client) UpdateTopic(instanceId *string, topicName *string, request *UpdateTopicRequest) (_result *UpdateTopicResponse, _err error)

func (*Client) UpdateTopicWithOptions

func (client *Client) UpdateTopicWithOptions(instanceId *string, topicName *string, request *UpdateTopicRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateTopicResponse, _err error)

type CreateConsumerGroupRequest

type CreateConsumerGroupRequest struct {
	// The consumption retry policy that you want to configure for the consumer group. For more information, see [Consumption retry](~~440356~~).
	ConsumeRetryPolicy *CreateConsumerGroupRequestConsumeRetryPolicy `json:"consumeRetryPolicy,omitempty" xml:"consumeRetryPolicy,omitempty" type:"Struct"`
	// The message delivery order of the consumer group.
	//
	// Valid values:
	//
	// *   Concurrently: concurrent delivery
	// *   Orderly: ordered delivery
	DeliveryOrderType *string `json:"deliveryOrderType,omitempty" xml:"deliveryOrderType,omitempty"`
	// The remarks on the consumer group.
	Remark *string `json:"remark,omitempty" xml:"remark,omitempty"`
}

func (CreateConsumerGroupRequest) GoString

func (s CreateConsumerGroupRequest) GoString() string

func (*CreateConsumerGroupRequest) SetDeliveryOrderType

func (s *CreateConsumerGroupRequest) SetDeliveryOrderType(v string) *CreateConsumerGroupRequest

func (*CreateConsumerGroupRequest) SetRemark

func (CreateConsumerGroupRequest) String

type CreateConsumerGroupRequestConsumeRetryPolicy

type CreateConsumerGroupRequestConsumeRetryPolicy struct {
	// The dead-letter topic.
	//
	// If a consumer still fails to consume a message after the message is retried for a specified number of times, the message is delivered to a dead-letter topic for subsequent business recovery or troubleshooting. For more information, see [Consumption retry and dead-letter messages](~~440356~~).
	DeadLetterTargetTopic *string `json:"deadLetterTargetTopic,omitempty" xml:"deadLetterTargetTopic,omitempty"`
	// The maximum number of retries.
	MaxRetryTimes *int32 `json:"maxRetryTimes,omitempty" xml:"maxRetryTimes,omitempty"`
	// The retry policy. For more information, see [Message retry](~~440356~~).
	//
	// Valid values:
	//
	// *   FixedRetryPolicy: Failed messages are retried at a fixed interval.
	// *   DefaultRetryPolicy: Failed messages are retried at incremental intervals as the number of retries increases.
	RetryPolicy *string `json:"retryPolicy,omitempty" xml:"retryPolicy,omitempty"`
}

func (CreateConsumerGroupRequestConsumeRetryPolicy) GoString

func (*CreateConsumerGroupRequestConsumeRetryPolicy) SetDeadLetterTargetTopic added in v1.0.3

func (*CreateConsumerGroupRequestConsumeRetryPolicy) SetMaxRetryTimes

func (*CreateConsumerGroupRequestConsumeRetryPolicy) SetRetryPolicy

func (CreateConsumerGroupRequestConsumeRetryPolicy) String

type CreateConsumerGroupResponse

type CreateConsumerGroupResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateConsumerGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateConsumerGroupResponse) GoString

func (s CreateConsumerGroupResponse) GoString() string

func (*CreateConsumerGroupResponse) SetBody

func (*CreateConsumerGroupResponse) SetHeaders

func (*CreateConsumerGroupResponse) SetStatusCode

func (CreateConsumerGroupResponse) String

type CreateConsumerGroupResponseBody

type CreateConsumerGroupResponseBody struct {
	// The error code.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The result data that is returned.
	Data *bool `json:"data,omitempty" xml:"data,omitempty"`
	// The dynamic error code.
	DynamicCode *string `json:"dynamicCode,omitempty" xml:"dynamicCode,omitempty"`
	// The dynamic error message.
	DynamicMessage *string `json:"dynamicMessage,omitempty" xml:"dynamicMessage,omitempty"`
	// The HTTP status code.
	HttpStatusCode *int32 `json:"httpStatusCode,omitempty" xml:"httpStatusCode,omitempty"`
	// The error message.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
	// The ID of the request. The system generates a unique ID for each request. You can troubleshoot issues based on the request ID.
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
	// Indicates whether the call is successful.
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (CreateConsumerGroupResponseBody) GoString

func (*CreateConsumerGroupResponseBody) SetCode

func (*CreateConsumerGroupResponseBody) SetData

func (*CreateConsumerGroupResponseBody) SetDynamicCode

func (*CreateConsumerGroupResponseBody) SetDynamicMessage

func (*CreateConsumerGroupResponseBody) SetHttpStatusCode

func (*CreateConsumerGroupResponseBody) SetMessage

func (*CreateConsumerGroupResponseBody) SetRequestId

func (*CreateConsumerGroupResponseBody) SetSuccess

func (CreateConsumerGroupResponseBody) String

type CreateInstanceRequest added in v1.0.2

type CreateInstanceRequest struct {
	// Specifies whether to enable auto-renewal. This parameter takes effect only when the PaymentType parameter is set to Subscription.
	//
	// *   true: enable
	// *   false: disable
	AutoRenew *bool `json:"autoRenew,omitempty" xml:"autoRenew,omitempty"`
	// The auto-renewal cycle of the instance. This parameter takes effect only when the autoRenew parameter is set to true. Unit: months.
	//
	// Valid values:
	//
	// *   Monthly renewal: 1, 2, 3, 6, and 12
	AutoRenewPeriod *int32 `json:"autoRenewPeriod,omitempty" xml:"autoRenewPeriod,omitempty"`
	// The name of the instance that you want to create.
	//
	// If you do not configure this parameter, the instance ID is used as the instance name.
	InstanceName *string `json:"instanceName,omitempty" xml:"instanceName,omitempty"`
	// The information about the network.
	NetworkInfo *CreateInstanceRequestNetworkInfo `json:"networkInfo,omitempty" xml:"networkInfo,omitempty" type:"Struct"`
	// The billing method of the instance. ApsaraMQ for RocketMQ supports the subscription and pay-as-you-go billing methods.
	//
	// Valid values:
	//
	// *   PayAsYouGo: pay-as-you go. This billing method allows you to use resources before you pay for the resources.
	// *   Subscription: This billing method allows you to use resources after you pay for the resources.
	//
	// For more information, see [Billing methods](~~427234~~).
	PaymentType *string `json:"paymentType,omitempty" xml:"paymentType,omitempty"`
	// The subscription duration of the instance. This parameter takes effect only when the PaymentType parameter is set to Subscription.
	//
	// Valid values:
	//
	// *   Monthly subscription: 1, 2, 3, 4, 5, and 6
	// *   Yearly subscription: 1, 2, and 3
	Period *int32 `json:"period,omitempty" xml:"period,omitempty"`
	// The unit of the subscription duration.
	//
	// Valid values:
	//
	// *   Month
	// *   Year
	PeriodUnit *string `json:"periodUnit,omitempty" xml:"periodUnit,omitempty"`
	// The information about the instance specification.
	ProductInfo *CreateInstanceRequestProductInfo `json:"productInfo,omitempty" xml:"productInfo,omitempty" type:"Struct"`
	// The description of the instance.
	Remark *string `json:"remark,omitempty" xml:"remark,omitempty"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"resourceGroupId,omitempty" xml:"resourceGroupId,omitempty"`
	// The primary edition of the instance. For information about the differences between primary edition instances, see [Instance selection](~~444722~~).
	//
	// Valid values:
	//
	// *   standard: Standard Edition
	// *   ultimate: Enterprise Platinum Edition
	// *   professional: Professional Edition
	//
	// > After you create a ApsaraMQ for RocketMQ instance, you can only upgrade the primary edition of the instance. The following editions are sorted in ascending order: Standard Edition, Professional Edition, and Platinum Edition. For example, an instance of Standard Edition can be upgraded to Professional Edition. However, an instance of Professional Edition cannot be downgraded to Standard Edition.
	SeriesCode *string `json:"seriesCode,omitempty" xml:"seriesCode,omitempty"`
	// The code of the service to which the instance belongs. The service code of ApsaraMQ for RocketMQ is rmq.
	ServiceCode *string `json:"serviceCode,omitempty" xml:"serviceCode,omitempty"`
	// The sub-category edition of the instance. For information about the differences between sub-category edition instances, see [Instance selection](~~444722~~).
	//
	// Valid values:
	//
	// *   cluster_ha: Cluster High-availability Edition
	// *   single_node: Standalone Edition
	//
	// If you set the seriesCode parameter to ultimate, you can set this parameter to only cluster_ha.
	//
	// > After you create a ApsaraMQ for RocketMQ instance, you cannot change the sub-category edition of the instance.
	SubSeriesCode *string `json:"subSeriesCode,omitempty" xml:"subSeriesCode,omitempty"`
	// The client token that is used to ensure the idempotence of the request. You can use the client to generate the value of this parameter, but you must ensure that the value is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
	ClientToken *string `json:"clientToken,omitempty" xml:"clientToken,omitempty"`
}

func (CreateInstanceRequest) GoString added in v1.0.2

func (s CreateInstanceRequest) GoString() string

func (*CreateInstanceRequest) SetAutoRenew added in v1.0.2

func (s *CreateInstanceRequest) SetAutoRenew(v bool) *CreateInstanceRequest

func (*CreateInstanceRequest) SetAutoRenewPeriod added in v1.0.2

func (s *CreateInstanceRequest) SetAutoRenewPeriod(v int32) *CreateInstanceRequest

func (*CreateInstanceRequest) SetClientToken added in v1.0.2

func (s *CreateInstanceRequest) SetClientToken(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetInstanceName added in v1.0.2

func (s *CreateInstanceRequest) SetInstanceName(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetNetworkInfo added in v1.0.2

func (*CreateInstanceRequest) SetPaymentType added in v1.0.2

func (s *CreateInstanceRequest) SetPaymentType(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetPeriod added in v1.0.2

func (*CreateInstanceRequest) SetPeriodUnit added in v1.0.2

func (s *CreateInstanceRequest) SetPeriodUnit(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetProductInfo added in v1.0.2

func (*CreateInstanceRequest) SetRemark added in v1.0.2

func (*CreateInstanceRequest) SetResourceGroupId added in v1.0.2

func (s *CreateInstanceRequest) SetResourceGroupId(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetSeriesCode added in v1.0.2

func (s *CreateInstanceRequest) SetSeriesCode(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetServiceCode added in v1.0.2

func (s *CreateInstanceRequest) SetServiceCode(v string) *CreateInstanceRequest

func (*CreateInstanceRequest) SetSubSeriesCode added in v1.0.2

func (s *CreateInstanceRequest) SetSubSeriesCode(v string) *CreateInstanceRequest

func (CreateInstanceRequest) String added in v1.0.2

func (s CreateInstanceRequest) String() string

type CreateInstanceRequestNetworkInfo added in v1.0.2

type CreateInstanceRequestNetworkInfo struct {
	// The Internet-related configurations.
	InternetInfo *CreateInstanceRequestNetworkInfoInternetInfo `json:"internetInfo,omitempty" xml:"internetInfo,omitempty" type:"Struct"`
	// The virtual private cloud (VPC)-related configurations.
	VpcInfo *CreateInstanceRequestNetworkInfoVpcInfo `json:"vpcInfo,omitempty" xml:"vpcInfo,omitempty" type:"Struct"`
}

func (CreateInstanceRequestNetworkInfo) GoString added in v1.0.2

func (*CreateInstanceRequestNetworkInfo) SetInternetInfo added in v1.0.2

func (*CreateInstanceRequestNetworkInfo) SetVpcInfo added in v1.0.2

func (CreateInstanceRequestNetworkInfo) String added in v1.0.2

type CreateInstanceRequestNetworkInfoInternetInfo added in v1.0.2

type CreateInstanceRequestNetworkInfoInternetInfo struct {
	// The Internet bandwidth. Unit: MB/s.
	//
	// This parameter is required only when the flowOutType parameter is set to payByBandwidth.
	//
	// Valid values: 1 to 1000.
	FlowOutBandwidth *int32 `json:"flowOutBandwidth,omitempty" xml:"flowOutBandwidth,omitempty"`
	// The metering method for Internet usage.
	//
	// Valid values:
	//
	// *   payByBandwidth: pay-by-bandwidth. If the Internet access feature is enabled, specify this value for the parameter.
	// *   uninvolved: N/A. If the Internet access feature is disabled, specify this value for the parameter.
	FlowOutType *string `json:"flowOutType,omitempty" xml:"flowOutType,omitempty"`
	// Specifies whether to enable the Internet access feature.
	//
	// Valid values:
	//
	// *   enable
	// *   disable
	//
	// By default, ApsaraMQ for RocketMQ instances are accessed in VPCs. If you enable the Internet access feature, you are charged for Internet outbound bandwidth. For more information, see [Internet access fee](~~427240~~).
	InternetSpec *string `json:"internetSpec,omitempty" xml:"internetSpec,omitempty"`
	// The whitelist that includes the IP addresses that are allowed to access the ApsaraMQ for RocketMQ broker over the Internet. This parameter can be configured only when you use a public endpoint to access the ApsaraMQ for RocketMQ broker.
	//
	// *   If this parameter is not configured, all IP addresses are allowed to access the ApsaraMQ for RocketMQ broker over the Internet.
	// *   If this parameter is configured, only the IP addresses that are included in the whitelist can access the ApsaraMQ for RocketMQ broker over the Internet.
	IpWhitelist []*string `json:"ipWhitelist,omitempty" xml:"ipWhitelist,omitempty" type:"Repeated"`
}

func (CreateInstanceRequestNetworkInfoInternetInfo) GoString added in v1.0.2

func (*CreateInstanceRequestNetworkInfoInternetInfo) SetFlowOutBandwidth added in v1.0.2

func (*CreateInstanceRequestNetworkInfoInternetInfo) SetFlowOutType added in v1.0.2

func (*CreateInstanceRequestNetworkInfoInternetInfo) SetInternetSpec added in v1.0.2

func (*CreateInstanceRequestNetworkInfoInternetInfo) SetIpWhitelist added in v1.0.2

func (CreateInstanceRequestNetworkInfoInternetInfo) String added in v1.0.2

type CreateInstanceRequestNetworkInfoVpcInfo added in v1.0.2

type CreateInstanceRequestNetworkInfoVpcInfo struct {
	// The ID of the vSwitch with which the instance is associated.
	//
	// > After you create a ApsaraMQ for RocketMQ instance, you cannot change the vSwitch to which the instance is connected. If you want to change the vSwitch with which a ApsaraMQ for RocketMQ is associated, you must release the instance and purchase a new instance.
	VSwitchId *string `json:"vSwitchId,omitempty" xml:"vSwitchId,omitempty"`
	// The ID of the VPC with which the instance that you want to create is associated.
	//
	// > After you create a ApsaraMQ for RocketMQ instance, you cannot change the VPC in which the instance is created. If you want to change the VPC with which a ApsaraMQ for RocketMQ is associated, you must release the instance and purchase a new instance.
	VpcId *string `json:"vpcId,omitempty" xml:"vpcId,omitempty"`
}

func (CreateInstanceRequestNetworkInfoVpcInfo) GoString added in v1.0.2

func (*CreateInstanceRequestNetworkInfoVpcInfo) SetVSwitchId added in v1.0.2

func (*CreateInstanceRequestNetworkInfoVpcInfo) SetVpcId added in v1.0.2

func (CreateInstanceRequestNetworkInfoVpcInfo) String added in v1.0.2

type CreateInstanceRequestProductInfo added in v1.0.2

type CreateInstanceRequestProductInfo struct {
	// Specifies whether to enable the elastic TPS feature for the instance.
	//
	// Valid values:
	//
	// *   true: enable
	// *   false: disable
	//
	// After you enable the elastic TPS feature for a ApsaraMQ for RocketMQ instance, you can use a specific amount of TPS that exceeds the specification limit. You are charged for the elastic TPS feature. For more information, see [Computing fee](~~427237~~).
	//
	// > The elastic TPS feature is supported by only specific instance editions. For more information, see [Instance specifications](~~444715~~).
	AutoScaling *bool `json:"autoScaling,omitempty" xml:"autoScaling,omitempty"`
	// The retention period of messages. Unit: hours.
	//
	// For information about the valid values of this parameter, see the "Limits on resource quotas" section in [Usage limits](~~440347~~).
	//
	// The storage of messages in ApsaraMQ for RocketMQ is serverless and scalable. You are charged for message storage based on your actual usage. You can change the retention period of messages to adjust storage capacity. For more information, see [Storage fee](~~427238~~).
	MessageRetentionTime *int32 `json:"messageRetentionTime,omitempty" xml:"messageRetentionTime,omitempty"`
	// The computing specification that is used to send and receive messages. For information about the upper limit of TPS, see [Instance specifications](~~444715~~).
	MsgProcessSpec *string `json:"msgProcessSpec,omitempty" xml:"msgProcessSpec,omitempty"`
	// The ratio between sent messages and received messages in the instance.
	//
	// Value values: 0.2 to 0.5.
	SendReceiveRatio *float32 `json:"sendReceiveRatio,omitempty" xml:"sendReceiveRatio,omitempty"`
}

func (CreateInstanceRequestProductInfo) GoString added in v1.0.2

func (*CreateInstanceRequestProductInfo) SetAutoScaling added in v1.0.2

func (*CreateInstanceRequestProductInfo) SetMessageRetentionTime added in v1.0.2

func (*CreateInstanceRequestProductInfo) SetMsgProcessSpec added in v1.0.2

func (*CreateInstanceRequestProductInfo) SetSendReceiveRatio added in v1.0.2

func (CreateInstanceRequestProductInfo) String added in v1.0.2

type CreateInstanceResponse added in v1.0.2

type CreateInstanceResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateInstanceResponse) GoString added in v1.0.2

func (s CreateInstanceResponse) GoString() string

func (*CreateInstanceResponse) SetBody added in v1.0.2

func (*CreateInstanceResponse) SetHeaders added in v1.0.2

func (*CreateInstanceResponse) SetStatusCode added in v1.0.2

func (CreateInstanceResponse) String added in v1.0.2

func (s CreateInstanceResponse) String() string

type CreateInstanceResponseBody added in v1.0.2

type CreateInstanceResponseBody struct {
	// The error code returned if the call failed.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The ID of the created instance.
	Data *string `json:"data,omitempty" xml:"data,omitempty"`
	// The dynamic error code.
	DynamicCode *string `json:"dynamicCode,omitempty" xml:"dynamicCode,omitempty"`
	// The dynamic error message.
	DynamicMessage *string `json:"dynamicMessage,omitempty" xml:"dynamicMessage,omitempty"`
	// The HTTP status code returned.
	HttpStatusCode *int32 `json:"httpStatusCode,omitempty" xml:"httpStatusCode,omitempty"`
	// The error message.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
	// The ID of the request. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
	// Indicates whether the call was successful.
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (CreateInstanceResponseBody) GoString added in v1.0.2

func (s CreateInstanceResponseBody) GoString() string

func (*CreateInstanceResponseBody) SetCode added in v1.0.2

func (*CreateInstanceResponseBody) SetData added in v1.0.2

func (*CreateInstanceResponseBody) SetDynamicCode added in v1.0.2

func (*CreateInstanceResponseBody) SetDynamicMessage added in v1.0.2

func (*CreateInstanceResponseBody) SetHttpStatusCode added in v1.0.2

func (*CreateInstanceResponseBody) SetMessage added in v1.0.2

func (*CreateInstanceResponseBody) SetRequestId added in v1.0.2

func (*CreateInstanceResponseBody) SetSuccess added in v1.0.2

func (CreateInstanceResponseBody) String added in v1.0.2

type CreateTopicRequest

type CreateTopicRequest struct {
	// The type of messages in the topic that you want to create.
	//
	// Valid values:
	//
	// *   TRANSACTION: transactional messages
	// *   FIFO: ordered messages
	// *   DELAY: scheduled messages or delayed Message
	// *   NORMAL: normal messages
	//
	// > The type of messages in the topic must be the same as the type of messages that you want to send. For example, if you create a topic whose message type is ordered messages, the topic can be used to send and receive only ordered messages.
	MessageType *string `json:"messageType,omitempty" xml:"messageType,omitempty"`
	// The description of the topic that you want to create.
	Remark *string `json:"remark,omitempty" xml:"remark,omitempty"`
}

func (CreateTopicRequest) GoString

func (s CreateTopicRequest) GoString() string

func (*CreateTopicRequest) SetMessageType

func (s *CreateTopicRequest) SetMessageType(v string) *CreateTopicRequest

func (*CreateTopicRequest) SetRemark

func (s *CreateTopicRequest) SetRemark(v string) *CreateTopicRequest

func (CreateTopicRequest) String

func (s CreateTopicRequest) String() string

type CreateTopicResponse

type CreateTopicResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateTopicResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateTopicResponse) GoString

func (s CreateTopicResponse) GoString() string

func (*CreateTopicResponse) SetBody

func (*CreateTopicResponse) SetHeaders

func (s *CreateTopicResponse) SetHeaders(v map[string]*string) *CreateTopicResponse

func (*CreateTopicResponse) SetStatusCode

func (s *CreateTopicResponse) SetStatusCode(v int32) *CreateTopicResponse

func (CreateTopicResponse) String

func (s CreateTopicResponse) String() string

type CreateTopicResponseBody

type CreateTopicResponseBody struct {
	// The error code returned if the call failed.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The returned result.
	Data *bool `json:"data,omitempty" xml:"data,omitempty"`
	// The dynamic error code.
	DynamicCode *string `json:"dynamicCode,omitempty" xml:"dynamicCode,omitempty"`
	// The dynamic error message.
	DynamicMessage *string `json:"dynamicMessage,omitempty" xml:"dynamicMessage,omitempty"`
	// The HTTP status code returned.
	HttpStatusCode *int32 `json:"httpStatusCode,omitempty" xml:"httpStatusCode,omitempty"`
	// The error message.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
	// The ID of the request. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
	// Indicates whether the call was successful.
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (CreateTopicResponseBody) GoString

func (s CreateTopicResponseBody) GoString() string

func (*CreateTopicResponseBody) SetCode

func (*CreateTopicResponseBody) SetData

func (*CreateTopicResponseBody) SetDynamicCode

func (*CreateTopicResponseBody) SetDynamicMessage

func (s *CreateTopicResponseBody) SetDynamicMessage(v string) *CreateTopicResponseBody

func (*CreateTopicResponseBody) SetHttpStatusCode

func (s *CreateTopicResponseBody) SetHttpStatusCode(v int32) *CreateTopicResponseBody

func (*CreateTopicResponseBody) SetMessage

func (*CreateTopicResponseBody) SetRequestId

func (*CreateTopicResponseBody) SetSuccess

func (CreateTopicResponseBody) String

func (s CreateTopicResponseBody) String() string

type DeleteConsumerGroupResponse

type DeleteConsumerGroupResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteConsumerGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteConsumerGroupResponse) GoString

func (s DeleteConsumerGroupResponse) GoString() string

func (*DeleteConsumerGroupResponse) SetBody

func (*DeleteConsumerGroupResponse) SetHeaders

func (*DeleteConsumerGroupResponse) SetStatusCode

func (DeleteConsumerGroupResponse) String

type DeleteConsumerGroupResponseBody

type DeleteConsumerGroupResponseBody struct {
	// The error code.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The result data that is returned.
	Data *bool `json:"data,omitempty" xml:"data,omitempty"`
	// The dynamic error code.
	DynamicCode *string `json:"dynamicCode,omitempty" xml:"dynamicCode,omitempty"`
	// The dynamic error message.
	DynamicMessage *string `json:"dynamicMessage,omitempty" xml:"dynamicMessage,omitempty"`
	// The HTTP status code.
	HttpStatusCode *int32 `json:"httpStatusCode,omitempty" xml:"httpStatusCode,omitempty"`
	// The error message.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
	// The ID of the request. The system generates a unique ID for each request. You can troubleshoot issues based on the request ID.
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
	// Indicates whether the call is successful.
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (DeleteConsumerGroupResponseBody) GoString

func (*DeleteConsumerGroupResponseBody) SetCode

func (*DeleteConsumerGroupResponseBody) SetData

func (*DeleteConsumerGroupResponseBody) SetDynamicCode

func (*DeleteConsumerGroupResponseBody) SetDynamicMessage

func (*DeleteConsumerGroupResponseBody) SetHttpStatusCode

func (*DeleteConsumerGroupResponseBody) SetMessage

func (*DeleteConsumerGroupResponseBody) SetRequestId

func (*DeleteConsumerGroupResponseBody) SetSuccess

func (DeleteConsumerGroupResponseBody) String

type DeleteInstanceResponse

type DeleteInstanceResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteInstanceResponse) GoString

func (s DeleteInstanceResponse) GoString() string

func (*DeleteInstanceResponse) SetBody

func (*DeleteInstanceResponse) SetHeaders

func (*DeleteInstanceResponse) SetStatusCode

func (DeleteInstanceResponse) String

func (s DeleteInstanceResponse) String() string

type DeleteInstanceResponseBody

type DeleteInstanceResponseBody struct {
	// The error code returned if the call failed.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The returned result.
	Data *bool `json:"data,omitempty" xml:"data,omitempty"`
	// The dynamic error code.
	DynamicCode *string `json:"dynamicCode,omitempty" xml:"dynamicCode,omitempty"`
	// The dynamic error message.
	DynamicMessage *string `json:"dynamicMessage,omitempty" xml:"dynamicMessage,omitempty"`
	// The HTTP status code returned.
	HttpStatusCode *int32 `json:"httpStatusCode,omitempty" xml:"httpStatusCode,omitempty"`
	// The error message.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
	// The ID of the request. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
	// Indicates whether the call was successful.
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (DeleteInstanceResponseBody) GoString

func (s DeleteInstanceResponseBody) GoString() string

func (*DeleteInstanceResponseBody) SetCode

func (*DeleteInstanceResponseBody) SetData

func (*DeleteInstanceResponseBody) SetDynamicCode

func (*DeleteInstanceResponseBody) SetDynamicMessage

func (*DeleteInstanceResponseBody) SetHttpStatusCode

func (*DeleteInstanceResponseBody) SetMessage

func (*DeleteInstanceResponseBody) SetRequestId

func (*DeleteInstanceResponseBody) SetSuccess

func (DeleteInstanceResponseBody) String

type DeleteTopicResponse

type DeleteTopicResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteTopicResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteTopicResponse) GoString

func (s DeleteTopicResponse) GoString() string

func (*DeleteTopicResponse) SetBody

func (*DeleteTopicResponse) SetHeaders

func (s *DeleteTopicResponse) SetHeaders(v map[string]*string) *DeleteTopicResponse

func (*DeleteTopicResponse) SetStatusCode

func (s *DeleteTopicResponse) SetStatusCode(v int32) *DeleteTopicResponse

func (DeleteTopicResponse) String

func (s DeleteTopicResponse) String() string

type DeleteTopicResponseBody

type DeleteTopicResponseBody struct {
	// The error code.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The result data that is returned.
	Data *bool `json:"data,omitempty" xml:"data,omitempty"`
	// The dynamic error code.
	DynamicCode *string `json:"dynamicCode,omitempty" xml:"dynamicCode,omitempty"`
	// The dynamic error message.
	DynamicMessage *string `json:"dynamicMessage,omitempty" xml:"dynamicMessage,omitempty"`
	// The HTTP status code.
	HttpStatusCode *int32 `json:"httpStatusCode,omitempty" xml:"httpStatusCode,omitempty"`
	// The error message.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
	// The ID of the request. The system generates a unique ID for each request. You can troubleshoot issues based on the request ID.
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
	// Indicates whether the call is successful.
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (DeleteTopicResponseBody) GoString

func (s DeleteTopicResponseBody) GoString() string

func (*DeleteTopicResponseBody) SetCode

func (*DeleteTopicResponseBody) SetData

func (*DeleteTopicResponseBody) SetDynamicCode

func (*DeleteTopicResponseBody) SetDynamicMessage

func (s *DeleteTopicResponseBody) SetDynamicMessage(v string) *DeleteTopicResponseBody

func (*DeleteTopicResponseBody) SetHttpStatusCode

func (s *DeleteTopicResponseBody) SetHttpStatusCode(v int32) *DeleteTopicResponseBody

func (*DeleteTopicResponseBody) SetMessage

func (*DeleteTopicResponseBody) SetRequestId

func (*DeleteTopicResponseBody) SetSuccess

func (DeleteTopicResponseBody) String

func (s DeleteTopicResponseBody) String() string

type GetConsumerGroupResponse

type GetConsumerGroupResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetConsumerGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetConsumerGroupResponse) GoString

func (s GetConsumerGroupResponse) GoString() string

func (*GetConsumerGroupResponse) SetBody

func (*GetConsumerGroupResponse) SetHeaders

func (*GetConsumerGroupResponse) SetStatusCode

func (GetConsumerGroupResponse) String

func (s GetConsumerGroupResponse) String() string

type GetConsumerGroupResponseBody

type GetConsumerGroupResponseBody struct {
	// The error code.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The result data that is returned.
	Data *GetConsumerGroupResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// The dynamic error code.
	DynamicCode *string `json:"dynamicCode,omitempty" xml:"dynamicCode,omitempty"`
	// The dynamic error message.
	DynamicMessage *string `json:"dynamicMessage,omitempty" xml:"dynamicMessage,omitempty"`
	// The HTTP status code.
	HttpStatusCode *int32 `json:"httpStatusCode,omitempty" xml:"httpStatusCode,omitempty"`
	// The error message.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
	// The ID of the request. The system generates a unique ID for each request. You can troubleshoot issues based on the request ID.
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
	// Indicates whether the call is successful.
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (GetConsumerGroupResponseBody) GoString

func (s GetConsumerGroupResponseBody) GoString() string

func (*GetConsumerGroupResponseBody) SetCode

func (*GetConsumerGroupResponseBody) SetData

func (*GetConsumerGroupResponseBody) SetDynamicCode

func (*GetConsumerGroupResponseBody) SetDynamicMessage

func (*GetConsumerGroupResponseBody) SetHttpStatusCode

func (*GetConsumerGroupResponseBody) SetMessage

func (*GetConsumerGroupResponseBody) SetRequestId

func (*GetConsumerGroupResponseBody) SetSuccess

func (GetConsumerGroupResponseBody) String

type GetConsumerGroupResponseBodyData

type GetConsumerGroupResponseBodyData struct {
	// The consumption retry policy that you want to configure for the consumer group. For more information, see [Consumption retry](~~440356~~).
	ConsumeRetryPolicy *GetConsumerGroupResponseBodyDataConsumeRetryPolicy `json:"consumeRetryPolicy,omitempty" xml:"consumeRetryPolicy,omitempty" type:"Struct"`
	// The ID of the consumer group.
	ConsumerGroupId *string `json:"consumerGroupId,omitempty" xml:"consumerGroupId,omitempty"`
	// The time when the consumer group was created.
	CreateTime *string `json:"createTime,omitempty" xml:"createTime,omitempty"`
	// The message delivery order of the consumer group.
	//
	// Valid values:
	//
	// *   Concurrently
	//
	//     <!-- -->
	//
	//     :
	//
	//     <!-- -->
	//
	//     concurrent delivery
	//
	//     <!-- -->
	//
	// *   Orderly
	//
	//     <!-- -->
	//
	//     :
	//
	//     <!-- -->
	//
	//     ordered delivery
	//
	//     <!-- -->
	DeliveryOrderType *string `json:"deliveryOrderType,omitempty" xml:"deliveryOrderType,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"instanceId,omitempty" xml:"instanceId,omitempty"`
	// The ID of the region in which the instance resides.
	RegionId *string `json:"regionId,omitempty" xml:"regionId,omitempty"`
	// The remarks on the consumer group.
	Remark *string `json:"remark,omitempty" xml:"remark,omitempty"`
	// The state of the consumer group.
	//
	// Valid values:
	//
	// *   RUNNING
	//
	//     <!-- -->
	//
	//     : The consumer group is
	//
	//     <!-- -->
	//
	//     running
	//
	//     <!-- -->
	//
	//     .
	//
	// *   CREATING
	//
	//     <!-- -->
	//
	//     : The consumer group is
	//
	//     <!-- -->
	//
	//     being created
	//
	//     <!-- -->
	//
	//     .
	Status *string `json:"status,omitempty" xml:"status,omitempty"`
	// The time when the consumer group was last updated.
	UpdateTime *string `json:"updateTime,omitempty" xml:"updateTime,omitempty"`
}

func (GetConsumerGroupResponseBodyData) GoString

func (*GetConsumerGroupResponseBodyData) SetConsumerGroupId

func (*GetConsumerGroupResponseBodyData) SetCreateTime

func (*GetConsumerGroupResponseBodyData) SetDeliveryOrderType

func (*GetConsumerGroupResponseBodyData) SetInstanceId

func (*GetConsumerGroupResponseBodyData) SetRegionId

func (*GetConsumerGroupResponseBodyData) SetRemark

func (*GetConsumerGroupResponseBodyData) SetStatus

func (*GetConsumerGroupResponseBodyData) SetUpdateTime

func (GetConsumerGroupResponseBodyData) String

type GetConsumerGroupResponseBodyDataConsumeRetryPolicy

type GetConsumerGroupResponseBodyDataConsumeRetryPolicy struct {
	// The dead-letter topic.
	//
	// If a consumer still fails to consume a message after the message is retried for a specified number of times, the message is delivered to a dead-letter topic for subsequent business recovery or troubleshooting. For more information, see [Consumption retry and dead-letter messages](~~440356~~).
	DeadLetterTargetTopic *string `json:"deadLetterTargetTopic,omitempty" xml:"deadLetterTargetTopic,omitempty"`
	// The maximum number of retries.
	MaxRetryTimes *int32 `json:"maxRetryTimes,omitempty" xml:"maxRetryTimes,omitempty"`
	// The retry policy.
	//
	// Valid values:
	//
	// *   FixedRetryPolicy
	//
	//     <!-- -->
	//
	//     :
	//
	//     <!-- -->
	//
	//     Failed messages are retried at a fixed interval
	//
	//     <!-- -->
	//
	//     .
	//
	// *   DefaultRetryPolicy
	//
	//     <!-- -->
	//
	//     :
	//
	//     <!-- -->
	//
	//     Failed messages are retried at incremental intervals as the number of retries increases
	//
	//     <!-- -->
	//
	//     .
	RetryPolicy *string `json:"retryPolicy,omitempty" xml:"retryPolicy,omitempty"`
}

func (GetConsumerGroupResponseBodyDataConsumeRetryPolicy) GoString

func (*GetConsumerGroupResponseBodyDataConsumeRetryPolicy) SetDeadLetterTargetTopic added in v1.0.3

func (*GetConsumerGroupResponseBodyDataConsumeRetryPolicy) SetMaxRetryTimes

func (*GetConsumerGroupResponseBodyDataConsumeRetryPolicy) SetRetryPolicy

func (GetConsumerGroupResponseBodyDataConsumeRetryPolicy) String

type GetInstanceResponse

type GetInstanceResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetInstanceResponse) GoString

func (s GetInstanceResponse) GoString() string

func (*GetInstanceResponse) SetBody

func (*GetInstanceResponse) SetHeaders

func (s *GetInstanceResponse) SetHeaders(v map[string]*string) *GetInstanceResponse

func (*GetInstanceResponse) SetStatusCode

func (s *GetInstanceResponse) SetStatusCode(v int32) *GetInstanceResponse

func (GetInstanceResponse) String

func (s GetInstanceResponse) String() string

type GetInstanceResponseBody

type GetInstanceResponseBody struct {
	// The error code returned if the call failed.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The returned result.
	Data *GetInstanceResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// The dynamic error code.
	DynamicCode *string `json:"dynamicCode,omitempty" xml:"dynamicCode,omitempty"`
	// The dynamic error message.
	DynamicMessage *string `json:"dynamicMessage,omitempty" xml:"dynamicMessage,omitempty"`
	// The HTTP status code returned.
	HttpStatusCode *int32 `json:"httpStatusCode,omitempty" xml:"httpStatusCode,omitempty"`
	// The error message.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
	// The ID of the request. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
	// Indicates whether the call was successful.
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (GetInstanceResponseBody) GoString

func (s GetInstanceResponseBody) GoString() string

func (*GetInstanceResponseBody) SetCode

func (*GetInstanceResponseBody) SetData

func (*GetInstanceResponseBody) SetDynamicCode

func (*GetInstanceResponseBody) SetDynamicMessage

func (s *GetInstanceResponseBody) SetDynamicMessage(v string) *GetInstanceResponseBody

func (*GetInstanceResponseBody) SetHttpStatusCode

func (s *GetInstanceResponseBody) SetHttpStatusCode(v int32) *GetInstanceResponseBody

func (*GetInstanceResponseBody) SetMessage

func (*GetInstanceResponseBody) SetRequestId

func (*GetInstanceResponseBody) SetSuccess

func (GetInstanceResponseBody) String

func (s GetInstanceResponseBody) String() string

type GetInstanceResponseBodyData

type GetInstanceResponseBodyData struct {
	// The account information.
	AccountInfo *GetInstanceResponseBodyDataAccountInfo `json:"accountInfo,omitempty" xml:"accountInfo,omitempty" type:"Struct"`
	// The information about access control.
	AclInfo *GetInstanceResponseBodyDataAclInfo `json:"aclInfo,omitempty" xml:"aclInfo,omitempty" type:"Struct"`
	// The business ID (BID) of the commodity.
	Bid *string `json:"bid,omitempty" xml:"bid,omitempty"`
	// The commodity code of the instance. The commodity code of a ApsaraMQ for RocketMQ 5.0 instance has a similar format as ons_rmqsub_public_cn.
	CommodityCode *string `json:"commodityCode,omitempty" xml:"commodityCode,omitempty"`
	// The time when the instance was created.
	CreateTime *string `json:"createTime,omitempty" xml:"createTime,omitempty"`
	// The time when the instance expires.
	ExpireTime *string `json:"expireTime,omitempty" xml:"expireTime,omitempty"`
	// The extended configurations. We recommend you configure the productInfo, internetInfo, or aclInfo parameter instead of this parameter.
	ExtConfig  *GetInstanceResponseBodyDataExtConfig `json:"extConfig,omitempty" xml:"extConfig,omitempty" type:"Struct"`
	GroupCount *int64                                `json:"groupCount,omitempty" xml:"groupCount,omitempty"`
	// The ID of the instance
	InstanceId *string `json:"instanceId,omitempty" xml:"instanceId,omitempty"`
	// The name of the instance.
	InstanceName *string `json:"instanceName,omitempty" xml:"instanceName,omitempty"`
	// The quotas in the instance.
	InstanceQuotas []*GetInstanceResponseBodyDataInstanceQuotas `json:"instanceQuotas,omitempty" xml:"instanceQuotas,omitempty" type:"Repeated"`
	// The network information.
	NetworkInfo *GetInstanceResponseBodyDataNetworkInfo `json:"networkInfo,omitempty" xml:"networkInfo,omitempty" type:"Struct"`
	// The billing method of the instance.
	//
	// Valid values:
	//
	// *   PayAsYouGo: pay-as-you-go
	// *   Subscription
	PaymentType *string `json:"paymentType,omitempty" xml:"paymentType,omitempty"`
	// The extended configurations of the instance.
	ProductInfo *GetInstanceResponseBodyDataProductInfo `json:"productInfo,omitempty" xml:"productInfo,omitempty" type:"Struct"`
	// The ID of the region in which the instance resides.
	RegionId *string `json:"regionId,omitempty" xml:"regionId,omitempty"`
	// The time when the instance was released.
	ReleaseTime *string `json:"releaseTime,omitempty" xml:"releaseTime,omitempty"`
	// The description of the instance.
	Remark *string `json:"remark,omitempty" xml:"remark,omitempty"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"resourceGroupId,omitempty" xml:"resourceGroupId,omitempty"`
	// The primary edition of the instance. For information about the differences between primary edition instances, see [Instance selection](~~444722~~).
	//
	// Valid values:
	//
	// *   standard: Standard Edition
	// *   ultimate: Enterprise Platinum Edition
	// *   professional: Professional Edition
	SeriesCode *string `json:"seriesCode,omitempty" xml:"seriesCode,omitempty"`
	// The code of the service to which the instance belongs. The service code of ApsaraMQ for RocketMQ is rmq.
	ServiceCode *string                              `json:"serviceCode,omitempty" xml:"serviceCode,omitempty"`
	Software    *GetInstanceResponseBodyDataSoftware `json:"software,omitempty" xml:"software,omitempty" type:"Struct"`
	// The time when the instance was started.
	StartTime *string `json:"startTime,omitempty" xml:"startTime,omitempty"`
	// The status of the instance.
	//
	// Valid values:
	//
	// *   RELEASED
	// *   RUNNING
	// *   STOPPED
	// *   CHANGING
	// *   CREATING
	Status *string `json:"status,omitempty" xml:"status,omitempty"`
	// The sub-category edition of the instance. For information about the differences between sub-category edition instances, see [Instance selection](~~444722~~).
	//
	// Valid values:
	//
	// *   cluster_ha: Cluster High-availability Edition
	// *   single_node: Standalone Edition
	SubSeriesCode *string                            `json:"subSeriesCode,omitempty" xml:"subSeriesCode,omitempty"`
	Tags          []*GetInstanceResponseBodyDataTags `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"`
	TopicCount    *int64                             `json:"topicCount,omitempty" xml:"topicCount,omitempty"`
	// The time when the instance was last modified.
	UpdateTime *string `json:"updateTime,omitempty" xml:"updateTime,omitempty"`
	// The ID of the user who owns the instance.
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (GetInstanceResponseBodyData) GoString

func (s GetInstanceResponseBodyData) GoString() string

func (*GetInstanceResponseBodyData) SetAccountInfo

func (*GetInstanceResponseBodyData) SetAclInfo added in v1.0.2

func (*GetInstanceResponseBodyData) SetBid

func (*GetInstanceResponseBodyData) SetCommodityCode

func (*GetInstanceResponseBodyData) SetCreateTime

func (*GetInstanceResponseBodyData) SetExpireTime

func (*GetInstanceResponseBodyData) SetExtConfig

func (*GetInstanceResponseBodyData) SetGroupCount added in v1.0.1

func (*GetInstanceResponseBodyData) SetInstanceId

func (*GetInstanceResponseBodyData) SetInstanceName

func (*GetInstanceResponseBodyData) SetInstanceQuotas

func (*GetInstanceResponseBodyData) SetNetworkInfo

func (*GetInstanceResponseBodyData) SetPaymentType

func (*GetInstanceResponseBodyData) SetProductInfo added in v1.0.2

func (*GetInstanceResponseBodyData) SetRegionId

func (*GetInstanceResponseBodyData) SetReleaseTime

func (*GetInstanceResponseBodyData) SetRemark

func (*GetInstanceResponseBodyData) SetResourceGroupId

func (*GetInstanceResponseBodyData) SetSeriesCode

func (*GetInstanceResponseBodyData) SetServiceCode

func (*GetInstanceResponseBodyData) SetSoftware added in v1.0.6

func (*GetInstanceResponseBodyData) SetStartTime

func (*GetInstanceResponseBodyData) SetStatus

func (*GetInstanceResponseBodyData) SetSubSeriesCode

func (*GetInstanceResponseBodyData) SetTags added in v1.1.0

func (*GetInstanceResponseBodyData) SetTopicCount added in v1.0.1

func (*GetInstanceResponseBodyData) SetUpdateTime

func (*GetInstanceResponseBodyData) SetUserId

func (GetInstanceResponseBodyData) String

type GetInstanceResponseBodyDataAccountInfo

type GetInstanceResponseBodyDataAccountInfo struct {
	// The username of the instance. If you access a ApsaraMQ for RocketMQ instance over the Internet, you must configure the username and password of the instance in the SDK code for authentication.
	Username *string `json:"username,omitempty" xml:"username,omitempty"`
}

func (GetInstanceResponseBodyDataAccountInfo) GoString

func (*GetInstanceResponseBodyDataAccountInfo) SetUsername

func (GetInstanceResponseBodyDataAccountInfo) String

type GetInstanceResponseBodyDataAclInfo added in v1.0.2

type GetInstanceResponseBodyDataAclInfo struct {
	// The authentication type of the instance.
	//
	// Valid values:
	//
	// *   default: intelligent authentication
	AclType *string `json:"aclType,omitempty" xml:"aclType,omitempty"`
}

func (GetInstanceResponseBodyDataAclInfo) GoString added in v1.0.2

func (*GetInstanceResponseBodyDataAclInfo) SetAclType added in v1.0.2

func (GetInstanceResponseBodyDataAclInfo) String added in v1.0.2

type GetInstanceResponseBodyDataExtConfig

type GetInstanceResponseBodyDataExtConfig struct {
	// The authentication type of the instance.
	//
	// Valid values:
	//
	// *   default: intelligent authentication
	AclType *string `json:"aclType,omitempty" xml:"aclType,omitempty"`
	// Specifies whether to enable the elastic TPS feature for the instance.
	//
	// Valid values:
	//
	// *   true: enable
	// *   false: disable
	//
	// This parameter is valid only when the supportAutoScaling parameter is set to enable.
	AutoScaling *bool `json:"autoScaling,omitempty" xml:"autoScaling,omitempty"`
	// The Internet bandwidth. Unit: MB/s.
	FlowOutBandwidth *int32 `json:"flowOutBandwidth,omitempty" xml:"flowOutBandwidth,omitempty"`
	// The metering method for Internet usage.
	//
	// Valid values:
	//
	// *   PayByTraffic: pay-by-traffic
	// *   paybybandwidth: pay-by-bandwidth
	// *   uninvolved: N/A
	FlowOutType *string `json:"flowOutType,omitempty" xml:"flowOutType,omitempty"`
	// Specifies whether to enable the Internet access feature.
	//
	// Valid values:
	//
	// *   enable
	// *   disable
	//
	// By default, ApsaraMQ for RocketMQ instances are accessed in virtual private clouds (VPCs). If you enable the Internet access feature, you are charged for Internet outbound bandwidth. For more information, see [Internet access fee](~~427240~~).
	InternetSpec *string `json:"internetSpec,omitempty" xml:"internetSpec,omitempty"`
	// The retention period of messages. Unit: hours.
	//
	// For information about the valid values of this parameter, see the "Limits on resource quotas" section in [Usage limits](~~440347~~).
	//
	// The storage of messages in ApsaraMQ for RocketMQ is serverless and scalable. You are charged for message storage based on your actual usage. You can change the retention period of messages to adjust storage capacity. For more information, see [Storage fee](~~427238~~).
	MessageRetentionTime *int32 `json:"messageRetentionTime,omitempty" xml:"messageRetentionTime,omitempty"`
	// The computing specification that is used to send and receive messages. For information about the upper limit of TPS, see [Instance specifications](~~444715~~).
	MsgProcessSpec *string `json:"msgProcessSpec,omitempty" xml:"msgProcessSpec,omitempty"`
	// The ratio between sent messages and received messages in the instance.
	SendReceiveRatio *float32 `json:"sendReceiveRatio,omitempty" xml:"sendReceiveRatio,omitempty"`
	// Specifies whether the elastic TPS feature is supported by the instance.
	//
	// Valid values:
	//
	// *   true: enable
	// *   false: disable
	//
	// After you enable the elastic TPS feature for a ApsaraMQ for RocketMQ instance, you can use a specific amount of TPS that exceeds the specification limit. You are charged for the elastic TPS feature. For more information, see [Computing fee](~~427237~~).
	//
	// > The elastic TPS feature is supported only by specific instance editions. For more information, see [Instance specifications](~~444715~~).
	SupportAutoScaling *bool `json:"supportAutoScaling,omitempty" xml:"supportAutoScaling,omitempty"`
}

func (GetInstanceResponseBodyDataExtConfig) GoString

func (*GetInstanceResponseBodyDataExtConfig) SetAclType

func (*GetInstanceResponseBodyDataExtConfig) SetAutoScaling

func (*GetInstanceResponseBodyDataExtConfig) SetFlowOutBandwidth

func (*GetInstanceResponseBodyDataExtConfig) SetFlowOutType

func (*GetInstanceResponseBodyDataExtConfig) SetInternetSpec

func (*GetInstanceResponseBodyDataExtConfig) SetMessageRetentionTime

func (*GetInstanceResponseBodyDataExtConfig) SetMsgProcessSpec

func (*GetInstanceResponseBodyDataExtConfig) SetSendReceiveRatio

func (*GetInstanceResponseBodyDataExtConfig) SetSupportAutoScaling

func (GetInstanceResponseBodyDataExtConfig) String

type GetInstanceResponseBodyDataInstanceQuotas

type GetInstanceResponseBodyDataInstanceQuotas struct {
	// The number of free topics in the instance.
	FreeCount *float64 `json:"freeCount,omitempty" xml:"freeCount,omitempty"`
	// The name of the quota.
	//
	// Valid values:
	//
	// *   TOPIC_COUNT: the number of topics that you can create in the instance
	QuotaName *string `json:"quotaName,omitempty" xml:"quotaName,omitempty"`
	// The total number of topics in the instance.
	TotalCount *float64 `json:"totalCount,omitempty" xml:"totalCount,omitempty"`
	// The number of used topics in the instance.
	UsedCount *float64 `json:"usedCount,omitempty" xml:"usedCount,omitempty"`
}

func (GetInstanceResponseBodyDataInstanceQuotas) GoString

func (*GetInstanceResponseBodyDataInstanceQuotas) SetFreeCount

func (*GetInstanceResponseBodyDataInstanceQuotas) SetQuotaName

func (*GetInstanceResponseBodyDataInstanceQuotas) SetTotalCount

func (*GetInstanceResponseBodyDataInstanceQuotas) SetUsedCount

func (GetInstanceResponseBodyDataInstanceQuotas) String

type GetInstanceResponseBodyDataNetworkInfo

type GetInstanceResponseBodyDataNetworkInfo struct {
	// The information about endpoints.
	Endpoints []*GetInstanceResponseBodyDataNetworkInfoEndpoints `json:"endpoints,omitempty" xml:"endpoints,omitempty" type:"Repeated"`
	// The information about the Internet.
	InternetInfo *GetInstanceResponseBodyDataNetworkInfoInternetInfo `json:"internetInfo,omitempty" xml:"internetInfo,omitempty" type:"Struct"`
	// The information about the VPC.
	VpcInfo *GetInstanceResponseBodyDataNetworkInfoVpcInfo `json:"vpcInfo,omitempty" xml:"vpcInfo,omitempty" type:"Struct"`
}

func (GetInstanceResponseBodyDataNetworkInfo) GoString

func (*GetInstanceResponseBodyDataNetworkInfo) SetInternetInfo added in v1.0.2

func (GetInstanceResponseBodyDataNetworkInfo) String

type GetInstanceResponseBodyDataNetworkInfoEndpoints

type GetInstanceResponseBodyDataNetworkInfoEndpoints struct {
	// The type of the endpoint that is used to access the instance.
	//
	// Valid values:
	//
	// *   TCP_VPC: VPC endpoint
	// *   TCP_INTERNET: public endpoint
	EndpointType *string `json:"endpointType,omitempty" xml:"endpointType,omitempty"`
	// The endpoint that is used to access the instance.
	EndpointUrl *string `json:"endpointUrl,omitempty" xml:"endpointUrl,omitempty"`
	// The whitelist that includes the IP addresses that are allowed to access the ApsaraMQ for RocketMQ broker over the Internet. This parameter can be configured only when you use a public endpoint to access the ApsaraMQ for RocketMQ broker.
	//
	// *   If this parameter is not configured, all IP addresses are allowed to access the ApsaraMQ for RocketMQ broker over the Internet.
	// *   If this parameter is configured, only the IP addresses that are included in the whitelist can access the ApsaraMQ for RocketMQ broker over the Internet.
	//
	// We recommend that you configure the internetInfo.ipWhitelist parameter instead of this parameter.
	IpWhitelist []*string `json:"ipWhitelist,omitempty" xml:"ipWhitelist,omitempty" type:"Repeated"`
}

func (GetInstanceResponseBodyDataNetworkInfoEndpoints) GoString

func (*GetInstanceResponseBodyDataNetworkInfoEndpoints) SetEndpointType

func (*GetInstanceResponseBodyDataNetworkInfoEndpoints) SetEndpointUrl

func (*GetInstanceResponseBodyDataNetworkInfoEndpoints) SetIpWhitelist

func (GetInstanceResponseBodyDataNetworkInfoEndpoints) String

type GetInstanceResponseBodyDataNetworkInfoInternetInfo added in v1.0.2

type GetInstanceResponseBodyDataNetworkInfoInternetInfo struct {
	// The Internet bandwidth. Unit: MB/s.
	FlowOutBandwidth *int32 `json:"flowOutBandwidth,omitempty" xml:"flowOutBandwidth,omitempty"`
	// The metering method for Internet usage.
	//
	// Valid values:
	//
	// *   PayByBandwidth: pay-by-bandwidth. If the Internet access feature is enabled, specify this value for the parameter.
	// *   uninvolved: N/A. If the Internet access feature is not enabled, specify this value for the parameter.
	FlowOutType *string `json:"flowOutType,omitempty" xml:"flowOutType,omitempty"`
	// Specifies whether to enable the Internet access feature.
	//
	// Valid values:
	//
	// *   enable
	// *   disable
	//
	// By default, ApsaraMQ for RocketMQ instances are accessed in virtual private clouds (VPCs). If you enable the Internet access feature, you are charged for Internet outbound bandwidth. For more information, see [Internet access fee](~~427240~~).
	InternetSpec *string `json:"internetSpec,omitempty" xml:"internetSpec,omitempty"`
	// The whitelist that includes the IP addresses that are allowed to access the ApsaraMQ for RocketMQ broker.
	//
	// *   If this parameter is not configured, all IP addresses are allowed to access the ApsaraMQ for RocketMQ broker over the Internet.
	// *   If this parameter is configured, only the IP addresses that are included in the whitelist can access the ApsaraMQ for RocketMQ broker over the Internet.
	IpWhitelist []*string `json:"ipWhitelist,omitempty" xml:"ipWhitelist,omitempty" type:"Repeated"`
}

func (GetInstanceResponseBodyDataNetworkInfoInternetInfo) GoString added in v1.0.2

func (*GetInstanceResponseBodyDataNetworkInfoInternetInfo) SetFlowOutBandwidth added in v1.0.2

func (*GetInstanceResponseBodyDataNetworkInfoInternetInfo) SetFlowOutType added in v1.0.2

func (*GetInstanceResponseBodyDataNetworkInfoInternetInfo) SetInternetSpec added in v1.0.2

func (*GetInstanceResponseBodyDataNetworkInfoInternetInfo) SetIpWhitelist added in v1.0.2

func (GetInstanceResponseBodyDataNetworkInfoInternetInfo) String added in v1.0.2

type GetInstanceResponseBodyDataNetworkInfoVpcInfo

type GetInstanceResponseBodyDataNetworkInfoVpcInfo struct {
	// The ID of the vSwitch with which the instance is associated.
	VSwitchId *string `json:"vSwitchId,omitempty" xml:"vSwitchId,omitempty"`
	// The ID of the VPC with which the instance is associated.
	VpcId *string `json:"vpcId,omitempty" xml:"vpcId,omitempty"`
}

func (GetInstanceResponseBodyDataNetworkInfoVpcInfo) GoString

func (*GetInstanceResponseBodyDataNetworkInfoVpcInfo) SetVSwitchId

func (*GetInstanceResponseBodyDataNetworkInfoVpcInfo) SetVpcId

func (GetInstanceResponseBodyDataNetworkInfoVpcInfo) String

type GetInstanceResponseBodyDataProductInfo added in v1.0.2

type GetInstanceResponseBodyDataProductInfo struct {
	// Specifies whether to enable the elastic TPS feature for the instance.
	//
	// Valid values:
	//
	// *   true: enable
	// *   false: disable
	//
	// This parameter is valid only when the supportAutoScaling parameter is set to enable.
	AutoScaling *bool `json:"autoScaling,omitempty" xml:"autoScaling,omitempty"`
	// The retention period of messages. Unit: hours.
	//
	// For information about the valid values of this parameter, see the "Limits on resource quotas" section in [Usage limits](~~440347~~).
	//
	// The storage of messages in ApsaraMQ for RocketMQ is serverless and scalable. You are charged for message storage based on your actual usage. You can change the retention period of messages to adjust storage capacity. For more information, see [Storage fee](~~427238~~).
	MessageRetentionTime *int32 `json:"messageRetentionTime,omitempty" xml:"messageRetentionTime,omitempty"`
	// The computing specification that is used to send and receive messages. For information about the upper limit of TPS, see [Instance specifications](~~444715~~).
	MsgProcessSpec *string `json:"msgProcessSpec,omitempty" xml:"msgProcessSpec,omitempty"`
	// The ratio between sent messages and received messages in the instance.
	SendReceiveRatio *float32 `json:"sendReceiveRatio,omitempty" xml:"sendReceiveRatio,omitempty"`
	// Specifies whether to enable the elastic TPS feature for the instance.
	//
	// Valid values:
	//
	// *   true: enable
	// *   false: disable
	//
	// After you enable the elastic TPS feature for a ApsaraMQ for RocketMQ instance, you can use a specific amount of TPS that exceeds the specification limit. You are charged for the elastic TPS feature. For more information, see [Computing fee](~~427237~~).
	//
	// > The elastic TPS feature is supported by only specific instance editions. For more information, see [Instance specifications](~~444715~~).
	SupportAutoScaling *bool `json:"supportAutoScaling,omitempty" xml:"supportAutoScaling,omitempty"`
}

func (GetInstanceResponseBodyDataProductInfo) GoString added in v1.0.2

func (*GetInstanceResponseBodyDataProductInfo) SetAutoScaling added in v1.0.2

func (*GetInstanceResponseBodyDataProductInfo) SetMessageRetentionTime added in v1.0.2

func (*GetInstanceResponseBodyDataProductInfo) SetMsgProcessSpec added in v1.0.2

func (*GetInstanceResponseBodyDataProductInfo) SetSendReceiveRatio added in v1.0.2

func (*GetInstanceResponseBodyDataProductInfo) SetSupportAutoScaling added in v1.0.2

func (GetInstanceResponseBodyDataProductInfo) String added in v1.0.2

type GetInstanceResponseBodyDataSoftware added in v1.0.6

type GetInstanceResponseBodyDataSoftware struct {
	MaintainTime    *string `json:"maintainTime,omitempty" xml:"maintainTime,omitempty"`
	SoftwareVersion *string `json:"softwareVersion,omitempty" xml:"softwareVersion,omitempty"`
	UpgradeMethod   *string `json:"upgradeMethod,omitempty" xml:"upgradeMethod,omitempty"`
}

func (GetInstanceResponseBodyDataSoftware) GoString added in v1.0.6

func (*GetInstanceResponseBodyDataSoftware) SetMaintainTime added in v1.0.6

func (*GetInstanceResponseBodyDataSoftware) SetSoftwareVersion added in v1.0.6

func (*GetInstanceResponseBodyDataSoftware) SetUpgradeMethod added in v1.0.6

func (GetInstanceResponseBodyDataSoftware) String added in v1.0.6

type GetInstanceResponseBodyDataTags added in v1.1.0

type GetInstanceResponseBodyDataTags struct {
	Key   *string `json:"key,omitempty" xml:"key,omitempty"`
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
}

func (GetInstanceResponseBodyDataTags) GoString added in v1.1.0

func (*GetInstanceResponseBodyDataTags) SetKey added in v1.1.0

func (*GetInstanceResponseBodyDataTags) SetValue added in v1.1.0

func (GetInstanceResponseBodyDataTags) String added in v1.1.0

type GetTopicResponse

type GetTopicResponse struct {
	Headers    map[string]*string    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetTopicResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetTopicResponse) GoString

func (s GetTopicResponse) GoString() string

func (*GetTopicResponse) SetBody

func (*GetTopicResponse) SetHeaders

func (s *GetTopicResponse) SetHeaders(v map[string]*string) *GetTopicResponse

func (*GetTopicResponse) SetStatusCode

func (s *GetTopicResponse) SetStatusCode(v int32) *GetTopicResponse

func (GetTopicResponse) String

func (s GetTopicResponse) String() string

type GetTopicResponseBody

type GetTopicResponseBody struct {
	// The error code.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The result data that is returned.
	Data *GetTopicResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// The dynamic error code.
	DynamicCode *string `json:"dynamicCode,omitempty" xml:"dynamicCode,omitempty"`
	// The dynamic error message.
	DynamicMessage *string `json:"dynamicMessage,omitempty" xml:"dynamicMessage,omitempty"`
	// The HTTP status code.
	HttpStatusCode *int32 `json:"httpStatusCode,omitempty" xml:"httpStatusCode,omitempty"`
	// The error message.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
	// The ID of the request. The system generates a unique ID for each request. You can troubleshoot issues based on the request ID.
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
	// Indicates whether the call is successful.
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (GetTopicResponseBody) GoString

func (s GetTopicResponseBody) GoString() string

func (*GetTopicResponseBody) SetCode

func (*GetTopicResponseBody) SetData

func (*GetTopicResponseBody) SetDynamicCode

func (s *GetTopicResponseBody) SetDynamicCode(v string) *GetTopicResponseBody

func (*GetTopicResponseBody) SetDynamicMessage

func (s *GetTopicResponseBody) SetDynamicMessage(v string) *GetTopicResponseBody

func (*GetTopicResponseBody) SetHttpStatusCode

func (s *GetTopicResponseBody) SetHttpStatusCode(v int32) *GetTopicResponseBody

func (*GetTopicResponseBody) SetMessage

func (*GetTopicResponseBody) SetRequestId

func (s *GetTopicResponseBody) SetRequestId(v string) *GetTopicResponseBody

func (*GetTopicResponseBody) SetSuccess

func (GetTopicResponseBody) String

func (s GetTopicResponseBody) String() string

type GetTopicResponseBodyData

type GetTopicResponseBodyData struct {
	// The time when the topic was created.
	CreateTime *string `json:"createTime,omitempty" xml:"createTime,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"instanceId,omitempty" xml:"instanceId,omitempty"`
	// The message type of the topic.
	//
	// Valid values:
	//
	// *   TRANSACTION: transactional message
	// *   FIFO: ordered message
	// *   DELAY: scheduled or delayed message
	// *   NORMAL: normal message
	MessageType *string `json:"messageType,omitempty" xml:"messageType,omitempty"`
	// The ID of the region in which the instance resides.
	RegionId *string `json:"regionId,omitempty" xml:"regionId,omitempty"`
	// The remarks on the topic.
	Remark *string `json:"remark,omitempty" xml:"remark,omitempty"`
	// The state of the topic.
	//
	// Valid values:
	//
	// *   RUNNING: The topic is running.
	// *   CREATING: The topic is being created.
	Status *string `json:"status,omitempty" xml:"status,omitempty"`
	// The name of the topic.
	TopicName *string `json:"topicName,omitempty" xml:"topicName,omitempty"`
	// The time when the topic was last updated.
	UpdateTime *string `json:"updateTime,omitempty" xml:"updateTime,omitempty"`
}

func (GetTopicResponseBodyData) GoString

func (s GetTopicResponseBodyData) GoString() string

func (*GetTopicResponseBodyData) SetCreateTime

func (*GetTopicResponseBodyData) SetInstanceId

func (*GetTopicResponseBodyData) SetMessageType

func (*GetTopicResponseBodyData) SetRegionId

func (*GetTopicResponseBodyData) SetRemark

func (*GetTopicResponseBodyData) SetStatus

func (*GetTopicResponseBodyData) SetTopicName

func (*GetTopicResponseBodyData) SetUpdateTime

func (GetTopicResponseBodyData) String

func (s GetTopicResponseBodyData) String() string

type ListConsumerGroupSubscriptionsResponse added in v1.1.0

type ListConsumerGroupSubscriptionsResponse struct {
	Headers    map[string]*string                          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListConsumerGroupSubscriptionsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListConsumerGroupSubscriptionsResponse) GoString added in v1.1.0

func (*ListConsumerGroupSubscriptionsResponse) SetBody added in v1.1.0

func (*ListConsumerGroupSubscriptionsResponse) SetHeaders added in v1.1.0

func (*ListConsumerGroupSubscriptionsResponse) SetStatusCode added in v1.1.0

func (ListConsumerGroupSubscriptionsResponse) String added in v1.1.0

type ListConsumerGroupSubscriptionsResponseBody added in v1.1.0

type ListConsumerGroupSubscriptionsResponseBody struct {
	Code           *string                                           `json:"code,omitempty" xml:"code,omitempty"`
	Data           []*ListConsumerGroupSubscriptionsResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Repeated"`
	DynamicCode    *string                                           `json:"dynamicCode,omitempty" xml:"dynamicCode,omitempty"`
	DynamicMessage *string                                           `json:"dynamicMessage,omitempty" xml:"dynamicMessage,omitempty"`
	HttpStatusCode *int32                                            `json:"httpStatusCode,omitempty" xml:"httpStatusCode,omitempty"`
	Message        *string                                           `json:"message,omitempty" xml:"message,omitempty"`
	RequestId      *string                                           `json:"requestId,omitempty" xml:"requestId,omitempty"`
	Success        *bool                                             `json:"success,omitempty" xml:"success,omitempty"`
}

func (ListConsumerGroupSubscriptionsResponseBody) GoString added in v1.1.0

func (*ListConsumerGroupSubscriptionsResponseBody) SetCode added in v1.1.0

func (*ListConsumerGroupSubscriptionsResponseBody) SetData added in v1.1.0

func (*ListConsumerGroupSubscriptionsResponseBody) SetDynamicCode added in v1.1.0

func (*ListConsumerGroupSubscriptionsResponseBody) SetDynamicMessage added in v1.1.0

func (*ListConsumerGroupSubscriptionsResponseBody) SetHttpStatusCode added in v1.1.0

func (*ListConsumerGroupSubscriptionsResponseBody) SetMessage added in v1.1.0

func (*ListConsumerGroupSubscriptionsResponseBody) SetRequestId added in v1.1.0

func (*ListConsumerGroupSubscriptionsResponseBody) SetSuccess added in v1.1.0

func (ListConsumerGroupSubscriptionsResponseBody) String added in v1.1.0

type ListConsumerGroupSubscriptionsResponseBodyData added in v1.1.0

type ListConsumerGroupSubscriptionsResponseBodyData struct {
	ConsumerGroupId      *string `json:"consumerGroupId,omitempty" xml:"consumerGroupId,omitempty"`
	FilterExpression     *string `json:"filterExpression,omitempty" xml:"filterExpression,omitempty"`
	FilterExpressionType *string `json:"filterExpressionType,omitempty" xml:"filterExpressionType,omitempty"`
	MessageModel         *string `json:"messageModel,omitempty" xml:"messageModel,omitempty"`
	SubscriptionStatus   *string `json:"subscriptionStatus,omitempty" xml:"subscriptionStatus,omitempty"`
	TopicCreated         *bool   `json:"topicCreated,omitempty" xml:"topicCreated,omitempty"`
	TopicName            *string `json:"topicName,omitempty" xml:"topicName,omitempty"`
}

func (ListConsumerGroupSubscriptionsResponseBodyData) GoString added in v1.1.0

func (*ListConsumerGroupSubscriptionsResponseBodyData) SetConsumerGroupId added in v1.1.0

func (*ListConsumerGroupSubscriptionsResponseBodyData) SetFilterExpression added in v1.1.0

func (*ListConsumerGroupSubscriptionsResponseBodyData) SetFilterExpressionType added in v1.1.0

func (*ListConsumerGroupSubscriptionsResponseBodyData) SetMessageModel added in v1.1.0

func (*ListConsumerGroupSubscriptionsResponseBodyData) SetSubscriptionStatus added in v1.1.0

func (*ListConsumerGroupSubscriptionsResponseBodyData) SetTopicCreated added in v1.1.0

func (*ListConsumerGroupSubscriptionsResponseBodyData) SetTopicName added in v1.1.0

func (ListConsumerGroupSubscriptionsResponseBodyData) String added in v1.1.0

type ListConsumerGroupsRequest

type ListConsumerGroupsRequest struct {
	// The condition that you want to use to filter consumer groups in the instance. If you leave this parameter empty, all consumer groups in the instance are queried.
	Filter *string `json:"filter,omitempty" xml:"filter,omitempty"`
	// The number of the page to return.
	PageNumber *int32 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// The number of entries to return on each page.
	PageSize *int32 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
}

func (ListConsumerGroupsRequest) GoString

func (s ListConsumerGroupsRequest) GoString() string

func (*ListConsumerGroupsRequest) SetFilter

func (*ListConsumerGroupsRequest) SetPageNumber

func (*ListConsumerGroupsRequest) SetPageSize

func (ListConsumerGroupsRequest) String

func (s ListConsumerGroupsRequest) String() string

type ListConsumerGroupsResponse

type ListConsumerGroupsResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListConsumerGroupsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListConsumerGroupsResponse) GoString

func (s ListConsumerGroupsResponse) GoString() string

func (*ListConsumerGroupsResponse) SetBody

func (*ListConsumerGroupsResponse) SetHeaders

func (*ListConsumerGroupsResponse) SetStatusCode

func (ListConsumerGroupsResponse) String

type ListConsumerGroupsResponseBody

type ListConsumerGroupsResponseBody struct {
	// The error code.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The result data that is returned.
	Data *ListConsumerGroupsResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// The dynamic error code.
	DynamicCode *string `json:"dynamicCode,omitempty" xml:"dynamicCode,omitempty"`
	// The dynamic error message.
	DynamicMessage *string `json:"dynamicMessage,omitempty" xml:"dynamicMessage,omitempty"`
	// The HTTP status code.
	HttpStatusCode *int32 `json:"httpStatusCode,omitempty" xml:"httpStatusCode,omitempty"`
	// The error message.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
	// The ID of the request. The system generates a unique ID for each request. You can troubleshoot issues based on the request ID.
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
	// Indicates whether the call is successful.
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (ListConsumerGroupsResponseBody) GoString

func (*ListConsumerGroupsResponseBody) SetCode

func (*ListConsumerGroupsResponseBody) SetDynamicCode

func (*ListConsumerGroupsResponseBody) SetDynamicMessage

func (*ListConsumerGroupsResponseBody) SetHttpStatusCode

func (*ListConsumerGroupsResponseBody) SetMessage

func (*ListConsumerGroupsResponseBody) SetRequestId

func (*ListConsumerGroupsResponseBody) SetSuccess

func (ListConsumerGroupsResponseBody) String

type ListConsumerGroupsResponseBodyData

type ListConsumerGroupsResponseBodyData struct {
	// The paginated data.
	List []*ListConsumerGroupsResponseBodyDataList `json:"list,omitempty" xml:"list,omitempty" type:"Repeated"`
	// The page number of the returned page.
	PageNumber *int64 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// The number of entries returned per page.
	PageSize *int64 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
	// The total number of returned entries.
	TotalCount *int64 `json:"totalCount,omitempty" xml:"totalCount,omitempty"`
}

func (ListConsumerGroupsResponseBodyData) GoString

func (*ListConsumerGroupsResponseBodyData) SetPageNumber

func (*ListConsumerGroupsResponseBodyData) SetPageSize

func (*ListConsumerGroupsResponseBodyData) SetTotalCount

func (ListConsumerGroupsResponseBodyData) String

type ListConsumerGroupsResponseBodyDataList

type ListConsumerGroupsResponseBodyDataList struct {
	// The ID of the consumer group.
	ConsumerGroupId *string `json:"consumerGroupId,omitempty" xml:"consumerGroupId,omitempty"`
	// The time when the consumer group was created.
	CreateTime *string `json:"createTime,omitempty" xml:"createTime,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"instanceId,omitempty" xml:"instanceId,omitempty"`
	// The ID of the region in which the instance resides.
	RegionId *string `json:"regionId,omitempty" xml:"regionId,omitempty"`
	// The remarks on the consumer group.
	Remark *string `json:"remark,omitempty" xml:"remark,omitempty"`
	// The state of the consumer group.
	//
	// Valid values:
	//
	// *   RUNNING
	//
	//     <!-- -->
	//
	//     : The consumer group is
	//
	//     <!-- -->
	//
	//     running
	//
	//     <!-- -->
	//
	//     .
	//
	// *   CREATING
	//
	//     <!-- -->
	//
	//     : The consumer group is
	//
	//     <!-- -->
	//
	//     being created
	//
	//     <!-- -->
	//
	//     .
	Status *string `json:"status,omitempty" xml:"status,omitempty"`
	// The time when the consumer group was last updated.
	UpdateTime *string `json:"updateTime,omitempty" xml:"updateTime,omitempty"`
}

func (ListConsumerGroupsResponseBodyDataList) GoString

func (*ListConsumerGroupsResponseBodyDataList) SetConsumerGroupId

func (*ListConsumerGroupsResponseBodyDataList) SetCreateTime

func (*ListConsumerGroupsResponseBodyDataList) SetInstanceId

func (*ListConsumerGroupsResponseBodyDataList) SetRegionId

func (*ListConsumerGroupsResponseBodyDataList) SetRemark

func (*ListConsumerGroupsResponseBodyDataList) SetStatus

func (*ListConsumerGroupsResponseBodyDataList) SetUpdateTime

func (ListConsumerGroupsResponseBodyDataList) String

type ListInstancesRequest

type ListInstancesRequest struct {
	// The filter condition that is used to query instances. If you do not configure this parameter, all instances are queried.
	Filter *string `json:"filter,omitempty" xml:"filter,omitempty"`
	// The number of the page to return.
	//
	// Valid values: 1 to 100000000.
	//
	// If the value that you specify for this parameter is less than 1, the system uses 1 as the value. If the value that you specify for this parameter is greater than 100000000, the system uses 100000000 as the value.
	PageNumber *int32 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// The number of entries returned on each page.
	//
	// Value values: 10 to 200.
	//
	// If the value that you specify for this parameter is less than 10, the system uses 10 as the value. If the value that you specify for this parameter is greater than 200, the system uses 200 as the value.
	PageSize *int32 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
	// The ID of the resource group to which the instance belongs.
	ResourceGroupId *string `json:"resourceGroupId,omitempty" xml:"resourceGroupId,omitempty"`
	Tags            *string `json:"tags,omitempty" xml:"tags,omitempty"`
}

func (ListInstancesRequest) GoString

func (s ListInstancesRequest) GoString() string

func (*ListInstancesRequest) SetFilter

func (*ListInstancesRequest) SetPageNumber

func (s *ListInstancesRequest) SetPageNumber(v int32) *ListInstancesRequest

func (*ListInstancesRequest) SetPageSize

func (s *ListInstancesRequest) SetPageSize(v int32) *ListInstancesRequest

func (*ListInstancesRequest) SetResourceGroupId

func (s *ListInstancesRequest) SetResourceGroupId(v string) *ListInstancesRequest

func (*ListInstancesRequest) SetTags added in v1.1.0

func (ListInstancesRequest) String

func (s ListInstancesRequest) String() string

type ListInstancesResponse

type ListInstancesResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListInstancesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListInstancesResponse) GoString

func (s ListInstancesResponse) GoString() string

func (*ListInstancesResponse) SetBody

func (*ListInstancesResponse) SetHeaders

func (*ListInstancesResponse) SetStatusCode

func (s *ListInstancesResponse) SetStatusCode(v int32) *ListInstancesResponse

func (ListInstancesResponse) String

func (s ListInstancesResponse) String() string

type ListInstancesResponseBody

type ListInstancesResponseBody struct {
	// The error code returned if the call failed.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The returned result.
	Data *ListInstancesResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// The dynamic error code.
	DynamicCode *string `json:"dynamicCode,omitempty" xml:"dynamicCode,omitempty"`
	// The dynamic error message.
	DynamicMessage *string `json:"dynamicMessage,omitempty" xml:"dynamicMessage,omitempty"`
	// The HTTP status code returned.
	HttpStatusCode *int32 `json:"httpStatusCode,omitempty" xml:"httpStatusCode,omitempty"`
	// The error message.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
	// The ID of the request. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
	// Indicates whether the call was successful.
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (ListInstancesResponseBody) GoString

func (s ListInstancesResponseBody) GoString() string

func (*ListInstancesResponseBody) SetCode

func (*ListInstancesResponseBody) SetData

func (*ListInstancesResponseBody) SetDynamicCode

func (*ListInstancesResponseBody) SetDynamicMessage

func (*ListInstancesResponseBody) SetHttpStatusCode

func (*ListInstancesResponseBody) SetMessage

func (*ListInstancesResponseBody) SetRequestId

func (*ListInstancesResponseBody) SetSuccess

func (ListInstancesResponseBody) String

func (s ListInstancesResponseBody) String() string

type ListInstancesResponseBodyData

type ListInstancesResponseBodyData struct {
	// The page number of the returned page.
	List []*ListInstancesResponseBodyDataList `json:"list,omitempty" xml:"list,omitempty" type:"Repeated"`
	// The page number of the returned page.
	PageNumber *int64 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// The number of entries returned on each page.
	PageSize *int64 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
	// The total number of returned entries.
	TotalCount *int64 `json:"totalCount,omitempty" xml:"totalCount,omitempty"`
}

func (ListInstancesResponseBodyData) GoString

func (*ListInstancesResponseBodyData) SetList

func (*ListInstancesResponseBodyData) SetPageNumber

func (*ListInstancesResponseBodyData) SetPageSize

func (*ListInstancesResponseBodyData) SetTotalCount

func (ListInstancesResponseBodyData) String

type ListInstancesResponseBodyDataList

type ListInstancesResponseBodyDataList struct {
	// The commodity code of the instance. The commodity code of a ApsaraMQ for RocketMQ 5.0 instance has a similar format as ons_rmqsub_public_cn.
	CommodityCode *string `json:"commodityCode,omitempty" xml:"commodityCode,omitempty"`
	// The time when the instance was created.
	CreateTime *string `json:"createTime,omitempty" xml:"createTime,omitempty"`
	// The time when the instance expires.
	ExpireTime *string `json:"expireTime,omitempty" xml:"expireTime,omitempty"`
	// The number of consumer groups created in the instance.
	GroupCount *int64 `json:"groupCount,omitempty" xml:"groupCount,omitempty"`
	// The ID of the instance
	InstanceId *string `json:"instanceId,omitempty" xml:"instanceId,omitempty"`
	// The name of the instance.
	InstanceName *string `json:"instanceName,omitempty" xml:"instanceName,omitempty"`
	// The billing method of the instance.
	//
	// Valid values:
	//
	// *   PayAsYouGo: pay-as-you-go
	// *   Subscription
	PaymentType *string `json:"paymentType,omitempty" xml:"paymentType,omitempty"`
	// The ID of the region in which the instance resides.
	RegionId *string `json:"regionId,omitempty" xml:"regionId,omitempty"`
	// The time when the instance was released.
	ReleaseTime *string `json:"releaseTime,omitempty" xml:"releaseTime,omitempty"`
	// The description of the instance.
	Remark *string `json:"remark,omitempty" xml:"remark,omitempty"`
	// The ID of the resource group to which the instance belongs.
	ResourceGroupId *string `json:"resourceGroupId,omitempty" xml:"resourceGroupId,omitempty"`
	// The primary edition of the instance.
	//
	// Valid values:
	//
	// *   standard: Standard Edition
	// *   ultimate: Enterprise Platinum Edition
	// *   professional: Professional Edition
	SeriesCode *string `json:"seriesCode,omitempty" xml:"seriesCode,omitempty"`
	// The code of the service to which the instance belongs. The service code of ApsaraMQ for RocketMQ is rmq.
	ServiceCode *string `json:"serviceCode,omitempty" xml:"serviceCode,omitempty"`
	// The time when the instance was started.
	StartTime *string `json:"startTime,omitempty" xml:"startTime,omitempty"`
	// The status of the instance.
	//
	// Valid values:
	//
	// *   RELEASED
	// *   RUNNING
	// *   STOPPED
	// *   CHANGING
	// *   CREATING
	Status *string `json:"status,omitempty" xml:"status,omitempty"`
	// The sub-category edition of the instance.
	//
	// Valid values:
	//
	// *   cluster_ha: Cluster High-availability Edition
	// *   single_node: Standalone Edition
	SubSeriesCode *string                                  `json:"subSeriesCode,omitempty" xml:"subSeriesCode,omitempty"`
	Tags          []*ListInstancesResponseBodyDataListTags `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"`
	// The number of topics created in the instance.
	TopicCount *int64 `json:"topicCount,omitempty" xml:"topicCount,omitempty"`
	// The time when the instance was last modified.
	UpdateTime *string `json:"updateTime,omitempty" xml:"updateTime,omitempty"`
	// The ID of the user who owns the instance.
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (ListInstancesResponseBodyDataList) GoString

func (*ListInstancesResponseBodyDataList) SetCommodityCode

func (*ListInstancesResponseBodyDataList) SetCreateTime

func (*ListInstancesResponseBodyDataList) SetExpireTime

func (*ListInstancesResponseBodyDataList) SetGroupCount

func (*ListInstancesResponseBodyDataList) SetInstanceId

func (*ListInstancesResponseBodyDataList) SetInstanceName

func (*ListInstancesResponseBodyDataList) SetPaymentType

func (*ListInstancesResponseBodyDataList) SetRegionId

func (*ListInstancesResponseBodyDataList) SetReleaseTime

func (*ListInstancesResponseBodyDataList) SetRemark

func (*ListInstancesResponseBodyDataList) SetResourceGroupId

func (*ListInstancesResponseBodyDataList) SetSeriesCode

func (*ListInstancesResponseBodyDataList) SetServiceCode

func (*ListInstancesResponseBodyDataList) SetStartTime

func (*ListInstancesResponseBodyDataList) SetStatus

func (*ListInstancesResponseBodyDataList) SetSubSeriesCode

func (*ListInstancesResponseBodyDataList) SetTags added in v1.1.0

func (*ListInstancesResponseBodyDataList) SetTopicCount

func (*ListInstancesResponseBodyDataList) SetUpdateTime

func (*ListInstancesResponseBodyDataList) SetUserId

func (ListInstancesResponseBodyDataList) String

type ListInstancesResponseBodyDataListTags added in v1.1.0

type ListInstancesResponseBodyDataListTags struct {
	Key   *string `json:"key,omitempty" xml:"key,omitempty"`
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
}

func (ListInstancesResponseBodyDataListTags) GoString added in v1.1.0

func (*ListInstancesResponseBodyDataListTags) SetKey added in v1.1.0

func (*ListInstancesResponseBodyDataListTags) SetValue added in v1.1.0

func (ListInstancesResponseBodyDataListTags) String added in v1.1.0

type ListTopicsRequest

type ListTopicsRequest struct {
	// The condition that you want to use to filter topics in the instance. If you leave this parameter empty, all topics in the instance are queried.
	Filter *string `json:"filter,omitempty" xml:"filter,omitempty"`
	// The message types of the topics.
	MessageTypes []*string `json:"messageTypes,omitempty" xml:"messageTypes,omitempty" type:"Repeated"`
	// The number of the page to return.
	PageNumber *int32 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// The number of entries to return on each page.
	PageSize *int32 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
}

func (ListTopicsRequest) GoString

func (s ListTopicsRequest) GoString() string

func (*ListTopicsRequest) SetFilter

func (s *ListTopicsRequest) SetFilter(v string) *ListTopicsRequest

func (*ListTopicsRequest) SetMessageTypes added in v1.0.3

func (s *ListTopicsRequest) SetMessageTypes(v []*string) *ListTopicsRequest

func (*ListTopicsRequest) SetPageNumber

func (s *ListTopicsRequest) SetPageNumber(v int32) *ListTopicsRequest

func (*ListTopicsRequest) SetPageSize

func (s *ListTopicsRequest) SetPageSize(v int32) *ListTopicsRequest

func (ListTopicsRequest) String

func (s ListTopicsRequest) String() string

type ListTopicsResponse

type ListTopicsResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListTopicsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListTopicsResponse) GoString

func (s ListTopicsResponse) GoString() string

func (*ListTopicsResponse) SetBody

func (*ListTopicsResponse) SetHeaders

func (s *ListTopicsResponse) SetHeaders(v map[string]*string) *ListTopicsResponse

func (*ListTopicsResponse) SetStatusCode

func (s *ListTopicsResponse) SetStatusCode(v int32) *ListTopicsResponse

func (ListTopicsResponse) String

func (s ListTopicsResponse) String() string

type ListTopicsResponseBody

type ListTopicsResponseBody struct {
	// The error code.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The result data that is returned.
	Data *ListTopicsResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// The dynamic error code.
	DynamicCode *string `json:"dynamicCode,omitempty" xml:"dynamicCode,omitempty"`
	// The dynamic error message.
	DynamicMessage *string `json:"dynamicMessage,omitempty" xml:"dynamicMessage,omitempty"`
	// The HTTP status code.
	HttpStatusCode *int32 `json:"httpStatusCode,omitempty" xml:"httpStatusCode,omitempty"`
	// The error message.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
	// The ID of the request. The system generates a unique ID for each request. You can troubleshoot issues based on the request ID.
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
	// Indicates whether the call is successful.
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (ListTopicsResponseBody) GoString

func (s ListTopicsResponseBody) GoString() string

func (*ListTopicsResponseBody) SetCode

func (*ListTopicsResponseBody) SetData

func (*ListTopicsResponseBody) SetDynamicCode

func (*ListTopicsResponseBody) SetDynamicMessage

func (s *ListTopicsResponseBody) SetDynamicMessage(v string) *ListTopicsResponseBody

func (*ListTopicsResponseBody) SetHttpStatusCode

func (s *ListTopicsResponseBody) SetHttpStatusCode(v int32) *ListTopicsResponseBody

func (*ListTopicsResponseBody) SetMessage

func (*ListTopicsResponseBody) SetRequestId

func (*ListTopicsResponseBody) SetSuccess

func (ListTopicsResponseBody) String

func (s ListTopicsResponseBody) String() string

type ListTopicsResponseBodyData

type ListTopicsResponseBodyData struct {
	// The paginated data.
	List []*ListTopicsResponseBodyDataList `json:"list,omitempty" xml:"list,omitempty" type:"Repeated"`
	// The page number of the returned page.
	PageNumber *int64 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// The number of entries returned per page.
	PageSize *int64 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
	// The total number of returned entries.
	TotalCount *int64 `json:"totalCount,omitempty" xml:"totalCount,omitempty"`
}

func (ListTopicsResponseBodyData) GoString

func (s ListTopicsResponseBodyData) GoString() string

func (*ListTopicsResponseBodyData) SetList

func (*ListTopicsResponseBodyData) SetPageNumber

func (*ListTopicsResponseBodyData) SetPageSize

func (*ListTopicsResponseBodyData) SetTotalCount

func (ListTopicsResponseBodyData) String

type ListTopicsResponseBodyDataList

type ListTopicsResponseBodyDataList struct {
	// The time when the topic was created.
	CreateTime *string `json:"createTime,omitempty" xml:"createTime,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"instanceId,omitempty" xml:"instanceId,omitempty"`
	// The message type of the topic.
	//
	// Valid values:
	//
	// *   TRANSACTION
	//
	//     <!-- -->
	//
	//     :
	//
	//     <!-- -->
	//
	//     transactional message
	//
	//     <!-- -->
	//
	// *   FIFO
	//
	//     <!-- -->
	//
	//     :
	//
	//     <!-- -->
	//
	//     ordered message
	//
	//     <!-- -->
	//
	// *   DELAY
	//
	//     <!-- -->
	//
	//     :
	//
	//     <!-- -->
	//
	//     scheduled or delayed message
	//
	//     <!-- -->
	//
	// *   NORMAL
	//
	//     <!-- -->
	//
	//     :
	//
	//     <!-- -->
	//
	//     normal message
	//
	//     <!-- -->
	MessageType *string `json:"messageType,omitempty" xml:"messageType,omitempty"`
	// The ID of the region in which the instance resides.
	RegionId *string `json:"regionId,omitempty" xml:"regionId,omitempty"`
	// The remarks on the topic.
	Remark *string `json:"remark,omitempty" xml:"remark,omitempty"`
	// The state of the topic.
	//
	// Valid values:
	//
	// *   RUNNING
	//
	//     <!-- -->
	//
	//     : The topic is
	//
	//     <!-- -->
	//
	//     running
	//
	//     <!-- -->
	//
	//     .
	//
	// *   CREATING
	//
	//     <!-- -->
	//
	//     : The topic is
	//
	//     <!-- -->
	//
	//     being created
	//
	//     <!-- -->
	//
	//     .
	Status *string `json:"status,omitempty" xml:"status,omitempty"`
	// The name of the topic.
	TopicName *string `json:"topicName,omitempty" xml:"topicName,omitempty"`
	// The time when the topic was last updated.
	UpdateTime *string `json:"updateTime,omitempty" xml:"updateTime,omitempty"`
}

func (ListTopicsResponseBodyDataList) GoString

func (*ListTopicsResponseBodyDataList) SetCreateTime

func (*ListTopicsResponseBodyDataList) SetInstanceId

func (*ListTopicsResponseBodyDataList) SetMessageType

func (*ListTopicsResponseBodyDataList) SetRegionId

func (*ListTopicsResponseBodyDataList) SetRemark

func (*ListTopicsResponseBodyDataList) SetStatus

func (*ListTopicsResponseBodyDataList) SetTopicName

func (*ListTopicsResponseBodyDataList) SetUpdateTime

func (ListTopicsResponseBodyDataList) String

type ListTopicsShrinkRequest added in v1.0.3

type ListTopicsShrinkRequest struct {
	// The condition that you want to use to filter topics in the instance. If you leave this parameter empty, all topics in the instance are queried.
	Filter *string `json:"filter,omitempty" xml:"filter,omitempty"`
	// The message types of the topics.
	MessageTypesShrink *string `json:"messageTypes,omitempty" xml:"messageTypes,omitempty"`
	// The number of the page to return.
	PageNumber *int32 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// The number of entries to return on each page.
	PageSize *int32 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
}

func (ListTopicsShrinkRequest) GoString added in v1.0.3

func (s ListTopicsShrinkRequest) GoString() string

func (*ListTopicsShrinkRequest) SetFilter added in v1.0.3

func (*ListTopicsShrinkRequest) SetMessageTypesShrink added in v1.0.3

func (s *ListTopicsShrinkRequest) SetMessageTypesShrink(v string) *ListTopicsShrinkRequest

func (*ListTopicsShrinkRequest) SetPageNumber added in v1.0.3

func (*ListTopicsShrinkRequest) SetPageSize added in v1.0.3

func (ListTopicsShrinkRequest) String added in v1.0.3

func (s ListTopicsShrinkRequest) String() string

type ResetConsumeOffsetRequest added in v1.1.0

type ResetConsumeOffsetRequest struct {
	ResetTime *string `json:"resetTime,omitempty" xml:"resetTime,omitempty"`
	ResetType *string `json:"resetType,omitempty" xml:"resetType,omitempty"`
}

func (ResetConsumeOffsetRequest) GoString added in v1.1.0

func (s ResetConsumeOffsetRequest) GoString() string

func (*ResetConsumeOffsetRequest) SetResetTime added in v1.1.0

func (*ResetConsumeOffsetRequest) SetResetType added in v1.1.0

func (ResetConsumeOffsetRequest) String added in v1.1.0

func (s ResetConsumeOffsetRequest) String() string

type ResetConsumeOffsetResponse added in v1.1.0

type ResetConsumeOffsetResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ResetConsumeOffsetResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ResetConsumeOffsetResponse) GoString added in v1.1.0

func (s ResetConsumeOffsetResponse) GoString() string

func (*ResetConsumeOffsetResponse) SetBody added in v1.1.0

func (*ResetConsumeOffsetResponse) SetHeaders added in v1.1.0

func (*ResetConsumeOffsetResponse) SetStatusCode added in v1.1.0

func (ResetConsumeOffsetResponse) String added in v1.1.0

type ResetConsumeOffsetResponseBody added in v1.1.0

type ResetConsumeOffsetResponseBody struct {
	Code           *string `json:"code,omitempty" xml:"code,omitempty"`
	DynamicCode    *string `json:"dynamicCode,omitempty" xml:"dynamicCode,omitempty"`
	DynamicMessage *string `json:"dynamicMessage,omitempty" xml:"dynamicMessage,omitempty"`
	HttpStatusCode *int32  `json:"httpStatusCode,omitempty" xml:"httpStatusCode,omitempty"`
	Message        *string `json:"message,omitempty" xml:"message,omitempty"`
	RequestId      *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
	Success        *bool   `json:"success,omitempty" xml:"success,omitempty"`
}

func (ResetConsumeOffsetResponseBody) GoString added in v1.1.0

func (*ResetConsumeOffsetResponseBody) SetCode added in v1.1.0

func (*ResetConsumeOffsetResponseBody) SetDynamicCode added in v1.1.0

func (*ResetConsumeOffsetResponseBody) SetDynamicMessage added in v1.1.0

func (*ResetConsumeOffsetResponseBody) SetHttpStatusCode added in v1.1.0

func (*ResetConsumeOffsetResponseBody) SetMessage added in v1.1.0

func (*ResetConsumeOffsetResponseBody) SetRequestId added in v1.1.0

func (*ResetConsumeOffsetResponseBody) SetSuccess added in v1.1.0

func (ResetConsumeOffsetResponseBody) String added in v1.1.0

type UpdateConsumerGroupRequest

type UpdateConsumerGroupRequest struct {
	// The new consumption retry policy that you want to configure for the consumer group. For more information, see [Consumption retry](~~440356~~).
	ConsumeRetryPolicy *UpdateConsumerGroupRequestConsumeRetryPolicy `json:"consumeRetryPolicy,omitempty" xml:"consumeRetryPolicy,omitempty" type:"Struct"`
	// The new message delivery order of the consumer group.
	//
	// Valid values:
	//
	// *   Concurrently: concurrent delivery
	// *   Orderly: ordered delivery
	DeliveryOrderType *string `json:"deliveryOrderType,omitempty" xml:"deliveryOrderType,omitempty"`
	// The new remarks on the consumer group.
	Remark *string `json:"remark,omitempty" xml:"remark,omitempty"`
}

func (UpdateConsumerGroupRequest) GoString

func (s UpdateConsumerGroupRequest) GoString() string

func (*UpdateConsumerGroupRequest) SetDeliveryOrderType

func (s *UpdateConsumerGroupRequest) SetDeliveryOrderType(v string) *UpdateConsumerGroupRequest

func (*UpdateConsumerGroupRequest) SetRemark

func (UpdateConsumerGroupRequest) String

type UpdateConsumerGroupRequestConsumeRetryPolicy

type UpdateConsumerGroupRequestConsumeRetryPolicy struct {
	// The dead-letter topic.
	//
	// If a consumer still fails to consume a message after the message is retried for a specified number of times, the message is delivered to a dead-letter topic for subsequent business recovery or troubleshooting. For more information, see [Consumption retry and dead-letter messages](~~440356~~).
	DeadLetterTargetTopic *string `json:"deadLetterTargetTopic,omitempty" xml:"deadLetterTargetTopic,omitempty"`
	// The maximum number of retries.
	MaxRetryTimes *int32 `json:"maxRetryTimes,omitempty" xml:"maxRetryTimes,omitempty"`
	// The retry policy. For more information, see [Message retry](~~440356~~).
	//
	// Valid values:
	//
	// *   FixedRetryPolicy: Failed messages are retried at a fixed interval.
	// *   DefaultRetryPolicy: Failed messages are retried at incremental intervals as the number of retries increases.
	RetryPolicy *string `json:"retryPolicy,omitempty" xml:"retryPolicy,omitempty"`
}

func (UpdateConsumerGroupRequestConsumeRetryPolicy) GoString

func (*UpdateConsumerGroupRequestConsumeRetryPolicy) SetDeadLetterTargetTopic added in v1.0.4

func (*UpdateConsumerGroupRequestConsumeRetryPolicy) SetMaxRetryTimes

func (*UpdateConsumerGroupRequestConsumeRetryPolicy) SetRetryPolicy

func (UpdateConsumerGroupRequestConsumeRetryPolicy) String

type UpdateConsumerGroupResponse

type UpdateConsumerGroupResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpdateConsumerGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpdateConsumerGroupResponse) GoString

func (s UpdateConsumerGroupResponse) GoString() string

func (*UpdateConsumerGroupResponse) SetBody

func (*UpdateConsumerGroupResponse) SetHeaders

func (*UpdateConsumerGroupResponse) SetStatusCode

func (UpdateConsumerGroupResponse) String

type UpdateConsumerGroupResponseBody

type UpdateConsumerGroupResponseBody struct {
	// The error code.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The result data that is returned.
	Data *bool `json:"data,omitempty" xml:"data,omitempty"`
	// The dynamic error code.
	DynamicCode *string `json:"dynamicCode,omitempty" xml:"dynamicCode,omitempty"`
	// The dynamic error message.
	DynamicMessage *string `json:"dynamicMessage,omitempty" xml:"dynamicMessage,omitempty"`
	// The HTTP status code.
	HttpStatusCode *int32 `json:"httpStatusCode,omitempty" xml:"httpStatusCode,omitempty"`
	// The error message.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
	// The ID of the request. The system generates a unique ID for each request. You can troubleshoot issues based on the request ID.
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
	// Indicates whether the call is successful.
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (UpdateConsumerGroupResponseBody) GoString

func (*UpdateConsumerGroupResponseBody) SetCode

func (*UpdateConsumerGroupResponseBody) SetData

func (*UpdateConsumerGroupResponseBody) SetDynamicCode

func (*UpdateConsumerGroupResponseBody) SetDynamicMessage

func (*UpdateConsumerGroupResponseBody) SetHttpStatusCode

func (*UpdateConsumerGroupResponseBody) SetMessage

func (*UpdateConsumerGroupResponseBody) SetRequestId

func (*UpdateConsumerGroupResponseBody) SetSuccess

func (UpdateConsumerGroupResponseBody) String

type UpdateInstanceRequest

type UpdateInstanceRequest struct {
	// The new name of the instance.
	InstanceName *string `json:"instanceName,omitempty" xml:"instanceName,omitempty"`
	// The new network information about the instance.
	NetworkInfo *UpdateInstanceRequestNetworkInfo `json:"networkInfo,omitempty" xml:"networkInfo,omitempty" type:"Struct"`
	// The extended configurations of the instance.
	ProductInfo *UpdateInstanceRequestProductInfo `json:"productInfo,omitempty" xml:"productInfo,omitempty" type:"Struct"`
	// The new remarks on the instance.
	Remark *string `json:"remark,omitempty" xml:"remark,omitempty"`
}

func (UpdateInstanceRequest) GoString

func (s UpdateInstanceRequest) GoString() string

func (*UpdateInstanceRequest) SetInstanceName

func (s *UpdateInstanceRequest) SetInstanceName(v string) *UpdateInstanceRequest

func (*UpdateInstanceRequest) SetNetworkInfo

func (*UpdateInstanceRequest) SetProductInfo added in v1.0.2

func (*UpdateInstanceRequest) SetRemark

func (UpdateInstanceRequest) String

func (s UpdateInstanceRequest) String() string

type UpdateInstanceRequestNetworkInfo

type UpdateInstanceRequestNetworkInfo struct {
	// The Internet information about the instance. This parameter takes effect only when the Internet access feature is enabled for the instance.
	InternetInfo *UpdateInstanceRequestNetworkInfoInternetInfo `json:"internetInfo,omitempty" xml:"internetInfo,omitempty" type:"Struct"`
}

func (UpdateInstanceRequestNetworkInfo) GoString

func (*UpdateInstanceRequestNetworkInfo) SetInternetInfo added in v1.0.2

func (UpdateInstanceRequestNetworkInfo) String

type UpdateInstanceRequestNetworkInfoInternetInfo added in v1.0.2

type UpdateInstanceRequestNetworkInfoInternetInfo struct {
	// The IP address whitelist that allows access to the instance over the Internet.
	//
	// *   If you do not configure an IP address whitelist, all IP addresses are allowed to access the ApsaraMQ for RocketMQ broker over the Internet.
	// *   If you configure an IP address whitelist, only IP addresses in the whitelist are allowed to access the ApsaraMQ for RocketMQ broker over the Internet.
	IpWhitelist []*string `json:"ipWhitelist,omitempty" xml:"ipWhitelist,omitempty" type:"Repeated"`
}

func (UpdateInstanceRequestNetworkInfoInternetInfo) GoString added in v1.0.2

func (*UpdateInstanceRequestNetworkInfoInternetInfo) SetIpWhitelist added in v1.0.2

func (UpdateInstanceRequestNetworkInfoInternetInfo) String added in v1.0.2

type UpdateInstanceRequestProductInfo added in v1.0.2

type UpdateInstanceRequestProductInfo struct {
	// Specifies whether to enable burst scaling for the instance.
	//
	// Valid values:
	//
	// *   true
	// *   false
	//
	// After you enable burst scaling, the system allows the actual messaging transactions per second (TPS) of the ApsaraMQ for RocketMQ instance to exceed the upper limit of the basic computing specification. You are charged for the extra TPS. For more information, see [Computing fee](~~427237~~).
	//
	// > Only specific types of instances support burst scaling. For more information, see [Instance specifications](~~444715~~).
	AutoScaling *bool `json:"autoScaling,omitempty" xml:"autoScaling,omitempty"`
	// The retention period of messages. Unit: hours.
	//
	// For more information about the valid values, see the "Limits on resource quotas" section of the [Usage limits](~~440347~~) topic.
	//
	// The storage of ApsaraMQ for RocketMQ messages is in serverless scaling mode. You are charged based on the actual used storage. You can adjust the storage retention period to reduce storage usage and costs. For more information, see [Storage fees](~~427238~~).
	MessageRetentionTime *int32 `json:"messageRetentionTime,omitempty" xml:"messageRetentionTime,omitempty"`
	// The ratio of the number of messages that you can send to the number of messages that you can receive in the instance.
	//
	// Value values: 0.25 to 1.
	SendReceiveRatio *float32 `json:"sendReceiveRatio,omitempty" xml:"sendReceiveRatio,omitempty"`
}

func (UpdateInstanceRequestProductInfo) GoString added in v1.0.2

func (*UpdateInstanceRequestProductInfo) SetAutoScaling added in v1.0.2

func (*UpdateInstanceRequestProductInfo) SetMessageRetentionTime added in v1.0.2

func (*UpdateInstanceRequestProductInfo) SetSendReceiveRatio added in v1.0.2

func (UpdateInstanceRequestProductInfo) String added in v1.0.2

type UpdateInstanceResponse

type UpdateInstanceResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpdateInstanceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpdateInstanceResponse) GoString

func (s UpdateInstanceResponse) GoString() string

func (*UpdateInstanceResponse) SetBody

func (*UpdateInstanceResponse) SetHeaders

func (*UpdateInstanceResponse) SetStatusCode

func (UpdateInstanceResponse) String

func (s UpdateInstanceResponse) String() string

type UpdateInstanceResponseBody

type UpdateInstanceResponseBody struct {
	// The error code.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The result data that is returned.
	Data *bool `json:"data,omitempty" xml:"data,omitempty"`
	// The dynamic error code.
	DynamicCode *string `json:"dynamicCode,omitempty" xml:"dynamicCode,omitempty"`
	// The dynamic error message.
	DynamicMessage *string `json:"dynamicMessage,omitempty" xml:"dynamicMessage,omitempty"`
	// The HTTP status code.
	HttpStatusCode *int32 `json:"httpStatusCode,omitempty" xml:"httpStatusCode,omitempty"`
	// The error message.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
	// The ID of the request. The system generates a unique ID for each request. You can troubleshoot issues based on the request ID.
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
	// Indicates whether the call is successful.
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (UpdateInstanceResponseBody) GoString

func (s UpdateInstanceResponseBody) GoString() string

func (*UpdateInstanceResponseBody) SetCode

func (*UpdateInstanceResponseBody) SetData

func (*UpdateInstanceResponseBody) SetDynamicCode

func (*UpdateInstanceResponseBody) SetDynamicMessage

func (*UpdateInstanceResponseBody) SetHttpStatusCode

func (*UpdateInstanceResponseBody) SetMessage

func (*UpdateInstanceResponseBody) SetRequestId

func (*UpdateInstanceResponseBody) SetSuccess

func (UpdateInstanceResponseBody) String

type UpdateTopicRequest

type UpdateTopicRequest struct {
	// The new remarks on the topic.
	Remark *string `json:"remark,omitempty" xml:"remark,omitempty"`
}

func (UpdateTopicRequest) GoString

func (s UpdateTopicRequest) GoString() string

func (*UpdateTopicRequest) SetRemark

func (s *UpdateTopicRequest) SetRemark(v string) *UpdateTopicRequest

func (UpdateTopicRequest) String

func (s UpdateTopicRequest) String() string

type UpdateTopicResponse

type UpdateTopicResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpdateTopicResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpdateTopicResponse) GoString

func (s UpdateTopicResponse) GoString() string

func (*UpdateTopicResponse) SetBody

func (*UpdateTopicResponse) SetHeaders

func (s *UpdateTopicResponse) SetHeaders(v map[string]*string) *UpdateTopicResponse

func (*UpdateTopicResponse) SetStatusCode

func (s *UpdateTopicResponse) SetStatusCode(v int32) *UpdateTopicResponse

func (UpdateTopicResponse) String

func (s UpdateTopicResponse) String() string

type UpdateTopicResponseBody

type UpdateTopicResponseBody struct {
	// The error code.
	Code *string `json:"code,omitempty" xml:"code,omitempty"`
	// The result data that is returned.
	Data *bool `json:"data,omitempty" xml:"data,omitempty"`
	// The dynamic error code.
	DynamicCode *string `json:"dynamicCode,omitempty" xml:"dynamicCode,omitempty"`
	// The dynamic error message.
	DynamicMessage *string `json:"dynamicMessage,omitempty" xml:"dynamicMessage,omitempty"`
	// The HTTP status code.
	HttpStatusCode *int32 `json:"httpStatusCode,omitempty" xml:"httpStatusCode,omitempty"`
	// The error message.
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
	// The ID of the request. The system generates a unique ID for each request. You can troubleshoot issues based on the request ID.
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
	// Indicates whether the call is successful.
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (UpdateTopicResponseBody) GoString

func (s UpdateTopicResponseBody) GoString() string

func (*UpdateTopicResponseBody) SetCode

func (*UpdateTopicResponseBody) SetData

func (*UpdateTopicResponseBody) SetDynamicCode

func (*UpdateTopicResponseBody) SetDynamicMessage

func (s *UpdateTopicResponseBody) SetDynamicMessage(v string) *UpdateTopicResponseBody

func (*UpdateTopicResponseBody) SetHttpStatusCode

func (s *UpdateTopicResponseBody) SetHttpStatusCode(v int32) *UpdateTopicResponseBody

func (*UpdateTopicResponseBody) SetMessage

func (*UpdateTopicResponseBody) SetRequestId

func (*UpdateTopicResponseBody) SetSuccess

func (UpdateTopicResponseBody) String

func (s UpdateTopicResponseBody) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL