client

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 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 Client

type Client struct {
	openapi.Client
}

func NewClient

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

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) Init

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

func (*Client) ListTagResources

func (client *Client) ListTagResources(request *ListTagResourcesRequest) (_result *ListTagResourcesResponse, _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.
  • When you call the **ListTagResources** operation, specify at least one of the following parameters in the request: **Key** and **ResourceId**. You can specify a resource ID to query all tags that are attached to the specified resource. You can also specify a tag key to query the tag value and resource to which the tag is attached.
  • * If you include the **Key** parameter in a request, you can obtain the tag value and the ID of the resource to which the tag is attached.********
  • * If you include the **ResourceId** parameter in a request, you can obtain the keys and values of all tags that are attached to the specified resource. *
  • @param request ListTagResourcesRequest
  • @return ListTagResourcesResponse

func (*Client) ListTagResourcesWithOptions

func (client *Client) ListTagResourcesWithOptions(request *ListTagResourcesRequest, runtime *util.RuntimeOptions) (_result *ListTagResourcesResponse, _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.
  • When you call the **ListTagResources** operation, specify at least one of the following parameters in the request: **Key** and **ResourceId**. You can specify a resource ID to query all tags that are attached to the specified resource. You can also specify a tag key to query the tag value and resource to which the tag is attached.
  • * If you include the **Key** parameter in a request, you can obtain the tag value and the ID of the resource to which the tag is attached.********
  • * If you include the **ResourceId** parameter in a request, you can obtain the keys and values of all tags that are attached to the specified resource. *
  • @param request ListTagResourcesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListTagResourcesResponse

func (*Client) OnsConsumerAccumulate

func (client *Client) OnsConsumerAccumulate(request *OnsConsumerAccumulateRequest) (_result *OnsConsumerAccumulateResponse, _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.
  • You can call this operation in scenarios in which you want to know the message consumption progress of a specified consumer group in production environments. You can obtain the information about message consumption and consumption latency based on the returned information. This operation returns the total number of accumulated messages in all topics to which the specified consumer group subscribes and the number of accumulated messages in each topic. *
  • @param request OnsConsumerAccumulateRequest
  • @return OnsConsumerAccumulateResponse

func (*Client) OnsConsumerAccumulateWithOptions

func (client *Client) OnsConsumerAccumulateWithOptions(request *OnsConsumerAccumulateRequest, runtime *util.RuntimeOptions) (_result *OnsConsumerAccumulateResponse, _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.
  • You can call this operation in scenarios in which you want to know the message consumption progress of a specified consumer group in production environments. You can obtain the information about message consumption and consumption latency based on the returned information. This operation returns the total number of accumulated messages in all topics to which the specified consumer group subscribes and the number of accumulated messages in each topic. *
  • @param request OnsConsumerAccumulateRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsConsumerAccumulateResponse

func (*Client) OnsConsumerGetConnection

func (client *Client) OnsConsumerGetConnection(request *OnsConsumerGetConnectionRequest) (_result *OnsConsumerGetConnectionResponse, _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.
  • When messages are accumulated in a topic, you can call this operation to check whether a consumer is online. *
  • @param request OnsConsumerGetConnectionRequest
  • @return OnsConsumerGetConnectionResponse

func (*Client) OnsConsumerGetConnectionWithOptions

func (client *Client) OnsConsumerGetConnectionWithOptions(request *OnsConsumerGetConnectionRequest, runtime *util.RuntimeOptions) (_result *OnsConsumerGetConnectionResponse, _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.
  • When messages are accumulated in a topic, you can call this operation to check whether a consumer is online. *
  • @param request OnsConsumerGetConnectionRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsConsumerGetConnectionResponse

func (*Client) OnsConsumerResetOffset

func (client *Client) OnsConsumerResetOffset(request *OnsConsumerResetOffsetRequest) (_result *OnsConsumerResetOffsetResponse, _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.
  • You can call this operation to clear accumulated messages or reset a consumer offset to a specified timestamp. You can use one of the following methods to clear accumulated messages:
  • * Clear all accumulated messages in a specified topic.
  • * Clear the messages that were published to the specified topic before a specified point in time. *
  • @param request OnsConsumerResetOffsetRequest
  • @return OnsConsumerResetOffsetResponse

func (*Client) OnsConsumerResetOffsetWithOptions

func (client *Client) OnsConsumerResetOffsetWithOptions(request *OnsConsumerResetOffsetRequest, runtime *util.RuntimeOptions) (_result *OnsConsumerResetOffsetResponse, _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.
  • You can call this operation to clear accumulated messages or reset a consumer offset to a specified timestamp. You can use one of the following methods to clear accumulated messages:
  • * Clear all accumulated messages in a specified topic.
  • * Clear the messages that were published to the specified topic before a specified point in time. *
  • @param request OnsConsumerResetOffsetRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsConsumerResetOffsetResponse

func (*Client) OnsConsumerStatus

func (client *Client) OnsConsumerStatus(request *OnsConsumerStatusRequest) (_result *OnsConsumerStatusResponse, _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.
  • * You can call this operation in scenarios in which consumers are online and messages are accumulated. You can troubleshoot errors based on the information that is returned by this operation. You can check whether all consumers in the consumer group subscribe to the same topics and tags, and whether load balancing is performed as expected. You can also obtain the information about thread stack traces of online consumers.
  • * This operation uses multiple backend operations to query and aggregate data. The system requires a long period of time to process a request. We recommend that you do not frequently call this operation. *
  • @param request OnsConsumerStatusRequest
  • @return OnsConsumerStatusResponse

func (*Client) OnsConsumerStatusWithOptions

func (client *Client) OnsConsumerStatusWithOptions(request *OnsConsumerStatusRequest, runtime *util.RuntimeOptions) (_result *OnsConsumerStatusResponse, _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.
  • * You can call this operation in scenarios in which consumers are online and messages are accumulated. You can troubleshoot errors based on the information that is returned by this operation. You can check whether all consumers in the consumer group subscribe to the same topics and tags, and whether load balancing is performed as expected. You can also obtain the information about thread stack traces of online consumers.
  • * This operation uses multiple backend operations to query and aggregate data. The system requires a long period of time to process a request. We recommend that you do not frequently call this operation. *
  • @param request OnsConsumerStatusRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsConsumerStatusResponse

func (*Client) OnsConsumerTimeSpan

func (client *Client) OnsConsumerTimeSpan(request *OnsConsumerTimeSpanRequest) (_result *OnsConsumerTimeSpanResponse, _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.
  • You can call this operation to query the point in time when the earliest stored message was published to a specified topic and the point in time when the most recently stored message was published to the specified topic. You can also call this operation to query the most recent point in time when a message in the topic was consumed. This operation is usually used with the \\*\\*OnsConsumerAccumulate\\*\\* operation to display the overview of the consumption progress. *
  • @param request OnsConsumerTimeSpanRequest
  • @return OnsConsumerTimeSpanResponse

func (*Client) OnsConsumerTimeSpanWithOptions

func (client *Client) OnsConsumerTimeSpanWithOptions(request *OnsConsumerTimeSpanRequest, runtime *util.RuntimeOptions) (_result *OnsConsumerTimeSpanResponse, _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.
  • You can call this operation to query the point in time when the earliest stored message was published to a specified topic and the point in time when the most recently stored message was published to the specified topic. You can also call this operation to query the most recent point in time when a message in the topic was consumed. This operation is usually used with the \\*\\*OnsConsumerAccumulate\\*\\* operation to display the overview of the consumption progress. *
  • @param request OnsConsumerTimeSpanRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsConsumerTimeSpanResponse

func (*Client) OnsDLQMessageGetById

func (client *Client) OnsDLQMessageGetById(request *OnsDLQMessageGetByIdRequest) (_result *OnsDLQMessageGetByIdResponse, _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.
  • This operation uses the exact match method to query a dead-letter message based on the message ID. You can obtain the message ID that is required to query the information about a dead-letter message from the SendResult parameter that is returned after the message is sent. You can also obtain the message ID by calling the OnsDLQMessagePageQueryByGroupId operation to query multiple messages at a time. The queried information about the dead-letter message includes the point in time when the message is stored, the message body, and attributes such as the message tag and the message key. *
  • @param request OnsDLQMessageGetByIdRequest
  • @return OnsDLQMessageGetByIdResponse

func (*Client) OnsDLQMessageGetByIdWithOptions

func (client *Client) OnsDLQMessageGetByIdWithOptions(request *OnsDLQMessageGetByIdRequest, runtime *util.RuntimeOptions) (_result *OnsDLQMessageGetByIdResponse, _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.
  • This operation uses the exact match method to query a dead-letter message based on the message ID. You can obtain the message ID that is required to query the information about a dead-letter message from the SendResult parameter that is returned after the message is sent. You can also obtain the message ID by calling the OnsDLQMessagePageQueryByGroupId operation to query multiple messages at a time. The queried information about the dead-letter message includes the point in time when the message is stored, the message body, and attributes such as the message tag and the message key. *
  • @param request OnsDLQMessageGetByIdRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsDLQMessageGetByIdResponse

func (*Client) OnsDLQMessagePageQueryByGroupId

func (client *Client) OnsDLQMessagePageQueryByGroupId(request *OnsDLQMessagePageQueryByGroupIdRequest) (_result *OnsDLQMessagePageQueryByGroupIdResponse, _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.
  • * If you do not know the ID of the dead-letter message that you want to query, you can call this operation to query all dead-letter messages that are sent to a specified consumer group within a specified time range. The results are returned by page.
  • * We recommend that you specify a short time range to query dead-letter messages in this method. If you specify a long time range, a large number of dead-letter messages are returned. In this case, you cannot find the dead-letter message that you want to query in an efficient manner. You can perform the following steps to query dead-letter messages:
  • 1. Perform a paged query by specifying the group ID, start time, end time, and number of entries to return on each page. If matched messages are found, the information about the dead-letter messages on the first page, total number of pages, and task ID are returned by default.
  • 2. Specify the task ID and a page number to call this operation again to query the dead-letter messages on the specified page. In this query, the BeginTime, EndTime, and PageSize parameters do not take effect. By default, the system uses the values of these parameters that you specified in the request when you created the specified query task. *
  • @param request OnsDLQMessagePageQueryByGroupIdRequest
  • @return OnsDLQMessagePageQueryByGroupIdResponse

func (*Client) OnsDLQMessagePageQueryByGroupIdWithOptions

func (client *Client) OnsDLQMessagePageQueryByGroupIdWithOptions(request *OnsDLQMessagePageQueryByGroupIdRequest, runtime *util.RuntimeOptions) (_result *OnsDLQMessagePageQueryByGroupIdResponse, _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.
  • * If you do not know the ID of the dead-letter message that you want to query, you can call this operation to query all dead-letter messages that are sent to a specified consumer group within a specified time range. The results are returned by page.
  • * We recommend that you specify a short time range to query dead-letter messages in this method. If you specify a long time range, a large number of dead-letter messages are returned. In this case, you cannot find the dead-letter message that you want to query in an efficient manner. You can perform the following steps to query dead-letter messages:
  • 1. Perform a paged query by specifying the group ID, start time, end time, and number of entries to return on each page. If matched messages are found, the information about the dead-letter messages on the first page, total number of pages, and task ID are returned by default.
  • 2. Specify the task ID and a page number to call this operation again to query the dead-letter messages on the specified page. In this query, the BeginTime, EndTime, and PageSize parameters do not take effect. By default, the system uses the values of these parameters that you specified in the request when you created the specified query task. *
  • @param request OnsDLQMessagePageQueryByGroupIdRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsDLQMessagePageQueryByGroupIdResponse

func (*Client) OnsDLQMessageResendById

func (client *Client) OnsDLQMessageResendById(request *OnsDLQMessageResendByIdRequest) (_result *OnsDLQMessageResendByIdResponse, _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.
  • * A dead-letter message is a message that still fails to be consumed after the number of consumption retries reaches the upper limit. If the message still cannot be consumed after you re-send it, a message with the same message ID is added to the corresponding dead-letter queue. You can query the message ID on the Dead-letter Queues page in the ApsaraMQ for RocketMQ console or by calling API operations. You can obtain the number of consumption failures for a message based on the number of dead-letter messages with the same message ID in the dead-letter queue.
  • * A dead-letter message is a message that fails to be consumed after the number of consumption retries reaches the upper limit. Generally, dead-letter messages are produced because of incorrect consumption logic. We recommend that you troubleshoot the consumption failures and then call this operation to send the message to the consumer group for consumption again.
  • * ApsaraMQ for RocketMQ does not manage the status of dead-letter messages based on the consumption status of the dead-letter messages. After you call this operation to send a dead-letter message to a consumer group and the message is consumed, ApsaraMQ for RocketMQ does not remove the dead-letter message from the dead-letter queue. You must manage dead-letter messages and determine whether to send a dead-letter message to a consumer group for consumption. This way, you do not resend or reconsume the messages that are consumed. *
  • @param request OnsDLQMessageResendByIdRequest
  • @return OnsDLQMessageResendByIdResponse

func (*Client) OnsDLQMessageResendByIdWithOptions

func (client *Client) OnsDLQMessageResendByIdWithOptions(request *OnsDLQMessageResendByIdRequest, runtime *util.RuntimeOptions) (_result *OnsDLQMessageResendByIdResponse, _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.
  • * A dead-letter message is a message that still fails to be consumed after the number of consumption retries reaches the upper limit. If the message still cannot be consumed after you re-send it, a message with the same message ID is added to the corresponding dead-letter queue. You can query the message ID on the Dead-letter Queues page in the ApsaraMQ for RocketMQ console or by calling API operations. You can obtain the number of consumption failures for a message based on the number of dead-letter messages with the same message ID in the dead-letter queue.
  • * A dead-letter message is a message that fails to be consumed after the number of consumption retries reaches the upper limit. Generally, dead-letter messages are produced because of incorrect consumption logic. We recommend that you troubleshoot the consumption failures and then call this operation to send the message to the consumer group for consumption again.
  • * ApsaraMQ for RocketMQ does not manage the status of dead-letter messages based on the consumption status of the dead-letter messages. After you call this operation to send a dead-letter message to a consumer group and the message is consumed, ApsaraMQ for RocketMQ does not remove the dead-letter message from the dead-letter queue. You must manage dead-letter messages and determine whether to send a dead-letter message to a consumer group for consumption. This way, you do not resend or reconsume the messages that are consumed. *
  • @param request OnsDLQMessageResendByIdRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsDLQMessageResendByIdResponse

func (*Client) OnsGroupConsumerUpdate

func (client *Client) OnsGroupConsumerUpdate(request *OnsGroupConsumerUpdateRequest) (_result *OnsGroupConsumerUpdateResponse, _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.
  • You can call this operation to configure the permissions for a consumer group to read messages based on a specified region of ApsaraMQ for RocketMQ and a specified group ID. You can call this operation in scenarios in which you want to forbid consumers in a specific group from reading messages. *
  • @param request OnsGroupConsumerUpdateRequest
  • @return OnsGroupConsumerUpdateResponse

func (*Client) OnsGroupConsumerUpdateWithOptions

func (client *Client) OnsGroupConsumerUpdateWithOptions(request *OnsGroupConsumerUpdateRequest, runtime *util.RuntimeOptions) (_result *OnsGroupConsumerUpdateResponse, _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.
  • You can call this operation to configure the permissions for a consumer group to read messages based on a specified region of ApsaraMQ for RocketMQ and a specified group ID. You can call this operation in scenarios in which you want to forbid consumers in a specific group from reading messages. *
  • @param request OnsGroupConsumerUpdateRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsGroupConsumerUpdateResponse

func (*Client) OnsGroupCreate

func (client *Client) OnsGroupCreate(request *OnsGroupCreateRequest) (_result *OnsGroupCreateResponse, _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.
  • When you release a new application or implement new business logic, you need new consumer groups. You can call this operation to create a consumer group. *
  • @param request OnsGroupCreateRequest
  • @return OnsGroupCreateResponse

func (*Client) OnsGroupCreateWithOptions

func (client *Client) OnsGroupCreateWithOptions(request *OnsGroupCreateRequest, runtime *util.RuntimeOptions) (_result *OnsGroupCreateResponse, _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.
  • When you release a new application or implement new business logic, you need new consumer groups. You can call this operation to create a consumer group. *
  • @param request OnsGroupCreateRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsGroupCreateResponse

func (*Client) OnsGroupDelete

func (client *Client) OnsGroupDelete(request *OnsGroupDeleteRequest) (_result *OnsGroupDeleteResponse, _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 group, the consumers in the group immediately stop receiving messages. Exercise caution when you call this operation.
  • You can call this operation to delete a group when you need to reclaim the resources of the group. For example, after an application is brought offline, you can delete the groups that are used for the application. After you delete a group, the backend of ApsaraMQ for RocketMQ reclaims the resources of the group. The system requires a long period of time to reclaim the resources. We recommend that you do not create a group that uses the same name as a deleted group immediately after you delete the group. If the system fails to delete the specified group, troubleshoot the issue based on the error code. *
  • @param request OnsGroupDeleteRequest
  • @return OnsGroupDeleteResponse

func (*Client) OnsGroupDeleteWithOptions

func (client *Client) OnsGroupDeleteWithOptions(request *OnsGroupDeleteRequest, runtime *util.RuntimeOptions) (_result *OnsGroupDeleteResponse, _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 group, the consumers in the group immediately stop receiving messages. Exercise caution when you call this operation.
  • You can call this operation to delete a group when you need to reclaim the resources of the group. For example, after an application is brought offline, you can delete the groups that are used for the application. After you delete a group, the backend of ApsaraMQ for RocketMQ reclaims the resources of the group. The system requires a long period of time to reclaim the resources. We recommend that you do not create a group that uses the same name as a deleted group immediately after you delete the group. If the system fails to delete the specified group, troubleshoot the issue based on the error code. *
  • @param request OnsGroupDeleteRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsGroupDeleteResponse

func (*Client) OnsGroupList

func (client *Client) OnsGroupList(request *OnsGroupListRequest) (_result *OnsGroupListResponse, _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 OnsGroupListRequest
  • @return OnsGroupListResponse

func (*Client) OnsGroupListWithOptions

func (client *Client) OnsGroupListWithOptions(request *OnsGroupListRequest, runtime *util.RuntimeOptions) (_result *OnsGroupListResponse, _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 OnsGroupListRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsGroupListResponse

func (*Client) OnsGroupSubDetail

func (client *Client) OnsGroupSubDetail(request *OnsGroupSubDetailRequest) (_result *OnsGroupSubDetailResponse, _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 OnsGroupSubDetailRequest
  • @return OnsGroupSubDetailResponse

func (*Client) OnsGroupSubDetailWithOptions

func (client *Client) OnsGroupSubDetailWithOptions(request *OnsGroupSubDetailRequest, runtime *util.RuntimeOptions) (_result *OnsGroupSubDetailResponse, _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 OnsGroupSubDetailRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsGroupSubDetailResponse

func (*Client) OnsInstanceBaseInfo

func (client *Client) OnsInstanceBaseInfo(request *OnsInstanceBaseInfoRequest) (_result *OnsInstanceBaseInfoResponse, _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.
  • To send and receive messages, a client must be connected to a ApsaraMQ for RocketMQ instance by using an endpoint. You can call this operation to query the endpoints of the instance. *
  • @param request OnsInstanceBaseInfoRequest
  • @return OnsInstanceBaseInfoResponse

func (*Client) OnsInstanceBaseInfoWithOptions

func (client *Client) OnsInstanceBaseInfoWithOptions(request *OnsInstanceBaseInfoRequest, runtime *util.RuntimeOptions) (_result *OnsInstanceBaseInfoResponse, _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.
  • To send and receive messages, a client must be connected to a ApsaraMQ for RocketMQ instance by using an endpoint. You can call this operation to query the endpoints of the instance. *
  • @param request OnsInstanceBaseInfoRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsInstanceBaseInfoResponse

func (*Client) OnsInstanceCreate

func (client *Client) OnsInstanceCreate(request *OnsInstanceCreateRequest) (_result *OnsInstanceCreateResponse, _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.
  • An instance is a virtual machine (VM) that can be used to store information about the topics and groups of ApsaraMQ for RocketMQ. You can call this operation when you need to create service resources for the business that you want to launch. Before you call this operation, take note of the following limits:
  • * A maximum of eight ApsaraMQ for RocketMQ instances can be deployed in each region.
  • * This operation can be called to create only a Standard Edition instance. You can use the ApsaraMQ for RocketMQ console to create Standard Edition instances and Enterprise Platinum Edition instances. For information about how to create ApsaraMQ for RocketMQ instances, see [Manage instances](~~200153~~). *
  • @param request OnsInstanceCreateRequest
  • @return OnsInstanceCreateResponse

func (*Client) OnsInstanceCreateWithOptions

func (client *Client) OnsInstanceCreateWithOptions(request *OnsInstanceCreateRequest, runtime *util.RuntimeOptions) (_result *OnsInstanceCreateResponse, _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.
  • An instance is a virtual machine (VM) that can be used to store information about the topics and groups of ApsaraMQ for RocketMQ. You can call this operation when you need to create service resources for the business that you want to launch. Before you call this operation, take note of the following limits:
  • * A maximum of eight ApsaraMQ for RocketMQ instances can be deployed in each region.
  • * This operation can be called to create only a Standard Edition instance. You can use the ApsaraMQ for RocketMQ console to create Standard Edition instances and Enterprise Platinum Edition instances. For information about how to create ApsaraMQ for RocketMQ instances, see [Manage instances](~~200153~~). *
  • @param request OnsInstanceCreateRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsInstanceCreateResponse

func (*Client) OnsInstanceDelete

func (client *Client) OnsInstanceDelete(request *OnsInstanceDeleteRequest) (_result *OnsInstanceDeleteResponse, _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.
  • * You can call this operation when you need to reclaim resources. For example, after you unpublish an application, you can reclaim the resources that were used for the application. An instance can be deleted only when the instance does not contain topics and groups.
  • * After an instance is deleted, the instance cannot be restored. Exercise caution when you call this operation. *
  • @param request OnsInstanceDeleteRequest
  • @return OnsInstanceDeleteResponse

func (*Client) OnsInstanceDeleteWithOptions

func (client *Client) OnsInstanceDeleteWithOptions(request *OnsInstanceDeleteRequest, runtime *util.RuntimeOptions) (_result *OnsInstanceDeleteResponse, _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.
  • * You can call this operation when you need to reclaim resources. For example, after you unpublish an application, you can reclaim the resources that were used for the application. An instance can be deleted only when the instance does not contain topics and groups.
  • * After an instance is deleted, the instance cannot be restored. Exercise caution when you call this operation. *
  • @param request OnsInstanceDeleteRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsInstanceDeleteResponse

func (*Client) OnsInstanceInServiceList

func (client *Client) OnsInstanceInServiceList(request *OnsInstanceInServiceListRequest) (_result *OnsInstanceInServiceListResponse, _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 OnsInstanceInServiceListRequest
  • @return OnsInstanceInServiceListResponse

func (*Client) OnsInstanceInServiceListWithOptions

func (client *Client) OnsInstanceInServiceListWithOptions(request *OnsInstanceInServiceListRequest, runtime *util.RuntimeOptions) (_result *OnsInstanceInServiceListResponse, _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 OnsInstanceInServiceListRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsInstanceInServiceListResponse

func (*Client) OnsInstanceUpdate

func (client *Client) OnsInstanceUpdate(request *OnsInstanceUpdateRequest) (_result *OnsInstanceUpdateResponse, _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.
  • A maximum of eight ApsaraMQ for RocketMQ instances can be deployed in each region. *
  • @param request OnsInstanceUpdateRequest
  • @return OnsInstanceUpdateResponse

func (*Client) OnsInstanceUpdateWithOptions

func (client *Client) OnsInstanceUpdateWithOptions(request *OnsInstanceUpdateRequest, runtime *util.RuntimeOptions) (_result *OnsInstanceUpdateResponse, _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.
  • A maximum of eight ApsaraMQ for RocketMQ instances can be deployed in each region. *
  • @param request OnsInstanceUpdateRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsInstanceUpdateResponse

func (*Client) OnsMessageDetail added in v2.0.1

func (client *Client) OnsMessageDetail(request *OnsMessageDetailRequest) (_result *OnsMessageDetailResponse, _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 OnsMessageDetailRequest
  • @return OnsMessageDetailResponse

func (*Client) OnsMessageDetailWithOptions added in v2.0.1

func (client *Client) OnsMessageDetailWithOptions(request *OnsMessageDetailRequest, runtime *util.RuntimeOptions) (_result *OnsMessageDetailResponse, _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 OnsMessageDetailRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsMessageDetailResponse

func (*Client) OnsMessageGetByKey

func (client *Client) OnsMessageGetByKey(request *OnsMessageGetByKeyRequest) (_result *OnsMessageGetByKeyResponse, _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.
  • * This operation uses the fuzzy match method to query messages based on a specified message key. The same message key may be used by multiple messages. Therefore, the returned result may contain information about multiple messages.
  • * This operation can be used in scenarios in which you cannot obtain the IDs of the messages that you want to query. You can perform the following steps to query the information about messages:
  • 1. Call this operation to query message IDs.
  • 2. Call the **OnsMessageGetByMsgId** operation that uses the exact match method to query the details of a specified message. For more information about the **OnsMessageGetByMsgId** operation, see [OnsMessageGetByMsgId](~~29607~~). *
  • @param request OnsMessageGetByKeyRequest
  • @return OnsMessageGetByKeyResponse

func (*Client) OnsMessageGetByKeyWithOptions

func (client *Client) OnsMessageGetByKeyWithOptions(request *OnsMessageGetByKeyRequest, runtime *util.RuntimeOptions) (_result *OnsMessageGetByKeyResponse, _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.
  • * This operation uses the fuzzy match method to query messages based on a specified message key. The same message key may be used by multiple messages. Therefore, the returned result may contain information about multiple messages.
  • * This operation can be used in scenarios in which you cannot obtain the IDs of the messages that you want to query. You can perform the following steps to query the information about messages:
  • 1. Call this operation to query message IDs.
  • 2. Call the **OnsMessageGetByMsgId** operation that uses the exact match method to query the details of a specified message. For more information about the **OnsMessageGetByMsgId** operation, see [OnsMessageGetByMsgId](~~29607~~). *
  • @param request OnsMessageGetByKeyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsMessageGetByKeyResponse

func (*Client) OnsMessageGetByMsgId

func (client *Client) OnsMessageGetByMsgId(request *OnsMessageGetByMsgIdRequest) (_result *OnsMessageGetByMsgIdResponse, _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.
  • * If a message is not consumed as expected, you can call this operation to query the information about the message for troubleshooting.
  • * This operation uses the exact match method to query a message based on the message ID. You can obtain the message ID from the SendResult parameter that is returned after the message is sent. You must store the returned information after each message is sent. The queried information about a message includes the point in time when the message was sent, the broker on which the message is stored, and the attributes of the message such as the message key and tag. *
  • @param request OnsMessageGetByMsgIdRequest
  • @return OnsMessageGetByMsgIdResponse

func (*Client) OnsMessageGetByMsgIdWithOptions

func (client *Client) OnsMessageGetByMsgIdWithOptions(request *OnsMessageGetByMsgIdRequest, runtime *util.RuntimeOptions) (_result *OnsMessageGetByMsgIdResponse, _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.
  • * If a message is not consumed as expected, you can call this operation to query the information about the message for troubleshooting.
  • * This operation uses the exact match method to query a message based on the message ID. You can obtain the message ID from the SendResult parameter that is returned after the message is sent. You must store the returned information after each message is sent. The queried information about a message includes the point in time when the message was sent, the broker on which the message is stored, and the attributes of the message such as the message key and tag. *
  • @param request OnsMessageGetByMsgIdRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsMessageGetByMsgIdResponse

func (*Client) OnsMessagePageQueryByTopic

func (client *Client) OnsMessagePageQueryByTopic(request *OnsMessagePageQueryByTopicRequest) (_result *OnsMessagePageQueryByTopicResponse, _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.
  • * If you do not know the ID or key of a message that you want to query, you can call this operation to query all messages that are stored in the topic within a specified time range. The results are displayed by page.
  • * We recommend that you specify a short time range to query messages. If you specify a long time range, a large number of messages are returned. In this case, you cannot find the message that you want to query in an efficient manner. You can perform the following steps to query messages:
  • 1. Perform a paged query by specifying the topic, start time, end time, and number of entries to return on each page. If the topic contains messages, the information about the messages on the first page, total number of pages, and task ID are returned by default.
  • 2. Specify the task ID and a page number to call this operation again to query the messages on the specified page. The BeginTime, EndTime, and PageSize parameters do not take effect. By default, the system uses the values of these parameters that you specified in the request when you created the specified query task. *
  • @param request OnsMessagePageQueryByTopicRequest
  • @return OnsMessagePageQueryByTopicResponse

func (*Client) OnsMessagePageQueryByTopicWithOptions

func (client *Client) OnsMessagePageQueryByTopicWithOptions(request *OnsMessagePageQueryByTopicRequest, runtime *util.RuntimeOptions) (_result *OnsMessagePageQueryByTopicResponse, _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.
  • * If you do not know the ID or key of a message that you want to query, you can call this operation to query all messages that are stored in the topic within a specified time range. The results are displayed by page.
  • * We recommend that you specify a short time range to query messages. If you specify a long time range, a large number of messages are returned. In this case, you cannot find the message that you want to query in an efficient manner. You can perform the following steps to query messages:
  • 1. Perform a paged query by specifying the topic, start time, end time, and number of entries to return on each page. If the topic contains messages, the information about the messages on the first page, total number of pages, and task ID are returned by default.
  • 2. Specify the task ID and a page number to call this operation again to query the messages on the specified page. The BeginTime, EndTime, and PageSize parameters do not take effect. By default, the system uses the values of these parameters that you specified in the request when you created the specified query task. *
  • @param request OnsMessagePageQueryByTopicRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsMessagePageQueryByTopicResponse

func (*Client) OnsMessagePush

func (client *Client) OnsMessagePush(request *OnsMessagePushRequest) (_result *OnsMessagePushResponse, _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.
  • This operation can be used to check whether messages in a specified topic can be consumed by consumers in a specified consumer group. This operation obtains the body of the message that is specified by the MsgId parameter, re-encapsulates the message body to produce a new message, and then pushes the new message to a specified consumer. The content of the message that is sent to the consumer is the same as the content of the original message. They are not the same message because they use different message IDs. *
  • @param request OnsMessagePushRequest
  • @return OnsMessagePushResponse

func (*Client) OnsMessagePushWithOptions

func (client *Client) OnsMessagePushWithOptions(request *OnsMessagePushRequest, runtime *util.RuntimeOptions) (_result *OnsMessagePushResponse, _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.
  • This operation can be used to check whether messages in a specified topic can be consumed by consumers in a specified consumer group. This operation obtains the body of the message that is specified by the MsgId parameter, re-encapsulates the message body to produce a new message, and then pushes the new message to a specified consumer. The content of the message that is sent to the consumer is the same as the content of the original message. They are not the same message because they use different message IDs. *
  • @param request OnsMessagePushRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsMessagePushResponse

func (*Client) OnsMessageTrace

func (client *Client) OnsMessageTrace(request *OnsMessageTraceRequest) (_result *OnsMessageTraceResponse, _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.
  • * You can call this operation to check whether a specified message is consumed. If the message is not consumed, you can troubleshoot the issue based on the returned information.
  • * This operation queries information based on the built-in offset mechanism of ApsaraMQ for RocketMQ. In most cases, the results are correct. If you have reset the consumer offset or cleared accumulated messages, the results may not be correct. *
  • @param request OnsMessageTraceRequest
  • @return OnsMessageTraceResponse

func (*Client) OnsMessageTraceWithOptions

func (client *Client) OnsMessageTraceWithOptions(request *OnsMessageTraceRequest, runtime *util.RuntimeOptions) (_result *OnsMessageTraceResponse, _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.
  • * You can call this operation to check whether a specified message is consumed. If the message is not consumed, you can troubleshoot the issue based on the returned information.
  • * This operation queries information based on the built-in offset mechanism of ApsaraMQ for RocketMQ. In most cases, the results are correct. If you have reset the consumer offset or cleared accumulated messages, the results may not be correct. *
  • @param request OnsMessageTraceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsMessageTraceResponse

func (*Client) OnsRegionList

func (client *Client) OnsRegionList() (_result *OnsRegionListResponse, _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.
  • When you use an SDK to access and manage a ApsaraMQ for RocketMQ instance, you must sequentially specify the information about two regions. You can query the information about the second region by calling the OnsRegionList operation. You must apply for a public endpoint in the following scenarios:
  • * Connect your application to ApsaraMQ for RocketMQ: Select the nearest API gateway endpoint based on the region where your application is deployed, and enter the corresponding **region ID**. The **regionId** is used to access Alibaba Cloud API Gateway because ApsaraMQ for RocketMQ instances provide API services by using the OpenAPI Explorer platform, which is also called POP.
  • * Access a region to manage its resources: Specify a region where you want to manage ApsaraMQ for RocketMQ resources and enter the region ID. You can call the **OnsRegionList** operation to query a region ID. *
  • @return OnsRegionListResponse

func (*Client) OnsRegionListWithOptions

func (client *Client) OnsRegionListWithOptions(runtime *util.RuntimeOptions) (_result *OnsRegionListResponse, _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.
  • When you use an SDK to access and manage a ApsaraMQ for RocketMQ instance, you must sequentially specify the information about two regions. You can query the information about the second region by calling the OnsRegionList operation. You must apply for a public endpoint in the following scenarios:
  • * Connect your application to ApsaraMQ for RocketMQ: Select the nearest API gateway endpoint based on the region where your application is deployed, and enter the corresponding **region ID**. The **regionId** is used to access Alibaba Cloud API Gateway because ApsaraMQ for RocketMQ instances provide API services by using the OpenAPI Explorer platform, which is also called POP.
  • * Access a region to manage its resources: Specify a region where you want to manage ApsaraMQ for RocketMQ resources and enter the region ID. You can call the **OnsRegionList** operation to query a region ID. *
  • @param request OnsRegionListRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsRegionListResponse

func (*Client) OnsTopicCreate

func (client *Client) OnsTopicCreate(request *OnsTopicCreateRequest) (_result *OnsTopicCreateResponse, _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.
  • When you want to release a new application or expand your business, you can call this operation to create a topic based on your business requirements. *
  • @param request OnsTopicCreateRequest
  • @return OnsTopicCreateResponse

func (*Client) OnsTopicCreateWithOptions

func (client *Client) OnsTopicCreateWithOptions(request *OnsTopicCreateRequest, runtime *util.RuntimeOptions) (_result *OnsTopicCreateResponse, _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.
  • When you want to release a new application or expand your business, you can call this operation to create a topic based on your business requirements. *
  • @param request OnsTopicCreateRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsTopicCreateResponse

func (*Client) OnsTopicDelete

func (client *Client) OnsTopicDelete(request *OnsTopicDeleteRequest) (_result *OnsTopicDeleteResponse, _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 the topic, the publishing and subscription relationships that are constructed based on the topic are cleared. Exercise caution when you call this operation.
  • You can call this operation to delete a topic when you need to reclaim the resources from the topic. For example, after an application is brought offline, you can delete the topics that are used for the application. After you delete a topic, the backend of ApsaraMQ for RocketMQ reclaims the resources from the topic. The system requires a long period of time to reclaim the resources. After you delete a topic, we recommend that you do not create a topic that uses the same name as the deleted topic within a short period of time. If the system fails to delete the specified topic, troubleshoot the issue based on the error code. *
  • @param request OnsTopicDeleteRequest
  • @return OnsTopicDeleteResponse

func (*Client) OnsTopicDeleteWithOptions

func (client *Client) OnsTopicDeleteWithOptions(request *OnsTopicDeleteRequest, runtime *util.RuntimeOptions) (_result *OnsTopicDeleteResponse, _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 the topic, the publishing and subscription relationships that are constructed based on the topic are cleared. Exercise caution when you call this operation.
  • You can call this operation to delete a topic when you need to reclaim the resources from the topic. For example, after an application is brought offline, you can delete the topics that are used for the application. After you delete a topic, the backend of ApsaraMQ for RocketMQ reclaims the resources from the topic. The system requires a long period of time to reclaim the resources. After you delete a topic, we recommend that you do not create a topic that uses the same name as the deleted topic within a short period of time. If the system fails to delete the specified topic, troubleshoot the issue based on the error code. *
  • @param request OnsTopicDeleteRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsTopicDeleteResponse

func (*Client) OnsTopicList

func (client *Client) OnsTopicList(request *OnsTopicListRequest) (_result *OnsTopicListResponse, _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.
  • This operation returns the basic information about topics and does not return the details of topics. *
  • @param request OnsTopicListRequest
  • @return OnsTopicListResponse

func (*Client) OnsTopicListWithOptions

func (client *Client) OnsTopicListWithOptions(request *OnsTopicListRequest, runtime *util.RuntimeOptions) (_result *OnsTopicListResponse, _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.
  • This operation returns the basic information about topics and does not return the details of topics. *
  • @param request OnsTopicListRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsTopicListResponse

func (*Client) OnsTopicStatus

func (client *Client) OnsTopicStatus(request *OnsTopicStatusRequest) (_result *OnsTopicStatusResponse, _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.
  • You can determine the resource usage of a topic based on the information that is returned by this operation. The returned information includes the total number of messages in the topic and the most recent point in time when a message was published to the topic. *
  • @param request OnsTopicStatusRequest
  • @return OnsTopicStatusResponse

func (*Client) OnsTopicStatusWithOptions

func (client *Client) OnsTopicStatusWithOptions(request *OnsTopicStatusRequest, runtime *util.RuntimeOptions) (_result *OnsTopicStatusResponse, _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.
  • You can determine the resource usage of a topic based on the information that is returned by this operation. The returned information includes the total number of messages in the topic and the most recent point in time when a message was published to the topic. *
  • @param request OnsTopicStatusRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsTopicStatusResponse

func (*Client) OnsTopicSubDetail

func (client *Client) OnsTopicSubDetail(request *OnsTopicSubDetailRequest) (_result *OnsTopicSubDetailResponse, _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.
  • You can call this operation to query the online consumer groups that subscribe to a specified topic. If all consumers in a group are offline, the information about the group is not returned. *
  • @param request OnsTopicSubDetailRequest
  • @return OnsTopicSubDetailResponse

func (*Client) OnsTopicSubDetailWithOptions

func (client *Client) OnsTopicSubDetailWithOptions(request *OnsTopicSubDetailRequest, runtime *util.RuntimeOptions) (_result *OnsTopicSubDetailResponse, _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.
  • You can call this operation to query the online consumer groups that subscribe to a specified topic. If all consumers in a group are offline, the information about the group is not returned. *
  • @param request OnsTopicSubDetailRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsTopicSubDetailResponse

func (*Client) OnsTopicUpdate

func (client *Client) OnsTopicUpdate(request *OnsTopicUpdateRequest) (_result *OnsTopicUpdateResponse, _err error)

*

  • @deprecated
  • > 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.
  • You can call this operation to forbid read or write operations on a specific topic. *
  • @param request OnsTopicUpdateRequest
  • @return OnsTopicUpdateResponse

Deprecated

func (*Client) OnsTopicUpdateWithOptions

func (client *Client) OnsTopicUpdateWithOptions(request *OnsTopicUpdateRequest, runtime *util.RuntimeOptions) (_result *OnsTopicUpdateResponse, _err error)

*

  • @deprecated
  • > 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.
  • You can call this operation to forbid read or write operations on a specific topic. *
  • @param request OnsTopicUpdateRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsTopicUpdateResponse

Deprecated

func (*Client) OnsTraceGetResult

func (client *Client) OnsTraceGetResult(request *OnsTraceGetResultRequest) (_result *OnsTraceGetResultResponse, _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.
  • * Before you call this operation to query the details of the trace of a message, you must create a task to query the trace of the message based on the message ID or message key and obtain the task ID. Then, you can call this operation to query the details of the message trace based on the task ID. You can call the [OnsTraceQueryByMsgId](~~445322~~) operation or the [OnsTraceQueryByMsgKey](~~445324~~) operation to create a task to query the trace of the message and obtain the task ID from the **QueryId** response parameter.
  • * A trace query task is time-consuming. If you call this operation to query the details immediately after you create a trace query task, the results may be empty. In this case, we recommend that you try again later. *
  • @param request OnsTraceGetResultRequest
  • @return OnsTraceGetResultResponse

func (*Client) OnsTraceGetResultWithOptions

func (client *Client) OnsTraceGetResultWithOptions(request *OnsTraceGetResultRequest, runtime *util.RuntimeOptions) (_result *OnsTraceGetResultResponse, _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.
  • * Before you call this operation to query the details of the trace of a message, you must create a task to query the trace of the message based on the message ID or message key and obtain the task ID. Then, you can call this operation to query the details of the message trace based on the task ID. You can call the [OnsTraceQueryByMsgId](~~445322~~) operation or the [OnsTraceQueryByMsgKey](~~445324~~) operation to create a task to query the trace of the message and obtain the task ID from the **QueryId** response parameter.
  • * A trace query task is time-consuming. If you call this operation to query the details immediately after you create a trace query task, the results may be empty. In this case, we recommend that you try again later. *
  • @param request OnsTraceGetResultRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsTraceGetResultResponse

func (*Client) OnsTraceQueryByMsgId

func (client *Client) OnsTraceQueryByMsgId(request *OnsTraceQueryByMsgIdRequest) (_result *OnsTraceQueryByMsgIdResponse, _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.
  • If you want to query the trace of a message based on the message ID, you can call this operation to create a query task. After you obtain the task ID, you can call the [OnsTraceGetResult](~~59832~~) operation to query the details of the message trace based on the task ID. *
  • @param request OnsTraceQueryByMsgIdRequest
  • @return OnsTraceQueryByMsgIdResponse

func (*Client) OnsTraceQueryByMsgIdWithOptions

func (client *Client) OnsTraceQueryByMsgIdWithOptions(request *OnsTraceQueryByMsgIdRequest, runtime *util.RuntimeOptions) (_result *OnsTraceQueryByMsgIdResponse, _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.
  • If you want to query the trace of a message based on the message ID, you can call this operation to create a query task. After you obtain the task ID, you can call the [OnsTraceGetResult](~~59832~~) operation to query the details of the message trace based on the task ID. *
  • @param request OnsTraceQueryByMsgIdRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsTraceQueryByMsgIdResponse

func (*Client) OnsTraceQueryByMsgKey

func (client *Client) OnsTraceQueryByMsgKey(request *OnsTraceQueryByMsgKeyRequest) (_result *OnsTraceQueryByMsgKeyResponse, _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.
  • If you want to query the trace of a message based on the message key that you obtained, you can call this operation to create a query task. After you obtain the task ID, you can call the OnsTraceGetResult operation to query the details of the message trace based on the task ID. *
  • @param request OnsTraceQueryByMsgKeyRequest
  • @return OnsTraceQueryByMsgKeyResponse

func (*Client) OnsTraceQueryByMsgKeyWithOptions

func (client *Client) OnsTraceQueryByMsgKeyWithOptions(request *OnsTraceQueryByMsgKeyRequest, runtime *util.RuntimeOptions) (_result *OnsTraceQueryByMsgKeyResponse, _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.
  • If you want to query the trace of a message based on the message key that you obtained, you can call this operation to create a query task. After you obtain the task ID, you can call the OnsTraceGetResult operation to query the details of the message trace based on the task ID. *
  • @param request OnsTraceQueryByMsgKeyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsTraceQueryByMsgKeyResponse

func (*Client) OnsTrendGroupOutputTps

func (client *Client) OnsTrendGroupOutputTps(request *OnsTrendGroupOutputTpsRequest) (_result *OnsTrendGroupOutputTpsResponse, _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.
  • You can call this operation to query the following statistics that are collected in a production environment:
  • * The number of messages that are consumed during each sampling period
  • * The transactions per second (TPS) for message consumption during each sampling period
  • If your application consumes a small number of messages and does not consume messages at specific intervals, we recommend that you query the number of messages that are consumed during each sampling period because the statistics of TPS may not show a clear change trend. *
  • @param request OnsTrendGroupOutputTpsRequest
  • @return OnsTrendGroupOutputTpsResponse

func (*Client) OnsTrendGroupOutputTpsWithOptions

func (client *Client) OnsTrendGroupOutputTpsWithOptions(request *OnsTrendGroupOutputTpsRequest, runtime *util.RuntimeOptions) (_result *OnsTrendGroupOutputTpsResponse, _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.
  • You can call this operation to query the following statistics that are collected in a production environment:
  • * The number of messages that are consumed during each sampling period
  • * The transactions per second (TPS) for message consumption during each sampling period
  • If your application consumes a small number of messages and does not consume messages at specific intervals, we recommend that you query the number of messages that are consumed during each sampling period because the statistics of TPS may not show a clear change trend. *
  • @param request OnsTrendGroupOutputTpsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsTrendGroupOutputTpsResponse

func (*Client) OnsTrendTopicInputTps

func (client *Client) OnsTrendTopicInputTps(request *OnsTrendTopicInputTpsRequest) (_result *OnsTrendTopicInputTpsResponse, _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.
  • You can call this operation to query the statistics of messages that are published to a specific topic in a production environment. You can query the number of messages that are published to the topic or the transactions per second (TPS) for message publishing within a specified time range based on your business requirements.
  • If your application publishes a small number of messages and does not publish messages at specific intervals, we recommend that you query the number of messages that are published to the topic during each sampling period because the statistics of TPS may not show a clear change trend. *
  • @param request OnsTrendTopicInputTpsRequest
  • @return OnsTrendTopicInputTpsResponse

func (*Client) OnsTrendTopicInputTpsWithOptions

func (client *Client) OnsTrendTopicInputTpsWithOptions(request *OnsTrendTopicInputTpsRequest, runtime *util.RuntimeOptions) (_result *OnsTrendTopicInputTpsResponse, _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.
  • You can call this operation to query the statistics of messages that are published to a specific topic in a production environment. You can query the number of messages that are published to the topic or the transactions per second (TPS) for message publishing within a specified time range based on your business requirements.
  • If your application publishes a small number of messages and does not publish messages at specific intervals, we recommend that you query the number of messages that are published to the topic during each sampling period because the statistics of TPS may not show a clear change trend. *
  • @param request OnsTrendTopicInputTpsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OnsTrendTopicInputTpsResponse

func (*Client) OpenOnsService

func (client *Client) OpenOnsService() (_result *OpenOnsServiceResponse, _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.
  • You can call this operation the first time you use ApsaraMQ for RocketMQ. You can use ApsaraMQ for RocketMQ only after the service is activated.
  • The ApsaraMQ for RocketMQ service can be activated only in the China (Hangzhou) region. Service activation is not billed. *
  • @return OpenOnsServiceResponse

func (*Client) OpenOnsServiceWithOptions

func (client *Client) OpenOnsServiceWithOptions(runtime *util.RuntimeOptions) (_result *OpenOnsServiceResponse, _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.
  • You can call this operation the first time you use ApsaraMQ for RocketMQ. You can use ApsaraMQ for RocketMQ only after the service is activated.
  • The ApsaraMQ for RocketMQ service can be activated only in the China (Hangzhou) region. Service activation is not billed. *
  • @param request OpenOnsServiceRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OpenOnsServiceResponse

func (*Client) TagResources

func (client *Client) TagResources(request *TagResourcesRequest) (_result *TagResourcesResponse, _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.
  • You can call this operation to attach tags to a source. You can use tags to classify resources in ApsaraMQ for RocketMQ. This can help you aggregate and search resources in an efficient manner. *
  • @param request TagResourcesRequest
  • @return TagResourcesResponse

func (*Client) TagResourcesWithOptions

func (client *Client) TagResourcesWithOptions(request *TagResourcesRequest, runtime *util.RuntimeOptions) (_result *TagResourcesResponse, _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.
  • You can call this operation to attach tags to a source. You can use tags to classify resources in ApsaraMQ for RocketMQ. This can help you aggregate and search resources in an efficient manner. *
  • @param request TagResourcesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return TagResourcesResponse

func (*Client) UntagResources

func (client *Client) UntagResources(request *UntagResourcesRequest) (_result *UntagResourcesResponse, _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 UntagResourcesRequest
  • @return UntagResourcesResponse

func (*Client) UntagResourcesWithOptions

func (client *Client) UntagResourcesWithOptions(request *UntagResourcesRequest, runtime *util.RuntimeOptions) (_result *UntagResourcesResponse, _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 UntagResourcesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UntagResourcesResponse

type ListTagResourcesRequest

type ListTagResourcesRequest struct {
	// The ID of the ApsaraMQ for RocketMQ instance to which the resource whose tags you want to query belongs.
	//
	// > This parameter is required when you query the tags of a topic or a group.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The token that determines the start point of the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The list of resource IDs.
	ResourceId []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"`
	// The type of the resource whose tags you want to query. Valid values:
	//
	// *   **INSTANCE**
	// *   **TOPIC**
	// *   **GROUP**
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tags that you want to query. A maximum of 20 tags can be included in the list.
	Tag []*ListTagResourcesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (ListTagResourcesRequest) GoString

func (s ListTagResourcesRequest) GoString() string

func (*ListTagResourcesRequest) SetInstanceId

func (*ListTagResourcesRequest) SetNextToken

func (*ListTagResourcesRequest) SetResourceId

func (s *ListTagResourcesRequest) SetResourceId(v []*string) *ListTagResourcesRequest

func (*ListTagResourcesRequest) SetResourceType

func (*ListTagResourcesRequest) SetTag

func (ListTagResourcesRequest) String

func (s ListTagResourcesRequest) String() string

type ListTagResourcesRequestTag

type ListTagResourcesRequestTag struct {
	// The key of the tag that you want to detach from the resource.
	//
	// *   If you include this parameter in a request, the value of this parameter cannot be an empty string.
	// *   The tag value can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the tag that you want to query.
	//
	// *   The value of this parameter can be an empty string.
	// *   The tag key must be 1 to 128 characters in length and cannot contain `http://` or `https://`. It cannot start with `acs:` or `aliyun`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListTagResourcesRequestTag) GoString

func (s ListTagResourcesRequestTag) GoString() string

func (*ListTagResourcesRequestTag) SetKey

func (*ListTagResourcesRequestTag) SetValue

func (ListTagResourcesRequestTag) String

type ListTagResourcesResponse

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

func (ListTagResourcesResponse) GoString

func (s ListTagResourcesResponse) GoString() string

func (*ListTagResourcesResponse) SetBody

func (*ListTagResourcesResponse) SetHeaders

func (*ListTagResourcesResponse) SetStatusCode

func (ListTagResourcesResponse) String

func (s ListTagResourcesResponse) String() string

type ListTagResourcesResponseBody

type ListTagResourcesResponseBody struct {
	// The token that determines the start point of the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Details of the resource and tags, including the resource ID, the resource type, tag keys, and tag values.
	TagResources []*ListTagResourcesResponseBodyTagResources `json:"TagResources,omitempty" xml:"TagResources,omitempty" type:"Repeated"`
}

func (ListTagResourcesResponseBody) GoString

func (s ListTagResourcesResponseBody) GoString() string

func (*ListTagResourcesResponseBody) SetNextToken

func (*ListTagResourcesResponseBody) SetRequestId

func (*ListTagResourcesResponseBody) SetTagResources

func (ListTagResourcesResponseBody) String

type ListTagResourcesResponseBodyTagResources

type ListTagResourcesResponseBodyTagResources struct {
	// The ID of the instance
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// Indicates the ID of the resource.
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// The type of the resource whose tags you want to query.
	//
	// *   ALIYUN::MQ::INSTANCE: indicates that the resource is a ApsaraMQ for RocketMQ instance.
	// *   ALIYUN::MQ::TOPIC: indicates that the resource is a topic.
	// *   ALIYUN::MQ::GROUP: indicates that the resource is a group.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tag key.
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The tag value.
	TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"`
}

func (ListTagResourcesResponseBodyTagResources) GoString

func (*ListTagResourcesResponseBodyTagResources) SetInstanceId

func (*ListTagResourcesResponseBodyTagResources) SetResourceId

func (*ListTagResourcesResponseBodyTagResources) SetResourceType

func (*ListTagResourcesResponseBodyTagResources) SetTagKey

func (*ListTagResourcesResponseBodyTagResources) SetTagValue

func (ListTagResourcesResponseBodyTagResources) String

type OnsConsumerAccumulateRequest

type OnsConsumerAccumulateRequest struct {
	// Specifies whether to query the details of each topic to which the consumer group subscribes. Valid values:
	//
	// *   **true**: The details of each topic are queried. You can obtain the details from the **DetailInTopicList** response parameter.
	// *   **false**: The details of each topic are not queried. This is the default value. If you use this value, the value of the **DetailInTopicList** response parameter is empty.
	Detail *bool `json:"Detail,omitempty" xml:"Detail,omitempty"`
	// The ID of the consumer group.
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
}

func (OnsConsumerAccumulateRequest) GoString

func (s OnsConsumerAccumulateRequest) GoString() string

func (*OnsConsumerAccumulateRequest) SetDetail

func (*OnsConsumerAccumulateRequest) SetGroupId

func (*OnsConsumerAccumulateRequest) SetInstanceId

func (OnsConsumerAccumulateRequest) String

type OnsConsumerAccumulateResponse

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

func (OnsConsumerAccumulateResponse) GoString

func (*OnsConsumerAccumulateResponse) SetBody

func (*OnsConsumerAccumulateResponse) SetHeaders

func (*OnsConsumerAccumulateResponse) SetStatusCode

func (OnsConsumerAccumulateResponse) String

type OnsConsumerAccumulateResponseBody

type OnsConsumerAccumulateResponseBody struct {
	// The message accumulation information about topics to which the specified consumer subscribes.
	Data *OnsConsumerAccumulateResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsConsumerAccumulateResponseBody) GoString

func (*OnsConsumerAccumulateResponseBody) SetRequestId

func (OnsConsumerAccumulateResponseBody) String

type OnsConsumerAccumulateResponseBodyData

type OnsConsumerAccumulateResponseBodyData struct {
	// The transactions per second (TPS) for message consumption performed by consumers in the group.
	ConsumeTps *float32 `json:"ConsumeTps,omitempty" xml:"ConsumeTps,omitempty"`
	// The consumption latency.
	DelayTime *int64 `json:"DelayTime,omitempty" xml:"DelayTime,omitempty"`
	// The information about each topic to which the consumer group subscribes. If the **Detail** parameter in the request is set to **false**, the value of this parameter is empty.
	DetailInTopicList *OnsConsumerAccumulateResponseBodyDataDetailInTopicList `json:"DetailInTopicList,omitempty" xml:"DetailInTopicList,omitempty" type:"Struct"`
	// The point in time when the latest message consumed by a consumer in the consumer group was produced.
	LastTimestamp *int64 `json:"LastTimestamp,omitempty" xml:"LastTimestamp,omitempty"`
	// Indicates whether the consumer group is online. The consumer group is online if one of the consumers in the group is online. Valid values:
	//
	// *   **true**: The consumer group is online.
	// *   **false**: The consumer group is offline.
	Online *bool `json:"Online,omitempty" xml:"Online,omitempty"`
	// The total number of accumulated messages in all topics to which the consumer group subscribes.
	TotalDiff *int64 `json:"TotalDiff,omitempty" xml:"TotalDiff,omitempty"`
}

func (OnsConsumerAccumulateResponseBodyData) GoString

func (*OnsConsumerAccumulateResponseBodyData) SetConsumeTps

func (*OnsConsumerAccumulateResponseBodyData) SetDelayTime

func (*OnsConsumerAccumulateResponseBodyData) SetLastTimestamp

func (*OnsConsumerAccumulateResponseBodyData) SetOnline

func (*OnsConsumerAccumulateResponseBodyData) SetTotalDiff

func (OnsConsumerAccumulateResponseBodyData) String

type OnsConsumerAccumulateResponseBodyDataDetailInTopicList

type OnsConsumerAccumulateResponseBodyDataDetailInTopicList struct {
	DetailInTopicDo []*OnsConsumerAccumulateResponseBodyDataDetailInTopicListDetailInTopicDo `json:"DetailInTopicDo,omitempty" xml:"DetailInTopicDo,omitempty" type:"Repeated"`
}

func (OnsConsumerAccumulateResponseBodyDataDetailInTopicList) GoString

func (OnsConsumerAccumulateResponseBodyDataDetailInTopicList) String

type OnsConsumerAccumulateResponseBodyDataDetailInTopicListDetailInTopicDo

type OnsConsumerAccumulateResponseBodyDataDetailInTopicListDetailInTopicDo struct {
	// The maximum latency of message consumption in the topic.
	DelayTime *int64 `json:"DelayTime,omitempty" xml:"DelayTime,omitempty"`
	// The point in time when the latest consumed message in the topic was produced.
	LastTimestamp *int64 `json:"LastTimestamp,omitempty" xml:"LastTimestamp,omitempty"`
	// The topic name.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
	// The number of accumulated messages in the topic.
	TotalDiff *int64 `json:"TotalDiff,omitempty" xml:"TotalDiff,omitempty"`
}

func (OnsConsumerAccumulateResponseBodyDataDetailInTopicListDetailInTopicDo) GoString

func (*OnsConsumerAccumulateResponseBodyDataDetailInTopicListDetailInTopicDo) SetDelayTime

func (*OnsConsumerAccumulateResponseBodyDataDetailInTopicListDetailInTopicDo) SetLastTimestamp

func (*OnsConsumerAccumulateResponseBodyDataDetailInTopicListDetailInTopicDo) SetTopic

func (*OnsConsumerAccumulateResponseBodyDataDetailInTopicListDetailInTopicDo) SetTotalDiff

func (OnsConsumerAccumulateResponseBodyDataDetailInTopicListDetailInTopicDo) String

type OnsConsumerGetConnectionRequest

type OnsConsumerGetConnectionRequest struct {
	// The ID of the consumer group whose client connection status you want to query.
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The ID of the instance to which the consumer group belongs.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
}

func (OnsConsumerGetConnectionRequest) GoString

func (*OnsConsumerGetConnectionRequest) SetGroupId

func (*OnsConsumerGetConnectionRequest) SetInstanceId

func (OnsConsumerGetConnectionRequest) String

type OnsConsumerGetConnectionResponse

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

func (OnsConsumerGetConnectionResponse) GoString

func (*OnsConsumerGetConnectionResponse) SetHeaders

func (*OnsConsumerGetConnectionResponse) SetStatusCode

func (OnsConsumerGetConnectionResponse) String

type OnsConsumerGetConnectionResponseBody

type OnsConsumerGetConnectionResponseBody struct {
	// The data returned.
	Data *OnsConsumerGetConnectionResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsConsumerGetConnectionResponseBody) GoString

func (*OnsConsumerGetConnectionResponseBody) SetRequestId

func (OnsConsumerGetConnectionResponseBody) String

type OnsConsumerGetConnectionResponseBodyData

type OnsConsumerGetConnectionResponseBodyData struct {
	// The client connection information of the consumer group.
	ConnectionList *OnsConsumerGetConnectionResponseBodyDataConnectionList `json:"ConnectionList,omitempty" xml:"ConnectionList,omitempty" type:"Struct"`
}

func (OnsConsumerGetConnectionResponseBodyData) GoString

func (OnsConsumerGetConnectionResponseBodyData) String

type OnsConsumerGetConnectionResponseBodyDataConnectionList

type OnsConsumerGetConnectionResponseBodyDataConnectionList struct {
	ConnectionDo []*OnsConsumerGetConnectionResponseBodyDataConnectionListConnectionDo `json:"ConnectionDo,omitempty" xml:"ConnectionDo,omitempty" type:"Repeated"`
}

func (OnsConsumerGetConnectionResponseBodyDataConnectionList) GoString

func (OnsConsumerGetConnectionResponseBodyDataConnectionList) String

type OnsConsumerGetConnectionResponseBodyDataConnectionListConnectionDo

type OnsConsumerGetConnectionResponseBodyDataConnectionListConnectionDo struct {
	// The IP address and port number of the consumer client.
	ClientAddr *string `json:"ClientAddr,omitempty" xml:"ClientAddr,omitempty"`
	// The ID of the consumer client.
	ClientId *string `json:"ClientId,omitempty" xml:"ClientId,omitempty"`
	// The programming language in which the consumer application was developed.
	Language *string `json:"Language,omitempty" xml:"Language,omitempty"`
	// The version of the consumer client.
	Version *string `json:"Version,omitempty" xml:"Version,omitempty"`
}

func (OnsConsumerGetConnectionResponseBodyDataConnectionListConnectionDo) GoString

func (*OnsConsumerGetConnectionResponseBodyDataConnectionListConnectionDo) SetClientAddr

func (*OnsConsumerGetConnectionResponseBodyDataConnectionListConnectionDo) SetClientId

func (*OnsConsumerGetConnectionResponseBodyDataConnectionListConnectionDo) SetLanguage

func (*OnsConsumerGetConnectionResponseBodyDataConnectionListConnectionDo) SetVersion

func (OnsConsumerGetConnectionResponseBodyDataConnectionListConnectionDo) String

type OnsConsumerResetOffsetRequest

type OnsConsumerResetOffsetRequest struct {
	// The ID of the consumer group whose dead-letter message you want to query.
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The ID of the instance to which the consumer group belongs.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The timestamp to which you want to reset the consumer offset. This parameter takes effect only when the **Type** parameter is set to **1**. Unit: milliseconds.
	ResetTimestamp *int64 `json:"ResetTimestamp,omitempty" xml:"ResetTimestamp,omitempty"`
	// The name of the topic for which you want to reset the consumer offset.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
	// The method that you want to use to clear accumulated messages. Valid values:
	//
	// *   **0:** All accumulated messages are cleared. Messages that are not consumed are ignored. Consumers in the specified consumer group consume only messages that are published to the topic after the specified point in time.
	//
	// If "reconsumeLater" is returned, the accumulated messages are not cleared because the system is retrying to resend the messages to consumers.
	//
	// *   **1:** The messages that were published to the topic before the specified point in time are cleared. You must specify a point in time. Consumers in the specified consumer group consume only the messages that are published to the topic after the specified point in time.
	//
	// You can specify a point in time from the earliest point in time when a message was published to the topic to the most recent point in time when a message was published to the topic. Points in time that are not within the allowed time range are invalid.
	Type *int32 `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (OnsConsumerResetOffsetRequest) GoString

func (*OnsConsumerResetOffsetRequest) SetGroupId

func (*OnsConsumerResetOffsetRequest) SetInstanceId

func (*OnsConsumerResetOffsetRequest) SetResetTimestamp

func (*OnsConsumerResetOffsetRequest) SetTopic

func (*OnsConsumerResetOffsetRequest) SetType

func (OnsConsumerResetOffsetRequest) String

type OnsConsumerResetOffsetResponse

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

func (OnsConsumerResetOffsetResponse) GoString

func (*OnsConsumerResetOffsetResponse) SetHeaders

func (*OnsConsumerResetOffsetResponse) SetStatusCode

func (OnsConsumerResetOffsetResponse) String

type OnsConsumerResetOffsetResponseBody

type OnsConsumerResetOffsetResponseBody struct {
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsConsumerResetOffsetResponseBody) GoString

func (*OnsConsumerResetOffsetResponseBody) SetRequestId

func (OnsConsumerResetOffsetResponseBody) String

type OnsConsumerStatusRequest

type OnsConsumerStatusRequest struct {
	// Specifies whether to query the details of the consumer group. Valid values:
	//
	// *   **true**: The details of the consumer group are queried. You can obtain details from the **ConsumerConnectionInfoList** and **DetailInTopicList** response parameters.
	// *   **false**: The details of the consumer group are not queried. The values of the **ConsumerConnectionInfoList** and **DetailInTopicList** response parameters are empty. This value is the default value of the Detail parameter.
	Detail *bool `json:"Detail,omitempty" xml:"Detail,omitempty"`
	// The ID of the consumer group whose details you want to query.
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The ID of the instance to which the consumer group belongs.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// Specifies whether to query the information about thread stack traces. Valid values:
	//
	// *   **true**: The information about thread stack traces is queried. You can obtain the information from the **Jstack** response parameter.
	//
	// > If you want to obtain the information about thread stack traces, make sure that the **Detail** parameter in the request is set to **true**.
	//
	// *   **false**: The information about thread stack traces is not queried. The value of the **Jstack** response parameter is empty. This value is the default value of the NeedJstack parameter.
	NeedJstack *bool `json:"NeedJstack,omitempty" xml:"NeedJstack,omitempty"`
}

func (OnsConsumerStatusRequest) GoString

func (s OnsConsumerStatusRequest) GoString() string

func (*OnsConsumerStatusRequest) SetDetail

func (*OnsConsumerStatusRequest) SetGroupId

func (*OnsConsumerStatusRequest) SetInstanceId

func (*OnsConsumerStatusRequest) SetNeedJstack

func (OnsConsumerStatusRequest) String

func (s OnsConsumerStatusRequest) String() string

type OnsConsumerStatusResponse

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

func (OnsConsumerStatusResponse) GoString

func (s OnsConsumerStatusResponse) GoString() string

func (*OnsConsumerStatusResponse) SetBody

func (*OnsConsumerStatusResponse) SetHeaders

func (*OnsConsumerStatusResponse) SetStatusCode

func (OnsConsumerStatusResponse) String

func (s OnsConsumerStatusResponse) String() string

type OnsConsumerStatusResponseBody

type OnsConsumerStatusResponseBody struct {
	// The data returned.
	Data *OnsConsumerStatusResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsConsumerStatusResponseBody) GoString

func (*OnsConsumerStatusResponseBody) SetData

func (*OnsConsumerStatusResponseBody) SetRequestId

func (OnsConsumerStatusResponseBody) String

type OnsConsumerStatusResponseBodyData

type OnsConsumerStatusResponseBodyData struct {
	// The information about online consumers in the consumer group.
	ConnectionSet *OnsConsumerStatusResponseBodyDataConnectionSet `json:"ConnectionSet,omitempty" xml:"ConnectionSet,omitempty" type:"Struct"`
	// The consumption mode. Valid values:
	//
	// *   **CLUSTERING**: the clustering consumption mode
	// *   **BROADCASTING**: the broadcasting consumption mode
	//
	// For more information about consumption modes, see [Clustering consumption and broadcasting consumption](~~43163~~).
	ConsumeModel *string `json:"ConsumeModel,omitempty" xml:"ConsumeModel,omitempty"`
	// The TPS for message consumption.
	ConsumeTps *float32 `json:"ConsumeTps,omitempty" xml:"ConsumeTps,omitempty"`
	// The details of online consumers in the consumer group, including the information about the thread stack traces and the consumption response time (RT). If you want to obtain the details of online consumers in the consumer group, make sure that the **Detail** parameter in the request is set to **true**. If the Detail parameter is not set to true, the value of this parameter is empty.
	ConsumerConnectionInfoList *OnsConsumerStatusResponseBodyDataConsumerConnectionInfoList `json:"ConsumerConnectionInfoList,omitempty" xml:"ConsumerConnectionInfoList,omitempty" type:"Struct"`
	// The maximum latency of message consumption in all topics to which the consumer group subscribes. Unit: milliseconds.
	DelayTime *int64 `json:"DelayTime,omitempty" xml:"DelayTime,omitempty"`
	// The information about message consumption by topic. If you want to obtain the information about the consumption status of each topic, make sure that the **Detail** parameter in the request is set to **true**. If the Detail parameter is not set to true, the value of this parameter is empty.
	DetailInTopicList *OnsConsumerStatusResponseBodyDataDetailInTopicList `json:"DetailInTopicList,omitempty" xml:"DetailInTopicList,omitempty" type:"Struct"`
	// The ID of the instance
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The most recent point in time when a message was consumed.
	//
	// The value of this parameter is a UNIX timestamp in milliseconds.
	LastTimestamp *int64 `json:"LastTimestamp,omitempty" xml:"LastTimestamp,omitempty"`
	// Indicates whether the consumer group is online.
	Online *bool `json:"Online,omitempty" xml:"Online,omitempty"`
	// Indicates whether load balancing is performed as expected. Valid values:
	//
	// *   **true**: Load balancing is performed as expected.
	// *   **false**: Load balancing is not performed as expected.
	RebalanceOK *bool `json:"RebalanceOK,omitempty" xml:"RebalanceOK,omitempty"`
	// Indicates whether all consumers in the consumer group subscribe to the same topics and tags.
	SubscriptionSame *bool `json:"SubscriptionSame,omitempty" xml:"SubscriptionSame,omitempty"`
	// The total number of accumulated messages.
	TotalDiff *int64 `json:"TotalDiff,omitempty" xml:"TotalDiff,omitempty"`
}

func (OnsConsumerStatusResponseBodyData) GoString

func (*OnsConsumerStatusResponseBodyData) SetConsumeModel

func (*OnsConsumerStatusResponseBodyData) SetConsumeTps

func (*OnsConsumerStatusResponseBodyData) SetDelayTime

func (*OnsConsumerStatusResponseBodyData) SetInstanceId

func (*OnsConsumerStatusResponseBodyData) SetLastTimestamp

func (*OnsConsumerStatusResponseBodyData) SetOnline

func (*OnsConsumerStatusResponseBodyData) SetRebalanceOK

func (*OnsConsumerStatusResponseBodyData) SetSubscriptionSame

func (*OnsConsumerStatusResponseBodyData) SetTotalDiff

func (OnsConsumerStatusResponseBodyData) String

type OnsConsumerStatusResponseBodyDataConnectionSet

type OnsConsumerStatusResponseBodyDataConnectionSet struct {
	ConnectionDo []*OnsConsumerStatusResponseBodyDataConnectionSetConnectionDo `json:"ConnectionDo,omitempty" xml:"ConnectionDo,omitempty" type:"Repeated"`
}

func (OnsConsumerStatusResponseBodyDataConnectionSet) GoString

func (OnsConsumerStatusResponseBodyDataConnectionSet) String

type OnsConsumerStatusResponseBodyDataConnectionSetConnectionDo

type OnsConsumerStatusResponseBodyDataConnectionSetConnectionDo struct {
	// The IP address and port number of the consumer instance.
	ClientAddr *string `json:"ClientAddr,omitempty" xml:"ClientAddr,omitempty"`
	// The ID of the consumer instance.
	ClientId *string `json:"ClientId,omitempty" xml:"ClientId,omitempty"`
	// The programming language in which the consumer is developed.
	Language *string `json:"Language,omitempty" xml:"Language,omitempty"`
	// The private or public IP address of the host.
	RemoteIP *string `json:"RemoteIP,omitempty" xml:"RemoteIP,omitempty"`
	// The version of the consumer client.
	Version *string `json:"Version,omitempty" xml:"Version,omitempty"`
}

func (OnsConsumerStatusResponseBodyDataConnectionSetConnectionDo) GoString

func (*OnsConsumerStatusResponseBodyDataConnectionSetConnectionDo) SetClientAddr

func (*OnsConsumerStatusResponseBodyDataConnectionSetConnectionDo) SetClientId

func (*OnsConsumerStatusResponseBodyDataConnectionSetConnectionDo) SetLanguage

func (*OnsConsumerStatusResponseBodyDataConnectionSetConnectionDo) SetRemoteIP

func (*OnsConsumerStatusResponseBodyDataConnectionSetConnectionDo) SetVersion

func (OnsConsumerStatusResponseBodyDataConnectionSetConnectionDo) String

type OnsConsumerStatusResponseBodyDataConsumerConnectionInfoList

type OnsConsumerStatusResponseBodyDataConsumerConnectionInfoList struct {
	ConsumerConnectionInfoDo []*OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDo `json:"ConsumerConnectionInfoDo,omitempty" xml:"ConsumerConnectionInfoDo,omitempty" type:"Repeated"`
}

func (OnsConsumerStatusResponseBodyDataConsumerConnectionInfoList) GoString

func (OnsConsumerStatusResponseBodyDataConsumerConnectionInfoList) String

type OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDo

type OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDo struct {
	// The ID of the consumer instance.
	ClientId *string `json:"ClientId,omitempty" xml:"ClientId,omitempty"`
	// The connection information.
	Connection *string `json:"Connection,omitempty" xml:"Connection,omitempty"`
	// The consumption mode. Valid values:
	//
	// *   **CLUSTERING**: the clustering consumption mode
	// *   **BROADCASTING**: the broadcasting consumption mode
	//
	// For more information about consumption modes, see [Clustering consumption and broadcasting consumption](~~43163~~).
	ConsumeModel *string `json:"ConsumeModel,omitempty" xml:"ConsumeModel,omitempty"`
	// The mode in which the consumer consumes messages. Valid values:
	//
	// *   **PUSH**: The ApsaraMQ for RocketMQ broker pushes messages to the consumer.
	// *   **PULL**: The consumer pulls messages from the ApsaraMQ for RocketMQ broker.
	ConsumeType *string `json:"ConsumeType,omitempty" xml:"ConsumeType,omitempty"`
	// The information about thread stack traces. If you want to obtain the information about thread stack traces, make sure that the **NeedJstack** parameter in the request is set to **true**. If the NeedJstack parameter is not set to true, the value of this parameter is empty.
	Jstack *OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoJstack `json:"Jstack,omitempty" xml:"Jstack,omitempty" type:"Struct"`
	// The programming language that the consumer supports.
	Language *string `json:"Language,omitempty" xml:"Language,omitempty"`
	// The most recent point in time when a message was consumed.
	//
	// The value of this parameter is a UNIX timestamp in milliseconds.
	LastTimeStamp *int64 `json:"LastTimeStamp,omitempty" xml:"LastTimeStamp,omitempty"`
	// The real-time statistics.
	RunningDataList *OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoRunningDataList `json:"RunningDataList,omitempty" xml:"RunningDataList,omitempty" type:"Struct"`
	// The earliest point in time when a message was consumed.
	//
	// The value of this parameter is a UNIX timestamp in milliseconds.
	StartTimeStamp *int64 `json:"StartTimeStamp,omitempty" xml:"StartTimeStamp,omitempty"`
	// The information about subscriptions.
	SubscriptionSet *OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoSubscriptionSet `json:"SubscriptionSet,omitempty" xml:"SubscriptionSet,omitempty" type:"Struct"`
	// The number of consumer threads.
	ThreadCount *int32 `json:"ThreadCount,omitempty" xml:"ThreadCount,omitempty"`
	// The version of the consumer client.
	Version *string `json:"Version,omitempty" xml:"Version,omitempty"`
}

func (OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDo) GoString

func (*OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDo) SetClientId

func (*OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDo) SetConnection

func (*OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDo) SetConsumeModel

func (*OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDo) SetConsumeType

func (*OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDo) SetLanguage

func (*OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDo) SetLastTimeStamp

func (*OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDo) SetStartTimeStamp

func (*OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDo) SetThreadCount

func (*OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDo) SetVersion

func (OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDo) String

type OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoJstack

type OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoJstack struct {
	ThreadTrackDo []*OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoJstackThreadTrackDo `json:"ThreadTrackDo,omitempty" xml:"ThreadTrackDo,omitempty" type:"Repeated"`
}

func (OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoJstack) GoString

func (OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoJstack) String

type OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoJstackThreadTrackDo

type OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoJstackThreadTrackDo struct {
	// The name of the thread.
	Thread *string `json:"Thread,omitempty" xml:"Thread,omitempty"`
	// The details of thread stack traces.
	TrackList *OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoJstackThreadTrackDoTrackList `json:"TrackList,omitempty" xml:"TrackList,omitempty" type:"Struct"`
}

func (OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoJstackThreadTrackDo) GoString

func (OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoJstackThreadTrackDo) String

type OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoJstackThreadTrackDoTrackList

type OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoJstackThreadTrackDoTrackList struct {
	Track []*string `json:"Track,omitempty" xml:"Track,omitempty" type:"Repeated"`
}

func (OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoJstackThreadTrackDoTrackList) GoString

func (OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoJstackThreadTrackDoTrackList) String

type OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoRunningDataList

type OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoRunningDataList struct {
	ConsumerRunningDataDo []*OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoRunningDataListConsumerRunningDataDo `json:"ConsumerRunningDataDo,omitempty" xml:"ConsumerRunningDataDo,omitempty" type:"Repeated"`
}

func (OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoRunningDataList) GoString

func (OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoRunningDataList) String

type OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoRunningDataListConsumerRunningDataDo

type OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoRunningDataListConsumerRunningDataDo struct {
	// The number of messages that failed to be consumed each hour.
	FailedCountPerHour *int64 `json:"FailedCountPerHour,omitempty" xml:"FailedCountPerHour,omitempty"`
	// The TPS for failed message consumption.
	FailedTps *float32 `json:"FailedTps,omitempty" xml:"FailedTps,omitempty"`
	// The ID of the consumer group.
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The TPS for successful message consumption.
	OkTps *float32 `json:"OkTps,omitempty" xml:"OkTps,omitempty"`
	// The consumption RT. Unit: milliseconds.
	Rt *float32 `json:"Rt,omitempty" xml:"Rt,omitempty"`
	// The name of the topic to which the consumer subscribes.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoRunningDataListConsumerRunningDataDo) GoString

func (OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoRunningDataListConsumerRunningDataDo) String

type OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoSubscriptionSet

type OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoSubscriptionSet struct {
	SubscriptionData []*OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoSubscriptionSetSubscriptionData `json:"SubscriptionData,omitempty" xml:"SubscriptionData,omitempty" type:"Repeated"`
}

func (OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoSubscriptionSet) GoString

func (OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoSubscriptionSet) String

type OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoSubscriptionSetSubscriptionData

type OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoSubscriptionSetSubscriptionData struct {
	// The expression that is used to specify the tags of messages in the subscribed topic.
	SubString *string `json:"SubString,omitempty" xml:"SubString,omitempty"`
	// The subscription version. The value is of the LONG type and is automatically incremented.
	SubVersion *int64 `json:"SubVersion,omitempty" xml:"SubVersion,omitempty"`
	// The information about the tags of the topic to which the consumer subscribes.
	TagsSet *OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoSubscriptionSetSubscriptionDataTagsSet `json:"TagsSet,omitempty" xml:"TagsSet,omitempty" type:"Struct"`
	// The name of the topic to which the consumer subscribes.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoSubscriptionSetSubscriptionData) GoString

func (OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoSubscriptionSetSubscriptionData) String

type OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoSubscriptionSetSubscriptionDataTagsSet

type OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoSubscriptionSetSubscriptionDataTagsSet struct {
	Tag []*string `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoSubscriptionSetSubscriptionDataTagsSet) GoString

func (OnsConsumerStatusResponseBodyDataConsumerConnectionInfoListConsumerConnectionInfoDoSubscriptionSetSubscriptionDataTagsSet) String

type OnsConsumerStatusResponseBodyDataDetailInTopicList

type OnsConsumerStatusResponseBodyDataDetailInTopicList struct {
	DetailInTopicDo []*OnsConsumerStatusResponseBodyDataDetailInTopicListDetailInTopicDo `json:"DetailInTopicDo,omitempty" xml:"DetailInTopicDo,omitempty" type:"Repeated"`
}

func (OnsConsumerStatusResponseBodyDataDetailInTopicList) GoString

func (OnsConsumerStatusResponseBodyDataDetailInTopicList) String

type OnsConsumerStatusResponseBodyDataDetailInTopicListDetailInTopicDo

type OnsConsumerStatusResponseBodyDataDetailInTopicListDetailInTopicDo struct {
	// The latency of message consumption in the topic. Unit: milliseconds.
	DelayTime *int64 `json:"DelayTime,omitempty" xml:"DelayTime,omitempty"`
	// The most recent point in time when a message was consumed.
	//
	// The value of this parameter is a UNIX timestamp in milliseconds.
	LastTimestamp *int64 `json:"LastTimestamp,omitempty" xml:"LastTimestamp,omitempty"`
	// The topic name.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
	// The number of accumulated messages in the topic.
	TotalDiff *int64 `json:"TotalDiff,omitempty" xml:"TotalDiff,omitempty"`
}

func (OnsConsumerStatusResponseBodyDataDetailInTopicListDetailInTopicDo) GoString

func (*OnsConsumerStatusResponseBodyDataDetailInTopicListDetailInTopicDo) SetDelayTime

func (*OnsConsumerStatusResponseBodyDataDetailInTopicListDetailInTopicDo) SetLastTimestamp

func (*OnsConsumerStatusResponseBodyDataDetailInTopicListDetailInTopicDo) SetTopic

func (*OnsConsumerStatusResponseBodyDataDetailInTopicListDetailInTopicDo) SetTotalDiff

func (OnsConsumerStatusResponseBodyDataDetailInTopicListDetailInTopicDo) String

type OnsConsumerTimeSpanRequest

type OnsConsumerTimeSpanRequest struct {
	// The ID of the consumer group whose reset time range you want to query.
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The ID of the instance to which the consumer group belongs.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The topic to which the consumer group subscribes.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsConsumerTimeSpanRequest) GoString

func (s OnsConsumerTimeSpanRequest) GoString() string

func (*OnsConsumerTimeSpanRequest) SetGroupId

func (*OnsConsumerTimeSpanRequest) SetInstanceId

func (*OnsConsumerTimeSpanRequest) SetTopic

func (OnsConsumerTimeSpanRequest) String

type OnsConsumerTimeSpanResponse

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

func (OnsConsumerTimeSpanResponse) GoString

func (s OnsConsumerTimeSpanResponse) GoString() string

func (*OnsConsumerTimeSpanResponse) SetBody

func (*OnsConsumerTimeSpanResponse) SetHeaders

func (*OnsConsumerTimeSpanResponse) SetStatusCode

func (OnsConsumerTimeSpanResponse) String

type OnsConsumerTimeSpanResponseBody

type OnsConsumerTimeSpanResponseBody struct {
	// The data returned.
	Data *OnsConsumerTimeSpanResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsConsumerTimeSpanResponseBody) GoString

func (*OnsConsumerTimeSpanResponseBody) SetRequestId

func (OnsConsumerTimeSpanResponseBody) String

type OnsConsumerTimeSpanResponseBodyData

type OnsConsumerTimeSpanResponseBodyData struct {
	// The most recent point in time when a message in the topic was consumed by the customer group.
	ConsumeTimeStamp *int64 `json:"ConsumeTimeStamp,omitempty" xml:"ConsumeTimeStamp,omitempty"`
	// The ID of the instance to which the consumer group belongs.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The point in time when the earliest stored message was published to the topic.
	MaxTimeStamp *int64 `json:"MaxTimeStamp,omitempty" xml:"MaxTimeStamp,omitempty"`
	// The point in time when the most recently stored message was published to the topic.
	MinTimeStamp *int64 `json:"MinTimeStamp,omitempty" xml:"MinTimeStamp,omitempty"`
	// The name of the topic that you want to query.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsConsumerTimeSpanResponseBodyData) GoString

func (*OnsConsumerTimeSpanResponseBodyData) SetConsumeTimeStamp

func (*OnsConsumerTimeSpanResponseBodyData) SetInstanceId

func (*OnsConsumerTimeSpanResponseBodyData) SetMaxTimeStamp

func (*OnsConsumerTimeSpanResponseBodyData) SetMinTimeStamp

func (*OnsConsumerTimeSpanResponseBodyData) SetTopic

func (OnsConsumerTimeSpanResponseBodyData) String

type OnsDLQMessageGetByIdRequest

type OnsDLQMessageGetByIdRequest struct {
	// The ID of the consumer group whose dead-letter message you want to query.
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The ID of the instance to which the message you want to query belongs.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the dead-letter message that you want to query.
	MsgId *string `json:"MsgId,omitempty" xml:"MsgId,omitempty"`
}

func (OnsDLQMessageGetByIdRequest) GoString

func (s OnsDLQMessageGetByIdRequest) GoString() string

func (*OnsDLQMessageGetByIdRequest) SetGroupId

func (*OnsDLQMessageGetByIdRequest) SetInstanceId

func (*OnsDLQMessageGetByIdRequest) SetMsgId

func (OnsDLQMessageGetByIdRequest) String

type OnsDLQMessageGetByIdResponse

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

func (OnsDLQMessageGetByIdResponse) GoString

func (s OnsDLQMessageGetByIdResponse) GoString() string

func (*OnsDLQMessageGetByIdResponse) SetBody

func (*OnsDLQMessageGetByIdResponse) SetHeaders

func (*OnsDLQMessageGetByIdResponse) SetStatusCode

func (OnsDLQMessageGetByIdResponse) String

type OnsDLQMessageGetByIdResponseBody

type OnsDLQMessageGetByIdResponseBody struct {
	// The data returned.
	Data *OnsDLQMessageGetByIdResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsDLQMessageGetByIdResponseBody) GoString

func (*OnsDLQMessageGetByIdResponseBody) SetRequestId

func (OnsDLQMessageGetByIdResponseBody) String

type OnsDLQMessageGetByIdResponseBodyData

type OnsDLQMessageGetByIdResponseBodyData struct {
	// The cyclic redundancy check (CRC) value of the message body.
	BodyCRC *int32 `json:"BodyCRC,omitempty" xml:"BodyCRC,omitempty"`
	// The producer instance that generated the message.
	BornHost *string `json:"BornHost,omitempty" xml:"BornHost,omitempty"`
	// The timestamp that indicates the point in time when the message was generated. Unit: milliseconds.
	BornTimestamp *int64 `json:"BornTimestamp,omitempty" xml:"BornTimestamp,omitempty"`
	// The ID of the instance
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the dead-letter message.
	MsgId *string `json:"MsgId,omitempty" xml:"MsgId,omitempty"`
	// The attributes of the message.
	PropertyList *OnsDLQMessageGetByIdResponseBodyDataPropertyList `json:"PropertyList,omitempty" xml:"PropertyList,omitempty" type:"Struct"`
	// The number of retries that were performed to send the message to consumers.
	ReconsumeTimes *int32 `json:"ReconsumeTimes,omitempty" xml:"ReconsumeTimes,omitempty"`
	// The ApsaraMQ for RocketMQ broker that stores the message.
	StoreHost *string `json:"StoreHost,omitempty" xml:"StoreHost,omitempty"`
	// The size of the message. Unit: KB.
	StoreSize *int32 `json:"StoreSize,omitempty" xml:"StoreSize,omitempty"`
	// The timestamp that indicates the point in time when the ApsaraMQ for RocketMQ broker stored the message. Unit: milliseconds.
	StoreTimestamp *int64 `json:"StoreTimestamp,omitempty" xml:"StoreTimestamp,omitempty"`
	// The topic to which the message belongs.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsDLQMessageGetByIdResponseBodyData) GoString

func (*OnsDLQMessageGetByIdResponseBodyData) SetBodyCRC

func (*OnsDLQMessageGetByIdResponseBodyData) SetBornHost

func (*OnsDLQMessageGetByIdResponseBodyData) SetBornTimestamp

func (*OnsDLQMessageGetByIdResponseBodyData) SetInstanceId

func (*OnsDLQMessageGetByIdResponseBodyData) SetMsgId

func (*OnsDLQMessageGetByIdResponseBodyData) SetReconsumeTimes

func (*OnsDLQMessageGetByIdResponseBodyData) SetStoreHost

func (*OnsDLQMessageGetByIdResponseBodyData) SetStoreSize

func (*OnsDLQMessageGetByIdResponseBodyData) SetStoreTimestamp

func (*OnsDLQMessageGetByIdResponseBodyData) SetTopic

func (OnsDLQMessageGetByIdResponseBodyData) String

type OnsDLQMessageGetByIdResponseBodyDataPropertyList

type OnsDLQMessageGetByIdResponseBodyDataPropertyList struct {
	MessageProperty []*OnsDLQMessageGetByIdResponseBodyDataPropertyListMessageProperty `json:"MessageProperty,omitempty" xml:"MessageProperty,omitempty" type:"Repeated"`
}

func (OnsDLQMessageGetByIdResponseBodyDataPropertyList) GoString

func (OnsDLQMessageGetByIdResponseBodyDataPropertyList) String

type OnsDLQMessageGetByIdResponseBodyDataPropertyListMessageProperty

type OnsDLQMessageGetByIdResponseBodyDataPropertyListMessageProperty struct {
	// The name of the attribute. Valid values:
	//
	// *   **TRACE_ON**: indicates whether the message trace exists.
	// *   **KEYS**: indicates the key of the message.
	// *   **TAGS**: indicates the tag that is attached to the message.
	// *   **INSTANCE_ID**: indicates the ID of the instance that contains the message.
	//
	// For information about the terms that are used in ApsaraMQ for RocketMQ, see [Terms](~~29533~~).
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The value of the attribute.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (OnsDLQMessageGetByIdResponseBodyDataPropertyListMessageProperty) GoString

func (*OnsDLQMessageGetByIdResponseBodyDataPropertyListMessageProperty) SetName

func (*OnsDLQMessageGetByIdResponseBodyDataPropertyListMessageProperty) SetValue

func (OnsDLQMessageGetByIdResponseBodyDataPropertyListMessageProperty) String

type OnsDLQMessagePageQueryByGroupIdRequest

type OnsDLQMessagePageQueryByGroupIdRequest struct {
	// The beginning of the time range to query. The value of this parameter is a UNIX timestamp in milliseconds. If you specify a valid value for the **TaskId** parameter in the request, this parameter does not take effect. The system uses the value of the BeginTime parameter that you specified in the request when you created the specified query task.
	BeginTime *int64 `json:"BeginTime,omitempty" xml:"BeginTime,omitempty"`
	// The number of the page to return. Pages start from page 1. Valid values: 1 to 50.
	CurrentPage *int32 `json:"CurrentPage,omitempty" xml:"CurrentPage,omitempty"`
	// The end of the time range to query. The value of this parameter is a UNIX timestamp in milliseconds. If you specify a valid value for the **TaskId** parameter in the request, this parameter does not take effect. The system uses the value of the EndTime parameter that you specified in the request when you created the specified query task.
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the consumer group whose dead-letter messages you want to query.
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The ID of the instance to which the dead-letter messages you want to query belong.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The number of dead-letter messages to return on each page. Valid values: 5 to 50. Default value: 20. If you specify a valid value for the **TaskId** parameter in the request, this parameter does not take effect. The system uses the value of the PageSize parameter that you specified in the request when you created the specified query task.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the query task. The first time you call this operation to query dead-letter messages that are sent to a specified consumer group within a specified time range, this parameter is not required. This parameter is required in subsequent queries for dead-letter messages on a specified page. You can obtain the task ID from the returned result of the first query.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (OnsDLQMessagePageQueryByGroupIdRequest) GoString

func (*OnsDLQMessagePageQueryByGroupIdRequest) SetBeginTime

func (*OnsDLQMessagePageQueryByGroupIdRequest) SetCurrentPage

func (*OnsDLQMessagePageQueryByGroupIdRequest) SetEndTime

func (*OnsDLQMessagePageQueryByGroupIdRequest) SetGroupId

func (*OnsDLQMessagePageQueryByGroupIdRequest) SetInstanceId

func (*OnsDLQMessagePageQueryByGroupIdRequest) SetPageSize

func (*OnsDLQMessagePageQueryByGroupIdRequest) SetTaskId

func (OnsDLQMessagePageQueryByGroupIdRequest) String

type OnsDLQMessagePageQueryByGroupIdResponse

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

func (OnsDLQMessagePageQueryByGroupIdResponse) GoString

func (*OnsDLQMessagePageQueryByGroupIdResponse) SetHeaders

func (*OnsDLQMessagePageQueryByGroupIdResponse) SetStatusCode

func (OnsDLQMessagePageQueryByGroupIdResponse) String

type OnsDLQMessagePageQueryByGroupIdResponseBody

type OnsDLQMessagePageQueryByGroupIdResponseBody struct {
	// The information about dead-letter messages that are queried.
	MsgFoundDo *OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDo `json:"MsgFoundDo,omitempty" xml:"MsgFoundDo,omitempty" type:"Struct"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsDLQMessagePageQueryByGroupIdResponseBody) GoString

func (*OnsDLQMessagePageQueryByGroupIdResponseBody) SetRequestId

func (OnsDLQMessagePageQueryByGroupIdResponseBody) String

type OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDo

type OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDo struct {
	// The page number of the returned page.
	CurrentPage *int64 `json:"CurrentPage,omitempty" xml:"CurrentPage,omitempty"`
	// The total number of returned pages.
	MaxPageCount *int64 `json:"MaxPageCount,omitempty" xml:"MaxPageCount,omitempty"`
	// The information about dead-letter messages that are returned on the current page. The information that is contained in this parameter is the same as the information that is returned by the [OnsDLQMessageGetById](~~112667~~) operation.
	MsgFoundList *OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundList `json:"MsgFoundList,omitempty" xml:"MsgFoundList,omitempty" type:"Struct"`
	// The ID of the query task. The first time you call this operation to query the dead-letter messages that are sent to a specified consumer group within a specified time range, this parameter is returned. You can use the task ID to query the details of dead-letter messages on other returned pages.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDo) GoString

func (*OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDo) SetCurrentPage

func (*OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDo) SetMaxPageCount

func (*OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDo) SetTaskId

func (OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDo) String

type OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundList

type OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundList struct {
	OnsRestMessageDo []*OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo `json:"OnsRestMessageDo,omitempty" xml:"OnsRestMessageDo,omitempty" type:"Repeated"`
}

func (OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundList) GoString

func (OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundList) String

type OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo

type OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo struct {
	// The cyclic redundancy check (CRC) value of the message body.
	BodyCRC *int32 `json:"BodyCRC,omitempty" xml:"BodyCRC,omitempty"`
	// The producer instance that generated the message.
	BornHost *string `json:"BornHost,omitempty" xml:"BornHost,omitempty"`
	// The timestamp that indicates when the message was produced.
	BornTimestamp *int64 `json:"BornTimestamp,omitempty" xml:"BornTimestamp,omitempty"`
	// The ID of the instance
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the message.
	MsgId *string `json:"MsgId,omitempty" xml:"MsgId,omitempty"`
	// The attributes of the message.
	PropertyList *OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDoPropertyList `json:"PropertyList,omitempty" xml:"PropertyList,omitempty" type:"Struct"`
	// The number of retries that were performed to send the message to consumers.
	ReconsumeTimes *int32 `json:"ReconsumeTimes,omitempty" xml:"ReconsumeTimes,omitempty"`
	// The ApsaraMQ for RocketMQ broker that stores the message.
	StoreHost *string `json:"StoreHost,omitempty" xml:"StoreHost,omitempty"`
	// The size of the message. Unit: KB.
	StoreSize *int32 `json:"StoreSize,omitempty" xml:"StoreSize,omitempty"`
	// The timestamp that indicates the point in time when the ApsaraMQ for RocketMQ broker stored the message.
	StoreTimestamp *int64 `json:"StoreTimestamp,omitempty" xml:"StoreTimestamp,omitempty"`
	// The topic to which the message belongs.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo) GoString

func (*OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo) SetBodyCRC

func (*OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo) SetBornHost

func (*OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo) SetBornTimestamp

func (*OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo) SetInstanceId

func (*OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo) SetMsgId

func (*OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo) SetReconsumeTimes

func (*OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo) SetStoreHost

func (*OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo) SetStoreSize

func (*OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo) SetStoreTimestamp

func (*OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo) SetTopic

func (OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo) String

type OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDoPropertyList

type OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDoPropertyList struct {
	MessageProperty []*OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDoPropertyListMessageProperty `json:"MessageProperty,omitempty" xml:"MessageProperty,omitempty" type:"Repeated"`
}

func (OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDoPropertyList) GoString

func (OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDoPropertyList) String

type OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDoPropertyListMessageProperty

type OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDoPropertyListMessageProperty struct {
	// The name of the attribute. Valid values:
	//
	// *   **TRACE_ON**: indicates whether a trace of the message exists.
	// *   **KEYS**: indicates the key of the message.
	// *   **TAGS**: indicates the tag that is attached to the message.
	// *   **INSTANCE_ID**: indicates the ID of the instance that contains the message.
	//
	// For information about the terms that are used in ApsaraMQ for RocketMQ, see [Terms](~~29533~~).
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The value of the attribute.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDoPropertyListMessageProperty) GoString

func (OnsDLQMessagePageQueryByGroupIdResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDoPropertyListMessageProperty) String

type OnsDLQMessageResendByIdRequest

type OnsDLQMessageResendByIdRequest struct {
	// The ID of the consumer group in which you want to query dead-letter messages.
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The ID of the instance in which the dead-letter message you want to query resides.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the dead-letter message that you want to send to a consumer group for consumption.
	MsgId *string `json:"MsgId,omitempty" xml:"MsgId,omitempty"`
}

func (OnsDLQMessageResendByIdRequest) GoString

func (*OnsDLQMessageResendByIdRequest) SetGroupId

func (*OnsDLQMessageResendByIdRequest) SetInstanceId

func (*OnsDLQMessageResendByIdRequest) SetMsgId

func (OnsDLQMessageResendByIdRequest) String

type OnsDLQMessageResendByIdResponse

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

func (OnsDLQMessageResendByIdResponse) GoString

func (*OnsDLQMessageResendByIdResponse) SetHeaders

func (*OnsDLQMessageResendByIdResponse) SetStatusCode

func (OnsDLQMessageResendByIdResponse) String

type OnsDLQMessageResendByIdResponseBody

type OnsDLQMessageResendByIdResponseBody struct {
	// The returned messages.
	Data *OnsDLQMessageResendByIdResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsDLQMessageResendByIdResponseBody) GoString

func (*OnsDLQMessageResendByIdResponseBody) SetRequestId

func (OnsDLQMessageResendByIdResponseBody) String

type OnsDLQMessageResendByIdResponseBodyData

type OnsDLQMessageResendByIdResponseBodyData struct {
	MsgId []*string `json:"MsgId,omitempty" xml:"MsgId,omitempty" type:"Repeated"`
}

func (OnsDLQMessageResendByIdResponseBodyData) GoString

func (*OnsDLQMessageResendByIdResponseBodyData) SetMsgId

func (OnsDLQMessageResendByIdResponseBodyData) String

type OnsGroupConsumerUpdateRequest

type OnsGroupConsumerUpdateRequest struct {
	// The ID of the consumer group for which you want to configure read permissions.
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The ID of the instance to which the consumer group you want to configure belongs.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// Specifies whether to authorize the consumer group to read messages. Valid values:
	//
	// *   **true**: The consumer group can read messages.
	// *   **false**: The consumer group cannot read messages.
	//
	// Default value: **true**.
	ReadEnable *bool `json:"ReadEnable,omitempty" xml:"ReadEnable,omitempty"`
}

func (OnsGroupConsumerUpdateRequest) GoString

func (*OnsGroupConsumerUpdateRequest) SetGroupId

func (*OnsGroupConsumerUpdateRequest) SetInstanceId

func (*OnsGroupConsumerUpdateRequest) SetReadEnable

func (OnsGroupConsumerUpdateRequest) String

type OnsGroupConsumerUpdateResponse

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

func (OnsGroupConsumerUpdateResponse) GoString

func (*OnsGroupConsumerUpdateResponse) SetHeaders

func (*OnsGroupConsumerUpdateResponse) SetStatusCode

func (OnsGroupConsumerUpdateResponse) String

type OnsGroupConsumerUpdateResponseBody

type OnsGroupConsumerUpdateResponseBody struct {
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsGroupConsumerUpdateResponseBody) GoString

func (*OnsGroupConsumerUpdateResponseBody) SetRequestId

func (OnsGroupConsumerUpdateResponseBody) String

type OnsGroupCreateRequest

type OnsGroupCreateRequest struct {
	// The ID of the consumer group that you want to create. The group ID must meet the following rules:
	//
	// *   The group ID must be 2 to 64 characters in length and can contain only letters, digits, hyphens (-), and underscores (\_).
	// *   If the ApsaraMQ for RocketMQ instance in which you want to create the consumer group uses a namespace, the group ID must be unique in the instance. The group ID cannot be the same as an existing group ID or a topic name in the instance. The group ID can be the same as a group ID or a topic name in another instance that uses a different namespace. For example, if Instance A and Instance B use different namespaces, a group ID in Instance A can be the same as a group ID or a topic name in Instance B.
	// *   If the instance does not use a namespace, the group ID must be globally unique across instances and regions. The group ID cannot be the same as an existing group ID or topic name in ApsaraMQ for RocketMQ instances that belong to your Alibaba Cloud account.
	//
	// >
	//
	// *   After the consumer group is created, the group ID cannot be changed.
	//
	// *   To check whether an instance uses a namespace, log on to the ApsaraMQ for RocketMQ console, go to the **Instance Details** page, and then view the value of the Namespace field in the **Basic Information** section.
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The protocol over which clients in the consumer group communicate with the ApsaraMQ for RocketMQ broker. All clients in a consumer group communicate with the ApsaraMQ for RocketMQ broker over the same protocol. You must create different groups for TCP clients and HTTP clients. Valid values:
	//
	// *   **tcp**: Clients in the consumer group consume messages over TCP. This is the default value.
	// *   **http**: Clients in the consumer group consume messages over HTTP.
	GroupType *string `json:"GroupType,omitempty" xml:"GroupType,omitempty"`
	// The ID of the instance in which you want to create the consumer group.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The description of the consumer group.
	Remark *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
}

func (OnsGroupCreateRequest) GoString

func (s OnsGroupCreateRequest) GoString() string

func (*OnsGroupCreateRequest) SetGroupId

func (*OnsGroupCreateRequest) SetGroupType

func (*OnsGroupCreateRequest) SetInstanceId

func (s *OnsGroupCreateRequest) SetInstanceId(v string) *OnsGroupCreateRequest

func (*OnsGroupCreateRequest) SetRemark

func (OnsGroupCreateRequest) String

func (s OnsGroupCreateRequest) String() string

type OnsGroupCreateResponse

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

func (OnsGroupCreateResponse) GoString

func (s OnsGroupCreateResponse) GoString() string

func (*OnsGroupCreateResponse) SetBody

func (*OnsGroupCreateResponse) SetHeaders

func (*OnsGroupCreateResponse) SetStatusCode

func (OnsGroupCreateResponse) String

func (s OnsGroupCreateResponse) String() string

type OnsGroupCreateResponseBody

type OnsGroupCreateResponseBody struct {
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsGroupCreateResponseBody) GoString

func (s OnsGroupCreateResponseBody) GoString() string

func (*OnsGroupCreateResponseBody) SetRequestId

func (OnsGroupCreateResponseBody) String

type OnsGroupDeleteRequest

type OnsGroupDeleteRequest struct {
	// The ID of the consumer group that you want to delete.
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The ID of the ApsaraMQ for RocketMQ instance to which the specified consumer group belongs.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
}

func (OnsGroupDeleteRequest) GoString

func (s OnsGroupDeleteRequest) GoString() string

func (*OnsGroupDeleteRequest) SetGroupId

func (*OnsGroupDeleteRequest) SetInstanceId

func (s *OnsGroupDeleteRequest) SetInstanceId(v string) *OnsGroupDeleteRequest

func (OnsGroupDeleteRequest) String

func (s OnsGroupDeleteRequest) String() string

type OnsGroupDeleteResponse

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

func (OnsGroupDeleteResponse) GoString

func (s OnsGroupDeleteResponse) GoString() string

func (*OnsGroupDeleteResponse) SetBody

func (*OnsGroupDeleteResponse) SetHeaders

func (*OnsGroupDeleteResponse) SetStatusCode

func (OnsGroupDeleteResponse) String

func (s OnsGroupDeleteResponse) String() string

type OnsGroupDeleteResponseBody

type OnsGroupDeleteResponseBody struct {
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsGroupDeleteResponseBody) GoString

func (s OnsGroupDeleteResponseBody) GoString() string

func (*OnsGroupDeleteResponseBody) SetRequestId

func (OnsGroupDeleteResponseBody) String

type OnsGroupListRequest

type OnsGroupListRequest struct {
	// This parameter is required only when you query specific consumer groups by using the fuzzy search method. If this parameter is not configured, the system queries all consumer groups that can be accessed by the current account.
	//
	// If you set this parameter to GID_ABC, the information about the consumer groups whose IDs contain GID_ABC is returned. For example, the information about the GID_test_GID_ABC\_123 and GID_ABC\_356 consumer groups is returned.
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The protocol over which the queried consumer group publishes and subscribes to messages. All clients in a consumer group communicate with the ApsaraMQ for RocketMQ broker over the same protocol. You must create different consumer groups for TCP clients and HTTP clients. Valid values:
	//
	// *   **tcp**: specifies that the consumer group publishes or subscribes to messages over TCP. This value is the default value.
	// *   **http**: specifies that the consumer group publishes or subscribes to messages over HTTP.
	GroupType *string `json:"GroupType,omitempty" xml:"GroupType,omitempty"`
	// The ID of the instance to which the consumer group you want to query belongs.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The list of tags that are attached to the consumer group. A maximum of 20 tags can be included in the list.
	Tag []*OnsGroupListRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (OnsGroupListRequest) GoString

func (s OnsGroupListRequest) GoString() string

func (*OnsGroupListRequest) SetGroupId

func (*OnsGroupListRequest) SetGroupType

func (s *OnsGroupListRequest) SetGroupType(v string) *OnsGroupListRequest

func (*OnsGroupListRequest) SetInstanceId

func (s *OnsGroupListRequest) SetInstanceId(v string) *OnsGroupListRequest

func (*OnsGroupListRequest) SetTag

func (OnsGroupListRequest) String

func (s OnsGroupListRequest) String() string

type OnsGroupListRequestTag

type OnsGroupListRequestTag struct {
	// The key of the tag that is attached to the consumer group. This parameter is not required. If you configure this parameter, you must configure the **Key** parameter.**** If you configure both the Key and Value parameters, the consumer groups are filtered based on the specified tag. If you do not configure these parameters, all consumer groups are queried.
	//
	// *   The value of this parameter cannot be an empty string.
	// *   The tag value must be 1 to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the tag that is attached to the group. This parameter is not required. If you configure this parameter, you must configure the **Key** parameter.**** If you configure both the Key and Value parameters, the consumer groups are filtered based on the specified tag. If you do not configure these parameters, all consumer groups are queried.
	//
	// *   The value of this parameter can be an empty string.
	// *   The tag key must be 1 to 128 characters in length and cannot contain `http://` or `https://`. It cannot start with `acs:` or `aliyun`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (OnsGroupListRequestTag) GoString

func (s OnsGroupListRequestTag) GoString() string

func (*OnsGroupListRequestTag) SetKey

func (*OnsGroupListRequestTag) SetValue

func (OnsGroupListRequestTag) String

func (s OnsGroupListRequestTag) String() string

type OnsGroupListResponse

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

func (OnsGroupListResponse) GoString

func (s OnsGroupListResponse) GoString() string

func (*OnsGroupListResponse) SetBody

func (*OnsGroupListResponse) SetHeaders

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

func (*OnsGroupListResponse) SetStatusCode

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

func (OnsGroupListResponse) String

func (s OnsGroupListResponse) String() string

type OnsGroupListResponseBody

type OnsGroupListResponseBody struct {
	// The returned list of subscriptions.
	Data *OnsGroupListResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsGroupListResponseBody) GoString

func (s OnsGroupListResponseBody) GoString() string

func (*OnsGroupListResponseBody) SetData

func (*OnsGroupListResponseBody) SetRequestId

func (OnsGroupListResponseBody) String

func (s OnsGroupListResponseBody) String() string

type OnsGroupListResponseBodyData

type OnsGroupListResponseBodyData struct {
	SubscribeInfoDo []*OnsGroupListResponseBodyDataSubscribeInfoDo `json:"SubscribeInfoDo,omitempty" xml:"SubscribeInfoDo,omitempty" type:"Repeated"`
}

func (OnsGroupListResponseBodyData) GoString

func (s OnsGroupListResponseBodyData) GoString() string

func (OnsGroupListResponseBodyData) String

type OnsGroupListResponseBodyDataSubscribeInfoDo

type OnsGroupListResponseBodyDataSubscribeInfoDo struct {
	// The point in time when the consumer group was created.
	CreateTime *int64 `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The ID of the consumer group.
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The protocol over which the queried consumer group publishes and subscribes to messages. All clients in a consumer group communicate with the ApsaraMQ for RocketMQ broker over the same protocol. You must create different consumer groups for TCP clients and HTTP clients. Valid values:
	//
	// *   **tcp**: indicates that the consumer group publishes and subscribes to messages over TCP.
	// *   **http**: indicates that the consumer group publishes and subscribes to messages over HTTP.
	GroupType *string `json:"GroupType,omitempty" xml:"GroupType,omitempty"`
	// Indicates whether the instance uses a namespace. Valid values:
	//
	// *   **true**: The instance uses a separate namespace. The name of each resource must be unique in the instance. The names of resources in different instances can be the same.
	// *   **false**: The instance does not use a separate namespace. The name of each resource must be globally unique within the instance and across all instances.
	IndependentNaming *bool `json:"IndependentNaming,omitempty" xml:"IndependentNaming,omitempty"`
	// The ID of the instance
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The Alibaba Cloud account ID of the user who created the consumer group.
	Owner *string `json:"Owner,omitempty" xml:"Owner,omitempty"`
	// The description of the consumer group.
	Remark *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	// The tags that are attached to the consumer group.
	Tags *OnsGroupListResponseBodyDataSubscribeInfoDoTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Struct"`
	// The most recent point in time when the consumer group was updated.
	UpdateTime *int64 `json:"UpdateTime,omitempty" xml:"UpdateTime,omitempty"`
}

func (OnsGroupListResponseBodyDataSubscribeInfoDo) GoString

func (*OnsGroupListResponseBodyDataSubscribeInfoDo) SetCreateTime

func (*OnsGroupListResponseBodyDataSubscribeInfoDo) SetGroupId

func (*OnsGroupListResponseBodyDataSubscribeInfoDo) SetGroupType

func (*OnsGroupListResponseBodyDataSubscribeInfoDo) SetIndependentNaming

func (*OnsGroupListResponseBodyDataSubscribeInfoDo) SetInstanceId

func (*OnsGroupListResponseBodyDataSubscribeInfoDo) SetOwner

func (*OnsGroupListResponseBodyDataSubscribeInfoDo) SetRemark

func (*OnsGroupListResponseBodyDataSubscribeInfoDo) SetUpdateTime

func (OnsGroupListResponseBodyDataSubscribeInfoDo) String

type OnsGroupListResponseBodyDataSubscribeInfoDoTags

type OnsGroupListResponseBodyDataSubscribeInfoDoTags struct {
	Tag []*OnsGroupListResponseBodyDataSubscribeInfoDoTagsTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (OnsGroupListResponseBodyDataSubscribeInfoDoTags) GoString

func (OnsGroupListResponseBodyDataSubscribeInfoDoTags) String

type OnsGroupListResponseBodyDataSubscribeInfoDoTagsTag

type OnsGroupListResponseBodyDataSubscribeInfoDoTagsTag struct {
	// The key of the tag that is attached to the consumer group.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the tag that is attached to the consumer group.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (OnsGroupListResponseBodyDataSubscribeInfoDoTagsTag) GoString

func (*OnsGroupListResponseBodyDataSubscribeInfoDoTagsTag) SetKey

func (*OnsGroupListResponseBodyDataSubscribeInfoDoTagsTag) SetValue

func (OnsGroupListResponseBodyDataSubscribeInfoDoTagsTag) String

type OnsGroupSubDetailRequest

type OnsGroupSubDetailRequest struct {
	// The ID of the consumer group that you want to query.
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The ID of the instance to which the consumer group you want to query belongs.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
}

func (OnsGroupSubDetailRequest) GoString

func (s OnsGroupSubDetailRequest) GoString() string

func (*OnsGroupSubDetailRequest) SetGroupId

func (*OnsGroupSubDetailRequest) SetInstanceId

func (OnsGroupSubDetailRequest) String

func (s OnsGroupSubDetailRequest) String() string

type OnsGroupSubDetailResponse

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

func (OnsGroupSubDetailResponse) GoString

func (s OnsGroupSubDetailResponse) GoString() string

func (*OnsGroupSubDetailResponse) SetBody

func (*OnsGroupSubDetailResponse) SetHeaders

func (*OnsGroupSubDetailResponse) SetStatusCode

func (OnsGroupSubDetailResponse) String

func (s OnsGroupSubDetailResponse) String() string

type OnsGroupSubDetailResponseBody

type OnsGroupSubDetailResponseBody struct {
	// The data returned.
	Data *OnsGroupSubDetailResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsGroupSubDetailResponseBody) GoString

func (*OnsGroupSubDetailResponseBody) SetData

func (*OnsGroupSubDetailResponseBody) SetRequestId

func (OnsGroupSubDetailResponseBody) String

type OnsGroupSubDetailResponseBodyData

type OnsGroupSubDetailResponseBodyData struct {
	// The ID of the consumer group that you want to query.
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The consumption mode. Valid values:
	//
	// *   **CLUSTERING**: the clustering consumption mode
	// *   **BROADCASTING**: the broadcasting consumption mode
	//
	// For more information about consumption modes, see [Clustering consumption and broadcasting consumption](~~43163~~).
	MessageModel *string `json:"MessageModel,omitempty" xml:"MessageModel,omitempty"`
	// Indicates whether consumers in the group are online.
	Online *bool `json:"Online,omitempty" xml:"Online,omitempty"`
	// The topics to which consumers in the consumer group subscribe. If all consumers in the specified group are offline, no topics are returned.
	SubscriptionDataList *OnsGroupSubDetailResponseBodyDataSubscriptionDataList `json:"SubscriptionDataList,omitempty" xml:"SubscriptionDataList,omitempty" type:"Struct"`
}

func (OnsGroupSubDetailResponseBodyData) GoString

func (*OnsGroupSubDetailResponseBodyData) SetGroupId

func (*OnsGroupSubDetailResponseBodyData) SetMessageModel

func (*OnsGroupSubDetailResponseBodyData) SetOnline

func (OnsGroupSubDetailResponseBodyData) String

type OnsGroupSubDetailResponseBodyDataSubscriptionDataList

type OnsGroupSubDetailResponseBodyDataSubscriptionDataList struct {
	SubscriptionDataList []*OnsGroupSubDetailResponseBodyDataSubscriptionDataListSubscriptionDataList `json:"SubscriptionDataList,omitempty" xml:"SubscriptionDataList,omitempty" type:"Repeated"`
}

func (OnsGroupSubDetailResponseBodyDataSubscriptionDataList) GoString

func (OnsGroupSubDetailResponseBodyDataSubscriptionDataList) String

type OnsGroupSubDetailResponseBodyDataSubscriptionDataListSubscriptionDataList

type OnsGroupSubDetailResponseBodyDataSubscriptionDataListSubscriptionDataList struct {
	// The expression based on which consumers in the consumer group subscribe to the topic.
	SubString *string `json:"SubString,omitempty" xml:"SubString,omitempty"`
	// The name of the topic to which consumers in the consumer group subscribe.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsGroupSubDetailResponseBodyDataSubscriptionDataListSubscriptionDataList) GoString

func (*OnsGroupSubDetailResponseBodyDataSubscriptionDataListSubscriptionDataList) SetSubString

func (*OnsGroupSubDetailResponseBodyDataSubscriptionDataListSubscriptionDataList) SetTopic

func (OnsGroupSubDetailResponseBodyDataSubscriptionDataListSubscriptionDataList) String

type OnsInstanceBaseInfoRequest

type OnsInstanceBaseInfoRequest struct {
	// The ID of the instance that you want to query.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
}

func (OnsInstanceBaseInfoRequest) GoString

func (s OnsInstanceBaseInfoRequest) GoString() string

func (*OnsInstanceBaseInfoRequest) SetInstanceId

func (OnsInstanceBaseInfoRequest) String

type OnsInstanceBaseInfoResponse

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

func (OnsInstanceBaseInfoResponse) GoString

func (s OnsInstanceBaseInfoResponse) GoString() string

func (*OnsInstanceBaseInfoResponse) SetBody

func (*OnsInstanceBaseInfoResponse) SetHeaders

func (*OnsInstanceBaseInfoResponse) SetStatusCode

func (OnsInstanceBaseInfoResponse) String

type OnsInstanceBaseInfoResponseBody

type OnsInstanceBaseInfoResponseBody struct {
	// The information about the instance.
	InstanceBaseInfo *OnsInstanceBaseInfoResponseBodyInstanceBaseInfo `json:"InstanceBaseInfo,omitempty" xml:"InstanceBaseInfo,omitempty" type:"Struct"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsInstanceBaseInfoResponseBody) GoString

func (*OnsInstanceBaseInfoResponseBody) SetRequestId

func (OnsInstanceBaseInfoResponseBody) String

type OnsInstanceBaseInfoResponseBodyInstanceBaseInfo

type OnsInstanceBaseInfoResponseBodyInstanceBaseInfo struct {
	// The time when the instance was created. The value of this parameter is a UNIX timestamp in milliseconds.
	CreateTime *string `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The endpoints used to access ApsaraMQ for RocketMQ over different protocols.
	Endpoints *OnsInstanceBaseInfoResponseBodyInstanceBaseInfoEndpoints `json:"Endpoints,omitempty" xml:"Endpoints,omitempty" type:"Struct"`
	// Indicates whether the instance uses a namespace. Valid values:
	//
	// *   **true**: The instance uses a separate namespace. The name of each resource must be unique in the instance. The names of resources in different instances can be the same.
	// *   **false**: The instance does not use a separate namespace. The name of each resource must be globally unique within the instance and across all instances.
	IndependentNaming *bool `json:"IndependentNaming,omitempty" xml:"IndependentNaming,omitempty"`
	// The ID of the instance
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The name of the instance.
	//
	// The name must be 3 to 64 characters in length and can contain letters, digits, hyphens (-), and underscores (\_).
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// The status of the instance. Valid values:
	//
	// *   **0**: The instance is being deployed. This value is valid only for Enterprise Platinum Edition instances.
	// *   **2**: The instance has overdue payments. This value is valid only for Standard Edition instances.
	// *   **5**: The instance is running. This value is valid for Standard Edition instances and Enterprise Platinum Edition instances.
	// *   **7**: The instance is being upgraded and is running. This value is valid only for Enterprise Platinum Edition instances.
	InstanceStatus *int32 `json:"InstanceStatus,omitempty" xml:"InstanceStatus,omitempty"`
	// The instance type. Valid values:
	//
	// *   **1**: Standard Edition instances that use the pay-as-you-go billing method.
	// *   **2**: Enterprise Platinum Edition instances that use the subscription billing method.
	//
	// For information about the editions and specifications of ApsaraMQ for RocketMQ instances, see [Instance editions](~~185261~~).
	InstanceType *int32 `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
	// The maximum messaging transactions per second (TPS). Valid values: 5000, 10000, 20000, 50000, 100000, 200000, 300000, 500000, 800000, and 1000000.
	//
	// You can view the details about messaging TPS on the buy page of ApsaraMQ for RocketMQ.
	//
	// > This parameter is available only to the ApsaraMQ for RocketMQ Enterprise Platinum Edition instances.
	MaxTps *int64 `json:"MaxTps,omitempty" xml:"MaxTps,omitempty"`
	// The time when the Enterprise Platinum Edition instance expires.
	ReleaseTime *int64 `json:"ReleaseTime,omitempty" xml:"ReleaseTime,omitempty"`
	// The description of the instance.
	Remark *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	// The maximum number of topics that can be created on the instance. Valid values: 25, 50, 100, 300, and 500.
	//
	// > This parameter is available only to the ApsaraMQ for RocketMQ Enterprise Platinum Edition instances.
	TopicCapacity *int32 `json:"TopicCapacity,omitempty" xml:"TopicCapacity,omitempty"`
	// The commodity ID of the instance.
	SpInstanceId *string `json:"spInstanceId,omitempty" xml:"spInstanceId,omitempty"`
	// The commodity type of the instance.
	SpInstanceType *int32 `json:"spInstanceType,omitempty" xml:"spInstanceType,omitempty"`
}

func (OnsInstanceBaseInfoResponseBodyInstanceBaseInfo) GoString

func (*OnsInstanceBaseInfoResponseBodyInstanceBaseInfo) SetCreateTime

func (*OnsInstanceBaseInfoResponseBodyInstanceBaseInfo) SetIndependentNaming

func (*OnsInstanceBaseInfoResponseBodyInstanceBaseInfo) SetInstanceId

func (*OnsInstanceBaseInfoResponseBodyInstanceBaseInfo) SetInstanceName

func (*OnsInstanceBaseInfoResponseBodyInstanceBaseInfo) SetInstanceStatus

func (*OnsInstanceBaseInfoResponseBodyInstanceBaseInfo) SetInstanceType

func (*OnsInstanceBaseInfoResponseBodyInstanceBaseInfo) SetMaxTps

func (*OnsInstanceBaseInfoResponseBodyInstanceBaseInfo) SetReleaseTime

func (*OnsInstanceBaseInfoResponseBodyInstanceBaseInfo) SetRemark

func (*OnsInstanceBaseInfoResponseBodyInstanceBaseInfo) SetSpInstanceId

func (*OnsInstanceBaseInfoResponseBodyInstanceBaseInfo) SetSpInstanceType

func (*OnsInstanceBaseInfoResponseBodyInstanceBaseInfo) SetTopicCapacity

func (OnsInstanceBaseInfoResponseBodyInstanceBaseInfo) String

type OnsInstanceBaseInfoResponseBodyInstanceBaseInfoEndpoints

type OnsInstanceBaseInfoResponseBodyInstanceBaseInfoEndpoints struct {
	// The private HTTP endpoint of the instance.
	HttpInternalEndpoint *string `json:"HttpInternalEndpoint,omitempty" xml:"HttpInternalEndpoint,omitempty"`
	// The public HTTP endpoint of the instance.
	HttpInternetEndpoint *string `json:"HttpInternetEndpoint,omitempty" xml:"HttpInternetEndpoint,omitempty"`
	// The public HTTPS endpoint of the instance.
	HttpInternetSecureEndpoint *string `json:"HttpInternetSecureEndpoint,omitempty" xml:"HttpInternetSecureEndpoint,omitempty"`
	// The private TCP endpoint of the instance.
	TcpEndpoint *string `json:"TcpEndpoint,omitempty" xml:"TcpEndpoint,omitempty"`
	// The public TCP endpoint of the instance.
	//
	// *   Only instances that are deployed in the China (Chengdu), China (Qingdao), or China (Shenzhen) region can be accessed by using public TCP endpoints.
	//
	// *   Before you use a public TCP endpoint, make sure that your client SDK meets the following requirements:
	//
	//     *   TCP client SDK for Java: V2.0.0.Final or later For more information, see [Release notes for the SDK for Java](~~325569~~).
	//     *   TCP client SDK for C++: V3.0.0 or later For more information, see [Release notes for the SDK for C++](~~325570~~).
	//
	// *   You are charged for Internet traffic when you use a public TCP endpoint. For more information, see [Internet traffic fee](~~325571~~).
	TcpInternetEndpoint *string `json:"TcpInternetEndpoint,omitempty" xml:"TcpInternetEndpoint,omitempty"`
}

func (OnsInstanceBaseInfoResponseBodyInstanceBaseInfoEndpoints) GoString

func (*OnsInstanceBaseInfoResponseBodyInstanceBaseInfoEndpoints) SetHttpInternalEndpoint

func (*OnsInstanceBaseInfoResponseBodyInstanceBaseInfoEndpoints) SetHttpInternetEndpoint

func (*OnsInstanceBaseInfoResponseBodyInstanceBaseInfoEndpoints) SetHttpInternetSecureEndpoint

func (*OnsInstanceBaseInfoResponseBodyInstanceBaseInfoEndpoints) SetTcpEndpoint

func (*OnsInstanceBaseInfoResponseBodyInstanceBaseInfoEndpoints) SetTcpInternetEndpoint

func (OnsInstanceBaseInfoResponseBodyInstanceBaseInfoEndpoints) String

type OnsInstanceCreateRequest

type OnsInstanceCreateRequest struct {
	// The name of the instance. The name must meet the following rules:
	//
	// *   The name of the instance must be unique in the region where the instance is deployed.
	// *   The name must be 3 to 64 characters in length and can contain letters, digits, hyphens (-), and underscores (\_).
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// The description of the instance.
	Remark *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
}

func (OnsInstanceCreateRequest) GoString

func (s OnsInstanceCreateRequest) GoString() string

func (*OnsInstanceCreateRequest) SetInstanceName

func (*OnsInstanceCreateRequest) SetRemark

func (OnsInstanceCreateRequest) String

func (s OnsInstanceCreateRequest) String() string

type OnsInstanceCreateResponse

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

func (OnsInstanceCreateResponse) GoString

func (s OnsInstanceCreateResponse) GoString() string

func (*OnsInstanceCreateResponse) SetBody

func (*OnsInstanceCreateResponse) SetHeaders

func (*OnsInstanceCreateResponse) SetStatusCode

func (OnsInstanceCreateResponse) String

func (s OnsInstanceCreateResponse) String() string

type OnsInstanceCreateResponseBody

type OnsInstanceCreateResponseBody struct {
	// The result returned.
	Data *OnsInstanceCreateResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsInstanceCreateResponseBody) GoString

func (*OnsInstanceCreateResponseBody) SetData

func (*OnsInstanceCreateResponseBody) SetRequestId

func (OnsInstanceCreateResponseBody) String

type OnsInstanceCreateResponseBodyData

type OnsInstanceCreateResponseBodyData struct {
	// The ID of the instance that you created.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The edition of the instance that you created. Valid value:
	//
	// *   **1**: Standard Edition instances
	InstanceType *int32 `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
}

func (OnsInstanceCreateResponseBodyData) GoString

func (*OnsInstanceCreateResponseBodyData) SetInstanceId

func (*OnsInstanceCreateResponseBodyData) SetInstanceType

func (OnsInstanceCreateResponseBodyData) String

type OnsInstanceDeleteRequest

type OnsInstanceDeleteRequest struct {
	// The ID of the instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
}

func (OnsInstanceDeleteRequest) GoString

func (s OnsInstanceDeleteRequest) GoString() string

func (*OnsInstanceDeleteRequest) SetInstanceId

func (OnsInstanceDeleteRequest) String

func (s OnsInstanceDeleteRequest) String() string

type OnsInstanceDeleteResponse

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

func (OnsInstanceDeleteResponse) GoString

func (s OnsInstanceDeleteResponse) GoString() string

func (*OnsInstanceDeleteResponse) SetBody

func (*OnsInstanceDeleteResponse) SetHeaders

func (*OnsInstanceDeleteResponse) SetStatusCode

func (OnsInstanceDeleteResponse) String

func (s OnsInstanceDeleteResponse) String() string

type OnsInstanceDeleteResponseBody

type OnsInstanceDeleteResponseBody struct {
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsInstanceDeleteResponseBody) GoString

func (*OnsInstanceDeleteResponseBody) SetRequestId

func (OnsInstanceDeleteResponseBody) String

type OnsInstanceInServiceListRequest

type OnsInstanceInServiceListRequest struct {
	NeedResourceInfo *bool `json:"NeedResourceInfo,omitempty" xml:"NeedResourceInfo,omitempty"`
	// The list of tags that are attached to the instance. A maximum of 20 tags can be included in a list.
	Tag []*OnsInstanceInServiceListRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (OnsInstanceInServiceListRequest) GoString

func (*OnsInstanceInServiceListRequest) SetNeedResourceInfo added in v2.0.2

func (*OnsInstanceInServiceListRequest) SetTag

func (OnsInstanceInServiceListRequest) String

type OnsInstanceInServiceListRequestTag

type OnsInstanceInServiceListRequestTag struct {
	// The key of the tag that is attached to the instance you want to query. This parameter is not required. If you configure this parameter, you must also configure the **Value** parameter.**** If you include the Key and Value parameters in a request, this operation queries only the instances that use the specified tags. If you do not include these parameters in a request, this operation queries all instances that you can access.
	//
	// *   The value of this parameter cannot be an empty string.
	// *   The tag value must be 1 to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the tag that is attached to the instance you want to query. This parameter is not required. If you configure this parameter, you must also configure the **Value** parameter.**** If you include the Key and Value parameters in a request, this operation queries only the instances that use the specified tags. If you do not include these parameters in a request, this operation queries all instances that you can access.
	//
	// *   The value of this parameter can be an empty string.
	// *   The tag key must be 1 to 128 characters in length and cannot contain `http://` or `https://`. It cannot start with `acs:` or `aliyun`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (OnsInstanceInServiceListRequestTag) GoString

func (*OnsInstanceInServiceListRequestTag) SetKey

func (*OnsInstanceInServiceListRequestTag) SetValue

func (OnsInstanceInServiceListRequestTag) String

type OnsInstanceInServiceListResponse

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

func (OnsInstanceInServiceListResponse) GoString

func (*OnsInstanceInServiceListResponse) SetHeaders

func (*OnsInstanceInServiceListResponse) SetStatusCode

func (OnsInstanceInServiceListResponse) String

type OnsInstanceInServiceListResponseBody

type OnsInstanceInServiceListResponseBody struct {
	// The returned list of all published instances.
	Data *OnsInstanceInServiceListResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsInstanceInServiceListResponseBody) GoString

func (*OnsInstanceInServiceListResponseBody) SetRequestId

func (OnsInstanceInServiceListResponseBody) String

type OnsInstanceInServiceListResponseBodyData

type OnsInstanceInServiceListResponseBodyData struct {
	InstanceVO []*OnsInstanceInServiceListResponseBodyDataInstanceVO `json:"InstanceVO,omitempty" xml:"InstanceVO,omitempty" type:"Repeated"`
}

func (OnsInstanceInServiceListResponseBodyData) GoString

func (OnsInstanceInServiceListResponseBodyData) String

type OnsInstanceInServiceListResponseBodyDataInstanceVO

type OnsInstanceInServiceListResponseBodyDataInstanceVO struct {
	// The time when the instance was created. The value of this parameter is a UNIX timestamp in milliseconds.
	CreateTime *int64 `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	GroupCount *int32 `json:"GroupCount,omitempty" xml:"GroupCount,omitempty"`
	// Indicates whether the instance uses a namespace. Valid values:
	//
	// *   **true**: The instance uses a separate namespace. The name of each resource must be unique in the instance. The names of resources in different instances can be the same.
	// *   **false**: The instance does not use a separate namespace. The name of each resource must be globally unique within the instance and across all instances.
	IndependentNaming *bool `json:"IndependentNaming,omitempty" xml:"IndependentNaming,omitempty"`
	// The ID of the instance
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The name of the instance.
	//
	// The name must be 3 to 64 characters in length and can contain letters, digits, hyphens (-), and underscores (\_).
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// The status of the instance. Valid values:
	//
	// *   **0**: The instance is being deployed. This value is valid only for Enterprise Platinum Edition instances.
	// *   **2**: The instance has overdue payments. This value is valid only for Standard Edition instances.
	// *   **5**: The instance is running. This value is valid for Standard Edition instances and Enterprise Platinum Edition instances.
	// *   **7**: The instance is being upgraded and is running. This value is valid only for Enterprise Platinum Edition instances.
	InstanceStatus *int32 `json:"InstanceStatus,omitempty" xml:"InstanceStatus,omitempty"`
	// The instance type. Valid values:
	//
	// *   **1**: Standard Edition instances
	// *   **2**: Enterprise Platinum Edition instances
	//
	// For more information about the instance editions and differences between the editions, see [Instance editions](~~185261~~).
	InstanceType *int32 `json:"InstanceType,omitempty" xml:"InstanceType,omitempty"`
	// The time when the instance expires. If the instance is an Enterprise Platinum Edition instance, this parameter is returned.
	ReleaseTime *int64 `json:"ReleaseTime,omitempty" xml:"ReleaseTime,omitempty"`
	// The tags that are attached to the instance you want to query.
	Tags       *OnsInstanceInServiceListResponseBodyDataInstanceVOTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Struct"`
	TopicCount *int32                                                  `json:"TopicCount,omitempty" xml:"TopicCount,omitempty"`
}

func (OnsInstanceInServiceListResponseBodyDataInstanceVO) GoString

func (*OnsInstanceInServiceListResponseBodyDataInstanceVO) SetCreateTime

func (*OnsInstanceInServiceListResponseBodyDataInstanceVO) SetGroupCount added in v2.0.2

func (*OnsInstanceInServiceListResponseBodyDataInstanceVO) SetIndependentNaming

func (*OnsInstanceInServiceListResponseBodyDataInstanceVO) SetInstanceId

func (*OnsInstanceInServiceListResponseBodyDataInstanceVO) SetInstanceName

func (*OnsInstanceInServiceListResponseBodyDataInstanceVO) SetInstanceStatus

func (*OnsInstanceInServiceListResponseBodyDataInstanceVO) SetInstanceType

func (*OnsInstanceInServiceListResponseBodyDataInstanceVO) SetReleaseTime

func (*OnsInstanceInServiceListResponseBodyDataInstanceVO) SetTopicCount added in v2.0.2

func (OnsInstanceInServiceListResponseBodyDataInstanceVO) String

type OnsInstanceInServiceListResponseBodyDataInstanceVOTags

type OnsInstanceInServiceListResponseBodyDataInstanceVOTags struct {
	Tag []*OnsInstanceInServiceListResponseBodyDataInstanceVOTagsTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (OnsInstanceInServiceListResponseBodyDataInstanceVOTags) GoString

func (OnsInstanceInServiceListResponseBodyDataInstanceVOTags) String

type OnsInstanceInServiceListResponseBodyDataInstanceVOTagsTag

type OnsInstanceInServiceListResponseBodyDataInstanceVOTagsTag struct {
	// The key of the tag that is attached to the instance.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the tag that is attached to the instance.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (OnsInstanceInServiceListResponseBodyDataInstanceVOTagsTag) GoString

func (*OnsInstanceInServiceListResponseBodyDataInstanceVOTagsTag) SetKey

func (*OnsInstanceInServiceListResponseBodyDataInstanceVOTagsTag) SetValue

func (OnsInstanceInServiceListResponseBodyDataInstanceVOTagsTag) String

type OnsInstanceUpdateRequest

type OnsInstanceUpdateRequest struct {
	// The ID of the instance whose name or description you want to update.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The new name of the instance. The name must meet the following rules:
	//
	// *   The name of the instance must be unique in the region where the instance is deployed.
	// *   The name must be 3 to 64 characters in length and can contain letters, digits, hyphens (-), underscores (\_), and Chinese characters.
	// *   If you do not configure this parameter, the instance name remains unchanged.
	InstanceName *string `json:"InstanceName,omitempty" xml:"InstanceName,omitempty"`
	// The updated description of the instance. If you do not configure this parameter, the instance description remains unchanged.
	Remark *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
}

func (OnsInstanceUpdateRequest) GoString

func (s OnsInstanceUpdateRequest) GoString() string

func (*OnsInstanceUpdateRequest) SetInstanceId

func (*OnsInstanceUpdateRequest) SetInstanceName

func (*OnsInstanceUpdateRequest) SetRemark

func (OnsInstanceUpdateRequest) String

func (s OnsInstanceUpdateRequest) String() string

type OnsInstanceUpdateResponse

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

func (OnsInstanceUpdateResponse) GoString

func (s OnsInstanceUpdateResponse) GoString() string

func (*OnsInstanceUpdateResponse) SetBody

func (*OnsInstanceUpdateResponse) SetHeaders

func (*OnsInstanceUpdateResponse) SetStatusCode

func (OnsInstanceUpdateResponse) String

func (s OnsInstanceUpdateResponse) String() string

type OnsInstanceUpdateResponseBody

type OnsInstanceUpdateResponseBody struct {
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsInstanceUpdateResponseBody) GoString

func (*OnsInstanceUpdateResponseBody) SetRequestId

func (OnsInstanceUpdateResponseBody) String

type OnsMessageDetailRequest added in v2.0.1

type OnsMessageDetailRequest struct {
	// The ID of the ApsaraMQ for RocketMQ Instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the message that you want to query.
	MsgId *string `json:"MsgId,omitempty" xml:"MsgId,omitempty"`
	// The name of the topic in which the message you want to query is stored.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsMessageDetailRequest) GoString added in v2.0.1

func (s OnsMessageDetailRequest) GoString() string

func (*OnsMessageDetailRequest) SetInstanceId added in v2.0.1

func (*OnsMessageDetailRequest) SetMsgId added in v2.0.1

func (*OnsMessageDetailRequest) SetTopic added in v2.0.1

func (OnsMessageDetailRequest) String added in v2.0.1

func (s OnsMessageDetailRequest) String() string

type OnsMessageDetailResponse added in v2.0.1

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

func (OnsMessageDetailResponse) GoString added in v2.0.1

func (s OnsMessageDetailResponse) GoString() string

func (*OnsMessageDetailResponse) SetBody added in v2.0.1

func (*OnsMessageDetailResponse) SetHeaders added in v2.0.1

func (*OnsMessageDetailResponse) SetStatusCode added in v2.0.1

func (OnsMessageDetailResponse) String added in v2.0.1

func (s OnsMessageDetailResponse) String() string

type OnsMessageDetailResponseBody added in v2.0.1

type OnsMessageDetailResponseBody struct {
	// The data returned.
	Data *OnsMessageDetailResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsMessageDetailResponseBody) GoString added in v2.0.1

func (s OnsMessageDetailResponseBody) GoString() string

func (*OnsMessageDetailResponseBody) SetData added in v2.0.1

func (*OnsMessageDetailResponseBody) SetRequestId added in v2.0.1

func (OnsMessageDetailResponseBody) String added in v2.0.1

type OnsMessageDetailResponseBodyData added in v2.0.1

type OnsMessageDetailResponseBodyData struct {
	// The string that is obtained after the message body is encrypted by using the Base 64 algorithm.
	Body *string `json:"Body,omitempty" xml:"Body,omitempty"`
	// The cyclic redundancy check (CRC) value of the message body.
	BodyCRC *int32 `json:"BodyCRC,omitempty" xml:"BodyCRC,omitempty"`
	// The information about the message body.
	BodyStr *string `json:"BodyStr,omitempty" xml:"BodyStr,omitempty"`
	// The producer instance that generated the message.
	BornHost *string `json:"BornHost,omitempty" xml:"BornHost,omitempty"`
	// The timestamp that indicates the point in time when the message was generated. Unit: milliseconds.
	BornTimestamp *int64 `json:"BornTimestamp,omitempty" xml:"BornTimestamp,omitempty"`
	// The ID of the ApsaraMQ for RocketMQ Instance.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the message.
	MsgId *string `json:"MsgId,omitempty" xml:"MsgId,omitempty"`
	// The attributes of the message.
	PropertyList []*OnsMessageDetailResponseBodyDataPropertyList `json:"PropertyList,omitempty" xml:"PropertyList,omitempty" type:"Repeated"`
	// The number of retries that ApsaraMQ for RocketMQ performed to send the message to consumers.
	ReconsumeTimes *int32 `json:"ReconsumeTimes,omitempty" xml:"ReconsumeTimes,omitempty"`
	// The ApsaraMQ for RocketMQ broker that stores the message.
	StoreHost *string `json:"StoreHost,omitempty" xml:"StoreHost,omitempty"`
	// The size of the message. Unit: KB.
	StoreSize *int32 `json:"StoreSize,omitempty" xml:"StoreSize,omitempty"`
	// The timestamp that indicates the point in time when the ApsaraMQ for RocketMQ broker stored the message. Unit: milliseconds.
	StoreTimestamp *int64 `json:"StoreTimestamp,omitempty" xml:"StoreTimestamp,omitempty"`
	// The topic to which the message belongs.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsMessageDetailResponseBodyData) GoString added in v2.0.1

func (*OnsMessageDetailResponseBodyData) SetBody added in v2.0.1

func (*OnsMessageDetailResponseBodyData) SetBodyCRC added in v2.0.1

func (*OnsMessageDetailResponseBodyData) SetBodyStr added in v2.0.1

func (*OnsMessageDetailResponseBodyData) SetBornHost added in v2.0.1

func (*OnsMessageDetailResponseBodyData) SetBornTimestamp added in v2.0.1

func (*OnsMessageDetailResponseBodyData) SetInstanceId added in v2.0.1

func (*OnsMessageDetailResponseBodyData) SetMsgId added in v2.0.1

func (*OnsMessageDetailResponseBodyData) SetPropertyList added in v2.0.1

func (*OnsMessageDetailResponseBodyData) SetReconsumeTimes added in v2.0.1

func (*OnsMessageDetailResponseBodyData) SetStoreHost added in v2.0.1

func (*OnsMessageDetailResponseBodyData) SetStoreSize added in v2.0.1

func (*OnsMessageDetailResponseBodyData) SetStoreTimestamp added in v2.0.1

func (*OnsMessageDetailResponseBodyData) SetTopic added in v2.0.1

func (OnsMessageDetailResponseBodyData) String added in v2.0.1

type OnsMessageDetailResponseBodyDataPropertyList added in v2.0.1

type OnsMessageDetailResponseBodyDataPropertyList struct {
	// The name of the attribute. Valid values:
	//
	// *   **TRACE_ON**: indicates whether the trace of the message exists.
	// *   **MSG_REGION**: The region ID of the instance to which the topic belongs.
	// *   **\__MESSAGE_DECODED_TIME**: The time when the message was decoded.
	// *   **\__BORNHOST**: The IP address of the producer client.
	// *   **UNIQ_KEY**: The ID of the message.
	//
	// For information about the terms that are used in ApsaraMQ for RocketMQ, see [Terms](~~29533~~).
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The value of the attribute.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (OnsMessageDetailResponseBodyDataPropertyList) GoString added in v2.0.1

func (*OnsMessageDetailResponseBodyDataPropertyList) SetName added in v2.0.1

func (*OnsMessageDetailResponseBodyDataPropertyList) SetValue added in v2.0.1

func (OnsMessageDetailResponseBodyDataPropertyList) String added in v2.0.1

type OnsMessageGetByKeyRequest

type OnsMessageGetByKeyRequest struct {
	// The ID of the instance to which the messages that you want to query belong.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The key of the messages that you want to query.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The topic that contains the messages that you want to query.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsMessageGetByKeyRequest) GoString

func (s OnsMessageGetByKeyRequest) GoString() string

func (*OnsMessageGetByKeyRequest) SetInstanceId

func (*OnsMessageGetByKeyRequest) SetKey

func (*OnsMessageGetByKeyRequest) SetTopic

func (OnsMessageGetByKeyRequest) String

func (s OnsMessageGetByKeyRequest) String() string

type OnsMessageGetByKeyResponse

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

func (OnsMessageGetByKeyResponse) GoString

func (s OnsMessageGetByKeyResponse) GoString() string

func (*OnsMessageGetByKeyResponse) SetBody

func (*OnsMessageGetByKeyResponse) SetHeaders

func (*OnsMessageGetByKeyResponse) SetStatusCode

func (OnsMessageGetByKeyResponse) String

type OnsMessageGetByKeyResponseBody

type OnsMessageGetByKeyResponseBody struct {
	// The list of returned results.
	Data *OnsMessageGetByKeyResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsMessageGetByKeyResponseBody) GoString

func (*OnsMessageGetByKeyResponseBody) SetRequestId

func (OnsMessageGetByKeyResponseBody) String

type OnsMessageGetByKeyResponseBodyData

type OnsMessageGetByKeyResponseBodyData struct {
	OnsRestMessageDo []*OnsMessageGetByKeyResponseBodyDataOnsRestMessageDo `json:"OnsRestMessageDo,omitempty" xml:"OnsRestMessageDo,omitempty" type:"Repeated"`
}

func (OnsMessageGetByKeyResponseBodyData) GoString

func (OnsMessageGetByKeyResponseBodyData) String

type OnsMessageGetByKeyResponseBodyDataOnsRestMessageDo

type OnsMessageGetByKeyResponseBodyDataOnsRestMessageDo struct {
	// The cyclic redundancy check (CRC) value of the message body.
	BodyCRC *int32 `json:"BodyCRC,omitempty" xml:"BodyCRC,omitempty"`
	// The producer client that generated the message.
	BornHost *string `json:"BornHost,omitempty" xml:"BornHost,omitempty"`
	// The timestamp that indicates when the message was produced.
	BornTimestamp *int64 `json:"BornTimestamp,omitempty" xml:"BornTimestamp,omitempty"`
	// The ID of the instance
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the message.
	MsgId *string `json:"MsgId,omitempty" xml:"MsgId,omitempty"`
	// The attributes of the message.
	PropertyList *OnsMessageGetByKeyResponseBodyDataOnsRestMessageDoPropertyList `json:"PropertyList,omitempty" xml:"PropertyList,omitempty" type:"Struct"`
	// The number of retries that were performed to send the message to consumers.
	ReconsumeTimes *int32 `json:"ReconsumeTimes,omitempty" xml:"ReconsumeTimes,omitempty"`
	// The ApsaraMQ for RocketMQ broker that stores the message.
	StoreHost *string `json:"StoreHost,omitempty" xml:"StoreHost,omitempty"`
	// The size of the message.
	StoreSize *int32 `json:"StoreSize,omitempty" xml:"StoreSize,omitempty"`
	// The timestamp that indicates when the ApsaraMQ for RocketMQ broker stored the message.
	StoreTimestamp *int64 `json:"StoreTimestamp,omitempty" xml:"StoreTimestamp,omitempty"`
	// The topic to which the message belongs.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsMessageGetByKeyResponseBodyDataOnsRestMessageDo) GoString

func (*OnsMessageGetByKeyResponseBodyDataOnsRestMessageDo) SetBodyCRC

func (*OnsMessageGetByKeyResponseBodyDataOnsRestMessageDo) SetBornHost

func (*OnsMessageGetByKeyResponseBodyDataOnsRestMessageDo) SetBornTimestamp

func (*OnsMessageGetByKeyResponseBodyDataOnsRestMessageDo) SetInstanceId

func (*OnsMessageGetByKeyResponseBodyDataOnsRestMessageDo) SetMsgId

func (*OnsMessageGetByKeyResponseBodyDataOnsRestMessageDo) SetReconsumeTimes

func (*OnsMessageGetByKeyResponseBodyDataOnsRestMessageDo) SetStoreHost

func (*OnsMessageGetByKeyResponseBodyDataOnsRestMessageDo) SetStoreSize

func (*OnsMessageGetByKeyResponseBodyDataOnsRestMessageDo) SetStoreTimestamp

func (*OnsMessageGetByKeyResponseBodyDataOnsRestMessageDo) SetTopic

func (OnsMessageGetByKeyResponseBodyDataOnsRestMessageDo) String

type OnsMessageGetByKeyResponseBodyDataOnsRestMessageDoPropertyList

type OnsMessageGetByKeyResponseBodyDataOnsRestMessageDoPropertyList struct {
	MessageProperty []*OnsMessageGetByKeyResponseBodyDataOnsRestMessageDoPropertyListMessageProperty `json:"MessageProperty,omitempty" xml:"MessageProperty,omitempty" type:"Repeated"`
}

func (OnsMessageGetByKeyResponseBodyDataOnsRestMessageDoPropertyList) GoString

func (OnsMessageGetByKeyResponseBodyDataOnsRestMessageDoPropertyList) String

type OnsMessageGetByKeyResponseBodyDataOnsRestMessageDoPropertyListMessageProperty

type OnsMessageGetByKeyResponseBodyDataOnsRestMessageDoPropertyListMessageProperty struct {
	// The name of the attribute. Valid values:
	//
	// *   **TRACE_ON**: indicates whether the message trace exists.
	//
	// \-\*\* KEYS\*\*: indicates the key of the message.
	//
	// *   **TAGS**: indicates the tag that is attached to the message.
	// *   **INSTANCE_ID**: indicates the ID of the instance that contains the message.
	//
	// For information about the terms that are used in ApsaraMQ for RocketMQ, see [Terms](~~29533~~).
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The value of the attribute.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (OnsMessageGetByKeyResponseBodyDataOnsRestMessageDoPropertyListMessageProperty) GoString

func (*OnsMessageGetByKeyResponseBodyDataOnsRestMessageDoPropertyListMessageProperty) SetName

func (*OnsMessageGetByKeyResponseBodyDataOnsRestMessageDoPropertyListMessageProperty) SetValue

func (OnsMessageGetByKeyResponseBodyDataOnsRestMessageDoPropertyListMessageProperty) String

type OnsMessageGetByMsgIdRequest

type OnsMessageGetByMsgIdRequest struct {
	// The ID of the instance to which the message you want to query belongs.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the message that you want to query.
	MsgId *string `json:"MsgId,omitempty" xml:"MsgId,omitempty"`
	// The topic that contains the message you want to query.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsMessageGetByMsgIdRequest) GoString

func (s OnsMessageGetByMsgIdRequest) GoString() string

func (*OnsMessageGetByMsgIdRequest) SetInstanceId

func (*OnsMessageGetByMsgIdRequest) SetMsgId

func (*OnsMessageGetByMsgIdRequest) SetTopic

func (OnsMessageGetByMsgIdRequest) String

type OnsMessageGetByMsgIdResponse

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

func (OnsMessageGetByMsgIdResponse) GoString

func (s OnsMessageGetByMsgIdResponse) GoString() string

func (*OnsMessageGetByMsgIdResponse) SetBody

func (*OnsMessageGetByMsgIdResponse) SetHeaders

func (*OnsMessageGetByMsgIdResponse) SetStatusCode

func (OnsMessageGetByMsgIdResponse) String

type OnsMessageGetByMsgIdResponseBody

type OnsMessageGetByMsgIdResponseBody struct {
	// The data returned.
	Data *OnsMessageGetByMsgIdResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsMessageGetByMsgIdResponseBody) GoString

func (*OnsMessageGetByMsgIdResponseBody) SetRequestId

func (OnsMessageGetByMsgIdResponseBody) String

type OnsMessageGetByMsgIdResponseBodyData

type OnsMessageGetByMsgIdResponseBodyData struct {
	// The cyclic redundancy check (CRC) value of the message body.
	BodyCRC *int32 `json:"BodyCRC,omitempty" xml:"BodyCRC,omitempty"`
	// The producer instance that generated the message.
	BornHost *string `json:"BornHost,omitempty" xml:"BornHost,omitempty"`
	// The timestamp that indicates when the message was produced.
	BornTimestamp *int64 `json:"BornTimestamp,omitempty" xml:"BornTimestamp,omitempty"`
	// The ID of the instance
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the message.
	MsgId *string `json:"MsgId,omitempty" xml:"MsgId,omitempty"`
	// The attributes of the message.
	PropertyList *OnsMessageGetByMsgIdResponseBodyDataPropertyList `json:"PropertyList,omitempty" xml:"PropertyList,omitempty" type:"Struct"`
	// The number of retries that were performed to send the message to consumers.
	ReconsumeTimes *int32 `json:"ReconsumeTimes,omitempty" xml:"ReconsumeTimes,omitempty"`
	// The ApsaraMQ for RocketMQ broker that stores the message.
	StoreHost *string `json:"StoreHost,omitempty" xml:"StoreHost,omitempty"`
	// The size of the message.
	StoreSize *int32 `json:"StoreSize,omitempty" xml:"StoreSize,omitempty"`
	// The timestamp that indicates when the ApsaraMQ for RocketMQ broker stored the message.
	StoreTimestamp *int64 `json:"StoreTimestamp,omitempty" xml:"StoreTimestamp,omitempty"`
	// The topic to which the message belongs.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsMessageGetByMsgIdResponseBodyData) GoString

func (*OnsMessageGetByMsgIdResponseBodyData) SetBodyCRC

func (*OnsMessageGetByMsgIdResponseBodyData) SetBornHost

func (*OnsMessageGetByMsgIdResponseBodyData) SetBornTimestamp

func (*OnsMessageGetByMsgIdResponseBodyData) SetInstanceId

func (*OnsMessageGetByMsgIdResponseBodyData) SetMsgId

func (*OnsMessageGetByMsgIdResponseBodyData) SetReconsumeTimes

func (*OnsMessageGetByMsgIdResponseBodyData) SetStoreHost

func (*OnsMessageGetByMsgIdResponseBodyData) SetStoreSize

func (*OnsMessageGetByMsgIdResponseBodyData) SetStoreTimestamp

func (*OnsMessageGetByMsgIdResponseBodyData) SetTopic

func (OnsMessageGetByMsgIdResponseBodyData) String

type OnsMessageGetByMsgIdResponseBodyDataPropertyList

type OnsMessageGetByMsgIdResponseBodyDataPropertyList struct {
	MessageProperty []*OnsMessageGetByMsgIdResponseBodyDataPropertyListMessageProperty `json:"MessageProperty,omitempty" xml:"MessageProperty,omitempty" type:"Repeated"`
}

func (OnsMessageGetByMsgIdResponseBodyDataPropertyList) GoString

func (OnsMessageGetByMsgIdResponseBodyDataPropertyList) String

type OnsMessageGetByMsgIdResponseBodyDataPropertyListMessageProperty

type OnsMessageGetByMsgIdResponseBodyDataPropertyListMessageProperty struct {
	// The name of the attribute. Valid values:
	//
	// *   **TRACE_ON**: indicates whether a trace of the message exists.
	// *   **KEYS**: indicates the key of the message.
	// *   **TAGS**: indicates the tag that is attached to the message.
	// *   **INSTANCE_ID**: indicates the ID of the instance which contains the message.
	//
	// For information about the terms that are used in Message Queue for Apache RocketMQ, see [Terms](~~29533~~).
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The value of the attribute.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (OnsMessageGetByMsgIdResponseBodyDataPropertyListMessageProperty) GoString

func (*OnsMessageGetByMsgIdResponseBodyDataPropertyListMessageProperty) SetName

func (*OnsMessageGetByMsgIdResponseBodyDataPropertyListMessageProperty) SetValue

func (OnsMessageGetByMsgIdResponseBodyDataPropertyListMessageProperty) String

type OnsMessagePageQueryByTopicRequest

type OnsMessagePageQueryByTopicRequest struct {
	// The beginning of the time range to query. The value of this parameter is a UNIX timestamp in milliseconds. If you specify a valid value for the **TaskId** parameter in the request, this parameter does not take effect. The system uses the value of the BeginTime parameter that you specified in the request when you created the specified query task.
	BeginTime *int64 `json:"BeginTime,omitempty" xml:"BeginTime,omitempty"`
	// The number of the page to return. Pages start from page 1. Valid values: 1 to 50.
	CurrentPage *int32 `json:"CurrentPage,omitempty" xml:"CurrentPage,omitempty"`
	// The end of the time range to query. The value of this parameter is a UNIX timestamp in milliseconds. If you specify a valid value for the **TaskId** parameter in the request, this parameter does not take effect. The system uses the value of the EndTime parameter that you specified in the request when you created the specified query task.
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the instance to which the message you want to query belongs.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The number of entries to return on each page. Valid values: 5 to 50. Default value: 20. If you specify a valid value for the **TaskId** parameter in the request, this parameter does not take effect. The system uses the value of the PageSize parameter that you specified in the request for creating the query task.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The ID of the query task. The first time you call this operation to query the information about messages in a specified topic within a specified time range, this parameter is not required. This parameter is required in subsequent queries for messages on a specified page. You can obtain the task ID from the returned result of the first query.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
	// The name of the topic whose messages you want to query.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsMessagePageQueryByTopicRequest) GoString

func (*OnsMessagePageQueryByTopicRequest) SetBeginTime

func (*OnsMessagePageQueryByTopicRequest) SetCurrentPage

func (*OnsMessagePageQueryByTopicRequest) SetEndTime

func (*OnsMessagePageQueryByTopicRequest) SetInstanceId

func (*OnsMessagePageQueryByTopicRequest) SetPageSize

func (*OnsMessagePageQueryByTopicRequest) SetTaskId

func (*OnsMessagePageQueryByTopicRequest) SetTopic

func (OnsMessagePageQueryByTopicRequest) String

type OnsMessagePageQueryByTopicResponse

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

func (OnsMessagePageQueryByTopicResponse) GoString

func (*OnsMessagePageQueryByTopicResponse) SetHeaders

func (*OnsMessagePageQueryByTopicResponse) SetStatusCode

func (OnsMessagePageQueryByTopicResponse) String

type OnsMessagePageQueryByTopicResponseBody

type OnsMessagePageQueryByTopicResponseBody struct {
	// The information about the message that is queried.
	MsgFoundDo *OnsMessagePageQueryByTopicResponseBodyMsgFoundDo `json:"MsgFoundDo,omitempty" xml:"MsgFoundDo,omitempty" type:"Struct"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsMessagePageQueryByTopicResponseBody) GoString

func (*OnsMessagePageQueryByTopicResponseBody) SetRequestId

func (OnsMessagePageQueryByTopicResponseBody) String

type OnsMessagePageQueryByTopicResponseBodyMsgFoundDo

type OnsMessagePageQueryByTopicResponseBodyMsgFoundDo struct {
	// The page number of the returned page.
	CurrentPage *int64 `json:"CurrentPage,omitempty" xml:"CurrentPage,omitempty"`
	// The total number of returned pages.
	MaxPageCount *int64 `json:"MaxPageCount,omitempty" xml:"MaxPageCount,omitempty"`
	// The information about messages on the returned page. The information that is contained in this parameter is the same as the information that is returned by the [OnsMessageGetByMsgId](~~29607~~) operation.
	MsgFoundList *OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundList `json:"MsgFoundList,omitempty" xml:"MsgFoundList,omitempty" type:"Struct"`
	// The ID of the query task. The first time you call this operation to query the messages that are sent to a specified consumer group within a specified time range, this parameter is returned. You can use the task ID to query the details of messages on other returned pages.
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (OnsMessagePageQueryByTopicResponseBodyMsgFoundDo) GoString

func (*OnsMessagePageQueryByTopicResponseBodyMsgFoundDo) SetCurrentPage

func (*OnsMessagePageQueryByTopicResponseBodyMsgFoundDo) SetMaxPageCount

func (*OnsMessagePageQueryByTopicResponseBodyMsgFoundDo) SetTaskId

func (OnsMessagePageQueryByTopicResponseBodyMsgFoundDo) String

type OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundList

type OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundList struct {
	OnsRestMessageDo []*OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo `json:"OnsRestMessageDo,omitempty" xml:"OnsRestMessageDo,omitempty" type:"Repeated"`
}

func (OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundList) GoString

func (OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundList) String

type OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo

type OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo struct {
	// The cyclic redundancy check (CRC) value of the message body.
	BodyCRC *int32 `json:"BodyCRC,omitempty" xml:"BodyCRC,omitempty"`
	// The producer client that generated the message.
	BornHost *string `json:"BornHost,omitempty" xml:"BornHost,omitempty"`
	// The time when the message was generated. The value is a UNIX timestamp that represents the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.
	BornTimestamp *int64 `json:"BornTimestamp,omitempty" xml:"BornTimestamp,omitempty"`
	// The ID of the instance
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the message.
	MsgId *string `json:"MsgId,omitempty" xml:"MsgId,omitempty"`
	// The attributes of the message.
	PropertyList *OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDoPropertyList `json:"PropertyList,omitempty" xml:"PropertyList,omitempty" type:"Struct"`
	// The number of retries that were performed to send the message to consumers.
	ReconsumeTimes *int32 `json:"ReconsumeTimes,omitempty" xml:"ReconsumeTimes,omitempty"`
	// The ApsaraMQ for RocketMQ broker that stores the message.
	StoreHost *string `json:"StoreHost,omitempty" xml:"StoreHost,omitempty"`
	// The size of the message. Unit: KB.
	StoreSize *int32 `json:"StoreSize,omitempty" xml:"StoreSize,omitempty"`
	// The time when the ApsaraMQ for RocketMQ broker stored the message. The value is a UNIX timestamp that represents the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.
	StoreTimestamp *int64 `json:"StoreTimestamp,omitempty" xml:"StoreTimestamp,omitempty"`
	// The topic to which the message belongs.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo) GoString

func (*OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo) SetBodyCRC

func (*OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo) SetBornHost

func (*OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo) SetBornTimestamp

func (*OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo) SetInstanceId

func (*OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo) SetMsgId

func (*OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo) SetReconsumeTimes

func (*OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo) SetStoreHost

func (*OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo) SetStoreSize

func (*OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo) SetStoreTimestamp

func (*OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo) SetTopic

func (OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDo) String

type OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDoPropertyList

type OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDoPropertyList struct {
	MessageProperty []*OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDoPropertyListMessageProperty `json:"MessageProperty,omitempty" xml:"MessageProperty,omitempty" type:"Repeated"`
}

func (OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDoPropertyList) GoString

func (OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDoPropertyList) String

type OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDoPropertyListMessageProperty

type OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDoPropertyListMessageProperty struct {
	// The name of the attribute. Valid values:
	//
	// *   **TRACE_ON**: indicates whether a trace of the message exists.
	// *   **KEYS**: indicates the key of the message.
	// *   **TAGS**: indicates the tag of the message.
	// *   **INSTANCE_ID**: indicates the ID of the instance that contains the message.
	//
	// For information about the terms that are used in ApsaraMQ for RocketMQ see [Terms](~~29533~~).
	Name *string `json:"Name,omitempty" xml:"Name,omitempty"`
	// The value of the attribute.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDoPropertyListMessageProperty) GoString

func (OnsMessagePageQueryByTopicResponseBodyMsgFoundDoMsgFoundListOnsRestMessageDoPropertyListMessageProperty) String

type OnsMessagePushRequest

type OnsMessagePushRequest struct {
	// The ID of the consumer client. You can call the [OnsConsumerGetConnection](~~29598~~) operation to query client IDs.
	ClientId *string `json:"ClientId,omitempty" xml:"ClientId,omitempty"`
	// The ID of the consumer group. For information about what a consumer group is, see [Terms](~~29533~~).
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The ID of the ApsaraMQ for RocketMQ instance to which the specified consumer group belongs.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the message.
	MsgId *string `json:"MsgId,omitempty" xml:"MsgId,omitempty"`
	// The topic to which the message is pushed.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsMessagePushRequest) GoString

func (s OnsMessagePushRequest) GoString() string

func (*OnsMessagePushRequest) SetClientId

func (*OnsMessagePushRequest) SetGroupId

func (*OnsMessagePushRequest) SetInstanceId

func (s *OnsMessagePushRequest) SetInstanceId(v string) *OnsMessagePushRequest

func (*OnsMessagePushRequest) SetMsgId

func (*OnsMessagePushRequest) SetTopic

func (OnsMessagePushRequest) String

func (s OnsMessagePushRequest) String() string

type OnsMessagePushResponse

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

func (OnsMessagePushResponse) GoString

func (s OnsMessagePushResponse) GoString() string

func (*OnsMessagePushResponse) SetBody

func (*OnsMessagePushResponse) SetHeaders

func (*OnsMessagePushResponse) SetStatusCode

func (OnsMessagePushResponse) String

func (s OnsMessagePushResponse) String() string

type OnsMessagePushResponseBody

type OnsMessagePushResponseBody struct {
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsMessagePushResponseBody) GoString

func (s OnsMessagePushResponseBody) GoString() string

func (*OnsMessagePushResponseBody) SetRequestId

func (OnsMessagePushResponseBody) String

type OnsMessageTraceRequest

type OnsMessageTraceRequest struct {
	// The ID of the instance to which the message you want to query belongs.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the message that you want to query.
	MsgId *string `json:"MsgId,omitempty" xml:"MsgId,omitempty"`
	// The topic to which the message belongs.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsMessageTraceRequest) GoString

func (s OnsMessageTraceRequest) GoString() string

func (*OnsMessageTraceRequest) SetInstanceId

func (*OnsMessageTraceRequest) SetMsgId

func (*OnsMessageTraceRequest) SetTopic

func (OnsMessageTraceRequest) String

func (s OnsMessageTraceRequest) String() string

type OnsMessageTraceResponse

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

func (OnsMessageTraceResponse) GoString

func (s OnsMessageTraceResponse) GoString() string

func (*OnsMessageTraceResponse) SetBody

func (*OnsMessageTraceResponse) SetHeaders

func (*OnsMessageTraceResponse) SetStatusCode

func (OnsMessageTraceResponse) String

func (s OnsMessageTraceResponse) String() string

type OnsMessageTraceResponseBody

type OnsMessageTraceResponseBody struct {
	// The information about the message that is queried.
	Data *OnsMessageTraceResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsMessageTraceResponseBody) GoString

func (s OnsMessageTraceResponseBody) GoString() string

func (*OnsMessageTraceResponseBody) SetData

func (*OnsMessageTraceResponseBody) SetRequestId

func (OnsMessageTraceResponseBody) String

type OnsMessageTraceResponseBodyData

type OnsMessageTraceResponseBodyData struct {
	MessageTrack []*OnsMessageTraceResponseBodyDataMessageTrack `json:"MessageTrack,omitempty" xml:"MessageTrack,omitempty" type:"Repeated"`
}

func (OnsMessageTraceResponseBodyData) GoString

func (OnsMessageTraceResponseBodyData) String

type OnsMessageTraceResponseBodyDataMessageTrack

type OnsMessageTraceResponseBodyDataMessageTrack struct {
	// The ID of the consumer group that subscribes to the topic.
	ConsumerGroup *string `json:"ConsumerGroup,omitempty" xml:"ConsumerGroup,omitempty"`
	// The ID of the instance to which the message you want to query belongs.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The status of the message. Valid values:
	//
	// *   **CONSUMED**: The message is consumed.
	// *   **CONSUMED_BUT_FILTERED**: No consumer group subscribes to the message. The message is filtered out and not consumed.
	// *   **NOT_CONSUME_YET**: The message is not consumed.
	// *   **NOT_ONLINE**: The consumer group is offline.
	// *   **UNKNOWN**: The message is not consumed due to unknown reasons.
	TrackType *string `json:"TrackType,omitempty" xml:"TrackType,omitempty"`
}

func (OnsMessageTraceResponseBodyDataMessageTrack) GoString

func (*OnsMessageTraceResponseBodyDataMessageTrack) SetConsumerGroup

func (*OnsMessageTraceResponseBodyDataMessageTrack) SetInstanceId

func (*OnsMessageTraceResponseBodyDataMessageTrack) SetTrackType

func (OnsMessageTraceResponseBodyDataMessageTrack) String

type OnsRegionListResponse

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

func (OnsRegionListResponse) GoString

func (s OnsRegionListResponse) GoString() string

func (*OnsRegionListResponse) SetBody

func (*OnsRegionListResponse) SetHeaders

func (*OnsRegionListResponse) SetStatusCode

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

func (OnsRegionListResponse) String

func (s OnsRegionListResponse) String() string

type OnsRegionListResponseBody

type OnsRegionListResponseBody struct {
	// The result returned
	Data *OnsRegionListResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsRegionListResponseBody) GoString

func (s OnsRegionListResponseBody) GoString() string

func (*OnsRegionListResponseBody) SetData

func (*OnsRegionListResponseBody) SetRequestId

func (OnsRegionListResponseBody) String

func (s OnsRegionListResponseBody) String() string

type OnsRegionListResponseBodyData

type OnsRegionListResponseBodyData struct {
	RegionDo []*OnsRegionListResponseBodyDataRegionDo `json:"RegionDo,omitempty" xml:"RegionDo,omitempty" type:"Repeated"`
}

func (OnsRegionListResponseBodyData) GoString

func (*OnsRegionListResponseBodyData) SetRegionDo

func (OnsRegionListResponseBodyData) String

type OnsRegionListResponseBodyDataRegionDo

type OnsRegionListResponseBodyDataRegionDo struct {
	// The ID of the region.
	OnsRegionId *string `json:"OnsRegionId,omitempty" xml:"OnsRegionId,omitempty"`
	// The name of the region.
	RegionName *string `json:"RegionName,omitempty" xml:"RegionName,omitempty"`
}

func (OnsRegionListResponseBodyDataRegionDo) GoString

func (*OnsRegionListResponseBodyDataRegionDo) SetOnsRegionId

func (*OnsRegionListResponseBodyDataRegionDo) SetRegionName

func (OnsRegionListResponseBodyDataRegionDo) String

type OnsTopicCreateRequest

type OnsTopicCreateRequest struct {
	// The ID of the instance in which you want to create the topic.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The type of messages that you want to publish to the topic. Valid values:
	//
	// *   **0**: normal messages
	// *   **1**: partitionally ordered messages
	// *   **2**: globally ordered messages
	// *   **4**: transactional messages
	// *   **5**: scheduled or delayed messages
	//
	// For more information about message types, see [Message types](~~155952~~).
	MessageType *int32 `json:"MessageType,omitempty" xml:"MessageType,omitempty"`
	// The description of the topic that you want to create.
	Remark *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	// The name of the topic that you want to create. The name must meet the following rules:
	//
	// *   The name must be 3 to 64 characters in length and can contain letters, digits, hyphens (-), and underscores (\_).
	// *   The topic name cannot start with CID or GID because CID and GID are reserved prefixes for group IDs.
	// *   If the ApsaraMQ for RocketMQ instance in which you want to create the topic uses a namespace, the topic name must be unique in the instance. The topic name cannot be the same as an existing topic name or a group ID in the instance. The topic name can be the same as a topic name or a group ID in another instance that uses a different namespace. For example, if Instance A and Instance B use different namespaces, a topic name in Instance A can be the same as a topic name or a group ID in Instance B.
	// *   If the instance in which you want to create the topic does not use a namespace, the topic name must be globally unique across instances and regions. The topic name cannot be the same as an existing topic name or group ID in all ApsaraMQ for RocketMQ instances that belong to your Alibaba Cloud account.
	//
	// > To check whether an instance uses a namespace, log on to the ApsaraMQ for RocketMQ console, go to the **Instance Details** page, and then view the value of the Namespace field in the **Basic Information** section.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsTopicCreateRequest) GoString

func (s OnsTopicCreateRequest) GoString() string

func (*OnsTopicCreateRequest) SetInstanceId

func (s *OnsTopicCreateRequest) SetInstanceId(v string) *OnsTopicCreateRequest

func (*OnsTopicCreateRequest) SetMessageType

func (s *OnsTopicCreateRequest) SetMessageType(v int32) *OnsTopicCreateRequest

func (*OnsTopicCreateRequest) SetRemark

func (*OnsTopicCreateRequest) SetTopic

func (OnsTopicCreateRequest) String

func (s OnsTopicCreateRequest) String() string

type OnsTopicCreateResponse

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

func (OnsTopicCreateResponse) GoString

func (s OnsTopicCreateResponse) GoString() string

func (*OnsTopicCreateResponse) SetBody

func (*OnsTopicCreateResponse) SetHeaders

func (*OnsTopicCreateResponse) SetStatusCode

func (OnsTopicCreateResponse) String

func (s OnsTopicCreateResponse) String() string

type OnsTopicCreateResponseBody

type OnsTopicCreateResponseBody struct {
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsTopicCreateResponseBody) GoString

func (s OnsTopicCreateResponseBody) GoString() string

func (*OnsTopicCreateResponseBody) SetRequestId

func (OnsTopicCreateResponseBody) String

type OnsTopicDeleteRequest

type OnsTopicDeleteRequest struct {
	// The ID of the instance to which the topic you want to delete belongs.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The name of the topic that you want to delete.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsTopicDeleteRequest) GoString

func (s OnsTopicDeleteRequest) GoString() string

func (*OnsTopicDeleteRequest) SetInstanceId

func (s *OnsTopicDeleteRequest) SetInstanceId(v string) *OnsTopicDeleteRequest

func (*OnsTopicDeleteRequest) SetTopic

func (OnsTopicDeleteRequest) String

func (s OnsTopicDeleteRequest) String() string

type OnsTopicDeleteResponse

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

func (OnsTopicDeleteResponse) GoString

func (s OnsTopicDeleteResponse) GoString() string

func (*OnsTopicDeleteResponse) SetBody

func (*OnsTopicDeleteResponse) SetHeaders

func (*OnsTopicDeleteResponse) SetStatusCode

func (OnsTopicDeleteResponse) String

func (s OnsTopicDeleteResponse) String() string

type OnsTopicDeleteResponseBody

type OnsTopicDeleteResponseBody struct {
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsTopicDeleteResponseBody) GoString

func (s OnsTopicDeleteResponseBody) GoString() string

func (*OnsTopicDeleteResponseBody) SetRequestId

func (OnsTopicDeleteResponseBody) String

type OnsTopicListRequest

type OnsTopicListRequest struct {
	// The ID of the instance that contains the topics you want to query.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The list of tags that are attached to the topic. A maximum of 20 tags can be included in the list.
	Tag []*OnsTopicListRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
	// The name of the topic that you want to query. This parameter is required if you want to query a specific topic. If you do not include this parameter in a request, all topics that you can access are queried.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
	// The user ID of the topic owner. Set this parameter to an Alibaba Cloud account ID.
	UserId *string `json:"UserId,omitempty" xml:"UserId,omitempty"`
}

func (OnsTopicListRequest) GoString

func (s OnsTopicListRequest) GoString() string

func (*OnsTopicListRequest) SetInstanceId

func (s *OnsTopicListRequest) SetInstanceId(v string) *OnsTopicListRequest

func (*OnsTopicListRequest) SetTag

func (*OnsTopicListRequest) SetTopic

func (*OnsTopicListRequest) SetUserId

func (OnsTopicListRequest) String

func (s OnsTopicListRequest) String() string

type OnsTopicListRequestTag

type OnsTopicListRequestTag struct {
	// The key of the tag that is attached to the topics you want to query. This parameter is not required. If you configure this parameter, you must also configure the **Value** parameter.**** If you include the Key and Value parameters in a request, this operation queries only the topics that use the specified tag. If you do not include these parameters in a request, this operation queries all topics that you can access.
	//
	// *   The value of this parameter cannot be an empty string.
	// *   A tag value can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the tag that is attached to the topics you want to query. This parameter is not required. If you configure this parameter, you must also configure the **Key** parameter.**** If you include the Key and Value parameters in a request, this operation queries only the topics that use the specified tag. If you do not include these parameters in a request, this operation queries all topics that you can access.
	//
	// *   The value of this parameter can be an empty string.
	// *   A tag key can be up to 128 characters in length and cannot contain `http://` or `https://`. It cannot start with `acs:` or `aliyun`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (OnsTopicListRequestTag) GoString

func (s OnsTopicListRequestTag) GoString() string

func (*OnsTopicListRequestTag) SetKey

func (*OnsTopicListRequestTag) SetValue

func (OnsTopicListRequestTag) String

func (s OnsTopicListRequestTag) String() string

type OnsTopicListResponse

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

func (OnsTopicListResponse) GoString

func (s OnsTopicListResponse) GoString() string

func (*OnsTopicListResponse) SetBody

func (*OnsTopicListResponse) SetHeaders

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

func (*OnsTopicListResponse) SetStatusCode

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

func (OnsTopicListResponse) String

func (s OnsTopicListResponse) String() string

type OnsTopicListResponseBody

type OnsTopicListResponseBody struct {
	// The information about the topics.
	Data *OnsTopicListResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request. This is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsTopicListResponseBody) GoString

func (s OnsTopicListResponseBody) GoString() string

func (*OnsTopicListResponseBody) SetData

func (*OnsTopicListResponseBody) SetRequestId

func (OnsTopicListResponseBody) String

func (s OnsTopicListResponseBody) String() string

type OnsTopicListResponseBodyData

type OnsTopicListResponseBodyData struct {
	PublishInfoDo []*OnsTopicListResponseBodyDataPublishInfoDo `json:"PublishInfoDo,omitempty" xml:"PublishInfoDo,omitempty" type:"Repeated"`
}

func (OnsTopicListResponseBodyData) GoString

func (s OnsTopicListResponseBodyData) GoString() string

func (*OnsTopicListResponseBodyData) SetPublishInfoDo

func (OnsTopicListResponseBodyData) String

type OnsTopicListResponseBodyDataPublishInfoDo

type OnsTopicListResponseBodyDataPublishInfoDo struct {
	// The time when the topic was created.
	CreateTime *int64 `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// Indicates whether the instance that contains the topic uses a namespace. Valid values:
	//
	// *   **true**: The instance uses a separate namespace. The name of each resource must be unique in the instance. The names of resources in different instances can be the same.
	// *   **false**: The instance does not use a separate namespace. The name of each resource must be globally unique within an instance and across all instances.
	IndependentNaming *bool `json:"IndependentNaming,omitempty" xml:"IndependentNaming,omitempty"`
	// The ID of the instance that contains the topic.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The message type. Valid values:
	//
	// *   **0**: normal messages
	// *   **1**: partitionally ordered messages
	// *   **2**: globally ordered messages
	// *   **4**: transactional messages
	// *   **5**: scheduled or delayed messages
	MessageType *int32 `json:"MessageType,omitempty" xml:"MessageType,omitempty"`
	// The user ID of the topic owner. The value of this parameter is an Alibaba account ID.
	Owner *string `json:"Owner,omitempty" xml:"Owner,omitempty"`
	// Indicates the relationship between the current account and the topic. Valid values:
	//
	// *   **1**: The current account is the owner of the topic.
	// *   **2**: The current account can publish messages to the topic.
	// *   **4**: The current account can subscribe to the topic.
	// *   **6**: The current account can publish messages to and subscribe to the topic.
	Relation *int32 `json:"Relation,omitempty" xml:"Relation,omitempty"`
	// The relationship between the current account and the topic. The value of this parameter indicates whether the current account is the owner of the topic, and whether the current account can subscribe or publish messages to the topic. the topic.
	RelationName *string `json:"RelationName,omitempty" xml:"RelationName,omitempty"`
	// The description of the topic.
	Remark *string `json:"Remark,omitempty" xml:"Remark,omitempty"`
	// The status of the topic that is asynchronously created. Valid values:
	//
	// *   **0**: The topic is being created.
	// *   **1**: The topic is being used.
	ServiceStatus *int32 `json:"ServiceStatus,omitempty" xml:"ServiceStatus,omitempty"`
	// The tags that are attached to the topic.
	Tags *OnsTopicListResponseBodyDataPublishInfoDoTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Struct"`
	// The topic name.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsTopicListResponseBodyDataPublishInfoDo) GoString

func (*OnsTopicListResponseBodyDataPublishInfoDo) SetCreateTime

func (*OnsTopicListResponseBodyDataPublishInfoDo) SetIndependentNaming

func (*OnsTopicListResponseBodyDataPublishInfoDo) SetInstanceId

func (*OnsTopicListResponseBodyDataPublishInfoDo) SetMessageType

func (*OnsTopicListResponseBodyDataPublishInfoDo) SetOwner

func (*OnsTopicListResponseBodyDataPublishInfoDo) SetRelation

func (*OnsTopicListResponseBodyDataPublishInfoDo) SetRelationName

func (*OnsTopicListResponseBodyDataPublishInfoDo) SetRemark

func (*OnsTopicListResponseBodyDataPublishInfoDo) SetServiceStatus

func (*OnsTopicListResponseBodyDataPublishInfoDo) SetTopic

func (OnsTopicListResponseBodyDataPublishInfoDo) String

type OnsTopicListResponseBodyDataPublishInfoDoTags

type OnsTopicListResponseBodyDataPublishInfoDoTags struct {
	Tag []*OnsTopicListResponseBodyDataPublishInfoDoTagsTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (OnsTopicListResponseBodyDataPublishInfoDoTags) GoString

func (OnsTopicListResponseBodyDataPublishInfoDoTags) String

type OnsTopicListResponseBodyDataPublishInfoDoTagsTag

type OnsTopicListResponseBodyDataPublishInfoDoTagsTag struct {
	// The tag key.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (OnsTopicListResponseBodyDataPublishInfoDoTagsTag) GoString

func (*OnsTopicListResponseBodyDataPublishInfoDoTagsTag) SetKey

func (*OnsTopicListResponseBodyDataPublishInfoDoTagsTag) SetValue

func (OnsTopicListResponseBodyDataPublishInfoDoTagsTag) String

type OnsTopicStatusRequest

type OnsTopicStatusRequest struct {
	// The ID of the instance that contains the topic you want to query.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The name of the topic that you want to query.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsTopicStatusRequest) GoString

func (s OnsTopicStatusRequest) GoString() string

func (*OnsTopicStatusRequest) SetInstanceId

func (s *OnsTopicStatusRequest) SetInstanceId(v string) *OnsTopicStatusRequest

func (*OnsTopicStatusRequest) SetTopic

func (OnsTopicStatusRequest) String

func (s OnsTopicStatusRequest) String() string

type OnsTopicStatusResponse

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

func (OnsTopicStatusResponse) GoString

func (s OnsTopicStatusResponse) GoString() string

func (*OnsTopicStatusResponse) SetBody

func (*OnsTopicStatusResponse) SetHeaders

func (*OnsTopicStatusResponse) SetStatusCode

func (OnsTopicStatusResponse) String

func (s OnsTopicStatusResponse) String() string

type OnsTopicStatusResponseBody

type OnsTopicStatusResponseBody struct {
	// The data structure of the queried topic.
	Data *OnsTopicStatusResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsTopicStatusResponseBody) GoString

func (s OnsTopicStatusResponseBody) GoString() string

func (*OnsTopicStatusResponseBody) SetData

func (*OnsTopicStatusResponseBody) SetRequestId

func (OnsTopicStatusResponseBody) String

type OnsTopicStatusResponseBodyData

type OnsTopicStatusResponseBodyData struct {
	// The point in time when the latest message is ready in the topic. If no message exists in the topic, the return value of this parameter is 0.
	//
	// The value of this parameter is a UNIX timestamp in milliseconds.
	//
	// For information about the definition of ready messages and ready time, see [Terms](~~29533~~).
	LastTimeStamp *int64 `json:"LastTimeStamp,omitempty" xml:"LastTimeStamp,omitempty"`
	// Indicates the operations that you can perform on the topic. Valid values:
	//
	// *   **2**: You can publish messages to the topic.
	// *   **4**: You can subscribe to the topic.
	// *   **6**: You can publish messages to and subscribe to the topic.
	Perm *int32 `json:"Perm,omitempty" xml:"Perm,omitempty"`
	// The total number of messages in all partitions of the topic.
	TotalCount *int64 `json:"TotalCount,omitempty" xml:"TotalCount,omitempty"`
}

func (OnsTopicStatusResponseBodyData) GoString

func (*OnsTopicStatusResponseBodyData) SetLastTimeStamp

func (*OnsTopicStatusResponseBodyData) SetPerm

func (*OnsTopicStatusResponseBodyData) SetTotalCount

func (OnsTopicStatusResponseBodyData) String

type OnsTopicSubDetailRequest

type OnsTopicSubDetailRequest struct {
	// The ID of the instance that contains the topic you want to query.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The name of the topic that you want to query.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsTopicSubDetailRequest) GoString

func (s OnsTopicSubDetailRequest) GoString() string

func (*OnsTopicSubDetailRequest) SetInstanceId

func (*OnsTopicSubDetailRequest) SetTopic

func (OnsTopicSubDetailRequest) String

func (s OnsTopicSubDetailRequest) String() string

type OnsTopicSubDetailResponse

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

func (OnsTopicSubDetailResponse) GoString

func (s OnsTopicSubDetailResponse) GoString() string

func (*OnsTopicSubDetailResponse) SetBody

func (*OnsTopicSubDetailResponse) SetHeaders

func (*OnsTopicSubDetailResponse) SetStatusCode

func (OnsTopicSubDetailResponse) String

func (s OnsTopicSubDetailResponse) String() string

type OnsTopicSubDetailResponseBody

type OnsTopicSubDetailResponseBody struct {
	// The data returned.
	Data *OnsTopicSubDetailResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsTopicSubDetailResponseBody) GoString

func (*OnsTopicSubDetailResponseBody) SetData

func (*OnsTopicSubDetailResponseBody) SetRequestId

func (OnsTopicSubDetailResponseBody) String

type OnsTopicSubDetailResponseBodyData

type OnsTopicSubDetailResponseBodyData struct {
	// The information about the online consumer groups that subscribe to the topic.
	SubscriptionDataList *OnsTopicSubDetailResponseBodyDataSubscriptionDataList `json:"SubscriptionDataList,omitempty" xml:"SubscriptionDataList,omitempty" type:"Struct"`
	// The topic name.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsTopicSubDetailResponseBodyData) GoString

func (*OnsTopicSubDetailResponseBodyData) SetTopic

func (OnsTopicSubDetailResponseBodyData) String

type OnsTopicSubDetailResponseBodyDataSubscriptionDataList

type OnsTopicSubDetailResponseBodyDataSubscriptionDataList struct {
	SubscriptionDataList []*OnsTopicSubDetailResponseBodyDataSubscriptionDataListSubscriptionDataList `json:"SubscriptionDataList,omitempty" xml:"SubscriptionDataList,omitempty" type:"Repeated"`
}

func (OnsTopicSubDetailResponseBodyDataSubscriptionDataList) GoString

func (OnsTopicSubDetailResponseBodyDataSubscriptionDataList) String

type OnsTopicSubDetailResponseBodyDataSubscriptionDataListSubscriptionDataList

type OnsTopicSubDetailResponseBodyDataSubscriptionDataListSubscriptionDataList struct {
	// The ID of the consumer group that subscribes to the topic.
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The consumption mode. Valid values:
	//
	// *   **CLUSTERING**: the clustering consumption mode
	// *   **BROADCASTING**: the broadcasting consumption mode
	//
	// For more information about consumption modes, see [Clustering consumption and broadcasting consumption](~~43163~~).
	MessageModel *string `json:"MessageModel,omitempty" xml:"MessageModel,omitempty"`
	// The expression based on which consumers in the consumer group subscribe to the topic.
	SubString *string `json:"SubString,omitempty" xml:"SubString,omitempty"`
}

func (OnsTopicSubDetailResponseBodyDataSubscriptionDataListSubscriptionDataList) GoString

func (*OnsTopicSubDetailResponseBodyDataSubscriptionDataListSubscriptionDataList) SetGroupId

func (*OnsTopicSubDetailResponseBodyDataSubscriptionDataListSubscriptionDataList) SetMessageModel

func (*OnsTopicSubDetailResponseBodyDataSubscriptionDataListSubscriptionDataList) SetSubString

func (OnsTopicSubDetailResponseBodyDataSubscriptionDataListSubscriptionDataList) String

type OnsTopicUpdateRequest

type OnsTopicUpdateRequest struct {
	// The ID of the instance to which the topic belongs.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The read/write mode that you want to configure for the topic. Valid values:
	//
	// *   **6**: Both read and write operations are allowed.
	// *   **4**: Write operations are forbidden.
	// *   **2**: Read operations are forbidden.
	Perm *int32 `json:"Perm,omitempty" xml:"Perm,omitempty"`
	// The name of the topic that you want to manage.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsTopicUpdateRequest) GoString

func (s OnsTopicUpdateRequest) GoString() string

func (*OnsTopicUpdateRequest) SetInstanceId

func (s *OnsTopicUpdateRequest) SetInstanceId(v string) *OnsTopicUpdateRequest

func (*OnsTopicUpdateRequest) SetPerm

func (*OnsTopicUpdateRequest) SetTopic

func (OnsTopicUpdateRequest) String

func (s OnsTopicUpdateRequest) String() string

type OnsTopicUpdateResponse

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

func (OnsTopicUpdateResponse) GoString

func (s OnsTopicUpdateResponse) GoString() string

func (*OnsTopicUpdateResponse) SetBody

func (*OnsTopicUpdateResponse) SetHeaders

func (*OnsTopicUpdateResponse) SetStatusCode

func (OnsTopicUpdateResponse) String

func (s OnsTopicUpdateResponse) String() string

type OnsTopicUpdateResponseBody

type OnsTopicUpdateResponseBody struct {
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsTopicUpdateResponseBody) GoString

func (s OnsTopicUpdateResponseBody) GoString() string

func (*OnsTopicUpdateResponseBody) SetRequestId

func (OnsTopicUpdateResponseBody) String

type OnsTraceGetResultRequest

type OnsTraceGetResultRequest struct {
	// The ID of the task that was created to query the trace of the message.
	QueryId *string `json:"QueryId,omitempty" xml:"QueryId,omitempty"`
}

func (OnsTraceGetResultRequest) GoString

func (s OnsTraceGetResultRequest) GoString() string

func (*OnsTraceGetResultRequest) SetQueryId

func (OnsTraceGetResultRequest) String

func (s OnsTraceGetResultRequest) String() string

type OnsTraceGetResultResponse

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

func (OnsTraceGetResultResponse) GoString

func (s OnsTraceGetResultResponse) GoString() string

func (*OnsTraceGetResultResponse) SetBody

func (*OnsTraceGetResultResponse) SetHeaders

func (*OnsTraceGetResultResponse) SetStatusCode

func (OnsTraceGetResultResponse) String

func (s OnsTraceGetResultResponse) String() string

type OnsTraceGetResultResponseBody

type OnsTraceGetResultResponseBody struct {
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The details of the message trace.
	TraceData *OnsTraceGetResultResponseBodyTraceData `json:"TraceData,omitempty" xml:"TraceData,omitempty" type:"Struct"`
}

func (OnsTraceGetResultResponseBody) GoString

func (*OnsTraceGetResultResponseBody) SetRequestId

func (OnsTraceGetResultResponseBody) String

type OnsTraceGetResultResponseBodyTraceData

type OnsTraceGetResultResponseBodyTraceData struct {
	// The point in time when the task was created.
	CreateTime *int64 `json:"CreateTime,omitempty" xml:"CreateTime,omitempty"`
	// The ID of the instance
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the message that is queried.
	MsgId *string `json:"MsgId,omitempty" xml:"MsgId,omitempty"`
	// The key of the message that is queried.
	MsgKey *string `json:"MsgKey,omitempty" xml:"MsgKey,omitempty"`
	// The ID of the task.
	QueryId *string `json:"QueryId,omitempty" xml:"QueryId,omitempty"`
	// The status of the task. Valid values:
	//
	// *   **finish**: The task is complete.
	// *   **working**: The task is in progress.
	// *   **removed**: The task is deleted.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The topic in which the message is stored.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
	// The details of the message trace.
	TraceList *OnsTraceGetResultResponseBodyTraceDataTraceList `json:"TraceList,omitempty" xml:"TraceList,omitempty" type:"Struct"`
	// The most recent point in time when the task was updated.
	UpdateTime *int64 `json:"UpdateTime,omitempty" xml:"UpdateTime,omitempty"`
	// The ID of the user who created the task.
	UserId *string `json:"UserId,omitempty" xml:"UserId,omitempty"`
}

func (OnsTraceGetResultResponseBodyTraceData) GoString

func (*OnsTraceGetResultResponseBodyTraceData) SetCreateTime

func (*OnsTraceGetResultResponseBodyTraceData) SetInstanceId

func (*OnsTraceGetResultResponseBodyTraceData) SetMsgId

func (*OnsTraceGetResultResponseBodyTraceData) SetMsgKey

func (*OnsTraceGetResultResponseBodyTraceData) SetQueryId

func (*OnsTraceGetResultResponseBodyTraceData) SetStatus

func (*OnsTraceGetResultResponseBodyTraceData) SetTopic

func (*OnsTraceGetResultResponseBodyTraceData) SetUpdateTime

func (*OnsTraceGetResultResponseBodyTraceData) SetUserId

func (OnsTraceGetResultResponseBodyTraceData) String

type OnsTraceGetResultResponseBodyTraceDataTraceList

type OnsTraceGetResultResponseBodyTraceDataTraceList struct {
	TraceMapDo []*OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDo `json:"TraceMapDo,omitempty" xml:"TraceMapDo,omitempty" type:"Repeated"`
}

func (OnsTraceGetResultResponseBodyTraceDataTraceList) GoString

func (OnsTraceGetResultResponseBodyTraceDataTraceList) String

type OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDo

type OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDo struct {
	// The address of the producer that generated the message.
	BornHost *string `json:"BornHost,omitempty" xml:"BornHost,omitempty"`
	// The period of time that the system took to send the message. Unit: milliseconds.
	CostTime *int32 `json:"CostTime,omitempty" xml:"CostTime,omitempty"`
	// The ID of the message.
	MsgId *string `json:"MsgId,omitempty" xml:"MsgId,omitempty"`
	// The key of the message.
	MsgKey *string `json:"MsgKey,omitempty" xml:"MsgKey,omitempty"`
	// The ID of the group that contains the producer.
	PubGroupName *string `json:"PubGroupName,omitempty" xml:"PubGroupName,omitempty"`
	// The point in time when the message was sent.
	PubTime *int64 `json:"PubTime,omitempty" xml:"PubTime,omitempty"`
	// Indicates whether the message is sent. Valid values:
	//
	// *   **SEND_SUCCESS**: The message is sent.
	// *   **SEND_FAILED**: The message failed to be sent.
	// *   **SEND_ROLLBACK:** The message is a transactional message and is rolled back.
	// *   **SEND_UNKNOWN:** The message is a transactional message and is not committed.
	// *   **SEND_DELAY:** The message is a scheduled or delayed message and is waiting to be consumed at the specified point in time.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The consumption traces of the message.
	SubList *OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDoSubList `json:"SubList,omitempty" xml:"SubList,omitempty" type:"Struct"`
	// The tag of the message.
	Tag *string `json:"Tag,omitempty" xml:"Tag,omitempty"`
	// The topic to which the message belongs.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDo) GoString

func (*OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDo) SetBornHost

func (*OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDo) SetCostTime

func (*OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDo) SetMsgId

func (*OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDo) SetMsgKey

func (*OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDo) SetPubGroupName

func (*OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDo) SetPubTime

func (*OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDo) SetStatus

func (*OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDo) SetTag

func (*OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDo) SetTopic

func (OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDo) String

type OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDoSubList

type OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDoSubList struct {
	SubMapDo []*OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDoSubListSubMapDo `json:"SubMapDo,omitempty" xml:"SubMapDo,omitempty" type:"Repeated"`
}

func (OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDoSubList) GoString

func (OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDoSubList) String

type OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDoSubListSubMapDo

type OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDoSubListSubMapDo struct {
	// The information about message consumption by consumers in the group.
	ClientList *OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDoSubListSubMapDoClientList `json:"ClientList,omitempty" xml:"ClientList,omitempty" type:"Struct"`
	// The number of consumption failures.
	FailCount *int32 `json:"FailCount,omitempty" xml:"FailCount,omitempty"`
	// The ID of the consumer group.
	SubGroupName *string `json:"SubGroupName,omitempty" xml:"SubGroupName,omitempty"`
	// The number of successful consumptions.
	SuccessCount *int32 `json:"SuccessCount,omitempty" xml:"SuccessCount,omitempty"`
}

func (OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDoSubListSubMapDo) GoString

func (*OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDoSubListSubMapDo) SetFailCount

func (*OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDoSubListSubMapDo) SetSubGroupName

func (*OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDoSubListSubMapDo) SetSuccessCount

func (OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDoSubListSubMapDo) String

type OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDoSubListSubMapDoClientList

type OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDoSubListSubMapDoClientList struct {
	SubClientInfoDo []*OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDoSubListSubMapDoClientListSubClientInfoDo `json:"SubClientInfoDo,omitempty" xml:"SubClientInfoDo,omitempty" type:"Repeated"`
}

func (OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDoSubListSubMapDoClientList) GoString

func (OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDoSubListSubMapDoClientList) String

type OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDoSubListSubMapDoClientListSubClientInfoDo

type OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDoSubListSubMapDoClientListSubClientInfoDo struct {
	// The address of the consumer.
	ClientHost *string `json:"ClientHost,omitempty" xml:"ClientHost,omitempty"`
	// The period of time that the system took to consume the message. Unit: milliseconds.
	CostTime *int32 `json:"CostTime,omitempty" xml:"CostTime,omitempty"`
	// The number of attempts that the ApsaraMQ for RocketMQ broker tried to send the message to the consumer.
	ReconsumeTimes *int32 `json:"ReconsumeTimes,omitempty" xml:"ReconsumeTimes,omitempty"`
	// Indicates whether the message is consumed. Valid values:
	//
	// *   **CONSUME_FAILED**: The message failed to be consumed.
	// *   **CONSUME_SUCCESS**: The message is consumed.
	// *   **CONSUME_NOT_RETURN:** No responses are returned.
	// *   **SEND_UNKNOWN:** The message is a transactional message and is not committed.
	// *   **SEND_DELAY:** The message is a scheduled or delayed message and is waiting to be consumed at the specified point in time.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The ID of the group that contains the consumer.
	SubGroupName *string `json:"SubGroupName,omitempty" xml:"SubGroupName,omitempty"`
	// The earliest point in time when the message was consumed.
	SubTime *int64 `json:"SubTime,omitempty" xml:"SubTime,omitempty"`
}

func (OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDoSubListSubMapDoClientListSubClientInfoDo) GoString

func (OnsTraceGetResultResponseBodyTraceDataTraceListTraceMapDoSubListSubMapDoClientListSubClientInfoDo) String

type OnsTraceQueryByMsgIdRequest

type OnsTraceQueryByMsgIdRequest struct {
	// The beginning of the time range to query. The value of this parameter is a UNIX timestamp in milliseconds.
	BeginTime *int64 `json:"BeginTime,omitempty" xml:"BeginTime,omitempty"`
	// The end of the time range to query. The value of this parameter is a UNIX timestamp in milliseconds.
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the ApsaraMQ for RocketMQ instance that contains the specified topic.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The ID of the message that you want to query.
	MsgId *string `json:"MsgId,omitempty" xml:"MsgId,omitempty"`
	// The topic that contains the message you want to query.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsTraceQueryByMsgIdRequest) GoString

func (s OnsTraceQueryByMsgIdRequest) GoString() string

func (*OnsTraceQueryByMsgIdRequest) SetBeginTime

func (*OnsTraceQueryByMsgIdRequest) SetEndTime

func (*OnsTraceQueryByMsgIdRequest) SetInstanceId

func (*OnsTraceQueryByMsgIdRequest) SetMsgId

func (*OnsTraceQueryByMsgIdRequest) SetTopic

func (OnsTraceQueryByMsgIdRequest) String

type OnsTraceQueryByMsgIdResponse

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

func (OnsTraceQueryByMsgIdResponse) GoString

func (s OnsTraceQueryByMsgIdResponse) GoString() string

func (*OnsTraceQueryByMsgIdResponse) SetBody

func (*OnsTraceQueryByMsgIdResponse) SetHeaders

func (*OnsTraceQueryByMsgIdResponse) SetStatusCode

func (OnsTraceQueryByMsgIdResponse) String

type OnsTraceQueryByMsgIdResponseBody

type OnsTraceQueryByMsgIdResponseBody struct {
	// The ID of the query task. You can call the [OnsTraceGetResult](~~59832~~) operation to query the details of the message trace based on the task ID.
	QueryId *string `json:"QueryId,omitempty" xml:"QueryId,omitempty"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsTraceQueryByMsgIdResponseBody) GoString

func (*OnsTraceQueryByMsgIdResponseBody) SetQueryId

func (*OnsTraceQueryByMsgIdResponseBody) SetRequestId

func (OnsTraceQueryByMsgIdResponseBody) String

type OnsTraceQueryByMsgKeyRequest

type OnsTraceQueryByMsgKeyRequest struct {
	// The start of the time range to query. The value of this parameter is a UNIX timestamp in milliseconds.
	BeginTime *int64 `json:"BeginTime,omitempty" xml:"BeginTime,omitempty"`
	// The end of the time range to query. The value of this parameter is a UNIX timestamp in milliseconds.
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the ApsaraMQ for RocketMQ instance that contains the specified topic.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The key of the message that you want to query.
	MsgKey *string `json:"MsgKey,omitempty" xml:"MsgKey,omitempty"`
	// The topic that contains the message you want to query.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (OnsTraceQueryByMsgKeyRequest) GoString

func (s OnsTraceQueryByMsgKeyRequest) GoString() string

func (*OnsTraceQueryByMsgKeyRequest) SetBeginTime

func (*OnsTraceQueryByMsgKeyRequest) SetEndTime

func (*OnsTraceQueryByMsgKeyRequest) SetInstanceId

func (*OnsTraceQueryByMsgKeyRequest) SetMsgKey

func (*OnsTraceQueryByMsgKeyRequest) SetTopic

func (OnsTraceQueryByMsgKeyRequest) String

type OnsTraceQueryByMsgKeyResponse

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

func (OnsTraceQueryByMsgKeyResponse) GoString

func (*OnsTraceQueryByMsgKeyResponse) SetBody

func (*OnsTraceQueryByMsgKeyResponse) SetHeaders

func (*OnsTraceQueryByMsgKeyResponse) SetStatusCode

func (OnsTraceQueryByMsgKeyResponse) String

type OnsTraceQueryByMsgKeyResponseBody

type OnsTraceQueryByMsgKeyResponseBody struct {
	// The ID of the query task. You can call the [OnsTraceGetResult](~~59832~~) operation to query the details of the message trace based on the task ID.
	QueryId *string `json:"QueryId,omitempty" xml:"QueryId,omitempty"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsTraceQueryByMsgKeyResponseBody) GoString

func (*OnsTraceQueryByMsgKeyResponseBody) SetQueryId

func (*OnsTraceQueryByMsgKeyResponseBody) SetRequestId

func (OnsTraceQueryByMsgKeyResponseBody) String

type OnsTrendGroupOutputTpsRequest

type OnsTrendGroupOutputTpsRequest struct {
	// The timestamp that indicates the beginning of the time range to query. Unit: milliseconds.
	BeginTime *int64 `json:"BeginTime,omitempty" xml:"BeginTime,omitempty"`
	// The timestamp that indicates the end of the time range to query. Unit: milliseconds.
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the consumer group that you want to query.
	GroupId *string `json:"GroupId,omitempty" xml:"GroupId,omitempty"`
	// The ID of the instance to which the consumer group you want to query belongs.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The sampling period. Unit: minutes. Valid values: 1, 5, and 10.
	Period *int64 `json:"Period,omitempty" xml:"Period,omitempty"`
	// The name of the topic that you want to query.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
	// The type of information that you want to query. Valid values:
	//
	// *   **0**: the number of messages that are consumed during each sampling period.
	// *   **1**: the TPS for message consumption during each sampling period.
	Type *int32 `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (OnsTrendGroupOutputTpsRequest) GoString

func (*OnsTrendGroupOutputTpsRequest) SetBeginTime

func (*OnsTrendGroupOutputTpsRequest) SetEndTime

func (*OnsTrendGroupOutputTpsRequest) SetGroupId

func (*OnsTrendGroupOutputTpsRequest) SetInstanceId

func (*OnsTrendGroupOutputTpsRequest) SetPeriod

func (*OnsTrendGroupOutputTpsRequest) SetTopic

func (*OnsTrendGroupOutputTpsRequest) SetType

func (OnsTrendGroupOutputTpsRequest) String

type OnsTrendGroupOutputTpsResponse

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

func (OnsTrendGroupOutputTpsResponse) GoString

func (*OnsTrendGroupOutputTpsResponse) SetHeaders

func (*OnsTrendGroupOutputTpsResponse) SetStatusCode

func (OnsTrendGroupOutputTpsResponse) String

type OnsTrendGroupOutputTpsResponseBody

type OnsTrendGroupOutputTpsResponseBody struct {
	// The data returned.
	Data *OnsTrendGroupOutputTpsResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use the ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsTrendGroupOutputTpsResponseBody) GoString

func (*OnsTrendGroupOutputTpsResponseBody) SetRequestId

func (OnsTrendGroupOutputTpsResponseBody) String

type OnsTrendGroupOutputTpsResponseBodyData

type OnsTrendGroupOutputTpsResponseBodyData struct {
	// The data set returned based on sampling period.
	Records *OnsTrendGroupOutputTpsResponseBodyDataRecords `json:"Records,omitempty" xml:"Records,omitempty" type:"Struct"`
	// The name of the table.
	Title *string `json:"Title,omitempty" xml:"Title,omitempty"`
	// The unit of the timestamp.
	XUnit *string `json:"XUnit,omitempty" xml:"XUnit,omitempty"`
	// The total number of messages.
	YUnit *string `json:"YUnit,omitempty" xml:"YUnit,omitempty"`
}

func (OnsTrendGroupOutputTpsResponseBodyData) GoString

func (*OnsTrendGroupOutputTpsResponseBodyData) SetTitle

func (*OnsTrendGroupOutputTpsResponseBodyData) SetXUnit

func (*OnsTrendGroupOutputTpsResponseBodyData) SetYUnit

func (OnsTrendGroupOutputTpsResponseBodyData) String

type OnsTrendGroupOutputTpsResponseBodyDataRecords

type OnsTrendGroupOutputTpsResponseBodyDataRecords struct {
	StatsDataDo []*OnsTrendGroupOutputTpsResponseBodyDataRecordsStatsDataDo `json:"StatsDataDo,omitempty" xml:"StatsDataDo,omitempty" type:"Repeated"`
}

func (OnsTrendGroupOutputTpsResponseBodyDataRecords) GoString

func (OnsTrendGroupOutputTpsResponseBodyDataRecords) String

type OnsTrendGroupOutputTpsResponseBodyDataRecordsStatsDataDo

type OnsTrendGroupOutputTpsResponseBodyDataRecordsStatsDataDo struct {
	// The X axis. The value of this parameter is a UNIX timestamp in milliseconds.
	X *int64 `json:"X,omitempty" xml:"X,omitempty"`
	// The Y axis. This parameter indicates the TPS for message consumption or the number of messages that are consumed.
	Y *float32 `json:"Y,omitempty" xml:"Y,omitempty"`
}

func (OnsTrendGroupOutputTpsResponseBodyDataRecordsStatsDataDo) GoString

func (*OnsTrendGroupOutputTpsResponseBodyDataRecordsStatsDataDo) SetX

func (*OnsTrendGroupOutputTpsResponseBodyDataRecordsStatsDataDo) SetY

func (OnsTrendGroupOutputTpsResponseBodyDataRecordsStatsDataDo) String

type OnsTrendTopicInputTpsRequest

type OnsTrendTopicInputTpsRequest struct {
	// The timestamp that indicates the beginning of the time range to query. Unit: milliseconds.
	BeginTime *int64 `json:"BeginTime,omitempty" xml:"BeginTime,omitempty"`
	// The timestamp that indicates the end of the time range to query. Unit: milliseconds.
	EndTime *int64 `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// The ID of the instance to which the topic you want to query belongs.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The sampling period. Unit: minutes. Valid values: 1, 5, and 10.
	Period *int64 `json:"Period,omitempty" xml:"Period,omitempty"`
	// The name of the topic that you want to query.
	Topic *string `json:"Topic,omitempty" xml:"Topic,omitempty"`
	// The type of information that you want to query. Valid values:
	//
	// *   **0**: the number of messages that are published to the topic during each sampling period.
	// *   **1**: the TPS for message publishing in the topic during each sampling period.
	Type *int32 `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (OnsTrendTopicInputTpsRequest) GoString

func (s OnsTrendTopicInputTpsRequest) GoString() string

func (*OnsTrendTopicInputTpsRequest) SetBeginTime

func (*OnsTrendTopicInputTpsRequest) SetEndTime

func (*OnsTrendTopicInputTpsRequest) SetInstanceId

func (*OnsTrendTopicInputTpsRequest) SetPeriod

func (*OnsTrendTopicInputTpsRequest) SetTopic

func (*OnsTrendTopicInputTpsRequest) SetType

func (OnsTrendTopicInputTpsRequest) String

type OnsTrendTopicInputTpsResponse

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

func (OnsTrendTopicInputTpsResponse) GoString

func (*OnsTrendTopicInputTpsResponse) SetBody

func (*OnsTrendTopicInputTpsResponse) SetHeaders

func (*OnsTrendTopicInputTpsResponse) SetStatusCode

func (OnsTrendTopicInputTpsResponse) String

type OnsTrendTopicInputTpsResponseBody

type OnsTrendTopicInputTpsResponseBody struct {
	// The data returned.
	Data *OnsTrendTopicInputTpsResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use the ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OnsTrendTopicInputTpsResponseBody) GoString

func (*OnsTrendTopicInputTpsResponseBody) SetRequestId

func (OnsTrendTopicInputTpsResponseBody) String

type OnsTrendTopicInputTpsResponseBodyData

type OnsTrendTopicInputTpsResponseBodyData struct {
	// The data set returned based on sampling period.
	Records *OnsTrendTopicInputTpsResponseBodyDataRecords `json:"Records,omitempty" xml:"Records,omitempty" type:"Struct"`
	// The name of the table.
	Title *string `json:"Title,omitempty" xml:"Title,omitempty"`
	// The unit of the timestamp.
	XUnit *string `json:"XUnit,omitempty" xml:"XUnit,omitempty"`
	// The unit of the Y axis.
	YUnit *string `json:"YUnit,omitempty" xml:"YUnit,omitempty"`
}

func (OnsTrendTopicInputTpsResponseBodyData) GoString

func (*OnsTrendTopicInputTpsResponseBodyData) SetTitle

func (*OnsTrendTopicInputTpsResponseBodyData) SetXUnit

func (*OnsTrendTopicInputTpsResponseBodyData) SetYUnit

func (OnsTrendTopicInputTpsResponseBodyData) String

type OnsTrendTopicInputTpsResponseBodyDataRecords

type OnsTrendTopicInputTpsResponseBodyDataRecords struct {
	StatsDataDo []*OnsTrendTopicInputTpsResponseBodyDataRecordsStatsDataDo `json:"StatsDataDo,omitempty" xml:"StatsDataDo,omitempty" type:"Repeated"`
}

func (OnsTrendTopicInputTpsResponseBodyDataRecords) GoString

func (OnsTrendTopicInputTpsResponseBodyDataRecords) String

type OnsTrendTopicInputTpsResponseBodyDataRecordsStatsDataDo

type OnsTrendTopicInputTpsResponseBodyDataRecordsStatsDataDo struct {
	// The X axis. The value of this parameter is a UNIX timestamp in milliseconds.
	X *int64 `json:"X,omitempty" xml:"X,omitempty"`
	// The Y axis. This parameter indicates the TPS for message publishing or the number of messages that are published.
	Y *float32 `json:"Y,omitempty" xml:"Y,omitempty"`
}

func (OnsTrendTopicInputTpsResponseBodyDataRecordsStatsDataDo) GoString

func (*OnsTrendTopicInputTpsResponseBodyDataRecordsStatsDataDo) SetX

func (*OnsTrendTopicInputTpsResponseBodyDataRecordsStatsDataDo) SetY

func (OnsTrendTopicInputTpsResponseBodyDataRecordsStatsDataDo) String

type OpenOnsServiceResponse

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

func (OpenOnsServiceResponse) GoString

func (s OpenOnsServiceResponse) GoString() string

func (*OpenOnsServiceResponse) SetBody

func (*OpenOnsServiceResponse) SetHeaders

func (*OpenOnsServiceResponse) SetStatusCode

func (OpenOnsServiceResponse) String

func (s OpenOnsServiceResponse) String() string

type OpenOnsServiceResponseBody

type OpenOnsServiceResponseBody struct {
	// The ID of the order.
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OpenOnsServiceResponseBody) GoString

func (s OpenOnsServiceResponseBody) GoString() string

func (*OpenOnsServiceResponseBody) SetOrderId

func (*OpenOnsServiceResponseBody) SetRequestId

func (OpenOnsServiceResponseBody) String

type TagResourcesRequest

type TagResourcesRequest struct {
	// The ID of the ApsaraMQ for RocketMQ instance that contains the resource to which you want to attach tags.
	//
	// > This parameter is required when you attach tags to a topic or a group.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The resource IDs.
	ResourceId []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"`
	// The type of the resource to which you want to attach tags. Valid values:
	//
	// *   **INSTANCE**
	// *   **TOPIC**
	// *   **GROUP**
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tags that you want to attach to the resource.
	Tag []*TagResourcesRequestTag `json:"Tag,omitempty" xml:"Tag,omitempty" type:"Repeated"`
}

func (TagResourcesRequest) GoString

func (s TagResourcesRequest) GoString() string

func (*TagResourcesRequest) SetInstanceId

func (s *TagResourcesRequest) SetInstanceId(v string) *TagResourcesRequest

func (*TagResourcesRequest) SetResourceId

func (s *TagResourcesRequest) SetResourceId(v []*string) *TagResourcesRequest

func (*TagResourcesRequest) SetResourceType

func (s *TagResourcesRequest) SetResourceType(v string) *TagResourcesRequest

func (*TagResourcesRequest) SetTag

func (TagResourcesRequest) String

func (s TagResourcesRequest) String() string

type TagResourcesRequestTag

type TagResourcesRequestTag struct {
	// The tag key. If you configure this parameter, you must also configure the **Value** parameter.****
	// *   The value of this parameter cannot be an empty string.
	// *   A tag key must be 1 to 128 characters in length and cannot contain `http://` or `https://`. A tag key cannot start with `acs:` or `aliyun`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The value of the tag that you want to attach to the resource. If you configure this parameter, you must also configure the **Key** parameter.****
	// *   The value of this parameter can be an empty string.
	// *   A tag value must be 1 to 128 characters in length and cannot contain `http://` or `https://`. A tag value cannot start with `acs:` or `aliyun`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (TagResourcesRequestTag) GoString

func (s TagResourcesRequestTag) GoString() string

func (*TagResourcesRequestTag) SetKey

func (*TagResourcesRequestTag) SetValue

func (TagResourcesRequestTag) String

func (s TagResourcesRequestTag) String() string

type TagResourcesResponse

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

func (TagResourcesResponse) GoString

func (s TagResourcesResponse) GoString() string

func (*TagResourcesResponse) SetBody

func (*TagResourcesResponse) SetHeaders

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

func (*TagResourcesResponse) SetStatusCode

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

func (TagResourcesResponse) String

func (s TagResourcesResponse) String() string

type TagResourcesResponseBody

type TagResourcesResponseBody struct {
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use the ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (TagResourcesResponseBody) GoString

func (s TagResourcesResponseBody) GoString() string

func (*TagResourcesResponseBody) SetRequestId

func (TagResourcesResponseBody) String

func (s TagResourcesResponseBody) String() string

type UntagResourcesRequest

type UntagResourcesRequest struct {
	// Specifies whether to remove all tags that are attached to the specified resource. This parameter takes effect only if the **TagKey** parameter is empty. Default value: **false**.
	All *bool `json:"All,omitempty" xml:"All,omitempty"`
	// This parameter is required when you detach tags from a topic or a group.
	InstanceId *string `json:"InstanceId,omitempty" xml:"InstanceId,omitempty"`
	// The resource IDs.
	ResourceId []*string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty" type:"Repeated"`
	// The type of the resource from which you want to detach tags. Valid values:
	//
	// *   **INSTANCE**
	// *   **TOPIC**
	// *   **GROUP**
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The tag keys of the resource.
	TagKey []*string `json:"TagKey,omitempty" xml:"TagKey,omitempty" type:"Repeated"`
}

func (UntagResourcesRequest) GoString

func (s UntagResourcesRequest) GoString() string

func (*UntagResourcesRequest) SetAll

func (*UntagResourcesRequest) SetInstanceId

func (s *UntagResourcesRequest) SetInstanceId(v string) *UntagResourcesRequest

func (*UntagResourcesRequest) SetResourceId

func (s *UntagResourcesRequest) SetResourceId(v []*string) *UntagResourcesRequest

func (*UntagResourcesRequest) SetResourceType

func (s *UntagResourcesRequest) SetResourceType(v string) *UntagResourcesRequest

func (*UntagResourcesRequest) SetTagKey

func (UntagResourcesRequest) String

func (s UntagResourcesRequest) String() string

type UntagResourcesResponse

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

func (UntagResourcesResponse) GoString

func (s UntagResourcesResponse) GoString() string

func (*UntagResourcesResponse) SetBody

func (*UntagResourcesResponse) SetHeaders

func (*UntagResourcesResponse) SetStatusCode

func (UntagResourcesResponse) String

func (s UntagResourcesResponse) String() string

type UntagResourcesResponseBody

type UntagResourcesResponseBody struct {
	// The ID of the request. This parameter is a common parameter. Each request has a unique ID. You can use the ID to troubleshoot issues.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UntagResourcesResponseBody) GoString

func (s UntagResourcesResponseBody) GoString() string

func (*UntagResourcesResponseBody) SetRequestId

func (UntagResourcesResponseBody) String

Jump to

Keyboard shortcuts

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