client

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

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 AttachPolicyRequest

type AttachPolicyRequest struct {
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the tag policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
	// The region ID. Set the value to cn-shanghai.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	// The ID of the object.
	//
	// >  If you use the Tag Policy feature in single-account mode, this parameter is optional. If you use the Tag Policy feature in multi-account mode, this feature is required.
	TargetId *string `json:"TargetId,omitempty" xml:"TargetId,omitempty"`
	// The type of the object. Valid values:
	//
	// *   USER: the current logon account. This value is available if you use the Tag Policy feature in single-account mode.
	// *   ROOT: the Root folder in a resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	// *   FOLDER: a folder other than the Root folder in a resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	// *   ACCOUNT: a member in a resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	//
	// >  If you use the Tag Policy feature in single-account mode, this parameter is optional. If you use the Tag Policy feature in multi-account mode, this feature is required. The value of this parameter is not case-sensitive.
	TargetType *string `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
}

func (AttachPolicyRequest) GoString

func (s AttachPolicyRequest) GoString() string

func (*AttachPolicyRequest) SetOwnerAccount

func (s *AttachPolicyRequest) SetOwnerAccount(v string) *AttachPolicyRequest

func (*AttachPolicyRequest) SetOwnerId

func (s *AttachPolicyRequest) SetOwnerId(v int64) *AttachPolicyRequest

func (*AttachPolicyRequest) SetPolicyId

func (s *AttachPolicyRequest) SetPolicyId(v string) *AttachPolicyRequest

func (*AttachPolicyRequest) SetRegionId

func (s *AttachPolicyRequest) SetRegionId(v string) *AttachPolicyRequest

func (*AttachPolicyRequest) SetResourceOwnerAccount

func (s *AttachPolicyRequest) SetResourceOwnerAccount(v string) *AttachPolicyRequest

func (*AttachPolicyRequest) SetTargetId

func (s *AttachPolicyRequest) SetTargetId(v string) *AttachPolicyRequest

func (*AttachPolicyRequest) SetTargetType

func (s *AttachPolicyRequest) SetTargetType(v string) *AttachPolicyRequest

func (AttachPolicyRequest) String

func (s AttachPolicyRequest) String() string

type AttachPolicyResponse

type AttachPolicyResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *AttachPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (AttachPolicyResponse) GoString

func (s AttachPolicyResponse) GoString() string

func (*AttachPolicyResponse) SetBody

func (*AttachPolicyResponse) SetHeaders

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

func (*AttachPolicyResponse) SetStatusCode

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

func (AttachPolicyResponse) String

func (s AttachPolicyResponse) String() string

type AttachPolicyResponseBody

type AttachPolicyResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (AttachPolicyResponseBody) GoString

func (s AttachPolicyResponseBody) GoString() string

func (*AttachPolicyResponseBody) SetRequestId

func (AttachPolicyResponseBody) String

func (s AttachPolicyResponseBody) String() string

type CheckCreatedByEnabledRequest added in v2.0.1

type CheckCreatedByEnabledRequest struct {
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *string `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (CheckCreatedByEnabledRequest) GoString added in v2.0.1

func (s CheckCreatedByEnabledRequest) GoString() string

func (*CheckCreatedByEnabledRequest) SetOwnerAccount added in v2.0.1

func (*CheckCreatedByEnabledRequest) SetOwnerId added in v2.0.1

func (*CheckCreatedByEnabledRequest) SetRegionId added in v2.0.1

func (*CheckCreatedByEnabledRequest) SetResourceOwnerAccount added in v2.0.1

func (s *CheckCreatedByEnabledRequest) SetResourceOwnerAccount(v string) *CheckCreatedByEnabledRequest

func (*CheckCreatedByEnabledRequest) SetResourceOwnerId added in v2.0.1

func (CheckCreatedByEnabledRequest) String added in v2.0.1

type CheckCreatedByEnabledResponse added in v2.0.1

type CheckCreatedByEnabledResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CheckCreatedByEnabledResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CheckCreatedByEnabledResponse) GoString added in v2.0.1

func (*CheckCreatedByEnabledResponse) SetBody added in v2.0.1

func (*CheckCreatedByEnabledResponse) SetHeaders added in v2.0.1

func (*CheckCreatedByEnabledResponse) SetStatusCode added in v2.0.1

func (CheckCreatedByEnabledResponse) String added in v2.0.1

type CheckCreatedByEnabledResponseBody added in v2.0.1

type CheckCreatedByEnabledResponseBody struct {
	OpenStatus *bool   `json:"OpenStatus,omitempty" xml:"OpenStatus,omitempty"`
	RequestId  *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CheckCreatedByEnabledResponseBody) GoString added in v2.0.1

func (*CheckCreatedByEnabledResponseBody) SetOpenStatus added in v2.0.1

func (*CheckCreatedByEnabledResponseBody) SetRequestId added in v2.0.1

func (CheckCreatedByEnabledResponseBody) String added in v2.0.1

type Client

type Client struct {
	openapi.Client
}

func NewClient

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

func (*Client) AttachPolicy

func (client *Client) AttachPolicy(request *AttachPolicyRequest) (_result *AttachPolicyResponse, _err error)

*

  • If you use the Tag Policy feature in single-account mode, you can call this API operation to attach a tag policy to the current logon account. If you use the Tag Policy feature in multi-account mode, you can call this API operation to attach a tag policy to the Root folder, a folder other than the Root folder, or a member in a resource directory. For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
  • This topic provides an example on how to call the API operation to attach the tag policy with an ID of `p-de62a0bf400e4b69****` to the current logon account. In this example, the Tag Policy feature in single-account mode is used. *
  • @param request AttachPolicyRequest
  • @return AttachPolicyResponse

func (*Client) AttachPolicyWithOptions

func (client *Client) AttachPolicyWithOptions(request *AttachPolicyRequest, runtime *util.RuntimeOptions) (_result *AttachPolicyResponse, _err error)

*

  • If you use the Tag Policy feature in single-account mode, you can call this API operation to attach a tag policy to the current logon account. If you use the Tag Policy feature in multi-account mode, you can call this API operation to attach a tag policy to the Root folder, a folder other than the Root folder, or a member in a resource directory. For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
  • This topic provides an example on how to call the API operation to attach the tag policy with an ID of `p-de62a0bf400e4b69****` to the current logon account. In this example, the Tag Policy feature in single-account mode is used. *
  • @param request AttachPolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return AttachPolicyResponse

func (*Client) CheckCreatedByEnabled added in v2.0.1

func (client *Client) CheckCreatedByEnabled(request *CheckCreatedByEnabledRequest) (_result *CheckCreatedByEnabledResponse, _err error)

func (*Client) CheckCreatedByEnabledWithOptions added in v2.0.1

func (client *Client) CheckCreatedByEnabledWithOptions(request *CheckCreatedByEnabledRequest, runtime *util.RuntimeOptions) (_result *CheckCreatedByEnabledResponse, _err error)

func (*Client) CloseCreatedBy added in v2.0.1

func (client *Client) CloseCreatedBy(request *CloseCreatedByRequest) (_result *CloseCreatedByResponse, _err error)

func (*Client) CloseCreatedByWithOptions added in v2.0.1

func (client *Client) CloseCreatedByWithOptions(request *CloseCreatedByRequest, runtime *util.RuntimeOptions) (_result *CloseCreatedByResponse, _err error)

func (*Client) CreatePolicy

func (client *Client) CreatePolicy(request *CreatePolicyRequest) (_result *CreatePolicyResponse, _err error)

*

  • ###
  • This topic provides an example on how to call the API operation to create a tag policy named `test`. In this example, the Tag Policy feature in multi-account mode is used. The tag policy defines that resources to which the `CostCenter:Beijing` or `CostCenter:Shanghai` tag is added are compliant and other resources are not compliant. *
  • @param request CreatePolicyRequest
  • @return CreatePolicyResponse

func (*Client) CreatePolicyWithOptions

func (client *Client) CreatePolicyWithOptions(request *CreatePolicyRequest, runtime *util.RuntimeOptions) (_result *CreatePolicyResponse, _err error)

*

  • ###
  • This topic provides an example on how to call the API operation to create a tag policy named `test`. In this example, the Tag Policy feature in multi-account mode is used. The tag policy defines that resources to which the `CostCenter:Beijing` or `CostCenter:Shanghai` tag is added are compliant and other resources are not compliant. *
  • @param request CreatePolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreatePolicyResponse

func (*Client) CreateTags

func (client *Client) CreateTags(request *CreateTagsRequest) (_result *CreateTagsResponse, _err error)

*

  • ###
  • A preset tag is a tag that you create in advance and is available for the resources in all regions. You can create preset tags in the stage of tag planning and add them to specific resources in the stage of tag implementation. When you create a preset tag, you can specify only the tag key. You can specify a tag value in the future.
  • This topic provides an example on how to call the API operation to create a preset tag whose tag key is `Environment` to indicate the business environment. *
  • @param request CreateTagsRequest
  • @return CreateTagsResponse

func (*Client) CreateTagsWithOptions

func (client *Client) CreateTagsWithOptions(request *CreateTagsRequest, runtime *util.RuntimeOptions) (_result *CreateTagsResponse, _err error)

*

  • ###
  • A preset tag is a tag that you create in advance and is available for the resources in all regions. You can create preset tags in the stage of tag planning and add them to specific resources in the stage of tag implementation. When you create a preset tag, you can specify only the tag key. You can specify a tag value in the future.
  • This topic provides an example on how to call the API operation to create a preset tag whose tag key is `Environment` to indicate the business environment. *
  • @param request CreateTagsRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateTagsResponse

func (*Client) DeletePolicy

func (client *Client) DeletePolicy(request *DeletePolicyRequest) (_result *DeletePolicyResponse, _err error)

*

  • Before you delete a tag policy, make sure that the tag policy is detached from all objects to which the tag policy is attached. For more information about how to detach a tag policy, see [DetachPolicy](~~429724~~).
  • This topic provides an example on how to call the API operation to delete the tag policy with an ID of `p-557cb141331f41c7****`. *
  • @param request DeletePolicyRequest
  • @return DeletePolicyResponse

func (*Client) DeletePolicyWithOptions

func (client *Client) DeletePolicyWithOptions(request *DeletePolicyRequest, runtime *util.RuntimeOptions) (_result *DeletePolicyResponse, _err error)

*

  • Before you delete a tag policy, make sure that the tag policy is detached from all objects to which the tag policy is attached. For more information about how to detach a tag policy, see [DetachPolicy](~~429724~~).
  • This topic provides an example on how to call the API operation to delete the tag policy with an ID of `p-557cb141331f41c7****`. *
  • @param request DeletePolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeletePolicyResponse

func (*Client) DeleteTag

func (client *Client) DeleteTag(request *DeleteTagRequest) (_result *DeleteTagResponse, _err error)

*

  • This topic provides an example on how to call the API operation to delete the preset tag whose tag key is `Environment` and tag value is `test`. *
  • @param request DeleteTagRequest
  • @return DeleteTagResponse

func (*Client) DeleteTagWithOptions

func (client *Client) DeleteTagWithOptions(request *DeleteTagRequest, runtime *util.RuntimeOptions) (_result *DeleteTagResponse, _err error)

*

  • This topic provides an example on how to call the API operation to delete the preset tag whose tag key is `Environment` and tag value is `test`. *
  • @param request DeleteTagRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteTagResponse

func (*Client) DescribeRegions

func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (_result *DescribeRegionsResponse, _err error)

func (*Client) DescribeRegionsWithOptions

func (client *Client) DescribeRegionsWithOptions(request *DescribeRegionsRequest, runtime *util.RuntimeOptions) (_result *DescribeRegionsResponse, _err error)

func (*Client) DetachPolicy

func (client *Client) DetachPolicy(request *DetachPolicyRequest) (_result *DetachPolicyResponse, _err error)

*

  • If you use the Tag Policy feature in single-account mode, you can call this API operation to detach a tag policy from the current logon account. If you use the Tag Policy feature in multi-account mode, you can call this API operation to detach a tag policy from the Root folder, a folder other than the Root folder, or a member in a resource directory. For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
  • This topic provides an example on how to call the API operation to detach the tag policy with an ID of `p-a3381efe2fe34a75****` from the current logon account. In this example, the Tag Policy feature in single-account mode is used. *
  • @param request DetachPolicyRequest
  • @return DetachPolicyResponse

func (*Client) DetachPolicyWithOptions

func (client *Client) DetachPolicyWithOptions(request *DetachPolicyRequest, runtime *util.RuntimeOptions) (_result *DetachPolicyResponse, _err error)

*

  • If you use the Tag Policy feature in single-account mode, you can call this API operation to detach a tag policy from the current logon account. If you use the Tag Policy feature in multi-account mode, you can call this API operation to detach a tag policy from the Root folder, a folder other than the Root folder, or a member in a resource directory. For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
  • This topic provides an example on how to call the API operation to detach the tag policy with an ID of `p-a3381efe2fe34a75****` from the current logon account. In this example, the Tag Policy feature in single-account mode is used. *
  • @param request DetachPolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return DetachPolicyResponse

func (*Client) DisablePolicyType

func (client *Client) DisablePolicyType(request *DisablePolicyTypeRequest) (_result *DisablePolicyTypeResponse, _err error)

func (*Client) DisablePolicyTypeWithOptions

func (client *Client) DisablePolicyTypeWithOptions(request *DisablePolicyTypeRequest, runtime *util.RuntimeOptions) (_result *DisablePolicyTypeResponse, _err error)

func (*Client) EnablePolicyType

func (client *Client) EnablePolicyType(request *EnablePolicyTypeRequest) (_result *EnablePolicyTypeResponse, _err error)

func (*Client) EnablePolicyTypeWithOptions

func (client *Client) EnablePolicyTypeWithOptions(request *EnablePolicyTypeRequest, runtime *util.RuntimeOptions) (_result *EnablePolicyTypeResponse, _err error)

func (*Client) GenerateConfigRuleReport

func (client *Client) GenerateConfigRuleReport(request *GenerateConfigRuleReportRequest) (_result *GenerateConfigRuleReportResponse, _err error)

*

  • If you use the Tag Policy feature in single-account mode, you can call this API operation to generate a resource non-compliance report for the current logon account. If you use the Tag Policy feature in multi-account mode, you can call this API operation to generate a resource non-compliance report for the Root folder, a folder other than the Root folder, or a member in a resource directory. For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
  • This topic provides an example on how to call this API operation to generate a resource non-compliance report for the current logon account. In this example, the Tag Policy feature in single-account mode is used. *
  • @param request GenerateConfigRuleReportRequest
  • @return GenerateConfigRuleReportResponse

func (*Client) GenerateConfigRuleReportWithOptions

func (client *Client) GenerateConfigRuleReportWithOptions(request *GenerateConfigRuleReportRequest, runtime *util.RuntimeOptions) (_result *GenerateConfigRuleReportResponse, _err error)

*

  • If you use the Tag Policy feature in single-account mode, you can call this API operation to generate a resource non-compliance report for the current logon account. If you use the Tag Policy feature in multi-account mode, you can call this API operation to generate a resource non-compliance report for the Root folder, a folder other than the Root folder, or a member in a resource directory. For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
  • This topic provides an example on how to call this API operation to generate a resource non-compliance report for the current logon account. In this example, the Tag Policy feature in single-account mode is used. *
  • @param request GenerateConfigRuleReportRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return GenerateConfigRuleReportResponse

func (*Client) GetConfigRuleReport

func (client *Client) GetConfigRuleReport(request *GetConfigRuleReportRequest) (_result *GetConfigRuleReportResponse, _err error)

*

  • If you use the Tag Policy feature in single-account mode, you can use the current logon account to call this API operation to query the basic information of the resource non-compliance report that is last generated for the account. If you use the Tag Policy feature in multi-account mode, you can use the management account of a resource directory to call this API operation to query the basic information of the resource non-compliance report that is last generated for an object in the resource directory. The object can be the Root folder, a folder other than the Root folder, or a member. For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
  • This topic provides an example on how to call this API operation to query the basic information of the resource non-compliance report that is last generated for the current logon account. In this example, the Tag Policy feature in single-account mode is used. The response shows that the ID of the report is `crp-ao0786618088006c****`. *
  • @param request GetConfigRuleReportRequest
  • @return GetConfigRuleReportResponse

func (*Client) GetConfigRuleReportWithOptions

func (client *Client) GetConfigRuleReportWithOptions(request *GetConfigRuleReportRequest, runtime *util.RuntimeOptions) (_result *GetConfigRuleReportResponse, _err error)

*

  • If you use the Tag Policy feature in single-account mode, you can use the current logon account to call this API operation to query the basic information of the resource non-compliance report that is last generated for the account. If you use the Tag Policy feature in multi-account mode, you can use the management account of a resource directory to call this API operation to query the basic information of the resource non-compliance report that is last generated for an object in the resource directory. The object can be the Root folder, a folder other than the Root folder, or a member. For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
  • This topic provides an example on how to call this API operation to query the basic information of the resource non-compliance report that is last generated for the current logon account. In this example, the Tag Policy feature in single-account mode is used. The response shows that the ID of the report is `crp-ao0786618088006c****`. *
  • @param request GetConfigRuleReportRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetConfigRuleReportResponse

func (*Client) GetEffectivePolicy

func (client *Client) GetEffectivePolicy(request *GetEffectivePolicyRequest) (_result *GetEffectivePolicyResponse, _err error)

*

  • If you use the Tag Policy feature in single-account mode, you can use the current logon account to call this API operation to query the effective tag policy for the account. If you use the Tag Policy feature in multi-account mode, you can use the management account of a resource directory to call this API operation to query the effective tag policy for the Root folder, a folder other than the Root folder, or a member in the resource directory. You can also use a member of a resource directory to call this API operation to query the effective tag policy for the member. For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
  • An effective tag policy is obtained based on tag policy inheritance. For more information, see [Inheritance of a tag policy and calculation of an effective tag policy](~~417435~~).
  • This topic provides an example on how to call the API operation to query the effective tag policy for the current logon account. In this example, the Tag Policy feature in single-account mode is used. *
  • @param request GetEffectivePolicyRequest
  • @return GetEffectivePolicyResponse

func (*Client) GetEffectivePolicyWithOptions

func (client *Client) GetEffectivePolicyWithOptions(request *GetEffectivePolicyRequest, runtime *util.RuntimeOptions) (_result *GetEffectivePolicyResponse, _err error)

*

  • If you use the Tag Policy feature in single-account mode, you can use the current logon account to call this API operation to query the effective tag policy for the account. If you use the Tag Policy feature in multi-account mode, you can use the management account of a resource directory to call this API operation to query the effective tag policy for the Root folder, a folder other than the Root folder, or a member in the resource directory. You can also use a member of a resource directory to call this API operation to query the effective tag policy for the member. For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
  • An effective tag policy is obtained based on tag policy inheritance. For more information, see [Inheritance of a tag policy and calculation of an effective tag policy](~~417435~~).
  • This topic provides an example on how to call the API operation to query the effective tag policy for the current logon account. In this example, the Tag Policy feature in single-account mode is used. *
  • @param request GetEffectivePolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetEffectivePolicyResponse

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

func (client *Client) GetPolicy(request *GetPolicyRequest) (_result *GetPolicyResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the details of the tag policy with an ID of `p-557cb141331f41c7****`. *
  • @param request GetPolicyRequest
  • @return GetPolicyResponse

func (*Client) GetPolicyEnableStatus

func (client *Client) GetPolicyEnableStatus(request *GetPolicyEnableStatusRequest) (_result *GetPolicyEnableStatusResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the status of the Tag Policy feature for the current logon account. The response shows that the Tag Policy feature in multi-account mode is enabled for the current logon account. *
  • @param request GetPolicyEnableStatusRequest
  • @return GetPolicyEnableStatusResponse

func (*Client) GetPolicyEnableStatusWithOptions

func (client *Client) GetPolicyEnableStatusWithOptions(request *GetPolicyEnableStatusRequest, runtime *util.RuntimeOptions) (_result *GetPolicyEnableStatusResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the status of the Tag Policy feature for the current logon account. The response shows that the Tag Policy feature in multi-account mode is enabled for the current logon account. *
  • @param request GetPolicyEnableStatusRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetPolicyEnableStatusResponse

func (*Client) GetPolicyWithOptions

func (client *Client) GetPolicyWithOptions(request *GetPolicyRequest, runtime *util.RuntimeOptions) (_result *GetPolicyResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the details of the tag policy with an ID of `p-557cb141331f41c7****`. *
  • @param request GetPolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetPolicyResponse

func (*Client) Init

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

func (*Client) ListConfigRulesForTarget

func (client *Client) ListConfigRulesForTarget(request *ListConfigRulesForTargetRequest) (_result *ListConfigRulesForTargetResponse, _err error)

*

  • If you use the Tag Policy feature in single-account mode, you can use the current logon account to call this API operation to query the tag detection tasks for the account. If you use the Tag Policy feature in multi-account mode, you can use the management account of a resource directory to call this API operation to query the tag detection tasks for the Root folder, a folder other than the Root folder, or a member in the resource directory. For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
  • This topic provides an example on how to call the API operation to query the tag detection tasks for the current logon account. In this example, the Tag Policy feature in single-account mode is used. The response shows that only one tag detection task exists. *
  • @param request ListConfigRulesForTargetRequest
  • @return ListConfigRulesForTargetResponse

func (*Client) ListConfigRulesForTargetWithOptions

func (client *Client) ListConfigRulesForTargetWithOptions(request *ListConfigRulesForTargetRequest, runtime *util.RuntimeOptions) (_result *ListConfigRulesForTargetResponse, _err error)

*

  • If you use the Tag Policy feature in single-account mode, you can use the current logon account to call this API operation to query the tag detection tasks for the account. If you use the Tag Policy feature in multi-account mode, you can use the management account of a resource directory to call this API operation to query the tag detection tasks for the Root folder, a folder other than the Root folder, or a member in the resource directory. For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
  • This topic provides an example on how to call the API operation to query the tag detection tasks for the current logon account. In this example, the Tag Policy feature in single-account mode is used. The response shows that only one tag detection task exists. *
  • @param request ListConfigRulesForTargetRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListConfigRulesForTargetResponse

func (*Client) ListPolicies

func (client *Client) ListPolicies(request *ListPoliciesRequest) (_result *ListPoliciesResponse, _err error)

*

  • If you use the Tag Policy feature in single-account mode, you can use the current logon account to call this API operation to query all tag policies that are created for the account. If you use the Tag Policy feature in multi-account mode, you can use the management account of a resource directory to call this API operation to query all tag policies that are created for the resource directory. For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
  • This topic provides an example on how to call the API operation to query all tag policies that are created for the current logon account. In this example, the Tag Policy feature in single-account mode is used. The response shows that two tag policies are created. *
  • @param request ListPoliciesRequest
  • @return ListPoliciesResponse

func (*Client) ListPoliciesForTarget

func (client *Client) ListPoliciesForTarget(request *ListPoliciesForTargetRequest) (_result *ListPoliciesForTargetResponse, _err error)

*

  • If you use the Tag Policy feature in single-account mode, you can use the current logon account to call this API operation to query the tag policies that are attached to the account. If you use the Tag Policy feature in multi-account mode, you can use the management account of a resource directory to call this API operation to query the tag policies that are attached to the Root folder, a folder other than the Root folder, or a member in the resource directory. For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
  • This topic provides an example on how to call the API operation to query the tag policies that are attached to the current logon account. In this example, the Tag Policy feature in single-account mode is used. The response shows that only one tag policy is attached to the current logon account. *
  • @param request ListPoliciesForTargetRequest
  • @return ListPoliciesForTargetResponse

func (*Client) ListPoliciesForTargetWithOptions

func (client *Client) ListPoliciesForTargetWithOptions(request *ListPoliciesForTargetRequest, runtime *util.RuntimeOptions) (_result *ListPoliciesForTargetResponse, _err error)

*

  • If you use the Tag Policy feature in single-account mode, you can use the current logon account to call this API operation to query the tag policies that are attached to the account. If you use the Tag Policy feature in multi-account mode, you can use the management account of a resource directory to call this API operation to query the tag policies that are attached to the Root folder, a folder other than the Root folder, or a member in the resource directory. For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
  • This topic provides an example on how to call the API operation to query the tag policies that are attached to the current logon account. In this example, the Tag Policy feature in single-account mode is used. The response shows that only one tag policy is attached to the current logon account. *
  • @param request ListPoliciesForTargetRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListPoliciesForTargetResponse

func (*Client) ListPoliciesWithOptions

func (client *Client) ListPoliciesWithOptions(request *ListPoliciesRequest, runtime *util.RuntimeOptions) (_result *ListPoliciesResponse, _err error)

*

  • If you use the Tag Policy feature in single-account mode, you can use the current logon account to call this API operation to query all tag policies that are created for the account. If you use the Tag Policy feature in multi-account mode, you can use the management account of a resource directory to call this API operation to query all tag policies that are created for the resource directory. For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
  • This topic provides an example on how to call the API operation to query all tag policies that are created for the current logon account. In this example, the Tag Policy feature in single-account mode is used. The response shows that two tag policies are created. *
  • @param request ListPoliciesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListPoliciesResponse

func (*Client) ListResourcesByTag

func (client *Client) ListResourcesByTag(request *ListResourcesByTagRequest) (_result *ListResourcesByTagResponse, _err error)

*

  • This topic provides an example on how to call the API operation in the China (Shenzhen) region to query virtual private clouds (VPCs) to which the tag key `k1` is added. The response shows that the tag key is added to two VPCs. *
  • @param request ListResourcesByTagRequest
  • @return ListResourcesByTagResponse

func (*Client) ListResourcesByTagWithOptions

func (client *Client) ListResourcesByTagWithOptions(request *ListResourcesByTagRequest, runtime *util.RuntimeOptions) (_result *ListResourcesByTagResponse, _err error)

*

  • This topic provides an example on how to call the API operation in the China (Shenzhen) region to query virtual private clouds (VPCs) to which the tag key `k1` is added. The response shows that the tag key is added to two VPCs. *
  • @param request ListResourcesByTagRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListResourcesByTagResponse

func (*Client) ListSupportResourceTypes

func (client *Client) ListSupportResourceTypes(request *ListSupportResourceTypesRequest) (_result *ListSupportResourceTypesResponse, _err error)

*

func (*Client) ListSupportResourceTypesWithOptions

func (client *Client) ListSupportResourceTypesWithOptions(request *ListSupportResourceTypesRequest, runtime *util.RuntimeOptions) (_result *ListSupportResourceTypesResponse, _err error)

*

func (*Client) ListTagKeys

func (client *Client) ListTagKeys(request *ListTagKeysRequest) (_result *ListTagKeysResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the tag keys in the `cn-hangzhou` region. The response shows that the following tag keys exist: `team`, `k1`, and `k2`. *
  • @param request ListTagKeysRequest
  • @return ListTagKeysResponse

func (*Client) ListTagKeysWithOptions

func (client *Client) ListTagKeysWithOptions(request *ListTagKeysRequest, runtime *util.RuntimeOptions) (_result *ListTagKeysResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the tag keys in the `cn-hangzhou` region. The response shows that the following tag keys exist: `team`, `k1`, and `k2`. *
  • @param request ListTagKeysRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListTagKeysResponse

func (*Client) ListTagResources

func (client *Client) ListTagResources(request *ListTagResourcesRequest) (_result *ListTagResourcesResponse, _err error)

*

  • For information about the Alibaba Cloud services that support tags, see [Services that work with Tag](~~171455~~). *
  • @param request ListTagResourcesRequest
  • @return ListTagResourcesResponse

func (*Client) ListTagResourcesWithOptions

func (client *Client) ListTagResourcesWithOptions(request *ListTagResourcesRequest, runtime *util.RuntimeOptions) (_result *ListTagResourcesResponse, _err error)

*

  • For information about the Alibaba Cloud services that support tags, see [Services that work with Tag](~~171455~~). *
  • @param request ListTagResourcesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListTagResourcesResponse

func (*Client) ListTagValues

func (client *Client) ListTagValues(request *ListTagValuesRequest) (_result *ListTagValuesResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the values of the tag key `k1` in the `cn-hangzhou` region. The response shows that the value of the tag key `k1` is `v1`. *
  • @param request ListTagValuesRequest
  • @return ListTagValuesResponse

func (*Client) ListTagValuesWithOptions

func (client *Client) ListTagValuesWithOptions(request *ListTagValuesRequest, runtime *util.RuntimeOptions) (_result *ListTagValuesResponse, _err error)

*

  • This topic provides an example on how to call the API operation to query the values of the tag key `k1` in the `cn-hangzhou` region. The response shows that the value of the tag key `k1` is `v1`. *
  • @param request ListTagValuesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListTagValuesResponse

func (*Client) ListTargetsForPolicy

func (client *Client) ListTargetsForPolicy(request *ListTargetsForPolicyRequest) (_result *ListTargetsForPolicyResponse, _err error)

*

  • If you use the Tag Policy feature in single-account mode, you can use the current logon account to call this API operation to query the object to which a tag policy is attached. The object is the current logon account. If you use the Tag Policy feature in multi-account mode, you can use the management account of a resource directory to call this API operation to query the objects to which a tag policy is attached. The objects include the Root folder, folders other than the Root folder, and members in the resource directory. For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
  • This topic provides an example on how to call the API operation to query the objects to which the tag policy with an ID of `p-de62a0bf400e4b69****` is attached. In this example, the Tag Policy feature in multi-account mode is used. The response shows that the tag policy is attached to two members in the related resource directory. *
  • @param request ListTargetsForPolicyRequest
  • @return ListTargetsForPolicyResponse

func (*Client) ListTargetsForPolicyWithOptions

func (client *Client) ListTargetsForPolicyWithOptions(request *ListTargetsForPolicyRequest, runtime *util.RuntimeOptions) (_result *ListTargetsForPolicyResponse, _err error)

*

  • If you use the Tag Policy feature in single-account mode, you can use the current logon account to call this API operation to query the object to which a tag policy is attached. The object is the current logon account. If you use the Tag Policy feature in multi-account mode, you can use the management account of a resource directory to call this API operation to query the objects to which a tag policy is attached. The objects include the Root folder, folders other than the Root folder, and members in the resource directory. For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
  • This topic provides an example on how to call the API operation to query the objects to which the tag policy with an ID of `p-de62a0bf400e4b69****` is attached. In this example, the Tag Policy feature in multi-account mode is used. The response shows that the tag policy is attached to two members in the related resource directory. *
  • @param request ListTargetsForPolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListTargetsForPolicyResponse

func (*Client) ModifyPolicy

func (client *Client) ModifyPolicy(request *ModifyPolicyRequest) (_result *ModifyPolicyResponse, _err error)

*

  • This topic provides an example on how to call the API operation to change the name of a tag policy to `test`. *
  • @param request ModifyPolicyRequest
  • @return ModifyPolicyResponse

func (*Client) ModifyPolicyWithOptions

func (client *Client) ModifyPolicyWithOptions(request *ModifyPolicyRequest, runtime *util.RuntimeOptions) (_result *ModifyPolicyResponse, _err error)

*

  • This topic provides an example on how to call the API operation to change the name of a tag policy to `test`. *
  • @param request ModifyPolicyRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return ModifyPolicyResponse

func (*Client) OpenCreatedBy added in v2.0.1

func (client *Client) OpenCreatedBy(request *OpenCreatedByRequest) (_result *OpenCreatedByResponse, _err error)

*

  • createdby tags can help you analyze costs and bills and manage the costs of cloud resources in an efficient manner. You can identify the creators of resources based on the createdby tags added to the resources. createdby tags are system tags that are provided by Alibaba Cloud and automatically added to resources. The key of createdby tags is `acs:tag:createdby`. *
  • @param request OpenCreatedByRequest
  • @return OpenCreatedByResponse

func (*Client) OpenCreatedByWithOptions added in v2.0.1

func (client *Client) OpenCreatedByWithOptions(request *OpenCreatedByRequest, runtime *util.RuntimeOptions) (_result *OpenCreatedByResponse, _err error)

*

  • createdby tags can help you analyze costs and bills and manage the costs of cloud resources in an efficient manner. You can identify the creators of resources based on the createdby tags added to the resources. createdby tags are system tags that are provided by Alibaba Cloud and automatically added to resources. The key of createdby tags is `acs:tag:createdby`. *
  • @param request OpenCreatedByRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return OpenCreatedByResponse

func (*Client) TagResources

func (client *Client) TagResources(request *TagResourcesRequest) (_result *TagResourcesResponse, _err error)

*

  • Tags are used to identify resources. Tags allow you to categorize, search for, and aggregate resources that have the same characteristics from different dimensions. This facilitates resource management. For more information, see [Tag overview](~~156983~~).
  • For information about the Alibaba Cloud services that support tags, see [Services that work with Tag](~~171455~~). *
  • @param request TagResourcesRequest
  • @return TagResourcesResponse

func (*Client) TagResourcesWithOptions

func (client *Client) TagResourcesWithOptions(request *TagResourcesRequest, runtime *util.RuntimeOptions) (_result *TagResourcesResponse, _err error)

*

  • Tags are used to identify resources. Tags allow you to categorize, search for, and aggregate resources that have the same characteristics from different dimensions. This facilitates resource management. For more information, see [Tag overview](~~156983~~).
  • For information about the Alibaba Cloud services that support tags, see [Services that work with Tag](~~171455~~). *
  • @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)

*

  • After you remove a tag, the tag is automatically deleted within 24 hours if it is not added to other resources.
  • For information about the Alibaba Cloud services that support tags, see [Services that work with Tag](~~171455~~). *
  • @param request UntagResourcesRequest
  • @return UntagResourcesResponse

func (*Client) UntagResourcesWithOptions

func (client *Client) UntagResourcesWithOptions(request *UntagResourcesRequest, runtime *util.RuntimeOptions) (_result *UntagResourcesResponse, _err error)

*

  • After you remove a tag, the tag is automatically deleted within 24 hours if it is not added to other resources.
  • For information about the Alibaba Cloud services that support tags, see [Services that work with Tag](~~171455~~). *
  • @param request UntagResourcesRequest
  • @param runtime runtime options for this request RuntimeOptions
  • @return UntagResourcesResponse

type CloseCreatedByRequest added in v2.0.1

type CloseCreatedByRequest struct {
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *string `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (CloseCreatedByRequest) GoString added in v2.0.1

func (s CloseCreatedByRequest) GoString() string

func (*CloseCreatedByRequest) SetOwnerAccount added in v2.0.1

func (s *CloseCreatedByRequest) SetOwnerAccount(v string) *CloseCreatedByRequest

func (*CloseCreatedByRequest) SetOwnerId added in v2.0.1

func (*CloseCreatedByRequest) SetRegionId added in v2.0.1

func (*CloseCreatedByRequest) SetResourceOwnerAccount added in v2.0.1

func (s *CloseCreatedByRequest) SetResourceOwnerAccount(v string) *CloseCreatedByRequest

func (*CloseCreatedByRequest) SetResourceOwnerId added in v2.0.1

func (s *CloseCreatedByRequest) SetResourceOwnerId(v string) *CloseCreatedByRequest

func (CloseCreatedByRequest) String added in v2.0.1

func (s CloseCreatedByRequest) String() string

type CloseCreatedByResponse added in v2.0.1

type CloseCreatedByResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CloseCreatedByResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CloseCreatedByResponse) GoString added in v2.0.1

func (s CloseCreatedByResponse) GoString() string

func (*CloseCreatedByResponse) SetBody added in v2.0.1

func (*CloseCreatedByResponse) SetHeaders added in v2.0.1

func (*CloseCreatedByResponse) SetStatusCode added in v2.0.1

func (CloseCreatedByResponse) String added in v2.0.1

func (s CloseCreatedByResponse) String() string

type CloseCreatedByResponseBody added in v2.0.1

type CloseCreatedByResponseBody struct {
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CloseCreatedByResponseBody) GoString added in v2.0.1

func (s CloseCreatedByResponseBody) GoString() string

func (*CloseCreatedByResponseBody) SetRequestId added in v2.0.1

func (CloseCreatedByResponseBody) String added in v2.0.1

type CreatePolicyRequest

type CreatePolicyRequest struct {
	// Specifies whether to perform only a dry run, without performing the actual request. Valid values:
	//
	// *   false (default): performs a dry run and performs the actual request.
	// *   true: performs only a dry run.
	DryRun       *bool   `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The document of the tag policy.
	//
	// For more information about the syntax of a tag policy, see [Syntax of a tag policy](~~417436~~).
	PolicyContent *string `json:"PolicyContent,omitempty" xml:"PolicyContent,omitempty"`
	// The description of the tag policy.
	//
	// The description must be 0 to 512 characters in length.
	PolicyDesc *string `json:"PolicyDesc,omitempty" xml:"PolicyDesc,omitempty"`
	// The name of the tag policy.
	//
	// The name must be 1 to 128 characters in length and can contain letters, digits, and underscores (\_).
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The region ID. Set the value to cn-shanghai.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	// The mode of the Tag Policy feature. Valid values:
	//
	// *   USER: single-account mode. Set the value to USER if you use an Alibaba Cloud account or a member of a resource directory to call this API operation to create a tag policy for the Alibaba Cloud account or member.
	// *   RD: multi-account mode. Set the value to RD if you use the management account of a resource directory to call this API operation to create a tag policy for the resource directory.
	//
	// For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
	UserType *string `json:"UserType,omitempty" xml:"UserType,omitempty"`
}

func (CreatePolicyRequest) GoString

func (s CreatePolicyRequest) GoString() string

func (*CreatePolicyRequest) SetDryRun

func (s *CreatePolicyRequest) SetDryRun(v bool) *CreatePolicyRequest

func (*CreatePolicyRequest) SetOwnerAccount

func (s *CreatePolicyRequest) SetOwnerAccount(v string) *CreatePolicyRequest

func (*CreatePolicyRequest) SetOwnerId

func (s *CreatePolicyRequest) SetOwnerId(v int64) *CreatePolicyRequest

func (*CreatePolicyRequest) SetPolicyContent

func (s *CreatePolicyRequest) SetPolicyContent(v string) *CreatePolicyRequest

func (*CreatePolicyRequest) SetPolicyDesc

func (s *CreatePolicyRequest) SetPolicyDesc(v string) *CreatePolicyRequest

func (*CreatePolicyRequest) SetPolicyName

func (s *CreatePolicyRequest) SetPolicyName(v string) *CreatePolicyRequest

func (*CreatePolicyRequest) SetRegionId

func (s *CreatePolicyRequest) SetRegionId(v string) *CreatePolicyRequest

func (*CreatePolicyRequest) SetResourceOwnerAccount

func (s *CreatePolicyRequest) SetResourceOwnerAccount(v string) *CreatePolicyRequest

func (*CreatePolicyRequest) SetUserType

func (s *CreatePolicyRequest) SetUserType(v string) *CreatePolicyRequest

func (CreatePolicyRequest) String

func (s CreatePolicyRequest) String() string

type CreatePolicyResponse

type CreatePolicyResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreatePolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreatePolicyResponse) GoString

func (s CreatePolicyResponse) GoString() string

func (*CreatePolicyResponse) SetBody

func (*CreatePolicyResponse) SetHeaders

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

func (*CreatePolicyResponse) SetStatusCode

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

func (CreatePolicyResponse) String

func (s CreatePolicyResponse) String() string

type CreatePolicyResponseBody

type CreatePolicyResponseBody struct {
	// The ID of the tag policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
	// The name of the tag policy.
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreatePolicyResponseBody) GoString

func (s CreatePolicyResponseBody) GoString() string

func (*CreatePolicyResponseBody) SetPolicyId

func (*CreatePolicyResponseBody) SetPolicyName added in v2.0.2

func (*CreatePolicyResponseBody) SetRequestId

func (CreatePolicyResponseBody) String

func (s CreatePolicyResponseBody) String() string

type CreateTagsRequest

type CreateTagsRequest struct {
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID.
	//
	// > Only `cn-hangzhou` is supported.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	// The information about the tags.
	TagKeyValueParamList []*CreateTagsRequestTagKeyValueParamList `json:"TagKeyValueParamList,omitempty" xml:"TagKeyValueParamList,omitempty" type:"Repeated"`
}

func (CreateTagsRequest) GoString

func (s CreateTagsRequest) GoString() string

func (*CreateTagsRequest) SetOwnerAccount

func (s *CreateTagsRequest) SetOwnerAccount(v string) *CreateTagsRequest

func (*CreateTagsRequest) SetOwnerId

func (s *CreateTagsRequest) SetOwnerId(v int64) *CreateTagsRequest

func (*CreateTagsRequest) SetRegionId

func (s *CreateTagsRequest) SetRegionId(v string) *CreateTagsRequest

func (*CreateTagsRequest) SetResourceOwnerAccount

func (s *CreateTagsRequest) SetResourceOwnerAccount(v string) *CreateTagsRequest

func (*CreateTagsRequest) SetTagKeyValueParamList

func (CreateTagsRequest) String

func (s CreateTagsRequest) String() string

type CreateTagsRequestTagKeyValueParamList

type CreateTagsRequestTagKeyValueParamList struct {
	// The description of the key for tag N.
	//
	// Valid values of N: 1 to 10.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The key of tag N.
	//
	// The tag key can be up to 128 characters in length and cannot contain `http://` or `https://`. The tag key cannot start with `acs:` or `aliyun`.
	//
	// Valid values of N: 1 to 10.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The information about the tag value.
	TagValueParamList []*CreateTagsRequestTagKeyValueParamListTagValueParamList `json:"TagValueParamList,omitempty" xml:"TagValueParamList,omitempty" type:"Repeated"`
}

func (CreateTagsRequestTagKeyValueParamList) GoString

func (*CreateTagsRequestTagKeyValueParamList) SetDescription

func (*CreateTagsRequestTagKeyValueParamList) SetKey

func (CreateTagsRequestTagKeyValueParamList) String

type CreateTagsRequestTagKeyValueParamListTagValueParamList

type CreateTagsRequestTagKeyValueParamListTagValueParamList struct {
	// The description of the value for tag N.
	//
	// Valid values of N: 1 to 10.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The value of tag N.
	//
	// The tag value can be up to 128 characters in length and cannot contain `http://` or `https://`.
	//
	// Valid values of N: 1 to 10.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (CreateTagsRequestTagKeyValueParamListTagValueParamList) GoString

func (*CreateTagsRequestTagKeyValueParamListTagValueParamList) SetDescription

func (*CreateTagsRequestTagKeyValueParamListTagValueParamList) SetValue

func (CreateTagsRequestTagKeyValueParamListTagValueParamList) String

type CreateTagsResponse

type CreateTagsResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateTagsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateTagsResponse) GoString

func (s CreateTagsResponse) GoString() string

func (*CreateTagsResponse) SetBody

func (*CreateTagsResponse) SetHeaders

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

func (*CreateTagsResponse) SetStatusCode

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

func (CreateTagsResponse) String

func (s CreateTagsResponse) String() string

type CreateTagsResponseBody

type CreateTagsResponseBody struct {
	// The request ID.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateTagsResponseBody) GoString

func (s CreateTagsResponseBody) GoString() string

func (*CreateTagsResponseBody) SetRequestId

func (CreateTagsResponseBody) String

func (s CreateTagsResponseBody) String() string

type DeletePolicyRequest

type DeletePolicyRequest struct {
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the tag policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
	// The region ID. Set the value to cn-shanghai.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
}

func (DeletePolicyRequest) GoString

func (s DeletePolicyRequest) GoString() string

func (*DeletePolicyRequest) SetOwnerAccount

func (s *DeletePolicyRequest) SetOwnerAccount(v string) *DeletePolicyRequest

func (*DeletePolicyRequest) SetOwnerId

func (s *DeletePolicyRequest) SetOwnerId(v int64) *DeletePolicyRequest

func (*DeletePolicyRequest) SetPolicyId

func (s *DeletePolicyRequest) SetPolicyId(v string) *DeletePolicyRequest

func (*DeletePolicyRequest) SetRegionId

func (s *DeletePolicyRequest) SetRegionId(v string) *DeletePolicyRequest

func (*DeletePolicyRequest) SetResourceOwnerAccount

func (s *DeletePolicyRequest) SetResourceOwnerAccount(v string) *DeletePolicyRequest

func (DeletePolicyRequest) String

func (s DeletePolicyRequest) String() string

type DeletePolicyResponse

type DeletePolicyResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeletePolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeletePolicyResponse) GoString

func (s DeletePolicyResponse) GoString() string

func (*DeletePolicyResponse) SetBody

func (*DeletePolicyResponse) SetHeaders

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

func (*DeletePolicyResponse) SetStatusCode

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

func (DeletePolicyResponse) String

func (s DeletePolicyResponse) String() string

type DeletePolicyResponseBody

type DeletePolicyResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeletePolicyResponseBody) GoString

func (s DeletePolicyResponseBody) GoString() string

func (*DeletePolicyResponseBody) SetRequestId

func (DeletePolicyResponseBody) String

func (s DeletePolicyResponseBody) String() string

type DeleteTagRequest

type DeleteTagRequest struct {
	// The tag key.
	//
	// If no tag value is associated with a tag key, you can specify the `Key` parameter without specifying the Value parameter to delete the tag key. Otherwise, you must specify both the `Key` and `Value` parameters to delete a preset tag.
	Key          *string `json:"Key,omitempty" xml:"Key,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID.
	//
	// >  Only `cn-hangzhou` is supported.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	// The tag value.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (DeleteTagRequest) GoString

func (s DeleteTagRequest) GoString() string

func (*DeleteTagRequest) SetKey

func (*DeleteTagRequest) SetOwnerAccount

func (s *DeleteTagRequest) SetOwnerAccount(v string) *DeleteTagRequest

func (*DeleteTagRequest) SetOwnerId

func (s *DeleteTagRequest) SetOwnerId(v int64) *DeleteTagRequest

func (*DeleteTagRequest) SetRegionId

func (s *DeleteTagRequest) SetRegionId(v string) *DeleteTagRequest

func (*DeleteTagRequest) SetResourceOwnerAccount

func (s *DeleteTagRequest) SetResourceOwnerAccount(v string) *DeleteTagRequest

func (*DeleteTagRequest) SetValue

func (s *DeleteTagRequest) SetValue(v string) *DeleteTagRequest

func (DeleteTagRequest) String

func (s DeleteTagRequest) String() string

type DeleteTagResponse

type DeleteTagResponse struct {
	Headers    map[string]*string     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DeleteTagResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DeleteTagResponse) GoString

func (s DeleteTagResponse) GoString() string

func (*DeleteTagResponse) SetBody

func (*DeleteTagResponse) SetHeaders

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

func (*DeleteTagResponse) SetStatusCode

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

func (DeleteTagResponse) String

func (s DeleteTagResponse) String() string

type DeleteTagResponseBody

type DeleteTagResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DeleteTagResponseBody) GoString

func (s DeleteTagResponseBody) GoString() string

func (*DeleteTagResponseBody) SetRequestId

func (DeleteTagResponseBody) String

func (s DeleteTagResponseBody) String() string

type DescribeRegionsRequest

type DescribeRegionsRequest struct {
	// The supported natural language. Valid values:
	//
	// *   zh-CN: Chinese (default value)
	// *   en-US: English
	// *   ja: Japanese
	AcceptLanguage *string `json:"AcceptLanguage,omitempty" xml:"AcceptLanguage,omitempty"`
	OwnerAccount   *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId        *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the region.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *int64  `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (DescribeRegionsRequest) GoString

func (s DescribeRegionsRequest) GoString() string

func (*DescribeRegionsRequest) SetAcceptLanguage

func (s *DescribeRegionsRequest) SetAcceptLanguage(v string) *DescribeRegionsRequest

func (*DescribeRegionsRequest) SetOwnerAccount

func (s *DescribeRegionsRequest) SetOwnerAccount(v string) *DescribeRegionsRequest

func (*DescribeRegionsRequest) SetOwnerId

func (*DescribeRegionsRequest) SetRegionId

func (*DescribeRegionsRequest) SetResourceOwnerAccount

func (s *DescribeRegionsRequest) SetResourceOwnerAccount(v string) *DescribeRegionsRequest

func (*DescribeRegionsRequest) SetResourceOwnerId

func (s *DescribeRegionsRequest) SetResourceOwnerId(v int64) *DescribeRegionsRequest

func (DescribeRegionsRequest) String

func (s DescribeRegionsRequest) String() string

type DescribeRegionsResponse

type DescribeRegionsResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DescribeRegionsResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DescribeRegionsResponse) GoString

func (s DescribeRegionsResponse) GoString() string

func (*DescribeRegionsResponse) SetBody

func (*DescribeRegionsResponse) SetHeaders

func (*DescribeRegionsResponse) SetStatusCode

func (DescribeRegionsResponse) String

func (s DescribeRegionsResponse) String() string

type DescribeRegionsResponseBody

type DescribeRegionsResponseBody struct {
	// The information of the regions.
	Regions *DescribeRegionsResponseBodyRegions `json:"Regions,omitempty" xml:"Regions,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DescribeRegionsResponseBody) GoString

func (s DescribeRegionsResponseBody) GoString() string

func (*DescribeRegionsResponseBody) SetRegions

func (*DescribeRegionsResponseBody) SetRequestId

func (DescribeRegionsResponseBody) String

type DescribeRegionsResponseBodyRegions

type DescribeRegionsResponseBodyRegions struct {
	Region []*DescribeRegionsResponseBodyRegionsRegion `json:"Region,omitempty" xml:"Region,omitempty" type:"Repeated"`
}

func (DescribeRegionsResponseBodyRegions) GoString

func (DescribeRegionsResponseBodyRegions) String

type DescribeRegionsResponseBodyRegionsRegion

type DescribeRegionsResponseBodyRegionsRegion struct {
	// The name of the region.
	LocalName *string `json:"LocalName,omitempty" xml:"LocalName,omitempty"`
	// The endpoint of the Tag service in the region.
	RegionEndpoint *string `json:"RegionEndpoint,omitempty" xml:"RegionEndpoint,omitempty"`
	// The ID of the region.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
}

func (DescribeRegionsResponseBodyRegionsRegion) GoString

func (*DescribeRegionsResponseBodyRegionsRegion) SetLocalName

func (*DescribeRegionsResponseBodyRegionsRegion) SetRegionEndpoint

func (*DescribeRegionsResponseBodyRegionsRegion) SetRegionId

func (DescribeRegionsResponseBodyRegionsRegion) String

type DetachPolicyRequest

type DetachPolicyRequest struct {
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the tag policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
	// The region ID. Set the value to cn-shanghai.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	// The ID of the object.
	//
	// >  If you use the Tag Policy feature in single-account mode, this parameter is optional. If you use the Tag Policy feature in multi-account mode, this feature is required.
	TargetId *string `json:"TargetId,omitempty" xml:"TargetId,omitempty"`
	// The type of the object. Valid values:
	//
	// *   USER: the current logon account. This value is available if you use the Tag Policy feature in single-account mode.
	// *   ROOT: the Root folder in a resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	// *   FOLDER: a folder other than the Root folder in a resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	// *   ACCOUNT: a member in a resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	//
	// >  If you use the Tag Policy feature in single-account mode, this parameter is optional. If you use the Tag Policy feature in multi-account mode, this feature is required. The value of this parameter is not case-sensitive.
	TargetType *string `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
}

func (DetachPolicyRequest) GoString

func (s DetachPolicyRequest) GoString() string

func (*DetachPolicyRequest) SetOwnerAccount

func (s *DetachPolicyRequest) SetOwnerAccount(v string) *DetachPolicyRequest

func (*DetachPolicyRequest) SetOwnerId

func (s *DetachPolicyRequest) SetOwnerId(v int64) *DetachPolicyRequest

func (*DetachPolicyRequest) SetPolicyId

func (s *DetachPolicyRequest) SetPolicyId(v string) *DetachPolicyRequest

func (*DetachPolicyRequest) SetRegionId

func (s *DetachPolicyRequest) SetRegionId(v string) *DetachPolicyRequest

func (*DetachPolicyRequest) SetResourceOwnerAccount

func (s *DetachPolicyRequest) SetResourceOwnerAccount(v string) *DetachPolicyRequest

func (*DetachPolicyRequest) SetTargetId

func (s *DetachPolicyRequest) SetTargetId(v string) *DetachPolicyRequest

func (*DetachPolicyRequest) SetTargetType

func (s *DetachPolicyRequest) SetTargetType(v string) *DetachPolicyRequest

func (DetachPolicyRequest) String

func (s DetachPolicyRequest) String() string

type DetachPolicyResponse

type DetachPolicyResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DetachPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DetachPolicyResponse) GoString

func (s DetachPolicyResponse) GoString() string

func (*DetachPolicyResponse) SetBody

func (*DetachPolicyResponse) SetHeaders

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

func (*DetachPolicyResponse) SetStatusCode

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

func (DetachPolicyResponse) String

func (s DetachPolicyResponse) String() string

type DetachPolicyResponseBody

type DetachPolicyResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DetachPolicyResponseBody) GoString

func (s DetachPolicyResponseBody) GoString() string

func (*DetachPolicyResponseBody) SetRequestId

func (DetachPolicyResponseBody) String

func (s DetachPolicyResponseBody) String() string

type DisablePolicyTypeRequest

type DisablePolicyTypeRequest struct {
	OpenType             *string `json:"OpenType,omitempty" xml:"OpenType,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *string `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	UserType             *string `json:"UserType,omitempty" xml:"UserType,omitempty"`
}

func (DisablePolicyTypeRequest) GoString

func (s DisablePolicyTypeRequest) GoString() string

func (*DisablePolicyTypeRequest) SetOpenType added in v2.0.3

func (*DisablePolicyTypeRequest) SetOwnerAccount

func (*DisablePolicyTypeRequest) SetOwnerId

func (*DisablePolicyTypeRequest) SetRegionId

func (*DisablePolicyTypeRequest) SetResourceOwnerAccount

func (s *DisablePolicyTypeRequest) SetResourceOwnerAccount(v string) *DisablePolicyTypeRequest

func (*DisablePolicyTypeRequest) SetResourceOwnerId

func (s *DisablePolicyTypeRequest) SetResourceOwnerId(v string) *DisablePolicyTypeRequest

func (*DisablePolicyTypeRequest) SetUserType

func (DisablePolicyTypeRequest) String

func (s DisablePolicyTypeRequest) String() string

type DisablePolicyTypeResponse

type DisablePolicyTypeResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *DisablePolicyTypeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (DisablePolicyTypeResponse) GoString

func (s DisablePolicyTypeResponse) GoString() string

func (*DisablePolicyTypeResponse) SetBody

func (*DisablePolicyTypeResponse) SetHeaders

func (*DisablePolicyTypeResponse) SetStatusCode

func (DisablePolicyTypeResponse) String

func (s DisablePolicyTypeResponse) String() string

type DisablePolicyTypeResponseBody

type DisablePolicyTypeResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (DisablePolicyTypeResponseBody) GoString

func (*DisablePolicyTypeResponseBody) SetRequestId

func (DisablePolicyTypeResponseBody) String

type EnablePolicyTypeRequest

type EnablePolicyTypeRequest struct {
	OpenType             *string `json:"OpenType,omitempty" xml:"OpenType,omitempty"`
	OwnerAccount         *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId              *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *string `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	UserType             *string `json:"UserType,omitempty" xml:"UserType,omitempty"`
}

func (EnablePolicyTypeRequest) GoString

func (s EnablePolicyTypeRequest) GoString() string

func (*EnablePolicyTypeRequest) SetOpenType added in v2.0.3

func (*EnablePolicyTypeRequest) SetOwnerAccount

func (*EnablePolicyTypeRequest) SetOwnerId

func (*EnablePolicyTypeRequest) SetRegionId

func (*EnablePolicyTypeRequest) SetResourceOwnerAccount

func (s *EnablePolicyTypeRequest) SetResourceOwnerAccount(v string) *EnablePolicyTypeRequest

func (*EnablePolicyTypeRequest) SetResourceOwnerId

func (s *EnablePolicyTypeRequest) SetResourceOwnerId(v string) *EnablePolicyTypeRequest

func (*EnablePolicyTypeRequest) SetUserType

func (EnablePolicyTypeRequest) String

func (s EnablePolicyTypeRequest) String() string

type EnablePolicyTypeResponse

type EnablePolicyTypeResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *EnablePolicyTypeResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (EnablePolicyTypeResponse) GoString

func (s EnablePolicyTypeResponse) GoString() string

func (*EnablePolicyTypeResponse) SetBody

func (*EnablePolicyTypeResponse) SetHeaders

func (*EnablePolicyTypeResponse) SetStatusCode

func (EnablePolicyTypeResponse) String

func (s EnablePolicyTypeResponse) String() string

type EnablePolicyTypeResponseBody

type EnablePolicyTypeResponseBody struct {
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (EnablePolicyTypeResponseBody) GoString

func (s EnablePolicyTypeResponseBody) GoString() string

func (*EnablePolicyTypeResponseBody) SetRequestId

func (EnablePolicyTypeResponseBody) String

type GenerateConfigRuleReportRequest

type GenerateConfigRuleReportRequest struct {
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. Set the value to cn-shanghai.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	// The ID of the object.
	TargetId *string `json:"TargetId,omitempty" xml:"TargetId,omitempty"`
	// The type of the object. Valid values:
	//
	// *   USER: the current logon account. This value is available if you use the Tag Policy feature in single-account mode.
	// *   ROOT: the Root folder in a resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	// *   FOLDER: a folder other than the Root folder in a resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	// *   ACCOUNT: a member in a resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	//
	// >  The value of this parameter is not case-sensitive.
	TargetType *string `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
	// The mode of the Tag Policy feature. Valid values:
	//
	// *   USER: single-account mode
	// *   RD: multi-account mode
	//
	// For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
	//
	// >  This parameter is required if the management account of your resource directory is used to enable the Tag Policy feature in both single-account mode and multi-account mode. The value of this parameter is not case-sensitive.
	UserType *string `json:"UserType,omitempty" xml:"UserType,omitempty"`
}

func (GenerateConfigRuleReportRequest) GoString

func (*GenerateConfigRuleReportRequest) SetOwnerAccount

func (*GenerateConfigRuleReportRequest) SetOwnerId

func (*GenerateConfigRuleReportRequest) SetRegionId

func (*GenerateConfigRuleReportRequest) SetResourceOwnerAccount

func (*GenerateConfigRuleReportRequest) SetTargetId

func (*GenerateConfigRuleReportRequest) SetTargetType

func (*GenerateConfigRuleReportRequest) SetUserType

func (GenerateConfigRuleReportRequest) String

type GenerateConfigRuleReportResponse

type GenerateConfigRuleReportResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GenerateConfigRuleReportResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GenerateConfigRuleReportResponse) GoString

func (*GenerateConfigRuleReportResponse) SetHeaders

func (*GenerateConfigRuleReportResponse) SetStatusCode

func (GenerateConfigRuleReportResponse) String

type GenerateConfigRuleReportResponseBody

type GenerateConfigRuleReportResponseBody struct {
	// The ID of the resource non-compliance report.
	ReportId *string `json:"ReportId,omitempty" xml:"ReportId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GenerateConfigRuleReportResponseBody) GoString

func (*GenerateConfigRuleReportResponseBody) SetReportId

func (*GenerateConfigRuleReportResponseBody) SetRequestId

func (GenerateConfigRuleReportResponseBody) String

type GetConfigRuleReportRequest

type GetConfigRuleReportRequest struct {
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. Set the value to cn-shanghai.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	// The ID of the object.
	TargetId *string `json:"TargetId,omitempty" xml:"TargetId,omitempty"`
	// The type of the object. Valid values:
	//
	// *   USER: the current logon account. This value is available if you use the Tag Policy feature in single-account mode.
	// *   ROOT: the Root folder in a resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	// *   FOLDER: a folder other than the Root folder in a resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	// *   ACCOUNT: a member in a resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	//
	// >  The value of this parameter is not case-sensitive.
	TargetType *string `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
	// The mode of the Tag Policy feature. Valid values:
	//
	// *   USER: single-account mode
	// *   RD: multi-account mode
	//
	// For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
	//
	// >  The value of this parameter is not case-sensitive.
	UserType *string `json:"UserType,omitempty" xml:"UserType,omitempty"`
}

func (GetConfigRuleReportRequest) GoString

func (s GetConfigRuleReportRequest) GoString() string

func (*GetConfigRuleReportRequest) SetOwnerAccount

func (*GetConfigRuleReportRequest) SetOwnerId

func (*GetConfigRuleReportRequest) SetRegionId

func (*GetConfigRuleReportRequest) SetResourceOwnerAccount

func (s *GetConfigRuleReportRequest) SetResourceOwnerAccount(v string) *GetConfigRuleReportRequest

func (*GetConfigRuleReportRequest) SetTargetId

func (*GetConfigRuleReportRequest) SetTargetType

func (*GetConfigRuleReportRequest) SetUserType

func (GetConfigRuleReportRequest) String

type GetConfigRuleReportResponse

type GetConfigRuleReportResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetConfigRuleReportResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetConfigRuleReportResponse) GoString

func (s GetConfigRuleReportResponse) GoString() string

func (*GetConfigRuleReportResponse) SetBody

func (*GetConfigRuleReportResponse) SetHeaders

func (*GetConfigRuleReportResponse) SetStatusCode

func (GetConfigRuleReportResponse) String

type GetConfigRuleReportResponseBody

type GetConfigRuleReportResponseBody struct {
	// The basic information of the resource non-compliance report that is last generated.
	Data *GetConfigRuleReportResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// The HTTP status code.
	HttpStatusCode *int32 `json:"HttpStatusCode,omitempty" xml:"HttpStatusCode,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// Indicates whether the request is successful. Valid values:
	//
	// *   true: The request is successful.
	// *   false: The request fails.
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
}

func (GetConfigRuleReportResponseBody) GoString

func (*GetConfigRuleReportResponseBody) SetHttpStatusCode

func (*GetConfigRuleReportResponseBody) SetRequestId

func (*GetConfigRuleReportResponseBody) SetSuccess

func (GetConfigRuleReportResponseBody) String

type GetConfigRuleReportResponseBodyData

type GetConfigRuleReportResponseBodyData struct {
	// The time when the report was generated. This value is a UNIX timestamp.
	CreatedTime *int64 `json:"CreatedTime,omitempty" xml:"CreatedTime,omitempty"`
	// The ID of the report.
	ReportId *string `json:"ReportId,omitempty" xml:"ReportId,omitempty"`
	// The ID of the object.
	//
	// >  This parameter is returned if you set the `TargetType` and `TargetId` parameters in the current request to the same values as the parameters that are configured when you call the [GenerateConfigRuleReport](~~433313~~) operation to generate the report.
	TargetId *string `json:"TargetId,omitempty" xml:"TargetId,omitempty"`
	// The type of the object. Valid values:
	//
	// *   USER: the current logon account. This value is available if you use the Tag Policy feature in single-account mode.
	// *   ROOT: the Root folder in the resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	// *   FOLDER: a folder other than the Root folder in the resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	// *   ACCOUNT: a member in the resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	//
	// >  This parameter is returned if you set the `TargetType` and `TargetId` parameters in the current request to the same values as the parameters that are configured when you call the [GenerateConfigRuleReport](~~433313~~) operation to generate the report.
	TargetType *string `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
}

func (GetConfigRuleReportResponseBodyData) GoString

func (*GetConfigRuleReportResponseBodyData) SetCreatedTime

func (*GetConfigRuleReportResponseBodyData) SetReportId

func (*GetConfigRuleReportResponseBodyData) SetTargetId

func (*GetConfigRuleReportResponseBodyData) SetTargetType

func (GetConfigRuleReportResponseBodyData) String

type GetEffectivePolicyRequest

type GetEffectivePolicyRequest struct {
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. Set the value to cn-shanghai.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	// The ID of the object.
	//
	// >  If you use the Tag Policy feature in single-account mode, this parameter is optional. If you use the Tag Policy feature in multi-account mode, this feature is required.
	TargetId *string `json:"TargetId,omitempty" xml:"TargetId,omitempty"`
	// The type of the object. Valid values:
	//
	// *   USER: the current logon account. This value is available if you use the Tag Policy feature in single-account mode.
	// *   ROOT: the Root folder in a resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	// *   FOLDER: a folder other than the Root folder in a resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	// *   ACCOUNT: a member in a resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	//
	// >  If you use the Tag Policy feature in single-account mode, this parameter is optional. If you use the Tag Policy feature in multi-account mode, this feature is required. The value of this parameter is not case-sensitive.
	TargetType *string `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
}

func (GetEffectivePolicyRequest) GoString

func (s GetEffectivePolicyRequest) GoString() string

func (*GetEffectivePolicyRequest) SetOwnerAccount

func (*GetEffectivePolicyRequest) SetOwnerId

func (*GetEffectivePolicyRequest) SetRegionId

func (*GetEffectivePolicyRequest) SetResourceOwnerAccount

func (s *GetEffectivePolicyRequest) SetResourceOwnerAccount(v string) *GetEffectivePolicyRequest

func (*GetEffectivePolicyRequest) SetTargetId

func (*GetEffectivePolicyRequest) SetTargetType

func (GetEffectivePolicyRequest) String

func (s GetEffectivePolicyRequest) String() string

type GetEffectivePolicyResponse

type GetEffectivePolicyResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetEffectivePolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetEffectivePolicyResponse) GoString

func (s GetEffectivePolicyResponse) GoString() string

func (*GetEffectivePolicyResponse) SetBody

func (*GetEffectivePolicyResponse) SetHeaders

func (*GetEffectivePolicyResponse) SetStatusCode

func (GetEffectivePolicyResponse) String

type GetEffectivePolicyResponseBody

type GetEffectivePolicyResponseBody struct {
	// The effective tag policy.
	EffectivePolicy *string `json:"EffectivePolicy,omitempty" xml:"EffectivePolicy,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetEffectivePolicyResponseBody) GoString

func (*GetEffectivePolicyResponseBody) SetEffectivePolicy

func (*GetEffectivePolicyResponseBody) SetRequestId

func (GetEffectivePolicyResponseBody) String

type GetPolicyEnableStatusRequest

type GetPolicyEnableStatusRequest struct {
	OpenType     *string `json:"OpenType,omitempty" xml:"OpenType,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. Set the value to cn-shanghai.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *string `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
	// The mode of the Tag Policy feature. This parameter specifies a filter condition for the query. Valid values:
	//
	// *   USER: single-account mode
	// *   RD: multi-account mode
	//
	// For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
	//
	// >  The value of this parameter is not case-sensitive.
	UserType *string `json:"UserType,omitempty" xml:"UserType,omitempty"`
}

func (GetPolicyEnableStatusRequest) GoString

func (s GetPolicyEnableStatusRequest) GoString() string

func (*GetPolicyEnableStatusRequest) SetOpenType added in v2.0.3

func (*GetPolicyEnableStatusRequest) SetOwnerAccount

func (*GetPolicyEnableStatusRequest) SetOwnerId

func (*GetPolicyEnableStatusRequest) SetRegionId

func (*GetPolicyEnableStatusRequest) SetResourceOwnerAccount

func (s *GetPolicyEnableStatusRequest) SetResourceOwnerAccount(v string) *GetPolicyEnableStatusRequest

func (*GetPolicyEnableStatusRequest) SetResourceOwnerId

func (*GetPolicyEnableStatusRequest) SetUserType

func (GetPolicyEnableStatusRequest) String

type GetPolicyEnableStatusResponse

type GetPolicyEnableStatusResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetPolicyEnableStatusResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetPolicyEnableStatusResponse) GoString

func (*GetPolicyEnableStatusResponse) SetBody

func (*GetPolicyEnableStatusResponse) SetHeaders

func (*GetPolicyEnableStatusResponse) SetStatusCode

func (GetPolicyEnableStatusResponse) String

type GetPolicyEnableStatusResponseBody

type GetPolicyEnableStatusResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information of the Tag Policy feature.
	StatusModels []*GetPolicyEnableStatusResponseBodyStatusModels `json:"StatusModels,omitempty" xml:"StatusModels,omitempty" type:"Repeated"`
}

func (GetPolicyEnableStatusResponseBody) GoString

func (*GetPolicyEnableStatusResponseBody) SetRequestId

func (GetPolicyEnableStatusResponseBody) String

type GetPolicyEnableStatusResponseBodyStatusModels

type GetPolicyEnableStatusResponseBodyStatusModels struct {
	// The status of the Tag Policy feature. Valid values:
	//
	// *   PendingEnable: The feature is being enabled.
	// *   Enabled: The feature is enabled.
	// *   Closing: The feature is being disabled.
	// *   Disabled: The feature is disabled.
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// The mode of the Tag Policy feature. Valid values:
	//
	// *   USER: single-account mode
	// *   RD: multi-account mode
	//
	// For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
	UserType *string `json:"UserType,omitempty" xml:"UserType,omitempty"`
}

func (GetPolicyEnableStatusResponseBodyStatusModels) GoString

func (*GetPolicyEnableStatusResponseBodyStatusModels) SetStatus

func (*GetPolicyEnableStatusResponseBodyStatusModels) SetUserType

func (GetPolicyEnableStatusResponseBodyStatusModels) String

type GetPolicyRequest

type GetPolicyRequest struct {
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the tag policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
	// The region ID. Set the value to cn-shanghai.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
}

func (GetPolicyRequest) GoString

func (s GetPolicyRequest) GoString() string

func (*GetPolicyRequest) SetOwnerAccount

func (s *GetPolicyRequest) SetOwnerAccount(v string) *GetPolicyRequest

func (*GetPolicyRequest) SetOwnerId

func (s *GetPolicyRequest) SetOwnerId(v int64) *GetPolicyRequest

func (*GetPolicyRequest) SetPolicyId

func (s *GetPolicyRequest) SetPolicyId(v string) *GetPolicyRequest

func (*GetPolicyRequest) SetRegionId

func (s *GetPolicyRequest) SetRegionId(v string) *GetPolicyRequest

func (*GetPolicyRequest) SetResourceOwnerAccount

func (s *GetPolicyRequest) SetResourceOwnerAccount(v string) *GetPolicyRequest

func (GetPolicyRequest) String

func (s GetPolicyRequest) String() string

type GetPolicyResponse

type GetPolicyResponse struct {
	Headers    map[string]*string     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetPolicyResponse) GoString

func (s GetPolicyResponse) GoString() string

func (*GetPolicyResponse) SetBody

func (*GetPolicyResponse) SetHeaders

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

func (*GetPolicyResponse) SetStatusCode

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

func (GetPolicyResponse) String

func (s GetPolicyResponse) String() string

type GetPolicyResponseBody

type GetPolicyResponseBody struct {
	// The details of the tag policy.
	Policy *GetPolicyResponseBodyPolicy `json:"Policy,omitempty" xml:"Policy,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetPolicyResponseBody) GoString

func (s GetPolicyResponseBody) GoString() string

func (*GetPolicyResponseBody) SetPolicy

func (*GetPolicyResponseBody) SetRequestId

func (GetPolicyResponseBody) String

func (s GetPolicyResponseBody) String() string

type GetPolicyResponseBodyPolicy

type GetPolicyResponseBodyPolicy struct {
	// The document of the tag policy.
	PolicyContent *string `json:"PolicyContent,omitempty" xml:"PolicyContent,omitempty"`
	// The description of the tag policy.
	PolicyDesc *string `json:"PolicyDesc,omitempty" xml:"PolicyDesc,omitempty"`
	// The name of the tag policy.
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The mode of the Tag Policy feature. Valid values:
	//
	// *   USER: single-account mode
	// *   RD: multi-account mode
	//
	// For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
	UserType *string `json:"UserType,omitempty" xml:"UserType,omitempty"`
}

func (GetPolicyResponseBodyPolicy) GoString

func (s GetPolicyResponseBodyPolicy) GoString() string

func (*GetPolicyResponseBodyPolicy) SetPolicyContent

func (*GetPolicyResponseBodyPolicy) SetPolicyDesc

func (*GetPolicyResponseBodyPolicy) SetPolicyName

func (*GetPolicyResponseBodyPolicy) SetUserType

func (GetPolicyResponseBodyPolicy) String

type ListConfigRulesForTargetRequest

type ListConfigRulesForTargetRequest struct {
	// The number of entries to return on each page.
	//
	// Default value: 50. Maximum value: 1000.
	MaxResult *int32 `json:"MaxResult,omitempty" xml:"MaxResult,omitempty"`
	// The token that is used to start the next query.
	NextToken    *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The use scenario of the tag policy. This parameter specifies a filter condition for the query. Valid values:
	//
	// *   tags: enables tags with specified tag values to be added to resources.
	// *   rg_inherit: enables resources in a resource group to automatically inherit tags from the resource group.
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
	// The region ID. Set the value to cn-shanghai.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	// The tag key. This parameter specifies a filter condition for the query.
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The ID of the object. This parameter specifies a filter condition for the query.
	TargetId *string `json:"TargetId,omitempty" xml:"TargetId,omitempty"`
	// The type of the object. This parameter specifies a filter condition for the query. Valid values:
	//
	// *   USER: the current logon account. This value is available if you use the Tag Policy feature in single-account mode.
	// *   ROOT: the Root folder in a resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	// *   FOLDER: a folder other than the Root folder in a resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	// *   ACCOUNT: a member in a resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	//
	// >  The value of this parameter is not case-sensitive.
	TargetType *string `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
	// The mode of the Tag Policy feature. This parameter specifies a filter condition for the query. Valid values:
	//
	// *   USER: single-account mode
	// *   RD: multi-account mode
	//
	// For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
	//
	// >  The value of this parameter is not case-sensitive.
	UserType *string `json:"UserType,omitempty" xml:"UserType,omitempty"`
}

func (ListConfigRulesForTargetRequest) GoString

func (*ListConfigRulesForTargetRequest) SetMaxResult

func (*ListConfigRulesForTargetRequest) SetNextToken

func (*ListConfigRulesForTargetRequest) SetOwnerAccount

func (*ListConfigRulesForTargetRequest) SetOwnerId

func (*ListConfigRulesForTargetRequest) SetPolicyType

func (*ListConfigRulesForTargetRequest) SetRegionId

func (*ListConfigRulesForTargetRequest) SetResourceOwnerAccount

func (*ListConfigRulesForTargetRequest) SetTagKey

func (*ListConfigRulesForTargetRequest) SetTargetId

func (*ListConfigRulesForTargetRequest) SetTargetType

func (*ListConfigRulesForTargetRequest) SetUserType

func (ListConfigRulesForTargetRequest) String

type ListConfigRulesForTargetResponse

type ListConfigRulesForTargetResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListConfigRulesForTargetResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListConfigRulesForTargetResponse) GoString

func (*ListConfigRulesForTargetResponse) SetHeaders

func (*ListConfigRulesForTargetResponse) SetStatusCode

func (ListConfigRulesForTargetResponse) String

type ListConfigRulesForTargetResponseBody

type ListConfigRulesForTargetResponseBody struct {
	// The tag detection tasks.
	Data []*ListConfigRulesForTargetResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// Indicates whether the next query is required.
	//
	// *   If the value of this parameter is empty (`"NextToken": ""`), all results are returned, and the next query is not required.
	// *   If the value of this parameter is not empty, the next query is required, and the value is the token used to start the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListConfigRulesForTargetResponseBody) GoString

func (*ListConfigRulesForTargetResponseBody) SetNextToken

func (*ListConfigRulesForTargetResponseBody) SetRequestId

func (ListConfigRulesForTargetResponseBody) String

type ListConfigRulesForTargetResponseBodyData

type ListConfigRulesForTargetResponseBodyData struct {
	// The ID of the account group.
	//
	// You can use the ID to query the content of the related resource non-compliance report in Cloud Config.
	//
	// >  This parameter is returned only if you use the Tag Policy feature in multi-account mode.
	AggregatorId *string `json:"AggregatorId,omitempty" xml:"AggregatorId,omitempty"`
	// The ID of the rule.
	ConfigRuleId *string `json:"ConfigRuleId,omitempty" xml:"ConfigRuleId,omitempty"`
	// The use scenario of the tag policy. Valid values:
	//
	// *   tags: enables tags with specified tag values to be added to resources.
	// *   rg_inherit: enables resources in a resource group to automatically inherit tags from the resource group.
	PolicyType *string `json:"PolicyType,omitempty" xml:"PolicyType,omitempty"`
	// Indicates whether automatic remediation is enabled. Valid values:
	//
	// *   true
	// *   false
	Remediation *bool `json:"Remediation,omitempty" xml:"Remediation,omitempty"`
	// The tag key.
	TagKey *string `json:"TagKey,omitempty" xml:"TagKey,omitempty"`
	// The tag value for automatic remediation.
	TagValue *string `json:"TagValue,omitempty" xml:"TagValue,omitempty"`
	// The ID of the object.
	TargetId *string `json:"TargetId,omitempty" xml:"TargetId,omitempty"`
	// The type of the object. Valid values:
	//
	// *   USER: the current logon account. This value is available if you use the Tag Policy feature in single-account mode.
	// *   ROOT: the Root folder in the resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	// *   FOLDER: a folder other than the Root folder in the resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	// *   ACCOUNT: a member in the resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	TargetType *string `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
}

func (ListConfigRulesForTargetResponseBodyData) GoString

func (*ListConfigRulesForTargetResponseBodyData) SetAggregatorId

func (*ListConfigRulesForTargetResponseBodyData) SetConfigRuleId

func (*ListConfigRulesForTargetResponseBodyData) SetPolicyType

func (*ListConfigRulesForTargetResponseBodyData) SetRemediation

func (*ListConfigRulesForTargetResponseBodyData) SetTagKey

func (*ListConfigRulesForTargetResponseBodyData) SetTagValue added in v2.0.2

func (*ListConfigRulesForTargetResponseBodyData) SetTargetId

func (*ListConfigRulesForTargetResponseBodyData) SetTargetType

func (ListConfigRulesForTargetResponseBodyData) String

type ListPoliciesForTargetRequest

type ListPoliciesForTargetRequest struct {
	// The number of entries to return on each page.
	//
	// Default value: 50. Maximum value: 1000.
	MaxResult *int32 `json:"MaxResult,omitempty" xml:"MaxResult,omitempty"`
	// The token that is used to start the next query.
	NextToken    *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. Set the value to cn-shanghai.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	// The ID of the object. This parameter specifies a filter condition for the query.
	TargetId *string `json:"TargetId,omitempty" xml:"TargetId,omitempty"`
	// The type of the object. This parameter specifies a filter condition for the query. Valid values:
	//
	// *   USER: the current logon account. This value is available if you use the Tag Policy feature in single-account mode.
	// *   ROOT: the Root folder in a resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	// *   FOLDER: a folder other than the Root folder in a resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	// *   ACCOUNT: a member in a resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	//
	// >  The value of this parameter is not case-sensitive.
	TargetType *string `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
}

func (ListPoliciesForTargetRequest) GoString

func (s ListPoliciesForTargetRequest) GoString() string

func (*ListPoliciesForTargetRequest) SetMaxResult

func (*ListPoliciesForTargetRequest) SetNextToken

func (*ListPoliciesForTargetRequest) SetOwnerAccount

func (*ListPoliciesForTargetRequest) SetOwnerId

func (*ListPoliciesForTargetRequest) SetRegionId

func (*ListPoliciesForTargetRequest) SetResourceOwnerAccount

func (s *ListPoliciesForTargetRequest) SetResourceOwnerAccount(v string) *ListPoliciesForTargetRequest

func (*ListPoliciesForTargetRequest) SetTargetId

func (*ListPoliciesForTargetRequest) SetTargetType

func (ListPoliciesForTargetRequest) String

type ListPoliciesForTargetResponse

type ListPoliciesForTargetResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListPoliciesForTargetResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListPoliciesForTargetResponse) GoString

func (*ListPoliciesForTargetResponse) SetBody

func (*ListPoliciesForTargetResponse) SetHeaders

func (*ListPoliciesForTargetResponse) SetStatusCode

func (ListPoliciesForTargetResponse) String

type ListPoliciesForTargetResponseBody

type ListPoliciesForTargetResponseBody struct {
	// The tag policies that are attached to the object.
	Data []*ListPoliciesForTargetResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Repeated"`
	// Indicates whether the next query is required.
	//
	// *   If the value of this parameter is empty (`"NextToken": ""`), all results are returned, and the next query is not required.
	// *   If the value of this parameter is not empty, the next query is required, and the value is the token used to start the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListPoliciesForTargetResponseBody) GoString

func (*ListPoliciesForTargetResponseBody) SetNextToken

func (*ListPoliciesForTargetResponseBody) SetRequestId

func (ListPoliciesForTargetResponseBody) String

type ListPoliciesForTargetResponseBodyData

type ListPoliciesForTargetResponseBodyData struct {
	// The document of the tag policy.
	PolicyContent *string `json:"PolicyContent,omitempty" xml:"PolicyContent,omitempty"`
	// The description of the tag policy.
	PolicyDesc *string `json:"PolicyDesc,omitempty" xml:"PolicyDesc,omitempty"`
	// The ID of the tag policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
	// The name of the tag policy.
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The mode of the Tag Policy feature. Valid values:
	//
	// *   USER: single-account mode
	// *   RD: multi-account mode
	//
	// For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
	UserType *string `json:"UserType,omitempty" xml:"UserType,omitempty"`
}

func (ListPoliciesForTargetResponseBodyData) GoString

func (*ListPoliciesForTargetResponseBodyData) SetPolicyContent

func (*ListPoliciesForTargetResponseBodyData) SetPolicyDesc

func (*ListPoliciesForTargetResponseBodyData) SetPolicyId

func (*ListPoliciesForTargetResponseBodyData) SetPolicyName

func (*ListPoliciesForTargetResponseBodyData) SetUserType

func (ListPoliciesForTargetResponseBodyData) String

type ListPoliciesRequest

type ListPoliciesRequest struct {
	// The number of entries to return on each page.
	//
	// Default value: 50. Maximum value: 1000.
	MaxResult *int32 `json:"MaxResult,omitempty" xml:"MaxResult,omitempty"`
	// The token that is used to start the next query.
	NextToken    *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of a tag policy. This parameter specifies a filter condition for the query.
	PolicyIds []*string `json:"PolicyIds,omitempty" xml:"PolicyIds,omitempty" type:"Repeated"`
	// The name of a tag policy. This parameter specifies a filter condition for the query.
	PolicyNames []*string `json:"PolicyNames,omitempty" xml:"PolicyNames,omitempty" type:"Repeated"`
	// The region ID. Set the value to cn-shanghai.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	// The mode of the Tag Policy feature. This parameter specifies a filter condition for the query. Valid values:
	//
	// *   USER: single-account mode
	// *   RD: multi-account mode
	//
	// For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
	//
	// >  The value of this parameter is not case-sensitive.
	UserType *string `json:"UserType,omitempty" xml:"UserType,omitempty"`
}

func (ListPoliciesRequest) GoString

func (s ListPoliciesRequest) GoString() string

func (*ListPoliciesRequest) SetMaxResult

func (s *ListPoliciesRequest) SetMaxResult(v int32) *ListPoliciesRequest

func (*ListPoliciesRequest) SetNextToken

func (s *ListPoliciesRequest) SetNextToken(v string) *ListPoliciesRequest

func (*ListPoliciesRequest) SetOwnerAccount

func (s *ListPoliciesRequest) SetOwnerAccount(v string) *ListPoliciesRequest

func (*ListPoliciesRequest) SetOwnerId

func (s *ListPoliciesRequest) SetOwnerId(v int64) *ListPoliciesRequest

func (*ListPoliciesRequest) SetPolicyIds

func (s *ListPoliciesRequest) SetPolicyIds(v []*string) *ListPoliciesRequest

func (*ListPoliciesRequest) SetPolicyNames

func (s *ListPoliciesRequest) SetPolicyNames(v []*string) *ListPoliciesRequest

func (*ListPoliciesRequest) SetRegionId

func (s *ListPoliciesRequest) SetRegionId(v string) *ListPoliciesRequest

func (*ListPoliciesRequest) SetResourceOwnerAccount

func (s *ListPoliciesRequest) SetResourceOwnerAccount(v string) *ListPoliciesRequest

func (*ListPoliciesRequest) SetUserType

func (s *ListPoliciesRequest) SetUserType(v string) *ListPoliciesRequest

func (ListPoliciesRequest) String

func (s ListPoliciesRequest) String() string

type ListPoliciesResponse

type ListPoliciesResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListPoliciesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListPoliciesResponse) GoString

func (s ListPoliciesResponse) GoString() string

func (*ListPoliciesResponse) SetBody

func (*ListPoliciesResponse) SetHeaders

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

func (*ListPoliciesResponse) SetStatusCode

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

func (ListPoliciesResponse) String

func (s ListPoliciesResponse) String() string

type ListPoliciesResponseBody

type ListPoliciesResponseBody struct {
	// Indicates whether the next query is required.
	//
	// *   If the value of this parameter is empty (`"NextToken": ""`), all results are returned, and the next query is not required.
	// *   If the value of this parameter is not empty, the next query is required, and the value is the token used to start the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The tag policies.
	PolicyList []*ListPoliciesResponseBodyPolicyList `json:"PolicyList,omitempty" xml:"PolicyList,omitempty" type:"Repeated"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListPoliciesResponseBody) GoString

func (s ListPoliciesResponseBody) GoString() string

func (*ListPoliciesResponseBody) SetNextToken

func (*ListPoliciesResponseBody) SetPolicyList

func (*ListPoliciesResponseBody) SetRequestId

func (ListPoliciesResponseBody) String

func (s ListPoliciesResponseBody) String() string

type ListPoliciesResponseBodyPolicyList

type ListPoliciesResponseBodyPolicyList struct {
	// The document of the tag policy.
	PolicyContent *string `json:"PolicyContent,omitempty" xml:"PolicyContent,omitempty"`
	// The description of the tag policy.
	PolicyDesc *string `json:"PolicyDesc,omitempty" xml:"PolicyDesc,omitempty"`
	// The ID of the tag policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
	// The name of the tag policy.
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The mode of the Tag Policy feature. Valid values:
	//
	// *   USER: single-account mode
	// *   RD: multi-account mode
	//
	// For more information about the modes of the Tag Policy feature, see [Modes of the Tag Policy feature](~~417434~~).
	UserType *string `json:"UserType,omitempty" xml:"UserType,omitempty"`
}

func (ListPoliciesResponseBodyPolicyList) GoString

func (*ListPoliciesResponseBodyPolicyList) SetPolicyContent

func (*ListPoliciesResponseBodyPolicyList) SetPolicyDesc

func (*ListPoliciesResponseBodyPolicyList) SetPolicyId

func (*ListPoliciesResponseBodyPolicyList) SetPolicyName

func (*ListPoliciesResponseBodyPolicyList) SetUserType

func (ListPoliciesResponseBodyPolicyList) String

type ListResourcesByTagRequest

type ListResourcesByTagRequest struct {
	TagFilter *ListResourcesByTagRequestTagFilter `json:"TagFilter,omitempty" xml:"TagFilter,omitempty" type:"Struct"`
	// The type of the query. Valid values:
	//
	// *   EQUAL: exact match for resources to which the specified tag is added. This is the default value.
	// *   NOT: exact match for resources to which the specified tag is not added.
	FuzzyType *string `json:"FuzzyType,omitempty" xml:"FuzzyType,omitempty"`
	// Specifies whether to return the information of tags added to the resources. Valid values:
	//
	// *   False: does not return the information of tags added to the resources. This is the default value.
	// *   True: returns the information of all tags added to the resources.
	IncludeAllTags *bool `json:"IncludeAllTags,omitempty" xml:"IncludeAllTags,omitempty"`
	// The number of entries to return on each page.
	//
	// Default value: 50. Maximum value: 1000.
	MaxResult *int32 `json:"MaxResult,omitempty" xml:"MaxResult,omitempty"`
	// The token that is used to start the next query.
	NextToken    *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID.
	//
	// For more information about region IDs, see [Endpoints](~~2330902~~).
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	// The resource type. This parameter specifies a filter condition for the query.
	//
	// *   If you set the FuzzyType parameter to EQUAL, you can set this parameter to a value obtained from the response of the [ListSupportResourceTypes](~~2330915~~) operation.
	// *   If you set the FuzzyType parameter to NOT, you can set this parameter to a resource type provided in **Types of resources that support queries based on the NOT operator**.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
}

func (ListResourcesByTagRequest) GoString

func (s ListResourcesByTagRequest) GoString() string

func (*ListResourcesByTagRequest) SetFuzzyType

func (*ListResourcesByTagRequest) SetIncludeAllTags

func (s *ListResourcesByTagRequest) SetIncludeAllTags(v bool) *ListResourcesByTagRequest

func (*ListResourcesByTagRequest) SetMaxResult

func (*ListResourcesByTagRequest) SetNextToken

func (*ListResourcesByTagRequest) SetOwnerAccount

func (*ListResourcesByTagRequest) SetOwnerId

func (*ListResourcesByTagRequest) SetRegionId

func (*ListResourcesByTagRequest) SetResourceOwnerAccount

func (s *ListResourcesByTagRequest) SetResourceOwnerAccount(v string) *ListResourcesByTagRequest

func (*ListResourcesByTagRequest) SetResourceType

func (*ListResourcesByTagRequest) SetTagFilter

func (ListResourcesByTagRequest) String

func (s ListResourcesByTagRequest) String() string

type ListResourcesByTagRequestTagFilter

type ListResourcesByTagRequestTagFilter struct {
	// The tag key. This parameter specifies a filter condition for the query.
	//
	// The tag key can be a maximum of 128 characters in length. It cannot contain `http://` or `https://` and cannot start with `acs:` or `aliyun`.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value. This parameter specifies a filter condition for the query.
	//
	// The tag value can be a maximum of 128 characters in length. It cannot contain `http://` or `https://`.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListResourcesByTagRequestTagFilter) GoString

func (*ListResourcesByTagRequestTagFilter) SetKey

func (*ListResourcesByTagRequestTagFilter) SetValue

func (ListResourcesByTagRequestTagFilter) String

type ListResourcesByTagResponse

type ListResourcesByTagResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListResourcesByTagResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListResourcesByTagResponse) GoString

func (s ListResourcesByTagResponse) GoString() string

func (*ListResourcesByTagResponse) SetBody

func (*ListResourcesByTagResponse) SetHeaders

func (*ListResourcesByTagResponse) SetStatusCode

func (ListResourcesByTagResponse) String

type ListResourcesByTagResponseBody

type ListResourcesByTagResponseBody struct {
	// Indicates whether the `next query` is required.
	//
	// *   If the value of this parameter is empty (`"NextToken": ""`), all results are returned, and the `next query` is not required.
	// *   If the value of this parameter is not empty, the next query is required, and the value is the `token` used to start the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information of the resources.
	Resources []*ListResourcesByTagResponseBodyResources `json:"Resources,omitempty" xml:"Resources,omitempty" type:"Repeated"`
}

func (ListResourcesByTagResponseBody) GoString

func (*ListResourcesByTagResponseBody) SetNextToken

func (*ListResourcesByTagResponseBody) SetRequestId

func (ListResourcesByTagResponseBody) String

type ListResourcesByTagResponseBodyResources

type ListResourcesByTagResponseBodyResources struct {
	// The ID of the resource.
	ResourceId *string `json:"ResourceId,omitempty" xml:"ResourceId,omitempty"`
	// The information of the tags.
	//
	// This parameter is returned only if the `IncludeAllTags` parameter is set to `True`.
	Tags []*ListResourcesByTagResponseBodyResourcesTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
}

func (ListResourcesByTagResponseBodyResources) GoString

func (*ListResourcesByTagResponseBodyResources) SetResourceId

func (ListResourcesByTagResponseBodyResources) String

type ListResourcesByTagResponseBodyResourcesTags

type ListResourcesByTagResponseBodyResourcesTags struct {
	// The type of the tag. Valid values:
	//
	// *   custom
	// *   system
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The tag key.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListResourcesByTagResponseBodyResourcesTags) GoString

func (*ListResourcesByTagResponseBodyResourcesTags) SetCategory

func (*ListResourcesByTagResponseBodyResourcesTags) SetKey

func (*ListResourcesByTagResponseBodyResourcesTags) SetValue

func (ListResourcesByTagResponseBodyResourcesTags) String

type ListSupportResourceTypesRequest

type ListSupportResourceTypesRequest struct {
	// The number of entries to return on each page.
	//
	// Maximum value: 1000. Default value: 50.
	MaxResult *int32 `json:"MaxResult,omitempty" xml:"MaxResult,omitempty"`
	// The token that is used to start the next query.
	NextToken    *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The service code. This parameter specifies a filter condition for the query.
	//
	// This parameter is obtained from the response.
	ProductCode *string `json:"ProductCode,omitempty" xml:"ProductCode,omitempty"`
	// The region ID.
	//
	// For more information about region IDs, see [Endpoints](~~2330902~~).
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	// The resource type. This parameter specifies a filter condition for the query.
	//
	// This parameter is obtained from the response.
	ResourceTye *string `json:"ResourceTye,omitempty" xml:"ResourceTye,omitempty"`
	// Specifies whether to return tag-related capability items. Valid values:
	//
	// *   true: The system returns tag-related capability items.
	// *   false (default value): The system does not return tag-related capability items.
	ShowItems *bool `json:"ShowItems,omitempty" xml:"ShowItems,omitempty"`
	// The code of the tag-related capability item. This parameter specifies a filter condition for the query.
	//
	// For more information, see **Tag-related capability items**.
	SupportCode *string `json:"SupportCode,omitempty" xml:"SupportCode,omitempty"`
}

func (ListSupportResourceTypesRequest) GoString

func (*ListSupportResourceTypesRequest) SetMaxResult

func (*ListSupportResourceTypesRequest) SetNextToken

func (*ListSupportResourceTypesRequest) SetOwnerAccount

func (*ListSupportResourceTypesRequest) SetOwnerId

func (*ListSupportResourceTypesRequest) SetProductCode

func (*ListSupportResourceTypesRequest) SetRegionId

func (*ListSupportResourceTypesRequest) SetResourceOwnerAccount

func (*ListSupportResourceTypesRequest) SetResourceTye

func (*ListSupportResourceTypesRequest) SetShowItems

func (*ListSupportResourceTypesRequest) SetSupportCode

func (ListSupportResourceTypesRequest) String

type ListSupportResourceTypesResponse

type ListSupportResourceTypesResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListSupportResourceTypesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListSupportResourceTypesResponse) GoString

func (*ListSupportResourceTypesResponse) SetHeaders

func (*ListSupportResourceTypesResponse) SetStatusCode

func (ListSupportResourceTypesResponse) String

type ListSupportResourceTypesResponseBody

type ListSupportResourceTypesResponseBody struct {
	// Indicates whether the next query is required.
	//
	// *   If the value of this parameter is empty, all results are returned, and the next query is not required.
	// *   If the value of this parameter is not empty, the next query is required, and the value is the token used to start the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The supported resource types.
	SupportResourceTypes []*ListSupportResourceTypesResponseBodySupportResourceTypes `json:"SupportResourceTypes,omitempty" xml:"SupportResourceTypes,omitempty" type:"Repeated"`
}

func (ListSupportResourceTypesResponseBody) GoString

func (*ListSupportResourceTypesResponseBody) SetNextToken

func (*ListSupportResourceTypesResponseBody) SetRequestId

func (ListSupportResourceTypesResponseBody) String

type ListSupportResourceTypesResponseBodySupportResourceTypes

type ListSupportResourceTypesResponseBodySupportResourceTypes struct {
	// The service code.
	ProductCode *string `json:"ProductCode,omitempty" xml:"ProductCode,omitempty"`
	// The resource type.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
	// The supported tag-related capability items.
	//
	// >  This parameter is returned only if the `ShowItems` parameter is set to `true`.
	SupportItems []*ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems `json:"SupportItems,omitempty" xml:"SupportItems,omitempty" type:"Repeated"`
}

func (ListSupportResourceTypesResponseBodySupportResourceTypes) GoString

func (*ListSupportResourceTypesResponseBodySupportResourceTypes) SetProductCode

func (*ListSupportResourceTypesResponseBodySupportResourceTypes) SetResourceType

func (ListSupportResourceTypesResponseBodySupportResourceTypes) String

type ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems

type ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems struct {
	// Indicates whether the tag-related capability item is supported. Valid values:
	//
	// *   true
	// *   false
	Support *bool `json:"Support,omitempty" xml:"Support,omitempty"`
	// The code of the tag-related capability item.
	SupportCode *string `json:"SupportCode,omitempty" xml:"SupportCode,omitempty"`
	// The details of the support for the tag-related capability item.
	SupportDetails []map[string]*string `json:"SupportDetails,omitempty" xml:"SupportDetails,omitempty" type:"Repeated"`
}

func (ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems) GoString

func (*ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems) SetSupport

func (*ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems) SetSupportCode

func (*ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems) SetSupportDetails added in v2.0.2

func (ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems) String

type ListTagKeysRequest

type ListTagKeysRequest struct {
	TagFilter *ListTagKeysRequestTagFilter `json:"TagFilter,omitempty" xml:"TagFilter,omitempty" type:"Struct"`
	// The type of the resource tags. This parameter specifies a filter condition for the query. Valid values:
	//
	// *   all (default value)
	// *   custom
	// *   system
	//
	// >  The value of this parameter is not case-sensitive.
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The type of the query. Valid values:
	//
	// *   EQUAL: exact match. This is the default value.
	// *   PREFIX: prefix-based fuzzy match.
	//
	// >  This parameter is available only in the China (Shenzhen) and China (Hong Kong) regions.
	FuzzyType *string `json:"FuzzyType,omitempty" xml:"FuzzyType,omitempty"`
	// The token that is used to start the next query.
	NextToken    *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of tag keys to return on each page.
	//
	// Maximum value: 1000. Default value: 50.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The category of the tags. This parameter specifies a filter condition for the query. Valid values:
	//
	// *   ResourceTag: resource tags, including custom and system tags. This is the default value.
	// *   MetaTag: preset tags.
	//
	// >  The value of this parameter is not case-sensitive.
	QueryType *string `json:"QueryType,omitempty" xml:"QueryType,omitempty"`
	// The region ID.
	//
	// For more information about region IDs, see [Endpoints](~~2330902~~).
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	// The resource type. This parameter specifies a filter condition for the query.
	//
	// Format: `ALIYUN::${ProductCode}::${ResourceType}`. All letters in the value of this parameter must be in uppercase.
	//
	// *   `ProductCode`: the service code. You can set this field to a value obtained from the response of the [ListSupportResourceTypes](~~2330915~~) operation.
	// *   `ResourceType`: the resource type. You can set this field to a value obtained from the response of the [ListSupportResourceTypes](~~2330915~~) operation.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
}

func (ListTagKeysRequest) GoString

func (s ListTagKeysRequest) GoString() string

func (*ListTagKeysRequest) SetCategory

func (s *ListTagKeysRequest) SetCategory(v string) *ListTagKeysRequest

func (*ListTagKeysRequest) SetFuzzyType

func (s *ListTagKeysRequest) SetFuzzyType(v string) *ListTagKeysRequest

func (*ListTagKeysRequest) SetNextToken

func (s *ListTagKeysRequest) SetNextToken(v string) *ListTagKeysRequest

func (*ListTagKeysRequest) SetOwnerAccount

func (s *ListTagKeysRequest) SetOwnerAccount(v string) *ListTagKeysRequest

func (*ListTagKeysRequest) SetOwnerId

func (s *ListTagKeysRequest) SetOwnerId(v int64) *ListTagKeysRequest

func (*ListTagKeysRequest) SetPageSize

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

func (*ListTagKeysRequest) SetQueryType

func (s *ListTagKeysRequest) SetQueryType(v string) *ListTagKeysRequest

func (*ListTagKeysRequest) SetRegionId

func (s *ListTagKeysRequest) SetRegionId(v string) *ListTagKeysRequest

func (*ListTagKeysRequest) SetResourceOwnerAccount

func (s *ListTagKeysRequest) SetResourceOwnerAccount(v string) *ListTagKeysRequest

func (*ListTagKeysRequest) SetResourceType

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

func (*ListTagKeysRequest) SetTagFilter

func (ListTagKeysRequest) String

func (s ListTagKeysRequest) String() string

type ListTagKeysRequestTagFilter

type ListTagKeysRequestTagFilter struct {
	// The tag key.
	//
	// This parameter is used together with the `FuzzyType` parameter.
	//
	// >  This parameter is available only in the China (Shenzhen) and China (Hong Kong) regions.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
}

func (ListTagKeysRequestTagFilter) GoString

func (s ListTagKeysRequestTagFilter) GoString() string

func (*ListTagKeysRequestTagFilter) SetKey

func (ListTagKeysRequestTagFilter) String

type ListTagKeysResponse

type ListTagKeysResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListTagKeysResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListTagKeysResponse) GoString

func (s ListTagKeysResponse) GoString() string

func (*ListTagKeysResponse) SetBody

func (*ListTagKeysResponse) SetHeaders

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

func (*ListTagKeysResponse) SetStatusCode

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

func (ListTagKeysResponse) String

func (s ListTagKeysResponse) String() string

type ListTagKeysResponseBody

type ListTagKeysResponseBody struct {
	// The information of the tag keys.
	Keys *ListTagKeysResponseBodyKeys `json:"Keys,omitempty" xml:"Keys,omitempty" type:"Struct"`
	// Indicates whether the next query is required. The value of this parameter may be empty.
	//
	// *   If the value of this parameter is empty (`"NextToken": ""`), all results are returned, and the next query is not required.
	// *   If the value of this parameter is not empty, the next query is required, and the value is the token used to start the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ListTagKeysResponseBody) GoString

func (s ListTagKeysResponseBody) GoString() string

func (*ListTagKeysResponseBody) SetKeys

func (*ListTagKeysResponseBody) SetNextToken

func (*ListTagKeysResponseBody) SetRequestId

func (ListTagKeysResponseBody) String

func (s ListTagKeysResponseBody) String() string

type ListTagKeysResponseBodyKeys

type ListTagKeysResponseBodyKeys struct {
	Key []*ListTagKeysResponseBodyKeysKey `json:"Key,omitempty" xml:"Key,omitempty" type:"Repeated"`
}

func (ListTagKeysResponseBodyKeys) GoString

func (s ListTagKeysResponseBodyKeys) GoString() string

func (*ListTagKeysResponseBodyKeys) SetKey

func (ListTagKeysResponseBodyKeys) String

type ListTagKeysResponseBodyKeysKey

type ListTagKeysResponseBodyKeysKey struct {
	// The type of the resource tag. Valid values:
	//
	// *   custom
	// *   system
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The description of the tag key.
	Description *string `json:"Description,omitempty" xml:"Description,omitempty"`
	// The tag key.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
}

func (ListTagKeysResponseBodyKeysKey) GoString

func (*ListTagKeysResponseBodyKeysKey) SetCategory

func (*ListTagKeysResponseBodyKeysKey) SetDescription

func (*ListTagKeysResponseBodyKeysKey) SetKey

func (ListTagKeysResponseBodyKeysKey) String

type ListTagResourcesRequest

type ListTagResourcesRequest struct {
	// The type of the tag. Valid values:
	//
	// *   Custom
	// *   System
	// *   All
	//
	// Default value: All.
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The token that is used to start the next query.
	NextToken    *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of entries to return on each page.
	//
	// Maximum value: 1000. Default value: 50.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The region ID.
	//
	// *   If the resources belong to a service that is centrally deployed, set the value to the region ID of the resources by referring to [Regions supported by tag-related operations on resources of centrally deployed Alibaba Cloud services](~~2579691~~).
	// *   If the resources belong to a service that is not centrally deployed, set the value to the region ID of the resources.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The Alibaba Cloud Resource Name (ARN) of a resource.
	ResourceARN          []*string `json:"ResourceARN,omitempty" xml:"ResourceARN,omitempty" type:"Repeated"`
	ResourceOwnerAccount *string   `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	// The key-value pairs of tags. You can specify 1 to 10 key-value pairs.
	//
	// If you specify multiple tags, the system queries the resources to which all these tags are added.
	//
	// Limits:
	//
	// *   A tag key must be 1 to 128 characters in length.
	// *   A tag value must be 1 to 128 characters in length.
	// *   Tag keys and tag values are case-sensitive.
	// *   Each tag key on a resource can have only one tag value. If you create a tag that has the same key as an existing tag, the value of the existing tag is overwritten.
	Tags *string `json:"Tags,omitempty" xml:"Tags,omitempty"`
}

func (ListTagResourcesRequest) GoString

func (s ListTagResourcesRequest) GoString() string

func (*ListTagResourcesRequest) SetCategory

func (*ListTagResourcesRequest) SetNextToken

func (*ListTagResourcesRequest) SetOwnerAccount

func (*ListTagResourcesRequest) SetOwnerId

func (*ListTagResourcesRequest) SetPageSize

func (*ListTagResourcesRequest) SetRegionId

func (*ListTagResourcesRequest) SetResourceARN

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

func (*ListTagResourcesRequest) SetResourceOwnerAccount

func (s *ListTagResourcesRequest) SetResourceOwnerAccount(v string) *ListTagResourcesRequest

func (*ListTagResourcesRequest) SetTags

func (ListTagResourcesRequest) String

func (s ListTagResourcesRequest) String() string

type ListTagResourcesResponse

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

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 {
	// Indicates whether the `next query` is required.
	//
	// *   If the value of this parameter is empty (`"NextToken": ""`), all results are returned, and the `next query` is not required.
	// *   If the value of this parameter is not empty, the next query is required, and the value is the `token` used to start the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information of the tags that are added to the resources.
	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 ARN of the resource.
	ResourceARN *string `json:"ResourceARN,omitempty" xml:"ResourceARN,omitempty"`
	// The information of the tags.
	Tags []*ListTagResourcesResponseBodyTagResourcesTags `json:"Tags,omitempty" xml:"Tags,omitempty" type:"Repeated"`
}

func (ListTagResourcesResponseBodyTagResources) GoString

func (*ListTagResourcesResponseBodyTagResources) SetResourceARN

func (ListTagResourcesResponseBodyTagResources) String

type ListTagResourcesResponseBodyTagResourcesTags

type ListTagResourcesResponseBodyTagResourcesTags struct {
	// The type of the tag. Valid values:
	//
	// *   Custom
	// *   System
	Category *string `json:"Category,omitempty" xml:"Category,omitempty"`
	// The tag key.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The tag value.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListTagResourcesResponseBodyTagResourcesTags) GoString

func (*ListTagResourcesResponseBodyTagResourcesTags) SetCategory

func (*ListTagResourcesResponseBodyTagResourcesTags) SetKey

func (*ListTagResourcesResponseBodyTagResourcesTags) SetValue

func (ListTagResourcesResponseBodyTagResourcesTags) String

type ListTagValuesRequest

type ListTagValuesRequest struct {
	TagFilter *ListTagValuesRequestTagFilter `json:"TagFilter,omitempty" xml:"TagFilter,omitempty" type:"Struct"`
	// The type of the query. Valid values:
	//
	// *   EQUAL: exact match. This is the default value.
	// *   PREFIX: prefix-based fuzzy match.
	//
	// >  This parameter is available only in the China (Shenzhen) and China (Hong Kong) regions.
	FuzzyType *string `json:"FuzzyType,omitempty" xml:"FuzzyType,omitempty"`
	// The tag key. This parameter specifies a filter condition for the query.
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// The token that is used to start the next query.
	NextToken    *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The number of tag values to return on each page.
	//
	// Maximum value: 1000. Default value: 50.
	PageSize *int32 `json:"PageSize,omitempty" xml:"PageSize,omitempty"`
	// The category of the tags. This parameter specifies a filter condition for the query. Valid values:
	//
	// *   ResourceTag: resource tags, including custom and system tags. This is the default value.
	// *   MetaTag: preset tags.
	//
	// >  The value of this parameter is not case-sensitive.
	QueryType *string `json:"QueryType,omitempty" xml:"QueryType,omitempty"`
	// The region ID.
	//
	// For more information about region IDs, see [Endpoints](~~2330902~~).
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	// The resource type. This parameter specifies a filter condition for the query.
	//
	// Format: `ALIYUN::${ProductCode}::${ResourceType}`. All letters in the value of this parameter must be in uppercase.
	//
	// *   `ProductCode`: the service code. You can set this field to a value obtained from the response of the [ListSupportResourceTypes](~~2330915~~) operation.
	// *   `ResourceType`: the resource type. You can set this field to a value obtained from the response of the [ListSupportResourceTypes](~~2330915~~) operation.
	ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"`
}

func (ListTagValuesRequest) GoString

func (s ListTagValuesRequest) GoString() string

func (*ListTagValuesRequest) SetFuzzyType

func (s *ListTagValuesRequest) SetFuzzyType(v string) *ListTagValuesRequest

func (*ListTagValuesRequest) SetKey

func (*ListTagValuesRequest) SetNextToken

func (s *ListTagValuesRequest) SetNextToken(v string) *ListTagValuesRequest

func (*ListTagValuesRequest) SetOwnerAccount

func (s *ListTagValuesRequest) SetOwnerAccount(v string) *ListTagValuesRequest

func (*ListTagValuesRequest) SetOwnerId

func (*ListTagValuesRequest) SetPageSize

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

func (*ListTagValuesRequest) SetQueryType

func (s *ListTagValuesRequest) SetQueryType(v string) *ListTagValuesRequest

func (*ListTagValuesRequest) SetRegionId

func (*ListTagValuesRequest) SetResourceOwnerAccount

func (s *ListTagValuesRequest) SetResourceOwnerAccount(v string) *ListTagValuesRequest

func (*ListTagValuesRequest) SetResourceType

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

func (*ListTagValuesRequest) SetTagFilter

func (ListTagValuesRequest) String

func (s ListTagValuesRequest) String() string

type ListTagValuesRequestTagFilter

type ListTagValuesRequestTagFilter struct {
	// The tag value.
	//
	// This parameter is used together with the `FuzzyType` parameter.
	//
	// >  This parameter is available only in the China (Shenzhen) and China (Hong Kong) regions.
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (ListTagValuesRequestTagFilter) GoString

func (*ListTagValuesRequestTagFilter) SetValue

func (ListTagValuesRequestTagFilter) String

type ListTagValuesResponse

type ListTagValuesResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListTagValuesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListTagValuesResponse) GoString

func (s ListTagValuesResponse) GoString() string

func (*ListTagValuesResponse) SetBody

func (*ListTagValuesResponse) SetHeaders

func (*ListTagValuesResponse) SetStatusCode

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

func (ListTagValuesResponse) String

func (s ListTagValuesResponse) String() string

type ListTagValuesResponseBody

type ListTagValuesResponseBody struct {
	// Indicates whether the next query is required. The value of this parameter may be empty.
	//
	// *   If the value of this parameter is empty (`"NextToken": ""`), all results are returned, and the next query is not required.
	// *   If the value of this parameter is not empty, the next query is required, and the value is the token used to start the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The information of the tag values.
	Values *ListTagValuesResponseBodyValues `json:"Values,omitempty" xml:"Values,omitempty" type:"Struct"`
}

func (ListTagValuesResponseBody) GoString

func (s ListTagValuesResponseBody) GoString() string

func (*ListTagValuesResponseBody) SetNextToken

func (*ListTagValuesResponseBody) SetRequestId

func (*ListTagValuesResponseBody) SetValues

func (ListTagValuesResponseBody) String

func (s ListTagValuesResponseBody) String() string

type ListTagValuesResponseBodyValues

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

func (ListTagValuesResponseBodyValues) GoString

func (*ListTagValuesResponseBodyValues) SetValue

func (ListTagValuesResponseBodyValues) String

type ListTargetsForPolicyRequest

type ListTargetsForPolicyRequest struct {
	// The number of entries to return on each page.
	//
	// Default value: 50. Maximum value: 1000.
	MaxResult *int32 `json:"MaxResult,omitempty" xml:"MaxResult,omitempty"`
	// The token that is used to start the next query.
	NextToken    *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The ID of the tag policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
	// The region ID. Set the value to cn-shanghai.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
}

func (ListTargetsForPolicyRequest) GoString

func (s ListTargetsForPolicyRequest) GoString() string

func (*ListTargetsForPolicyRequest) SetMaxResult

func (*ListTargetsForPolicyRequest) SetNextToken

func (*ListTargetsForPolicyRequest) SetOwnerAccount

func (*ListTargetsForPolicyRequest) SetOwnerId

func (*ListTargetsForPolicyRequest) SetPolicyId

func (*ListTargetsForPolicyRequest) SetRegionId

func (*ListTargetsForPolicyRequest) SetResourceOwnerAccount

func (s *ListTargetsForPolicyRequest) SetResourceOwnerAccount(v string) *ListTargetsForPolicyRequest

func (ListTargetsForPolicyRequest) String

type ListTargetsForPolicyResponse

type ListTargetsForPolicyResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ListTargetsForPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ListTargetsForPolicyResponse) GoString

func (s ListTargetsForPolicyResponse) GoString() string

func (*ListTargetsForPolicyResponse) SetBody

func (*ListTargetsForPolicyResponse) SetHeaders

func (*ListTargetsForPolicyResponse) SetStatusCode

func (ListTargetsForPolicyResponse) String

type ListTargetsForPolicyResponseBody

type ListTargetsForPolicyResponseBody struct {
	// Indicates whether the object belongs to the resource directory. Valid values:
	//
	// *   true: The object belongs to the resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	// *   false: The object does not belong to the resource directory. This value is available if you use the Tag Policy feature in single-account mode.
	IsRd *bool `json:"IsRd,omitempty" xml:"IsRd,omitempty"`
	// Indicates whether the next query is required.
	//
	// *   If the value of this parameter is empty (`"NextToken": ""`), all results are returned, and the next query is not required.
	// *   If the value of this parameter is not empty, the next query is required, and the value is the token used to start the next query.
	NextToken *string `json:"NextToken,omitempty" xml:"NextToken,omitempty"`
	// The ID of the resource directory.
	//
	// >  This parameter is returned only if you use the Tag Policy feature in multi-account mode.
	RdId *string `json:"RdId,omitempty" xml:"RdId,omitempty"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// The objects to which the tag policy is attached.
	Targets []*ListTargetsForPolicyResponseBodyTargets `json:"Targets,omitempty" xml:"Targets,omitempty" type:"Repeated"`
}

func (ListTargetsForPolicyResponseBody) GoString

func (*ListTargetsForPolicyResponseBody) SetIsRd

func (*ListTargetsForPolicyResponseBody) SetNextToken

func (*ListTargetsForPolicyResponseBody) SetRdId

func (*ListTargetsForPolicyResponseBody) SetRequestId

func (ListTargetsForPolicyResponseBody) String

type ListTargetsForPolicyResponseBodyTargets

type ListTargetsForPolicyResponseBodyTargets struct {
	// The ID of the object.
	TargetId *string `json:"TargetId,omitempty" xml:"TargetId,omitempty"`
	// The type of the object. Valid values:
	//
	// *   USER: the current logon account. This value is available if you use the Tag Policy feature in single-account mode.
	// *   ROOT: the Root folder in the resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	// *   FOLDER: a folder other than the Root folder in the resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	// *   ACCOUNT: a member in the resource directory. This value is available if you use the Tag Policy feature in multi-account mode.
	TargetType *int32 `json:"TargetType,omitempty" xml:"TargetType,omitempty"`
}

func (ListTargetsForPolicyResponseBodyTargets) GoString

func (*ListTargetsForPolicyResponseBodyTargets) SetTargetId

func (*ListTargetsForPolicyResponseBodyTargets) SetTargetType

func (ListTargetsForPolicyResponseBodyTargets) String

type ModifyPolicyRequest

type ModifyPolicyRequest struct {
	// Specifies whether to perform a dry run for the request. Valid values:
	//
	// *   false: The system performs the related operation based on the parameter settings in the request. This is the default value.
	// *   true: The system does not perform the related operation based on the parameter settings in the request but only verifies the parameter settings.
	DryRun       *bool   `json:"DryRun,omitempty" xml:"DryRun,omitempty"`
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The document of the tag policy.
	//
	// For more information about the syntax of a tag policy, see [Syntax of a tag policy](~~417436~~).
	PolicyContent *string `json:"PolicyContent,omitempty" xml:"PolicyContent,omitempty"`
	// The description of the tag policy.
	//
	// The description must be 0 to 512 characters in length.
	PolicyDesc *string `json:"PolicyDesc,omitempty" xml:"PolicyDesc,omitempty"`
	// The ID of the tag policy.
	PolicyId *string `json:"PolicyId,omitempty" xml:"PolicyId,omitempty"`
	// The name of the tag policy.
	//
	// The name must be 1 to 128 characters in length and can contain letters, digits, and underscores (\_).
	PolicyName *string `json:"PolicyName,omitempty" xml:"PolicyName,omitempty"`
	// The region ID. Set the value to cn-shanghai.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
}

func (ModifyPolicyRequest) GoString

func (s ModifyPolicyRequest) GoString() string

func (*ModifyPolicyRequest) SetDryRun

func (s *ModifyPolicyRequest) SetDryRun(v bool) *ModifyPolicyRequest

func (*ModifyPolicyRequest) SetOwnerAccount

func (s *ModifyPolicyRequest) SetOwnerAccount(v string) *ModifyPolicyRequest

func (*ModifyPolicyRequest) SetOwnerId

func (s *ModifyPolicyRequest) SetOwnerId(v int64) *ModifyPolicyRequest

func (*ModifyPolicyRequest) SetPolicyContent

func (s *ModifyPolicyRequest) SetPolicyContent(v string) *ModifyPolicyRequest

func (*ModifyPolicyRequest) SetPolicyDesc

func (s *ModifyPolicyRequest) SetPolicyDesc(v string) *ModifyPolicyRequest

func (*ModifyPolicyRequest) SetPolicyId

func (s *ModifyPolicyRequest) SetPolicyId(v string) *ModifyPolicyRequest

func (*ModifyPolicyRequest) SetPolicyName

func (s *ModifyPolicyRequest) SetPolicyName(v string) *ModifyPolicyRequest

func (*ModifyPolicyRequest) SetRegionId

func (s *ModifyPolicyRequest) SetRegionId(v string) *ModifyPolicyRequest

func (*ModifyPolicyRequest) SetResourceOwnerAccount

func (s *ModifyPolicyRequest) SetResourceOwnerAccount(v string) *ModifyPolicyRequest

func (ModifyPolicyRequest) String

func (s ModifyPolicyRequest) String() string

type ModifyPolicyResponse

type ModifyPolicyResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ModifyPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ModifyPolicyResponse) GoString

func (s ModifyPolicyResponse) GoString() string

func (*ModifyPolicyResponse) SetBody

func (*ModifyPolicyResponse) SetHeaders

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

func (*ModifyPolicyResponse) SetStatusCode

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

func (ModifyPolicyResponse) String

func (s ModifyPolicyResponse) String() string

type ModifyPolicyResponseBody

type ModifyPolicyResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (ModifyPolicyResponseBody) GoString

func (s ModifyPolicyResponseBody) GoString() string

func (*ModifyPolicyResponseBody) SetRequestId

func (ModifyPolicyResponseBody) String

func (s ModifyPolicyResponseBody) String() string

type OpenCreatedByRequest added in v2.0.1

type OpenCreatedByRequest struct {
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID. Set the value to cn-shanghai.
	RegionId             *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	ResourceOwnerAccount *string `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	ResourceOwnerId      *string `json:"ResourceOwnerId,omitempty" xml:"ResourceOwnerId,omitempty"`
}

func (OpenCreatedByRequest) GoString added in v2.0.1

func (s OpenCreatedByRequest) GoString() string

func (*OpenCreatedByRequest) SetOwnerAccount added in v2.0.1

func (s *OpenCreatedByRequest) SetOwnerAccount(v string) *OpenCreatedByRequest

func (*OpenCreatedByRequest) SetOwnerId added in v2.0.1

func (*OpenCreatedByRequest) SetRegionId added in v2.0.1

func (*OpenCreatedByRequest) SetResourceOwnerAccount added in v2.0.1

func (s *OpenCreatedByRequest) SetResourceOwnerAccount(v string) *OpenCreatedByRequest

func (*OpenCreatedByRequest) SetResourceOwnerId added in v2.0.1

func (s *OpenCreatedByRequest) SetResourceOwnerId(v string) *OpenCreatedByRequest

func (OpenCreatedByRequest) String added in v2.0.1

func (s OpenCreatedByRequest) String() string

type OpenCreatedByResponse added in v2.0.1

type OpenCreatedByResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *OpenCreatedByResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (OpenCreatedByResponse) GoString added in v2.0.1

func (s OpenCreatedByResponse) GoString() string

func (*OpenCreatedByResponse) SetBody added in v2.0.1

func (*OpenCreatedByResponse) SetHeaders added in v2.0.1

func (*OpenCreatedByResponse) SetStatusCode added in v2.0.1

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

func (OpenCreatedByResponse) String added in v2.0.1

func (s OpenCreatedByResponse) String() string

type OpenCreatedByResponseBody added in v2.0.1

type OpenCreatedByResponseBody struct {
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OpenCreatedByResponseBody) GoString added in v2.0.1

func (s OpenCreatedByResponseBody) GoString() string

func (*OpenCreatedByResponseBody) SetRequestId added in v2.0.1

func (OpenCreatedByResponseBody) String added in v2.0.1

func (s OpenCreatedByResponseBody) String() string

type TagResourcesRequest

type TagResourcesRequest struct {
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID.
	//
	// *   If the resources belong to a service that is centrally deployed, set the value to `cn-hangzhou` or to the region ID of the resources by referring to [Regions supported by tag-related operations on resources of centrally deployed Alibaba Cloud services](~~2579691~~).
	// *   If the resources belong to a service that is not centrally deployed, set the value to the region ID of the resources.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The Alibaba Cloud Resource Name (ARN) of a resource.
	ResourceARN          []*string `json:"ResourceARN,omitempty" xml:"ResourceARN,omitempty" type:"Repeated"`
	ResourceOwnerAccount *string   `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	// The key-value pairs of tags. You can specify 1 to 10 key-value pairs.
	//
	// If you specify multiple tags, the system adds all the tags to the specified resources.
	//
	// Limits:
	//
	// *   A tag key must be 1 to 128 characters in length.
	// *   A tag value must be 1 to 128 characters in length.
	// *   Tag keys and tag values are case-sensitive.
	// *   Each tag key on a resource can have only one tag value. If you create a tag that has the same key as an existing tag, the value of the existing tag is overwritten.
	Tags *string `json:"Tags,omitempty" xml:"Tags,omitempty"`
}

func (TagResourcesRequest) GoString

func (s TagResourcesRequest) GoString() string

func (*TagResourcesRequest) SetOwnerAccount

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

func (*TagResourcesRequest) SetOwnerId

func (s *TagResourcesRequest) SetOwnerId(v int64) *TagResourcesRequest

func (*TagResourcesRequest) SetRegionId

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

func (*TagResourcesRequest) SetResourceARN

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

func (*TagResourcesRequest) SetResourceOwnerAccount

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

func (*TagResourcesRequest) SetTags

func (TagResourcesRequest) String

func (s TagResourcesRequest) String() string

type TagResourcesResponse

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

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 information about the resources to which tags fail to be added.
	//
	// >
	//
	// *   If tags are added to all resources, the value of `FailedResources` is empty.
	//
	// *   If tags fail to be added to some or all resources, the value of `FailedResources` contains the detailed information about the resources.
	FailedResources *TagResourcesResponseBodyFailedResources `json:"FailedResources,omitempty" xml:"FailedResources,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (TagResourcesResponseBody) GoString

func (s TagResourcesResponseBody) GoString() string

func (*TagResourcesResponseBody) SetFailedResources

func (*TagResourcesResponseBody) SetRequestId

func (TagResourcesResponseBody) String

func (s TagResourcesResponseBody) String() string

type TagResourcesResponseBodyFailedResources

type TagResourcesResponseBodyFailedResources struct {
	FailedResource []*TagResourcesResponseBodyFailedResourcesFailedResource `json:"FailedResource,omitempty" xml:"FailedResource,omitempty" type:"Repeated"`
}

func (TagResourcesResponseBodyFailedResources) GoString

func (TagResourcesResponseBodyFailedResources) String

type TagResourcesResponseBodyFailedResourcesFailedResource

type TagResourcesResponseBodyFailedResourcesFailedResource struct {
	// The ARN of the resource.
	ResourceARN *string `json:"ResourceARN,omitempty" xml:"ResourceARN,omitempty"`
	// The information about the error.
	Result *TagResourcesResponseBodyFailedResourcesFailedResourceResult `json:"Result,omitempty" xml:"Result,omitempty" type:"Struct"`
}

func (TagResourcesResponseBodyFailedResourcesFailedResource) GoString

func (*TagResourcesResponseBodyFailedResourcesFailedResource) SetResourceARN

func (TagResourcesResponseBodyFailedResourcesFailedResource) String

type TagResourcesResponseBodyFailedResourcesFailedResourceResult

type TagResourcesResponseBodyFailedResourcesFailedResourceResult struct {
	// The error code.
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The error message.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
}

func (TagResourcesResponseBodyFailedResourcesFailedResourceResult) GoString

func (*TagResourcesResponseBodyFailedResourcesFailedResourceResult) SetCode

func (*TagResourcesResponseBodyFailedResourcesFailedResourceResult) SetMessage

func (TagResourcesResponseBodyFailedResourcesFailedResourceResult) String

type UntagResourcesRequest

type UntagResourcesRequest struct {
	OwnerAccount *string `json:"OwnerAccount,omitempty" xml:"OwnerAccount,omitempty"`
	OwnerId      *int64  `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// The region ID.
	//
	// *   If the resources belong to a service that is centrally deployed, set the value to `cn-hangzhou` or to the region ID of the resources by referring to [Regions supported by tag-related operations on resources of centrally deployed Alibaba Cloud services](~~2579691~~).
	// *   If the resources belong to a service that is not centrally deployed, set the value to the region ID of the resources.
	RegionId *string `json:"RegionId,omitempty" xml:"RegionId,omitempty"`
	// The Alibaba Cloud Resource Name (ARN) of a resource.
	ResourceARN          []*string `json:"ResourceARN,omitempty" xml:"ResourceARN,omitempty" type:"Repeated"`
	ResourceOwnerAccount *string   `json:"ResourceOwnerAccount,omitempty" xml:"ResourceOwnerAccount,omitempty"`
	// A tag key.
	TagKey []*string `json:"TagKey,omitempty" xml:"TagKey,omitempty" type:"Repeated"`
}

func (UntagResourcesRequest) GoString

func (s UntagResourcesRequest) GoString() string

func (*UntagResourcesRequest) SetOwnerAccount

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

func (*UntagResourcesRequest) SetOwnerId

func (*UntagResourcesRequest) SetRegionId

func (*UntagResourcesRequest) SetResourceARN

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

func (*UntagResourcesRequest) SetResourceOwnerAccount

func (s *UntagResourcesRequest) SetResourceOwnerAccount(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"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *UntagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

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 information about the resources from which tags fail to be removed.
	//
	// >
	//
	// *   If tags are removed from all resources, the value of FailedResources is empty.
	//
	// *   If tags fail to be removed from some or all resources, the value of FailedResources contains the detailed information about the resources.
	FailedResources *UntagResourcesResponseBodyFailedResources `json:"FailedResources,omitempty" xml:"FailedResources,omitempty" type:"Struct"`
	// The ID of the request.
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (UntagResourcesResponseBody) GoString

func (s UntagResourcesResponseBody) GoString() string

func (*UntagResourcesResponseBody) SetRequestId

func (UntagResourcesResponseBody) String

type UntagResourcesResponseBodyFailedResources

type UntagResourcesResponseBodyFailedResources struct {
	FailedResource []*UntagResourcesResponseBodyFailedResourcesFailedResource `json:"FailedResource,omitempty" xml:"FailedResource,omitempty" type:"Repeated"`
}

func (UntagResourcesResponseBodyFailedResources) GoString

func (UntagResourcesResponseBodyFailedResources) String

type UntagResourcesResponseBodyFailedResourcesFailedResource

type UntagResourcesResponseBodyFailedResourcesFailedResource struct {
	// The ARN of the resource.
	ResourceARN *string `json:"ResourceARN,omitempty" xml:"ResourceARN,omitempty"`
	// The information about the error.
	Result *UntagResourcesResponseBodyFailedResourcesFailedResourceResult `json:"Result,omitempty" xml:"Result,omitempty" type:"Struct"`
}

func (UntagResourcesResponseBodyFailedResourcesFailedResource) GoString

func (*UntagResourcesResponseBodyFailedResourcesFailedResource) SetResourceARN

func (UntagResourcesResponseBodyFailedResourcesFailedResource) String

type UntagResourcesResponseBodyFailedResourcesFailedResourceResult

type UntagResourcesResponseBodyFailedResourcesFailedResourceResult struct {
	// The error code.
	Code *string `json:"Code,omitempty" xml:"Code,omitempty"`
	// The error message.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
}

func (UntagResourcesResponseBodyFailedResourcesFailedResourceResult) GoString

func (*UntagResourcesResponseBodyFailedResourcesFailedResourceResult) SetCode

func (*UntagResourcesResponseBodyFailedResourcesFailedResourceResult) SetMessage

func (UntagResourcesResponseBodyFailedResourcesFailedResourceResult) String

Jump to

Keyboard shortcuts

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