Documentation ¶
Overview ¶
This file is auto-generated, don't edit it. Thanks. *
*
Index ¶
- type AttachPolicyRequest
- func (s AttachPolicyRequest) GoString() string
- func (s *AttachPolicyRequest) SetOwnerAccount(v string) *AttachPolicyRequest
- func (s *AttachPolicyRequest) SetOwnerId(v int64) *AttachPolicyRequest
- func (s *AttachPolicyRequest) SetPolicyId(v string) *AttachPolicyRequest
- func (s *AttachPolicyRequest) SetRegionId(v string) *AttachPolicyRequest
- func (s *AttachPolicyRequest) SetResourceOwnerAccount(v string) *AttachPolicyRequest
- func (s *AttachPolicyRequest) SetTargetId(v string) *AttachPolicyRequest
- func (s *AttachPolicyRequest) SetTargetType(v string) *AttachPolicyRequest
- func (s AttachPolicyRequest) String() string
- type AttachPolicyResponse
- func (s AttachPolicyResponse) GoString() string
- func (s *AttachPolicyResponse) SetBody(v *AttachPolicyResponseBody) *AttachPolicyResponse
- func (s *AttachPolicyResponse) SetHeaders(v map[string]*string) *AttachPolicyResponse
- func (s *AttachPolicyResponse) SetStatusCode(v int32) *AttachPolicyResponse
- func (s AttachPolicyResponse) String() string
- type AttachPolicyResponseBody
- type CheckCreatedByEnabledRequest
- func (s CheckCreatedByEnabledRequest) GoString() string
- func (s *CheckCreatedByEnabledRequest) SetOwnerAccount(v string) *CheckCreatedByEnabledRequest
- func (s *CheckCreatedByEnabledRequest) SetOwnerId(v int64) *CheckCreatedByEnabledRequest
- func (s *CheckCreatedByEnabledRequest) SetRegionId(v string) *CheckCreatedByEnabledRequest
- func (s *CheckCreatedByEnabledRequest) SetResourceOwnerAccount(v string) *CheckCreatedByEnabledRequest
- func (s *CheckCreatedByEnabledRequest) SetResourceOwnerId(v string) *CheckCreatedByEnabledRequest
- func (s CheckCreatedByEnabledRequest) String() string
- type CheckCreatedByEnabledResponse
- func (s CheckCreatedByEnabledResponse) GoString() string
- func (s *CheckCreatedByEnabledResponse) SetBody(v *CheckCreatedByEnabledResponseBody) *CheckCreatedByEnabledResponse
- func (s *CheckCreatedByEnabledResponse) SetHeaders(v map[string]*string) *CheckCreatedByEnabledResponse
- func (s *CheckCreatedByEnabledResponse) SetStatusCode(v int32) *CheckCreatedByEnabledResponse
- func (s CheckCreatedByEnabledResponse) String() string
- type CheckCreatedByEnabledResponseBody
- func (s CheckCreatedByEnabledResponseBody) GoString() string
- func (s *CheckCreatedByEnabledResponseBody) SetOpenStatus(v bool) *CheckCreatedByEnabledResponseBody
- func (s *CheckCreatedByEnabledResponseBody) SetRequestId(v string) *CheckCreatedByEnabledResponseBody
- func (s CheckCreatedByEnabledResponseBody) String() string
- type Client
- func (client *Client) AttachPolicy(request *AttachPolicyRequest) (_result *AttachPolicyResponse, _err error)
- func (client *Client) AttachPolicyWithOptions(request *AttachPolicyRequest, runtime *util.RuntimeOptions) (_result *AttachPolicyResponse, _err error)
- func (client *Client) CheckCreatedByEnabled(request *CheckCreatedByEnabledRequest) (_result *CheckCreatedByEnabledResponse, _err error)
- func (client *Client) CheckCreatedByEnabledWithOptions(request *CheckCreatedByEnabledRequest, runtime *util.RuntimeOptions) (_result *CheckCreatedByEnabledResponse, _err error)
- func (client *Client) CloseCreatedBy(request *CloseCreatedByRequest) (_result *CloseCreatedByResponse, _err error)
- func (client *Client) CloseCreatedByWithOptions(request *CloseCreatedByRequest, runtime *util.RuntimeOptions) (_result *CloseCreatedByResponse, _err error)
- func (client *Client) CreatePolicy(request *CreatePolicyRequest) (_result *CreatePolicyResponse, _err error)
- func (client *Client) CreatePolicyWithOptions(request *CreatePolicyRequest, runtime *util.RuntimeOptions) (_result *CreatePolicyResponse, _err error)
- func (client *Client) CreateTags(request *CreateTagsRequest) (_result *CreateTagsResponse, _err error)
- func (client *Client) CreateTagsWithOptions(request *CreateTagsRequest, runtime *util.RuntimeOptions) (_result *CreateTagsResponse, _err error)
- func (client *Client) DeletePolicy(request *DeletePolicyRequest) (_result *DeletePolicyResponse, _err error)
- func (client *Client) DeletePolicyWithOptions(request *DeletePolicyRequest, runtime *util.RuntimeOptions) (_result *DeletePolicyResponse, _err error)
- func (client *Client) DeleteTag(request *DeleteTagRequest) (_result *DeleteTagResponse, _err error)
- func (client *Client) DeleteTagWithOptions(request *DeleteTagRequest, runtime *util.RuntimeOptions) (_result *DeleteTagResponse, _err error)
- func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (_result *DescribeRegionsResponse, _err error)
- func (client *Client) DescribeRegionsWithOptions(request *DescribeRegionsRequest, runtime *util.RuntimeOptions) (_result *DescribeRegionsResponse, _err error)
- func (client *Client) DetachPolicy(request *DetachPolicyRequest) (_result *DetachPolicyResponse, _err error)
- func (client *Client) DetachPolicyWithOptions(request *DetachPolicyRequest, runtime *util.RuntimeOptions) (_result *DetachPolicyResponse, _err error)
- func (client *Client) DisablePolicyType(request *DisablePolicyTypeRequest) (_result *DisablePolicyTypeResponse, _err error)
- func (client *Client) DisablePolicyTypeWithOptions(request *DisablePolicyTypeRequest, runtime *util.RuntimeOptions) (_result *DisablePolicyTypeResponse, _err error)
- func (client *Client) EnablePolicyType(request *EnablePolicyTypeRequest) (_result *EnablePolicyTypeResponse, _err error)
- func (client *Client) EnablePolicyTypeWithOptions(request *EnablePolicyTypeRequest, runtime *util.RuntimeOptions) (_result *EnablePolicyTypeResponse, _err error)
- func (client *Client) GenerateConfigRuleReport(request *GenerateConfigRuleReportRequest) (_result *GenerateConfigRuleReportResponse, _err error)
- func (client *Client) GenerateConfigRuleReportWithOptions(request *GenerateConfigRuleReportRequest, runtime *util.RuntimeOptions) (_result *GenerateConfigRuleReportResponse, _err error)
- func (client *Client) GetConfigRuleReport(request *GetConfigRuleReportRequest) (_result *GetConfigRuleReportResponse, _err error)
- func (client *Client) GetConfigRuleReportWithOptions(request *GetConfigRuleReportRequest, runtime *util.RuntimeOptions) (_result *GetConfigRuleReportResponse, _err error)
- func (client *Client) GetEffectivePolicy(request *GetEffectivePolicyRequest) (_result *GetEffectivePolicyResponse, _err error)
- func (client *Client) GetEffectivePolicyWithOptions(request *GetEffectivePolicyRequest, runtime *util.RuntimeOptions) (_result *GetEffectivePolicyResponse, _err error)
- func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, ...) (_result *string, _err error)
- func (client *Client) GetPolicy(request *GetPolicyRequest) (_result *GetPolicyResponse, _err error)
- func (client *Client) GetPolicyEnableStatus(request *GetPolicyEnableStatusRequest) (_result *GetPolicyEnableStatusResponse, _err error)
- func (client *Client) GetPolicyEnableStatusWithOptions(request *GetPolicyEnableStatusRequest, runtime *util.RuntimeOptions) (_result *GetPolicyEnableStatusResponse, _err error)
- func (client *Client) GetPolicyWithOptions(request *GetPolicyRequest, runtime *util.RuntimeOptions) (_result *GetPolicyResponse, _err error)
- func (client *Client) Init(config *openapi.Config) (_err error)
- func (client *Client) ListConfigRulesForTarget(request *ListConfigRulesForTargetRequest) (_result *ListConfigRulesForTargetResponse, _err error)
- func (client *Client) ListConfigRulesForTargetWithOptions(request *ListConfigRulesForTargetRequest, runtime *util.RuntimeOptions) (_result *ListConfigRulesForTargetResponse, _err error)
- func (client *Client) ListPolicies(request *ListPoliciesRequest) (_result *ListPoliciesResponse, _err error)
- func (client *Client) ListPoliciesForTarget(request *ListPoliciesForTargetRequest) (_result *ListPoliciesForTargetResponse, _err error)
- func (client *Client) ListPoliciesForTargetWithOptions(request *ListPoliciesForTargetRequest, runtime *util.RuntimeOptions) (_result *ListPoliciesForTargetResponse, _err error)
- func (client *Client) ListPoliciesWithOptions(request *ListPoliciesRequest, runtime *util.RuntimeOptions) (_result *ListPoliciesResponse, _err error)
- func (client *Client) ListResourcesByTag(request *ListResourcesByTagRequest) (_result *ListResourcesByTagResponse, _err error)
- func (client *Client) ListResourcesByTagWithOptions(request *ListResourcesByTagRequest, runtime *util.RuntimeOptions) (_result *ListResourcesByTagResponse, _err error)
- func (client *Client) ListSupportResourceTypes(request *ListSupportResourceTypesRequest) (_result *ListSupportResourceTypesResponse, _err error)
- func (client *Client) ListSupportResourceTypesWithOptions(request *ListSupportResourceTypesRequest, runtime *util.RuntimeOptions) (_result *ListSupportResourceTypesResponse, _err error)
- func (client *Client) ListTagKeys(request *ListTagKeysRequest) (_result *ListTagKeysResponse, _err error)
- func (client *Client) ListTagKeysWithOptions(request *ListTagKeysRequest, runtime *util.RuntimeOptions) (_result *ListTagKeysResponse, _err error)
- func (client *Client) ListTagResources(request *ListTagResourcesRequest) (_result *ListTagResourcesResponse, _err error)
- func (client *Client) ListTagResourcesWithOptions(request *ListTagResourcesRequest, runtime *util.RuntimeOptions) (_result *ListTagResourcesResponse, _err error)
- func (client *Client) ListTagValues(request *ListTagValuesRequest) (_result *ListTagValuesResponse, _err error)
- func (client *Client) ListTagValuesWithOptions(request *ListTagValuesRequest, runtime *util.RuntimeOptions) (_result *ListTagValuesResponse, _err error)
- func (client *Client) ListTargetsForPolicy(request *ListTargetsForPolicyRequest) (_result *ListTargetsForPolicyResponse, _err error)
- func (client *Client) ListTargetsForPolicyWithOptions(request *ListTargetsForPolicyRequest, runtime *util.RuntimeOptions) (_result *ListTargetsForPolicyResponse, _err error)
- func (client *Client) ModifyPolicy(request *ModifyPolicyRequest) (_result *ModifyPolicyResponse, _err error)
- func (client *Client) ModifyPolicyWithOptions(request *ModifyPolicyRequest, runtime *util.RuntimeOptions) (_result *ModifyPolicyResponse, _err error)
- func (client *Client) OpenCreatedBy(request *OpenCreatedByRequest) (_result *OpenCreatedByResponse, _err error)
- func (client *Client) OpenCreatedByWithOptions(request *OpenCreatedByRequest, runtime *util.RuntimeOptions) (_result *OpenCreatedByResponse, _err error)
- func (client *Client) TagResources(request *TagResourcesRequest) (_result *TagResourcesResponse, _err error)
- func (client *Client) TagResourcesWithOptions(request *TagResourcesRequest, runtime *util.RuntimeOptions) (_result *TagResourcesResponse, _err error)
- func (client *Client) UntagResources(request *UntagResourcesRequest) (_result *UntagResourcesResponse, _err error)
- func (client *Client) UntagResourcesWithOptions(request *UntagResourcesRequest, runtime *util.RuntimeOptions) (_result *UntagResourcesResponse, _err error)
- type CloseCreatedByRequest
- func (s CloseCreatedByRequest) GoString() string
- func (s *CloseCreatedByRequest) SetOwnerAccount(v string) *CloseCreatedByRequest
- func (s *CloseCreatedByRequest) SetOwnerId(v int64) *CloseCreatedByRequest
- func (s *CloseCreatedByRequest) SetRegionId(v string) *CloseCreatedByRequest
- func (s *CloseCreatedByRequest) SetResourceOwnerAccount(v string) *CloseCreatedByRequest
- func (s *CloseCreatedByRequest) SetResourceOwnerId(v string) *CloseCreatedByRequest
- func (s CloseCreatedByRequest) String() string
- type CloseCreatedByResponse
- func (s CloseCreatedByResponse) GoString() string
- func (s *CloseCreatedByResponse) SetBody(v *CloseCreatedByResponseBody) *CloseCreatedByResponse
- func (s *CloseCreatedByResponse) SetHeaders(v map[string]*string) *CloseCreatedByResponse
- func (s *CloseCreatedByResponse) SetStatusCode(v int32) *CloseCreatedByResponse
- func (s CloseCreatedByResponse) String() string
- type CloseCreatedByResponseBody
- type CreatePolicyRequest
- func (s CreatePolicyRequest) GoString() string
- func (s *CreatePolicyRequest) SetDryRun(v bool) *CreatePolicyRequest
- func (s *CreatePolicyRequest) SetOwnerAccount(v string) *CreatePolicyRequest
- func (s *CreatePolicyRequest) SetOwnerId(v int64) *CreatePolicyRequest
- func (s *CreatePolicyRequest) SetPolicyContent(v string) *CreatePolicyRequest
- func (s *CreatePolicyRequest) SetPolicyDesc(v string) *CreatePolicyRequest
- func (s *CreatePolicyRequest) SetPolicyName(v string) *CreatePolicyRequest
- func (s *CreatePolicyRequest) SetRegionId(v string) *CreatePolicyRequest
- func (s *CreatePolicyRequest) SetResourceOwnerAccount(v string) *CreatePolicyRequest
- func (s *CreatePolicyRequest) SetUserType(v string) *CreatePolicyRequest
- func (s CreatePolicyRequest) String() string
- type CreatePolicyResponse
- func (s CreatePolicyResponse) GoString() string
- func (s *CreatePolicyResponse) SetBody(v *CreatePolicyResponseBody) *CreatePolicyResponse
- func (s *CreatePolicyResponse) SetHeaders(v map[string]*string) *CreatePolicyResponse
- func (s *CreatePolicyResponse) SetStatusCode(v int32) *CreatePolicyResponse
- func (s CreatePolicyResponse) String() string
- type CreatePolicyResponseBody
- func (s CreatePolicyResponseBody) GoString() string
- func (s *CreatePolicyResponseBody) SetPolicyId(v string) *CreatePolicyResponseBody
- func (s *CreatePolicyResponseBody) SetPolicyName(v string) *CreatePolicyResponseBody
- func (s *CreatePolicyResponseBody) SetRequestId(v string) *CreatePolicyResponseBody
- func (s CreatePolicyResponseBody) String() string
- type CreateTagsRequest
- func (s CreateTagsRequest) GoString() string
- func (s *CreateTagsRequest) SetOwnerAccount(v string) *CreateTagsRequest
- func (s *CreateTagsRequest) SetOwnerId(v int64) *CreateTagsRequest
- func (s *CreateTagsRequest) SetRegionId(v string) *CreateTagsRequest
- func (s *CreateTagsRequest) SetResourceOwnerAccount(v string) *CreateTagsRequest
- func (s *CreateTagsRequest) SetTagKeyValueParamList(v []*CreateTagsRequestTagKeyValueParamList) *CreateTagsRequest
- func (s CreateTagsRequest) String() string
- type CreateTagsRequestTagKeyValueParamList
- func (s CreateTagsRequestTagKeyValueParamList) GoString() string
- func (s *CreateTagsRequestTagKeyValueParamList) SetDescription(v string) *CreateTagsRequestTagKeyValueParamList
- func (s *CreateTagsRequestTagKeyValueParamList) SetKey(v string) *CreateTagsRequestTagKeyValueParamList
- func (s *CreateTagsRequestTagKeyValueParamList) SetTagValueParamList(v []*CreateTagsRequestTagKeyValueParamListTagValueParamList) *CreateTagsRequestTagKeyValueParamList
- func (s CreateTagsRequestTagKeyValueParamList) String() string
- type CreateTagsRequestTagKeyValueParamListTagValueParamList
- func (s CreateTagsRequestTagKeyValueParamListTagValueParamList) GoString() string
- func (s *CreateTagsRequestTagKeyValueParamListTagValueParamList) SetDescription(v string) *CreateTagsRequestTagKeyValueParamListTagValueParamList
- func (s *CreateTagsRequestTagKeyValueParamListTagValueParamList) SetValue(v string) *CreateTagsRequestTagKeyValueParamListTagValueParamList
- func (s CreateTagsRequestTagKeyValueParamListTagValueParamList) String() string
- type CreateTagsResponse
- func (s CreateTagsResponse) GoString() string
- func (s *CreateTagsResponse) SetBody(v *CreateTagsResponseBody) *CreateTagsResponse
- func (s *CreateTagsResponse) SetHeaders(v map[string]*string) *CreateTagsResponse
- func (s *CreateTagsResponse) SetStatusCode(v int32) *CreateTagsResponse
- func (s CreateTagsResponse) String() string
- type CreateTagsResponseBody
- type DeletePolicyRequest
- func (s DeletePolicyRequest) GoString() string
- func (s *DeletePolicyRequest) SetOwnerAccount(v string) *DeletePolicyRequest
- func (s *DeletePolicyRequest) SetOwnerId(v int64) *DeletePolicyRequest
- func (s *DeletePolicyRequest) SetPolicyId(v string) *DeletePolicyRequest
- func (s *DeletePolicyRequest) SetRegionId(v string) *DeletePolicyRequest
- func (s *DeletePolicyRequest) SetResourceOwnerAccount(v string) *DeletePolicyRequest
- func (s DeletePolicyRequest) String() string
- type DeletePolicyResponse
- func (s DeletePolicyResponse) GoString() string
- func (s *DeletePolicyResponse) SetBody(v *DeletePolicyResponseBody) *DeletePolicyResponse
- func (s *DeletePolicyResponse) SetHeaders(v map[string]*string) *DeletePolicyResponse
- func (s *DeletePolicyResponse) SetStatusCode(v int32) *DeletePolicyResponse
- func (s DeletePolicyResponse) String() string
- type DeletePolicyResponseBody
- type DeleteTagRequest
- func (s DeleteTagRequest) GoString() string
- func (s *DeleteTagRequest) SetKey(v string) *DeleteTagRequest
- func (s *DeleteTagRequest) SetOwnerAccount(v string) *DeleteTagRequest
- func (s *DeleteTagRequest) SetOwnerId(v int64) *DeleteTagRequest
- func (s *DeleteTagRequest) SetRegionId(v string) *DeleteTagRequest
- func (s *DeleteTagRequest) SetResourceOwnerAccount(v string) *DeleteTagRequest
- func (s *DeleteTagRequest) SetValue(v string) *DeleteTagRequest
- func (s DeleteTagRequest) String() string
- type DeleteTagResponse
- func (s DeleteTagResponse) GoString() string
- func (s *DeleteTagResponse) SetBody(v *DeleteTagResponseBody) *DeleteTagResponse
- func (s *DeleteTagResponse) SetHeaders(v map[string]*string) *DeleteTagResponse
- func (s *DeleteTagResponse) SetStatusCode(v int32) *DeleteTagResponse
- func (s DeleteTagResponse) String() string
- type DeleteTagResponseBody
- type DescribeRegionsRequest
- func (s DescribeRegionsRequest) GoString() string
- func (s *DescribeRegionsRequest) SetAcceptLanguage(v string) *DescribeRegionsRequest
- func (s *DescribeRegionsRequest) SetOwnerAccount(v string) *DescribeRegionsRequest
- func (s *DescribeRegionsRequest) SetOwnerId(v int64) *DescribeRegionsRequest
- func (s *DescribeRegionsRequest) SetRegionId(v string) *DescribeRegionsRequest
- func (s *DescribeRegionsRequest) SetResourceOwnerAccount(v string) *DescribeRegionsRequest
- func (s *DescribeRegionsRequest) SetResourceOwnerId(v int64) *DescribeRegionsRequest
- func (s DescribeRegionsRequest) String() string
- type DescribeRegionsResponse
- func (s DescribeRegionsResponse) GoString() string
- func (s *DescribeRegionsResponse) SetBody(v *DescribeRegionsResponseBody) *DescribeRegionsResponse
- func (s *DescribeRegionsResponse) SetHeaders(v map[string]*string) *DescribeRegionsResponse
- func (s *DescribeRegionsResponse) SetStatusCode(v int32) *DescribeRegionsResponse
- func (s DescribeRegionsResponse) String() string
- type DescribeRegionsResponseBody
- func (s DescribeRegionsResponseBody) GoString() string
- func (s *DescribeRegionsResponseBody) SetRegions(v *DescribeRegionsResponseBodyRegions) *DescribeRegionsResponseBody
- func (s *DescribeRegionsResponseBody) SetRequestId(v string) *DescribeRegionsResponseBody
- func (s DescribeRegionsResponseBody) String() string
- type DescribeRegionsResponseBodyRegions
- type DescribeRegionsResponseBodyRegionsRegion
- func (s DescribeRegionsResponseBodyRegionsRegion) GoString() string
- func (s *DescribeRegionsResponseBodyRegionsRegion) SetLocalName(v string) *DescribeRegionsResponseBodyRegionsRegion
- func (s *DescribeRegionsResponseBodyRegionsRegion) SetRegionEndpoint(v string) *DescribeRegionsResponseBodyRegionsRegion
- func (s *DescribeRegionsResponseBodyRegionsRegion) SetRegionId(v string) *DescribeRegionsResponseBodyRegionsRegion
- func (s DescribeRegionsResponseBodyRegionsRegion) String() string
- type DetachPolicyRequest
- func (s DetachPolicyRequest) GoString() string
- func (s *DetachPolicyRequest) SetOwnerAccount(v string) *DetachPolicyRequest
- func (s *DetachPolicyRequest) SetOwnerId(v int64) *DetachPolicyRequest
- func (s *DetachPolicyRequest) SetPolicyId(v string) *DetachPolicyRequest
- func (s *DetachPolicyRequest) SetRegionId(v string) *DetachPolicyRequest
- func (s *DetachPolicyRequest) SetResourceOwnerAccount(v string) *DetachPolicyRequest
- func (s *DetachPolicyRequest) SetTargetId(v string) *DetachPolicyRequest
- func (s *DetachPolicyRequest) SetTargetType(v string) *DetachPolicyRequest
- func (s DetachPolicyRequest) String() string
- type DetachPolicyResponse
- func (s DetachPolicyResponse) GoString() string
- func (s *DetachPolicyResponse) SetBody(v *DetachPolicyResponseBody) *DetachPolicyResponse
- func (s *DetachPolicyResponse) SetHeaders(v map[string]*string) *DetachPolicyResponse
- func (s *DetachPolicyResponse) SetStatusCode(v int32) *DetachPolicyResponse
- func (s DetachPolicyResponse) String() string
- type DetachPolicyResponseBody
- type DisablePolicyTypeRequest
- func (s DisablePolicyTypeRequest) GoString() string
- func (s *DisablePolicyTypeRequest) SetOpenType(v string) *DisablePolicyTypeRequest
- func (s *DisablePolicyTypeRequest) SetOwnerAccount(v string) *DisablePolicyTypeRequest
- func (s *DisablePolicyTypeRequest) SetOwnerId(v int64) *DisablePolicyTypeRequest
- func (s *DisablePolicyTypeRequest) SetRegionId(v string) *DisablePolicyTypeRequest
- func (s *DisablePolicyTypeRequest) SetResourceOwnerAccount(v string) *DisablePolicyTypeRequest
- func (s *DisablePolicyTypeRequest) SetResourceOwnerId(v string) *DisablePolicyTypeRequest
- func (s *DisablePolicyTypeRequest) SetUserType(v string) *DisablePolicyTypeRequest
- func (s DisablePolicyTypeRequest) String() string
- type DisablePolicyTypeResponse
- func (s DisablePolicyTypeResponse) GoString() string
- func (s *DisablePolicyTypeResponse) SetBody(v *DisablePolicyTypeResponseBody) *DisablePolicyTypeResponse
- func (s *DisablePolicyTypeResponse) SetHeaders(v map[string]*string) *DisablePolicyTypeResponse
- func (s *DisablePolicyTypeResponse) SetStatusCode(v int32) *DisablePolicyTypeResponse
- func (s DisablePolicyTypeResponse) String() string
- type DisablePolicyTypeResponseBody
- type EnablePolicyTypeRequest
- func (s EnablePolicyTypeRequest) GoString() string
- func (s *EnablePolicyTypeRequest) SetOpenType(v string) *EnablePolicyTypeRequest
- func (s *EnablePolicyTypeRequest) SetOwnerAccount(v string) *EnablePolicyTypeRequest
- func (s *EnablePolicyTypeRequest) SetOwnerId(v int64) *EnablePolicyTypeRequest
- func (s *EnablePolicyTypeRequest) SetRegionId(v string) *EnablePolicyTypeRequest
- func (s *EnablePolicyTypeRequest) SetResourceOwnerAccount(v string) *EnablePolicyTypeRequest
- func (s *EnablePolicyTypeRequest) SetResourceOwnerId(v string) *EnablePolicyTypeRequest
- func (s *EnablePolicyTypeRequest) SetUserType(v string) *EnablePolicyTypeRequest
- func (s EnablePolicyTypeRequest) String() string
- type EnablePolicyTypeResponse
- func (s EnablePolicyTypeResponse) GoString() string
- func (s *EnablePolicyTypeResponse) SetBody(v *EnablePolicyTypeResponseBody) *EnablePolicyTypeResponse
- func (s *EnablePolicyTypeResponse) SetHeaders(v map[string]*string) *EnablePolicyTypeResponse
- func (s *EnablePolicyTypeResponse) SetStatusCode(v int32) *EnablePolicyTypeResponse
- func (s EnablePolicyTypeResponse) String() string
- type EnablePolicyTypeResponseBody
- type GenerateConfigRuleReportRequest
- func (s GenerateConfigRuleReportRequest) GoString() string
- func (s *GenerateConfigRuleReportRequest) SetOwnerAccount(v string) *GenerateConfigRuleReportRequest
- func (s *GenerateConfigRuleReportRequest) SetOwnerId(v int64) *GenerateConfigRuleReportRequest
- func (s *GenerateConfigRuleReportRequest) SetRegionId(v string) *GenerateConfigRuleReportRequest
- func (s *GenerateConfigRuleReportRequest) SetResourceOwnerAccount(v string) *GenerateConfigRuleReportRequest
- func (s *GenerateConfigRuleReportRequest) SetTargetId(v string) *GenerateConfigRuleReportRequest
- func (s *GenerateConfigRuleReportRequest) SetTargetType(v string) *GenerateConfigRuleReportRequest
- func (s *GenerateConfigRuleReportRequest) SetUserType(v string) *GenerateConfigRuleReportRequest
- func (s GenerateConfigRuleReportRequest) String() string
- type GenerateConfigRuleReportResponse
- func (s GenerateConfigRuleReportResponse) GoString() string
- func (s *GenerateConfigRuleReportResponse) SetBody(v *GenerateConfigRuleReportResponseBody) *GenerateConfigRuleReportResponse
- func (s *GenerateConfigRuleReportResponse) SetHeaders(v map[string]*string) *GenerateConfigRuleReportResponse
- func (s *GenerateConfigRuleReportResponse) SetStatusCode(v int32) *GenerateConfigRuleReportResponse
- func (s GenerateConfigRuleReportResponse) String() string
- type GenerateConfigRuleReportResponseBody
- func (s GenerateConfigRuleReportResponseBody) GoString() string
- func (s *GenerateConfigRuleReportResponseBody) SetReportId(v string) *GenerateConfigRuleReportResponseBody
- func (s *GenerateConfigRuleReportResponseBody) SetRequestId(v string) *GenerateConfigRuleReportResponseBody
- func (s GenerateConfigRuleReportResponseBody) String() string
- type GetConfigRuleReportRequest
- func (s GetConfigRuleReportRequest) GoString() string
- func (s *GetConfigRuleReportRequest) SetOwnerAccount(v string) *GetConfigRuleReportRequest
- func (s *GetConfigRuleReportRequest) SetOwnerId(v int64) *GetConfigRuleReportRequest
- func (s *GetConfigRuleReportRequest) SetRegionId(v string) *GetConfigRuleReportRequest
- func (s *GetConfigRuleReportRequest) SetResourceOwnerAccount(v string) *GetConfigRuleReportRequest
- func (s *GetConfigRuleReportRequest) SetTargetId(v string) *GetConfigRuleReportRequest
- func (s *GetConfigRuleReportRequest) SetTargetType(v string) *GetConfigRuleReportRequest
- func (s *GetConfigRuleReportRequest) SetUserType(v string) *GetConfigRuleReportRequest
- func (s GetConfigRuleReportRequest) String() string
- type GetConfigRuleReportResponse
- func (s GetConfigRuleReportResponse) GoString() string
- func (s *GetConfigRuleReportResponse) SetBody(v *GetConfigRuleReportResponseBody) *GetConfigRuleReportResponse
- func (s *GetConfigRuleReportResponse) SetHeaders(v map[string]*string) *GetConfigRuleReportResponse
- func (s *GetConfigRuleReportResponse) SetStatusCode(v int32) *GetConfigRuleReportResponse
- func (s GetConfigRuleReportResponse) String() string
- type GetConfigRuleReportResponseBody
- func (s GetConfigRuleReportResponseBody) GoString() string
- func (s *GetConfigRuleReportResponseBody) SetData(v *GetConfigRuleReportResponseBodyData) *GetConfigRuleReportResponseBody
- func (s *GetConfigRuleReportResponseBody) SetHttpStatusCode(v int32) *GetConfigRuleReportResponseBody
- func (s *GetConfigRuleReportResponseBody) SetRequestId(v string) *GetConfigRuleReportResponseBody
- func (s *GetConfigRuleReportResponseBody) SetSuccess(v bool) *GetConfigRuleReportResponseBody
- func (s GetConfigRuleReportResponseBody) String() string
- type GetConfigRuleReportResponseBodyData
- func (s GetConfigRuleReportResponseBodyData) GoString() string
- func (s *GetConfigRuleReportResponseBodyData) SetCreatedTime(v int64) *GetConfigRuleReportResponseBodyData
- func (s *GetConfigRuleReportResponseBodyData) SetReportId(v string) *GetConfigRuleReportResponseBodyData
- func (s *GetConfigRuleReportResponseBodyData) SetTargetId(v string) *GetConfigRuleReportResponseBodyData
- func (s *GetConfigRuleReportResponseBodyData) SetTargetType(v string) *GetConfigRuleReportResponseBodyData
- func (s GetConfigRuleReportResponseBodyData) String() string
- type GetEffectivePolicyRequest
- func (s GetEffectivePolicyRequest) GoString() string
- func (s *GetEffectivePolicyRequest) SetOwnerAccount(v string) *GetEffectivePolicyRequest
- func (s *GetEffectivePolicyRequest) SetOwnerId(v int64) *GetEffectivePolicyRequest
- func (s *GetEffectivePolicyRequest) SetRegionId(v string) *GetEffectivePolicyRequest
- func (s *GetEffectivePolicyRequest) SetResourceOwnerAccount(v string) *GetEffectivePolicyRequest
- func (s *GetEffectivePolicyRequest) SetTargetId(v string) *GetEffectivePolicyRequest
- func (s *GetEffectivePolicyRequest) SetTargetType(v string) *GetEffectivePolicyRequest
- func (s GetEffectivePolicyRequest) String() string
- type GetEffectivePolicyResponse
- func (s GetEffectivePolicyResponse) GoString() string
- func (s *GetEffectivePolicyResponse) SetBody(v *GetEffectivePolicyResponseBody) *GetEffectivePolicyResponse
- func (s *GetEffectivePolicyResponse) SetHeaders(v map[string]*string) *GetEffectivePolicyResponse
- func (s *GetEffectivePolicyResponse) SetStatusCode(v int32) *GetEffectivePolicyResponse
- func (s GetEffectivePolicyResponse) String() string
- type GetEffectivePolicyResponseBody
- func (s GetEffectivePolicyResponseBody) GoString() string
- func (s *GetEffectivePolicyResponseBody) SetEffectivePolicy(v string) *GetEffectivePolicyResponseBody
- func (s *GetEffectivePolicyResponseBody) SetRequestId(v string) *GetEffectivePolicyResponseBody
- func (s GetEffectivePolicyResponseBody) String() string
- type GetPolicyEnableStatusRequest
- func (s GetPolicyEnableStatusRequest) GoString() string
- func (s *GetPolicyEnableStatusRequest) SetOpenType(v string) *GetPolicyEnableStatusRequest
- func (s *GetPolicyEnableStatusRequest) SetOwnerAccount(v string) *GetPolicyEnableStatusRequest
- func (s *GetPolicyEnableStatusRequest) SetOwnerId(v int64) *GetPolicyEnableStatusRequest
- func (s *GetPolicyEnableStatusRequest) SetRegionId(v string) *GetPolicyEnableStatusRequest
- func (s *GetPolicyEnableStatusRequest) SetResourceOwnerAccount(v string) *GetPolicyEnableStatusRequest
- func (s *GetPolicyEnableStatusRequest) SetResourceOwnerId(v string) *GetPolicyEnableStatusRequest
- func (s *GetPolicyEnableStatusRequest) SetUserType(v string) *GetPolicyEnableStatusRequest
- func (s GetPolicyEnableStatusRequest) String() string
- type GetPolicyEnableStatusResponse
- func (s GetPolicyEnableStatusResponse) GoString() string
- func (s *GetPolicyEnableStatusResponse) SetBody(v *GetPolicyEnableStatusResponseBody) *GetPolicyEnableStatusResponse
- func (s *GetPolicyEnableStatusResponse) SetHeaders(v map[string]*string) *GetPolicyEnableStatusResponse
- func (s *GetPolicyEnableStatusResponse) SetStatusCode(v int32) *GetPolicyEnableStatusResponse
- func (s GetPolicyEnableStatusResponse) String() string
- type GetPolicyEnableStatusResponseBody
- func (s GetPolicyEnableStatusResponseBody) GoString() string
- func (s *GetPolicyEnableStatusResponseBody) SetRequestId(v string) *GetPolicyEnableStatusResponseBody
- func (s *GetPolicyEnableStatusResponseBody) SetStatusModels(v []*GetPolicyEnableStatusResponseBodyStatusModels) *GetPolicyEnableStatusResponseBody
- func (s GetPolicyEnableStatusResponseBody) String() string
- type GetPolicyEnableStatusResponseBodyStatusModels
- func (s GetPolicyEnableStatusResponseBodyStatusModels) GoString() string
- func (s *GetPolicyEnableStatusResponseBodyStatusModels) SetStatus(v string) *GetPolicyEnableStatusResponseBodyStatusModels
- func (s *GetPolicyEnableStatusResponseBodyStatusModels) SetUserType(v string) *GetPolicyEnableStatusResponseBodyStatusModels
- func (s GetPolicyEnableStatusResponseBodyStatusModels) String() string
- type GetPolicyRequest
- func (s GetPolicyRequest) GoString() string
- func (s *GetPolicyRequest) SetOwnerAccount(v string) *GetPolicyRequest
- func (s *GetPolicyRequest) SetOwnerId(v int64) *GetPolicyRequest
- func (s *GetPolicyRequest) SetPolicyId(v string) *GetPolicyRequest
- func (s *GetPolicyRequest) SetRegionId(v string) *GetPolicyRequest
- func (s *GetPolicyRequest) SetResourceOwnerAccount(v string) *GetPolicyRequest
- func (s GetPolicyRequest) String() string
- type GetPolicyResponse
- func (s GetPolicyResponse) GoString() string
- func (s *GetPolicyResponse) SetBody(v *GetPolicyResponseBody) *GetPolicyResponse
- func (s *GetPolicyResponse) SetHeaders(v map[string]*string) *GetPolicyResponse
- func (s *GetPolicyResponse) SetStatusCode(v int32) *GetPolicyResponse
- func (s GetPolicyResponse) String() string
- type GetPolicyResponseBody
- type GetPolicyResponseBodyPolicy
- func (s GetPolicyResponseBodyPolicy) GoString() string
- func (s *GetPolicyResponseBodyPolicy) SetPolicyContent(v string) *GetPolicyResponseBodyPolicy
- func (s *GetPolicyResponseBodyPolicy) SetPolicyDesc(v string) *GetPolicyResponseBodyPolicy
- func (s *GetPolicyResponseBodyPolicy) SetPolicyName(v string) *GetPolicyResponseBodyPolicy
- func (s *GetPolicyResponseBodyPolicy) SetUserType(v string) *GetPolicyResponseBodyPolicy
- func (s GetPolicyResponseBodyPolicy) String() string
- type ListConfigRulesForTargetRequest
- func (s ListConfigRulesForTargetRequest) GoString() string
- func (s *ListConfigRulesForTargetRequest) SetMaxResult(v int32) *ListConfigRulesForTargetRequest
- func (s *ListConfigRulesForTargetRequest) SetNextToken(v string) *ListConfigRulesForTargetRequest
- func (s *ListConfigRulesForTargetRequest) SetOwnerAccount(v string) *ListConfigRulesForTargetRequest
- func (s *ListConfigRulesForTargetRequest) SetOwnerId(v int64) *ListConfigRulesForTargetRequest
- func (s *ListConfigRulesForTargetRequest) SetPolicyType(v string) *ListConfigRulesForTargetRequest
- func (s *ListConfigRulesForTargetRequest) SetRegionId(v string) *ListConfigRulesForTargetRequest
- func (s *ListConfigRulesForTargetRequest) SetResourceOwnerAccount(v string) *ListConfigRulesForTargetRequest
- func (s *ListConfigRulesForTargetRequest) SetTagKey(v string) *ListConfigRulesForTargetRequest
- func (s *ListConfigRulesForTargetRequest) SetTargetId(v string) *ListConfigRulesForTargetRequest
- func (s *ListConfigRulesForTargetRequest) SetTargetType(v string) *ListConfigRulesForTargetRequest
- func (s *ListConfigRulesForTargetRequest) SetUserType(v string) *ListConfigRulesForTargetRequest
- func (s ListConfigRulesForTargetRequest) String() string
- type ListConfigRulesForTargetResponse
- func (s ListConfigRulesForTargetResponse) GoString() string
- func (s *ListConfigRulesForTargetResponse) SetBody(v *ListConfigRulesForTargetResponseBody) *ListConfigRulesForTargetResponse
- func (s *ListConfigRulesForTargetResponse) SetHeaders(v map[string]*string) *ListConfigRulesForTargetResponse
- func (s *ListConfigRulesForTargetResponse) SetStatusCode(v int32) *ListConfigRulesForTargetResponse
- func (s ListConfigRulesForTargetResponse) String() string
- type ListConfigRulesForTargetResponseBody
- func (s ListConfigRulesForTargetResponseBody) GoString() string
- func (s *ListConfigRulesForTargetResponseBody) SetData(v []*ListConfigRulesForTargetResponseBodyData) *ListConfigRulesForTargetResponseBody
- func (s *ListConfigRulesForTargetResponseBody) SetNextToken(v string) *ListConfigRulesForTargetResponseBody
- func (s *ListConfigRulesForTargetResponseBody) SetRequestId(v string) *ListConfigRulesForTargetResponseBody
- func (s ListConfigRulesForTargetResponseBody) String() string
- type ListConfigRulesForTargetResponseBodyData
- func (s ListConfigRulesForTargetResponseBodyData) GoString() string
- func (s *ListConfigRulesForTargetResponseBodyData) SetAggregatorId(v string) *ListConfigRulesForTargetResponseBodyData
- func (s *ListConfigRulesForTargetResponseBodyData) SetConfigRuleId(v string) *ListConfigRulesForTargetResponseBodyData
- func (s *ListConfigRulesForTargetResponseBodyData) SetPolicyType(v string) *ListConfigRulesForTargetResponseBodyData
- func (s *ListConfigRulesForTargetResponseBodyData) SetRemediation(v bool) *ListConfigRulesForTargetResponseBodyData
- func (s *ListConfigRulesForTargetResponseBodyData) SetTagKey(v string) *ListConfigRulesForTargetResponseBodyData
- func (s *ListConfigRulesForTargetResponseBodyData) SetTagValue(v string) *ListConfigRulesForTargetResponseBodyData
- func (s *ListConfigRulesForTargetResponseBodyData) SetTargetId(v string) *ListConfigRulesForTargetResponseBodyData
- func (s *ListConfigRulesForTargetResponseBodyData) SetTargetType(v string) *ListConfigRulesForTargetResponseBodyData
- func (s ListConfigRulesForTargetResponseBodyData) String() string
- type ListPoliciesForTargetRequest
- func (s ListPoliciesForTargetRequest) GoString() string
- func (s *ListPoliciesForTargetRequest) SetMaxResult(v int32) *ListPoliciesForTargetRequest
- func (s *ListPoliciesForTargetRequest) SetNextToken(v string) *ListPoliciesForTargetRequest
- func (s *ListPoliciesForTargetRequest) SetOwnerAccount(v string) *ListPoliciesForTargetRequest
- func (s *ListPoliciesForTargetRequest) SetOwnerId(v int64) *ListPoliciesForTargetRequest
- func (s *ListPoliciesForTargetRequest) SetRegionId(v string) *ListPoliciesForTargetRequest
- func (s *ListPoliciesForTargetRequest) SetResourceOwnerAccount(v string) *ListPoliciesForTargetRequest
- func (s *ListPoliciesForTargetRequest) SetTargetId(v string) *ListPoliciesForTargetRequest
- func (s *ListPoliciesForTargetRequest) SetTargetType(v string) *ListPoliciesForTargetRequest
- func (s ListPoliciesForTargetRequest) String() string
- type ListPoliciesForTargetResponse
- func (s ListPoliciesForTargetResponse) GoString() string
- func (s *ListPoliciesForTargetResponse) SetBody(v *ListPoliciesForTargetResponseBody) *ListPoliciesForTargetResponse
- func (s *ListPoliciesForTargetResponse) SetHeaders(v map[string]*string) *ListPoliciesForTargetResponse
- func (s *ListPoliciesForTargetResponse) SetStatusCode(v int32) *ListPoliciesForTargetResponse
- func (s ListPoliciesForTargetResponse) String() string
- type ListPoliciesForTargetResponseBody
- func (s ListPoliciesForTargetResponseBody) GoString() string
- func (s *ListPoliciesForTargetResponseBody) SetData(v []*ListPoliciesForTargetResponseBodyData) *ListPoliciesForTargetResponseBody
- func (s *ListPoliciesForTargetResponseBody) SetNextToken(v string) *ListPoliciesForTargetResponseBody
- func (s *ListPoliciesForTargetResponseBody) SetRequestId(v string) *ListPoliciesForTargetResponseBody
- func (s ListPoliciesForTargetResponseBody) String() string
- type ListPoliciesForTargetResponseBodyData
- func (s ListPoliciesForTargetResponseBodyData) GoString() string
- func (s *ListPoliciesForTargetResponseBodyData) SetPolicyContent(v string) *ListPoliciesForTargetResponseBodyData
- func (s *ListPoliciesForTargetResponseBodyData) SetPolicyDesc(v string) *ListPoliciesForTargetResponseBodyData
- func (s *ListPoliciesForTargetResponseBodyData) SetPolicyId(v string) *ListPoliciesForTargetResponseBodyData
- func (s *ListPoliciesForTargetResponseBodyData) SetPolicyName(v string) *ListPoliciesForTargetResponseBodyData
- func (s *ListPoliciesForTargetResponseBodyData) SetUserType(v string) *ListPoliciesForTargetResponseBodyData
- func (s ListPoliciesForTargetResponseBodyData) String() string
- type ListPoliciesRequest
- func (s ListPoliciesRequest) GoString() string
- func (s *ListPoliciesRequest) SetMaxResult(v int32) *ListPoliciesRequest
- func (s *ListPoliciesRequest) SetNextToken(v string) *ListPoliciesRequest
- func (s *ListPoliciesRequest) SetOwnerAccount(v string) *ListPoliciesRequest
- func (s *ListPoliciesRequest) SetOwnerId(v int64) *ListPoliciesRequest
- func (s *ListPoliciesRequest) SetPolicyIds(v []*string) *ListPoliciesRequest
- func (s *ListPoliciesRequest) SetPolicyNames(v []*string) *ListPoliciesRequest
- func (s *ListPoliciesRequest) SetRegionId(v string) *ListPoliciesRequest
- func (s *ListPoliciesRequest) SetResourceOwnerAccount(v string) *ListPoliciesRequest
- func (s *ListPoliciesRequest) SetUserType(v string) *ListPoliciesRequest
- func (s ListPoliciesRequest) String() string
- type ListPoliciesResponse
- func (s ListPoliciesResponse) GoString() string
- func (s *ListPoliciesResponse) SetBody(v *ListPoliciesResponseBody) *ListPoliciesResponse
- func (s *ListPoliciesResponse) SetHeaders(v map[string]*string) *ListPoliciesResponse
- func (s *ListPoliciesResponse) SetStatusCode(v int32) *ListPoliciesResponse
- func (s ListPoliciesResponse) String() string
- type ListPoliciesResponseBody
- func (s ListPoliciesResponseBody) GoString() string
- func (s *ListPoliciesResponseBody) SetNextToken(v string) *ListPoliciesResponseBody
- func (s *ListPoliciesResponseBody) SetPolicyList(v []*ListPoliciesResponseBodyPolicyList) *ListPoliciesResponseBody
- func (s *ListPoliciesResponseBody) SetRequestId(v string) *ListPoliciesResponseBody
- func (s ListPoliciesResponseBody) String() string
- type ListPoliciesResponseBodyPolicyList
- func (s ListPoliciesResponseBodyPolicyList) GoString() string
- func (s *ListPoliciesResponseBodyPolicyList) SetPolicyContent(v string) *ListPoliciesResponseBodyPolicyList
- func (s *ListPoliciesResponseBodyPolicyList) SetPolicyDesc(v string) *ListPoliciesResponseBodyPolicyList
- func (s *ListPoliciesResponseBodyPolicyList) SetPolicyId(v string) *ListPoliciesResponseBodyPolicyList
- func (s *ListPoliciesResponseBodyPolicyList) SetPolicyName(v string) *ListPoliciesResponseBodyPolicyList
- func (s *ListPoliciesResponseBodyPolicyList) SetUserType(v string) *ListPoliciesResponseBodyPolicyList
- func (s ListPoliciesResponseBodyPolicyList) String() string
- type ListResourcesByTagRequest
- func (s ListResourcesByTagRequest) GoString() string
- func (s *ListResourcesByTagRequest) SetFuzzyType(v string) *ListResourcesByTagRequest
- func (s *ListResourcesByTagRequest) SetIncludeAllTags(v bool) *ListResourcesByTagRequest
- func (s *ListResourcesByTagRequest) SetMaxResult(v int32) *ListResourcesByTagRequest
- func (s *ListResourcesByTagRequest) SetNextToken(v string) *ListResourcesByTagRequest
- func (s *ListResourcesByTagRequest) SetOwnerAccount(v string) *ListResourcesByTagRequest
- func (s *ListResourcesByTagRequest) SetOwnerId(v int64) *ListResourcesByTagRequest
- func (s *ListResourcesByTagRequest) SetRegionId(v string) *ListResourcesByTagRequest
- func (s *ListResourcesByTagRequest) SetResourceOwnerAccount(v string) *ListResourcesByTagRequest
- func (s *ListResourcesByTagRequest) SetResourceType(v string) *ListResourcesByTagRequest
- func (s *ListResourcesByTagRequest) SetTagFilter(v *ListResourcesByTagRequestTagFilter) *ListResourcesByTagRequest
- func (s ListResourcesByTagRequest) String() string
- type ListResourcesByTagRequestTagFilter
- func (s ListResourcesByTagRequestTagFilter) GoString() string
- func (s *ListResourcesByTagRequestTagFilter) SetKey(v string) *ListResourcesByTagRequestTagFilter
- func (s *ListResourcesByTagRequestTagFilter) SetValue(v string) *ListResourcesByTagRequestTagFilter
- func (s ListResourcesByTagRequestTagFilter) String() string
- type ListResourcesByTagResponse
- func (s ListResourcesByTagResponse) GoString() string
- func (s *ListResourcesByTagResponse) SetBody(v *ListResourcesByTagResponseBody) *ListResourcesByTagResponse
- func (s *ListResourcesByTagResponse) SetHeaders(v map[string]*string) *ListResourcesByTagResponse
- func (s *ListResourcesByTagResponse) SetStatusCode(v int32) *ListResourcesByTagResponse
- func (s ListResourcesByTagResponse) String() string
- type ListResourcesByTagResponseBody
- func (s ListResourcesByTagResponseBody) GoString() string
- func (s *ListResourcesByTagResponseBody) SetNextToken(v string) *ListResourcesByTagResponseBody
- func (s *ListResourcesByTagResponseBody) SetRequestId(v string) *ListResourcesByTagResponseBody
- func (s *ListResourcesByTagResponseBody) SetResources(v []*ListResourcesByTagResponseBodyResources) *ListResourcesByTagResponseBody
- func (s ListResourcesByTagResponseBody) String() string
- type ListResourcesByTagResponseBodyResources
- func (s ListResourcesByTagResponseBodyResources) GoString() string
- func (s *ListResourcesByTagResponseBodyResources) SetResourceId(v string) *ListResourcesByTagResponseBodyResources
- func (s *ListResourcesByTagResponseBodyResources) SetTags(v []*ListResourcesByTagResponseBodyResourcesTags) *ListResourcesByTagResponseBodyResources
- func (s ListResourcesByTagResponseBodyResources) String() string
- type ListResourcesByTagResponseBodyResourcesTags
- func (s ListResourcesByTagResponseBodyResourcesTags) GoString() string
- func (s *ListResourcesByTagResponseBodyResourcesTags) SetCategory(v string) *ListResourcesByTagResponseBodyResourcesTags
- func (s *ListResourcesByTagResponseBodyResourcesTags) SetKey(v string) *ListResourcesByTagResponseBodyResourcesTags
- func (s *ListResourcesByTagResponseBodyResourcesTags) SetValue(v string) *ListResourcesByTagResponseBodyResourcesTags
- func (s ListResourcesByTagResponseBodyResourcesTags) String() string
- type ListSupportResourceTypesRequest
- func (s ListSupportResourceTypesRequest) GoString() string
- func (s *ListSupportResourceTypesRequest) SetMaxResult(v int32) *ListSupportResourceTypesRequest
- func (s *ListSupportResourceTypesRequest) SetNextToken(v string) *ListSupportResourceTypesRequest
- func (s *ListSupportResourceTypesRequest) SetOwnerAccount(v string) *ListSupportResourceTypesRequest
- func (s *ListSupportResourceTypesRequest) SetOwnerId(v int64) *ListSupportResourceTypesRequest
- func (s *ListSupportResourceTypesRequest) SetProductCode(v string) *ListSupportResourceTypesRequest
- func (s *ListSupportResourceTypesRequest) SetRegionId(v string) *ListSupportResourceTypesRequest
- func (s *ListSupportResourceTypesRequest) SetResourceOwnerAccount(v string) *ListSupportResourceTypesRequest
- func (s *ListSupportResourceTypesRequest) SetResourceTye(v string) *ListSupportResourceTypesRequest
- func (s *ListSupportResourceTypesRequest) SetShowItems(v bool) *ListSupportResourceTypesRequest
- func (s *ListSupportResourceTypesRequest) SetSupportCode(v string) *ListSupportResourceTypesRequest
- func (s ListSupportResourceTypesRequest) String() string
- type ListSupportResourceTypesResponse
- func (s ListSupportResourceTypesResponse) GoString() string
- func (s *ListSupportResourceTypesResponse) SetBody(v *ListSupportResourceTypesResponseBody) *ListSupportResourceTypesResponse
- func (s *ListSupportResourceTypesResponse) SetHeaders(v map[string]*string) *ListSupportResourceTypesResponse
- func (s *ListSupportResourceTypesResponse) SetStatusCode(v int32) *ListSupportResourceTypesResponse
- func (s ListSupportResourceTypesResponse) String() string
- type ListSupportResourceTypesResponseBody
- func (s ListSupportResourceTypesResponseBody) GoString() string
- func (s *ListSupportResourceTypesResponseBody) SetNextToken(v string) *ListSupportResourceTypesResponseBody
- func (s *ListSupportResourceTypesResponseBody) SetRequestId(v string) *ListSupportResourceTypesResponseBody
- func (s *ListSupportResourceTypesResponseBody) SetSupportResourceTypes(v []*ListSupportResourceTypesResponseBodySupportResourceTypes) *ListSupportResourceTypesResponseBody
- func (s ListSupportResourceTypesResponseBody) String() string
- type ListSupportResourceTypesResponseBodySupportResourceTypes
- func (s ListSupportResourceTypesResponseBodySupportResourceTypes) GoString() string
- func (s *ListSupportResourceTypesResponseBodySupportResourceTypes) SetProductCode(v string) *ListSupportResourceTypesResponseBodySupportResourceTypes
- func (s *ListSupportResourceTypesResponseBodySupportResourceTypes) SetResourceType(v string) *ListSupportResourceTypesResponseBodySupportResourceTypes
- func (s *ListSupportResourceTypesResponseBodySupportResourceTypes) SetSupportItems(v []*ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems) *ListSupportResourceTypesResponseBodySupportResourceTypes
- func (s ListSupportResourceTypesResponseBodySupportResourceTypes) String() string
- type ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems
- func (s ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems) GoString() string
- func (s *ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems) SetSupport(v bool) *ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems
- func (s *ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems) SetSupportCode(v string) *ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems
- func (s *ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems) SetSupportDetails(v []map[string]*string) *ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems
- func (s ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems) String() string
- type ListTagKeysRequest
- func (s ListTagKeysRequest) GoString() string
- func (s *ListTagKeysRequest) SetCategory(v string) *ListTagKeysRequest
- func (s *ListTagKeysRequest) SetFuzzyType(v string) *ListTagKeysRequest
- func (s *ListTagKeysRequest) SetNextToken(v string) *ListTagKeysRequest
- func (s *ListTagKeysRequest) SetOwnerAccount(v string) *ListTagKeysRequest
- func (s *ListTagKeysRequest) SetOwnerId(v int64) *ListTagKeysRequest
- func (s *ListTagKeysRequest) SetPageSize(v int32) *ListTagKeysRequest
- func (s *ListTagKeysRequest) SetQueryType(v string) *ListTagKeysRequest
- func (s *ListTagKeysRequest) SetRegionId(v string) *ListTagKeysRequest
- func (s *ListTagKeysRequest) SetResourceOwnerAccount(v string) *ListTagKeysRequest
- func (s *ListTagKeysRequest) SetResourceType(v string) *ListTagKeysRequest
- func (s *ListTagKeysRequest) SetTagFilter(v *ListTagKeysRequestTagFilter) *ListTagKeysRequest
- func (s ListTagKeysRequest) String() string
- type ListTagKeysRequestTagFilter
- type ListTagKeysResponse
- func (s ListTagKeysResponse) GoString() string
- func (s *ListTagKeysResponse) SetBody(v *ListTagKeysResponseBody) *ListTagKeysResponse
- func (s *ListTagKeysResponse) SetHeaders(v map[string]*string) *ListTagKeysResponse
- func (s *ListTagKeysResponse) SetStatusCode(v int32) *ListTagKeysResponse
- func (s ListTagKeysResponse) String() string
- type ListTagKeysResponseBody
- func (s ListTagKeysResponseBody) GoString() string
- func (s *ListTagKeysResponseBody) SetKeys(v *ListTagKeysResponseBodyKeys) *ListTagKeysResponseBody
- func (s *ListTagKeysResponseBody) SetNextToken(v string) *ListTagKeysResponseBody
- func (s *ListTagKeysResponseBody) SetRequestId(v string) *ListTagKeysResponseBody
- func (s ListTagKeysResponseBody) String() string
- type ListTagKeysResponseBodyKeys
- type ListTagKeysResponseBodyKeysKey
- func (s ListTagKeysResponseBodyKeysKey) GoString() string
- func (s *ListTagKeysResponseBodyKeysKey) SetCategory(v string) *ListTagKeysResponseBodyKeysKey
- func (s *ListTagKeysResponseBodyKeysKey) SetDescription(v string) *ListTagKeysResponseBodyKeysKey
- func (s *ListTagKeysResponseBodyKeysKey) SetKey(v string) *ListTagKeysResponseBodyKeysKey
- func (s ListTagKeysResponseBodyKeysKey) String() string
- type ListTagResourcesRequest
- func (s ListTagResourcesRequest) GoString() string
- func (s *ListTagResourcesRequest) SetCategory(v string) *ListTagResourcesRequest
- func (s *ListTagResourcesRequest) SetNextToken(v string) *ListTagResourcesRequest
- func (s *ListTagResourcesRequest) SetOwnerAccount(v string) *ListTagResourcesRequest
- func (s *ListTagResourcesRequest) SetOwnerId(v int64) *ListTagResourcesRequest
- func (s *ListTagResourcesRequest) SetPageSize(v int32) *ListTagResourcesRequest
- func (s *ListTagResourcesRequest) SetRegionId(v string) *ListTagResourcesRequest
- func (s *ListTagResourcesRequest) SetResourceARN(v []*string) *ListTagResourcesRequest
- func (s *ListTagResourcesRequest) SetResourceOwnerAccount(v string) *ListTagResourcesRequest
- func (s *ListTagResourcesRequest) SetTags(v string) *ListTagResourcesRequest
- func (s ListTagResourcesRequest) String() string
- type ListTagResourcesResponse
- func (s ListTagResourcesResponse) GoString() string
- func (s *ListTagResourcesResponse) SetBody(v *ListTagResourcesResponseBody) *ListTagResourcesResponse
- func (s *ListTagResourcesResponse) SetHeaders(v map[string]*string) *ListTagResourcesResponse
- func (s *ListTagResourcesResponse) SetStatusCode(v int32) *ListTagResourcesResponse
- func (s ListTagResourcesResponse) String() string
- type ListTagResourcesResponseBody
- func (s ListTagResourcesResponseBody) GoString() string
- func (s *ListTagResourcesResponseBody) SetNextToken(v string) *ListTagResourcesResponseBody
- func (s *ListTagResourcesResponseBody) SetRequestId(v string) *ListTagResourcesResponseBody
- func (s *ListTagResourcesResponseBody) SetTagResources(v []*ListTagResourcesResponseBodyTagResources) *ListTagResourcesResponseBody
- func (s ListTagResourcesResponseBody) String() string
- type ListTagResourcesResponseBodyTagResources
- func (s ListTagResourcesResponseBodyTagResources) GoString() string
- func (s *ListTagResourcesResponseBodyTagResources) SetResourceARN(v string) *ListTagResourcesResponseBodyTagResources
- func (s *ListTagResourcesResponseBodyTagResources) SetTags(v []*ListTagResourcesResponseBodyTagResourcesTags) *ListTagResourcesResponseBodyTagResources
- func (s ListTagResourcesResponseBodyTagResources) String() string
- type ListTagResourcesResponseBodyTagResourcesTags
- func (s ListTagResourcesResponseBodyTagResourcesTags) GoString() string
- func (s *ListTagResourcesResponseBodyTagResourcesTags) SetCategory(v string) *ListTagResourcesResponseBodyTagResourcesTags
- func (s *ListTagResourcesResponseBodyTagResourcesTags) SetKey(v string) *ListTagResourcesResponseBodyTagResourcesTags
- func (s *ListTagResourcesResponseBodyTagResourcesTags) SetValue(v string) *ListTagResourcesResponseBodyTagResourcesTags
- func (s ListTagResourcesResponseBodyTagResourcesTags) String() string
- type ListTagValuesRequest
- func (s ListTagValuesRequest) GoString() string
- func (s *ListTagValuesRequest) SetFuzzyType(v string) *ListTagValuesRequest
- func (s *ListTagValuesRequest) SetKey(v string) *ListTagValuesRequest
- func (s *ListTagValuesRequest) SetNextToken(v string) *ListTagValuesRequest
- func (s *ListTagValuesRequest) SetOwnerAccount(v string) *ListTagValuesRequest
- func (s *ListTagValuesRequest) SetOwnerId(v int64) *ListTagValuesRequest
- func (s *ListTagValuesRequest) SetPageSize(v int32) *ListTagValuesRequest
- func (s *ListTagValuesRequest) SetQueryType(v string) *ListTagValuesRequest
- func (s *ListTagValuesRequest) SetRegionId(v string) *ListTagValuesRequest
- func (s *ListTagValuesRequest) SetResourceOwnerAccount(v string) *ListTagValuesRequest
- func (s *ListTagValuesRequest) SetResourceType(v string) *ListTagValuesRequest
- func (s *ListTagValuesRequest) SetTagFilter(v *ListTagValuesRequestTagFilter) *ListTagValuesRequest
- func (s ListTagValuesRequest) String() string
- type ListTagValuesRequestTagFilter
- type ListTagValuesResponse
- func (s ListTagValuesResponse) GoString() string
- func (s *ListTagValuesResponse) SetBody(v *ListTagValuesResponseBody) *ListTagValuesResponse
- func (s *ListTagValuesResponse) SetHeaders(v map[string]*string) *ListTagValuesResponse
- func (s *ListTagValuesResponse) SetStatusCode(v int32) *ListTagValuesResponse
- func (s ListTagValuesResponse) String() string
- type ListTagValuesResponseBody
- func (s ListTagValuesResponseBody) GoString() string
- func (s *ListTagValuesResponseBody) SetNextToken(v string) *ListTagValuesResponseBody
- func (s *ListTagValuesResponseBody) SetRequestId(v string) *ListTagValuesResponseBody
- func (s *ListTagValuesResponseBody) SetValues(v *ListTagValuesResponseBodyValues) *ListTagValuesResponseBody
- func (s ListTagValuesResponseBody) String() string
- type ListTagValuesResponseBodyValues
- type ListTargetsForPolicyRequest
- func (s ListTargetsForPolicyRequest) GoString() string
- func (s *ListTargetsForPolicyRequest) SetMaxResult(v int32) *ListTargetsForPolicyRequest
- func (s *ListTargetsForPolicyRequest) SetNextToken(v string) *ListTargetsForPolicyRequest
- func (s *ListTargetsForPolicyRequest) SetOwnerAccount(v string) *ListTargetsForPolicyRequest
- func (s *ListTargetsForPolicyRequest) SetOwnerId(v int64) *ListTargetsForPolicyRequest
- func (s *ListTargetsForPolicyRequest) SetPolicyId(v string) *ListTargetsForPolicyRequest
- func (s *ListTargetsForPolicyRequest) SetRegionId(v string) *ListTargetsForPolicyRequest
- func (s *ListTargetsForPolicyRequest) SetResourceOwnerAccount(v string) *ListTargetsForPolicyRequest
- func (s ListTargetsForPolicyRequest) String() string
- type ListTargetsForPolicyResponse
- func (s ListTargetsForPolicyResponse) GoString() string
- func (s *ListTargetsForPolicyResponse) SetBody(v *ListTargetsForPolicyResponseBody) *ListTargetsForPolicyResponse
- func (s *ListTargetsForPolicyResponse) SetHeaders(v map[string]*string) *ListTargetsForPolicyResponse
- func (s *ListTargetsForPolicyResponse) SetStatusCode(v int32) *ListTargetsForPolicyResponse
- func (s ListTargetsForPolicyResponse) String() string
- type ListTargetsForPolicyResponseBody
- func (s ListTargetsForPolicyResponseBody) GoString() string
- func (s *ListTargetsForPolicyResponseBody) SetIsRd(v bool) *ListTargetsForPolicyResponseBody
- func (s *ListTargetsForPolicyResponseBody) SetNextToken(v string) *ListTargetsForPolicyResponseBody
- func (s *ListTargetsForPolicyResponseBody) SetRdId(v string) *ListTargetsForPolicyResponseBody
- func (s *ListTargetsForPolicyResponseBody) SetRequestId(v string) *ListTargetsForPolicyResponseBody
- func (s *ListTargetsForPolicyResponseBody) SetTargets(v []*ListTargetsForPolicyResponseBodyTargets) *ListTargetsForPolicyResponseBody
- func (s ListTargetsForPolicyResponseBody) String() string
- type ListTargetsForPolicyResponseBodyTargets
- func (s ListTargetsForPolicyResponseBodyTargets) GoString() string
- func (s *ListTargetsForPolicyResponseBodyTargets) SetTargetId(v string) *ListTargetsForPolicyResponseBodyTargets
- func (s *ListTargetsForPolicyResponseBodyTargets) SetTargetType(v int32) *ListTargetsForPolicyResponseBodyTargets
- func (s ListTargetsForPolicyResponseBodyTargets) String() string
- type ModifyPolicyRequest
- func (s ModifyPolicyRequest) GoString() string
- func (s *ModifyPolicyRequest) SetDryRun(v bool) *ModifyPolicyRequest
- func (s *ModifyPolicyRequest) SetOwnerAccount(v string) *ModifyPolicyRequest
- func (s *ModifyPolicyRequest) SetOwnerId(v int64) *ModifyPolicyRequest
- func (s *ModifyPolicyRequest) SetPolicyContent(v string) *ModifyPolicyRequest
- func (s *ModifyPolicyRequest) SetPolicyDesc(v string) *ModifyPolicyRequest
- func (s *ModifyPolicyRequest) SetPolicyId(v string) *ModifyPolicyRequest
- func (s *ModifyPolicyRequest) SetPolicyName(v string) *ModifyPolicyRequest
- func (s *ModifyPolicyRequest) SetRegionId(v string) *ModifyPolicyRequest
- func (s *ModifyPolicyRequest) SetResourceOwnerAccount(v string) *ModifyPolicyRequest
- func (s ModifyPolicyRequest) String() string
- type ModifyPolicyResponse
- func (s ModifyPolicyResponse) GoString() string
- func (s *ModifyPolicyResponse) SetBody(v *ModifyPolicyResponseBody) *ModifyPolicyResponse
- func (s *ModifyPolicyResponse) SetHeaders(v map[string]*string) *ModifyPolicyResponse
- func (s *ModifyPolicyResponse) SetStatusCode(v int32) *ModifyPolicyResponse
- func (s ModifyPolicyResponse) String() string
- type ModifyPolicyResponseBody
- type OpenCreatedByRequest
- func (s OpenCreatedByRequest) GoString() string
- func (s *OpenCreatedByRequest) SetOwnerAccount(v string) *OpenCreatedByRequest
- func (s *OpenCreatedByRequest) SetOwnerId(v int64) *OpenCreatedByRequest
- func (s *OpenCreatedByRequest) SetRegionId(v string) *OpenCreatedByRequest
- func (s *OpenCreatedByRequest) SetResourceOwnerAccount(v string) *OpenCreatedByRequest
- func (s *OpenCreatedByRequest) SetResourceOwnerId(v string) *OpenCreatedByRequest
- func (s OpenCreatedByRequest) String() string
- type OpenCreatedByResponse
- func (s OpenCreatedByResponse) GoString() string
- func (s *OpenCreatedByResponse) SetBody(v *OpenCreatedByResponseBody) *OpenCreatedByResponse
- func (s *OpenCreatedByResponse) SetHeaders(v map[string]*string) *OpenCreatedByResponse
- func (s *OpenCreatedByResponse) SetStatusCode(v int32) *OpenCreatedByResponse
- func (s OpenCreatedByResponse) String() string
- type OpenCreatedByResponseBody
- type TagResourcesRequest
- func (s TagResourcesRequest) GoString() string
- func (s *TagResourcesRequest) SetOwnerAccount(v string) *TagResourcesRequest
- func (s *TagResourcesRequest) SetOwnerId(v int64) *TagResourcesRequest
- func (s *TagResourcesRequest) SetRegionId(v string) *TagResourcesRequest
- func (s *TagResourcesRequest) SetResourceARN(v []*string) *TagResourcesRequest
- func (s *TagResourcesRequest) SetResourceOwnerAccount(v string) *TagResourcesRequest
- func (s *TagResourcesRequest) SetTags(v string) *TagResourcesRequest
- func (s TagResourcesRequest) String() string
- type TagResourcesResponse
- func (s TagResourcesResponse) GoString() string
- func (s *TagResourcesResponse) SetBody(v *TagResourcesResponseBody) *TagResourcesResponse
- func (s *TagResourcesResponse) SetHeaders(v map[string]*string) *TagResourcesResponse
- func (s *TagResourcesResponse) SetStatusCode(v int32) *TagResourcesResponse
- func (s TagResourcesResponse) String() string
- type TagResourcesResponseBody
- func (s TagResourcesResponseBody) GoString() string
- func (s *TagResourcesResponseBody) SetFailedResources(v *TagResourcesResponseBodyFailedResources) *TagResourcesResponseBody
- func (s *TagResourcesResponseBody) SetRequestId(v string) *TagResourcesResponseBody
- func (s TagResourcesResponseBody) String() string
- type TagResourcesResponseBodyFailedResources
- func (s TagResourcesResponseBodyFailedResources) GoString() string
- func (s *TagResourcesResponseBodyFailedResources) SetFailedResource(v []*TagResourcesResponseBodyFailedResourcesFailedResource) *TagResourcesResponseBodyFailedResources
- func (s TagResourcesResponseBodyFailedResources) String() string
- type TagResourcesResponseBodyFailedResourcesFailedResource
- func (s TagResourcesResponseBodyFailedResourcesFailedResource) GoString() string
- func (s *TagResourcesResponseBodyFailedResourcesFailedResource) SetResourceARN(v string) *TagResourcesResponseBodyFailedResourcesFailedResource
- func (s *TagResourcesResponseBodyFailedResourcesFailedResource) SetResult(v *TagResourcesResponseBodyFailedResourcesFailedResourceResult) *TagResourcesResponseBodyFailedResourcesFailedResource
- func (s TagResourcesResponseBodyFailedResourcesFailedResource) String() string
- type TagResourcesResponseBodyFailedResourcesFailedResourceResult
- func (s TagResourcesResponseBodyFailedResourcesFailedResourceResult) GoString() string
- func (s *TagResourcesResponseBodyFailedResourcesFailedResourceResult) SetCode(v string) *TagResourcesResponseBodyFailedResourcesFailedResourceResult
- func (s *TagResourcesResponseBodyFailedResourcesFailedResourceResult) SetMessage(v string) *TagResourcesResponseBodyFailedResourcesFailedResourceResult
- func (s TagResourcesResponseBodyFailedResourcesFailedResourceResult) String() string
- type UntagResourcesRequest
- func (s UntagResourcesRequest) GoString() string
- func (s *UntagResourcesRequest) SetOwnerAccount(v string) *UntagResourcesRequest
- func (s *UntagResourcesRequest) SetOwnerId(v int64) *UntagResourcesRequest
- func (s *UntagResourcesRequest) SetRegionId(v string) *UntagResourcesRequest
- func (s *UntagResourcesRequest) SetResourceARN(v []*string) *UntagResourcesRequest
- func (s *UntagResourcesRequest) SetResourceOwnerAccount(v string) *UntagResourcesRequest
- func (s *UntagResourcesRequest) SetTagKey(v []*string) *UntagResourcesRequest
- func (s UntagResourcesRequest) String() string
- type UntagResourcesResponse
- func (s UntagResourcesResponse) GoString() string
- func (s *UntagResourcesResponse) SetBody(v *UntagResourcesResponseBody) *UntagResourcesResponse
- func (s *UntagResourcesResponse) SetHeaders(v map[string]*string) *UntagResourcesResponse
- func (s *UntagResourcesResponse) SetStatusCode(v int32) *UntagResourcesResponse
- func (s UntagResourcesResponse) String() string
- type UntagResourcesResponseBody
- func (s UntagResourcesResponseBody) GoString() string
- func (s *UntagResourcesResponseBody) SetFailedResources(v *UntagResourcesResponseBodyFailedResources) *UntagResourcesResponseBody
- func (s *UntagResourcesResponseBody) SetRequestId(v string) *UntagResourcesResponseBody
- func (s UntagResourcesResponseBody) String() string
- type UntagResourcesResponseBodyFailedResources
- func (s UntagResourcesResponseBodyFailedResources) GoString() string
- func (s *UntagResourcesResponseBodyFailedResources) SetFailedResource(v []*UntagResourcesResponseBodyFailedResourcesFailedResource) *UntagResourcesResponseBodyFailedResources
- func (s UntagResourcesResponseBodyFailedResources) String() string
- type UntagResourcesResponseBodyFailedResourcesFailedResource
- func (s UntagResourcesResponseBodyFailedResourcesFailedResource) GoString() string
- func (s *UntagResourcesResponseBodyFailedResourcesFailedResource) SetResourceARN(v string) *UntagResourcesResponseBodyFailedResourcesFailedResource
- func (s *UntagResourcesResponseBodyFailedResourcesFailedResource) SetResult(v *UntagResourcesResponseBodyFailedResourcesFailedResourceResult) *UntagResourcesResponseBodyFailedResourcesFailedResource
- func (s UntagResourcesResponseBodyFailedResourcesFailedResource) String() string
- type UntagResourcesResponseBodyFailedResourcesFailedResourceResult
- func (s UntagResourcesResponseBodyFailedResourcesFailedResourceResult) GoString() string
- func (s *UntagResourcesResponseBodyFailedResourcesFailedResourceResult) SetCode(v string) *UntagResourcesResponseBodyFailedResourcesFailedResourceResult
- func (s *UntagResourcesResponseBodyFailedResourcesFailedResourceResult) SetMessage(v string) *UntagResourcesResponseBodyFailedResourcesFailedResourceResult
- func (s UntagResourcesResponseBodyFailedResourcesFailedResourceResult) String() string
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 (s *AttachPolicyResponse) SetBody(v *AttachPolicyResponseBody) *AttachPolicyResponse
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 (s *AttachPolicyResponseBody) SetRequestId(v string) *AttachPolicyResponseBody
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 (s *CheckCreatedByEnabledRequest) SetOwnerAccount(v string) *CheckCreatedByEnabledRequest
func (*CheckCreatedByEnabledRequest) SetOwnerId ¶ added in v2.0.1
func (s *CheckCreatedByEnabledRequest) SetOwnerId(v int64) *CheckCreatedByEnabledRequest
func (*CheckCreatedByEnabledRequest) SetRegionId ¶ added in v2.0.1
func (s *CheckCreatedByEnabledRequest) SetRegionId(v string) *CheckCreatedByEnabledRequest
func (*CheckCreatedByEnabledRequest) SetResourceOwnerAccount ¶ added in v2.0.1
func (s *CheckCreatedByEnabledRequest) SetResourceOwnerAccount(v string) *CheckCreatedByEnabledRequest
func (*CheckCreatedByEnabledRequest) SetResourceOwnerId ¶ added in v2.0.1
func (s *CheckCreatedByEnabledRequest) SetResourceOwnerId(v string) *CheckCreatedByEnabledRequest
func (CheckCreatedByEnabledRequest) String ¶ added in v2.0.1
func (s CheckCreatedByEnabledRequest) String() string
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 (s CheckCreatedByEnabledResponse) GoString() string
func (*CheckCreatedByEnabledResponse) SetBody ¶ added in v2.0.1
func (s *CheckCreatedByEnabledResponse) SetBody(v *CheckCreatedByEnabledResponseBody) *CheckCreatedByEnabledResponse
func (*CheckCreatedByEnabledResponse) SetHeaders ¶ added in v2.0.1
func (s *CheckCreatedByEnabledResponse) SetHeaders(v map[string]*string) *CheckCreatedByEnabledResponse
func (*CheckCreatedByEnabledResponse) SetStatusCode ¶ added in v2.0.1
func (s *CheckCreatedByEnabledResponse) SetStatusCode(v int32) *CheckCreatedByEnabledResponse
func (CheckCreatedByEnabledResponse) String ¶ added in v2.0.1
func (s CheckCreatedByEnabledResponse) String() string
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 (s CheckCreatedByEnabledResponseBody) GoString() string
func (*CheckCreatedByEnabledResponseBody) SetOpenStatus ¶ added in v2.0.1
func (s *CheckCreatedByEnabledResponseBody) SetOpenStatus(v bool) *CheckCreatedByEnabledResponseBody
func (*CheckCreatedByEnabledResponseBody) SetRequestId ¶ added in v2.0.1
func (s *CheckCreatedByEnabledResponseBody) SetRequestId(v string) *CheckCreatedByEnabledResponseBody
func (CheckCreatedByEnabledResponseBody) String ¶ added in v2.0.1
func (s CheckCreatedByEnabledResponseBody) String() string
type Client ¶
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) 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) 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)
*
- ### [](#)Call examples
- * Query a list of resource types supported by TagResources or UntagResources. For more information, see [Example](https://api.alibabacloud.com/api/Tag/2018-08-28/ListSupportResourceTypes?tab=DEBUG\\¶ms=%7B%22RegionId%22:%22cn-hangzhou%22,%22SupportCode%22:%22TAG_CONSOLE_SUPPORT%22%7D).
- * Query a list of resource types supported by ListTagResources or ListResourcesByTag. For more information, see [Example](https://api.alibabacloud.com/api/Tag/2018-08-28/ListSupportResourceTypes?tab=DEBUG\\¶ms=%7B%22RegionId%22:%22cn-hangzhou%22%7D).
- * Query a list of resource types that support createdby tags. For more information, see [Example](https://api.alibabacloud.com/api/Tag/2018-08-28/ListSupportResourceTypes?tab=DEBUG\\¶ms=%7B%22RegionId%22:%22cn-hangzhou%22,%22SupportCode%22:%22CREATED_BY_TAG_CONSOLE_SUPPORT%22%7D). *
- @param request ListSupportResourceTypesRequest
- @return ListSupportResourceTypesResponse
func (*Client) ListSupportResourceTypesWithOptions ¶
func (client *Client) ListSupportResourceTypesWithOptions(request *ListSupportResourceTypesRequest, runtime *util.RuntimeOptions) (_result *ListSupportResourceTypesResponse, _err error)
*
- ### [](#)Call examples
- * Query a list of resource types supported by TagResources or UntagResources. For more information, see [Example](https://api.alibabacloud.com/api/Tag/2018-08-28/ListSupportResourceTypes?tab=DEBUG\\¶ms=%7B%22RegionId%22:%22cn-hangzhou%22,%22SupportCode%22:%22TAG_CONSOLE_SUPPORT%22%7D).
- * Query a list of resource types supported by ListTagResources or ListResourcesByTag. For more information, see [Example](https://api.alibabacloud.com/api/Tag/2018-08-28/ListSupportResourceTypes?tab=DEBUG\\¶ms=%7B%22RegionId%22:%22cn-hangzhou%22%7D).
- * Query a list of resource types that support createdby tags. For more information, see [Example](https://api.alibabacloud.com/api/Tag/2018-08-28/ListSupportResourceTypes?tab=DEBUG\\¶ms=%7B%22RegionId%22:%22cn-hangzhou%22,%22SupportCode%22:%22CREATED_BY_TAG_CONSOLE_SUPPORT%22%7D). *
- @param request ListSupportResourceTypesRequest
- @param runtime runtime options for this request RuntimeOptions
- @return ListSupportResourceTypesResponse
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 (s *CloseCreatedByRequest) SetOwnerId(v int64) *CloseCreatedByRequest
func (*CloseCreatedByRequest) SetRegionId ¶ added in v2.0.1
func (s *CloseCreatedByRequest) SetRegionId(v string) *CloseCreatedByRequest
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 (s *CloseCreatedByResponse) SetBody(v *CloseCreatedByResponseBody) *CloseCreatedByResponse
func (*CloseCreatedByResponse) SetHeaders ¶ added in v2.0.1
func (s *CloseCreatedByResponse) SetHeaders(v map[string]*string) *CloseCreatedByResponse
func (*CloseCreatedByResponse) SetStatusCode ¶ added in v2.0.1
func (s *CloseCreatedByResponse) SetStatusCode(v int32) *CloseCreatedByResponse
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 (s *CloseCreatedByResponseBody) SetRequestId(v string) *CloseCreatedByResponseBody
func (CloseCreatedByResponseBody) String ¶ added in v2.0.1
func (s CloseCreatedByResponseBody) String() string
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 (s *CreatePolicyResponse) SetBody(v *CreatePolicyResponseBody) *CreatePolicyResponse
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 (s *CreatePolicyResponseBody) SetPolicyId(v string) *CreatePolicyResponseBody
func (*CreatePolicyResponseBody) SetPolicyName ¶ added in v2.0.2
func (s *CreatePolicyResponseBody) SetPolicyName(v string) *CreatePolicyResponseBody
func (*CreatePolicyResponseBody) SetRequestId ¶
func (s *CreatePolicyResponseBody) SetRequestId(v string) *CreatePolicyResponseBody
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 (s *CreateTagsRequest) SetTagKeyValueParamList(v []*CreateTagsRequestTagKeyValueParamList) *CreateTagsRequest
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 (s CreateTagsRequestTagKeyValueParamList) GoString() string
func (*CreateTagsRequestTagKeyValueParamList) SetDescription ¶
func (s *CreateTagsRequestTagKeyValueParamList) SetDescription(v string) *CreateTagsRequestTagKeyValueParamList
func (*CreateTagsRequestTagKeyValueParamList) SetKey ¶
func (s *CreateTagsRequestTagKeyValueParamList) SetKey(v string) *CreateTagsRequestTagKeyValueParamList
func (*CreateTagsRequestTagKeyValueParamList) SetTagValueParamList ¶
func (s *CreateTagsRequestTagKeyValueParamList) SetTagValueParamList(v []*CreateTagsRequestTagKeyValueParamListTagValueParamList) *CreateTagsRequestTagKeyValueParamList
func (CreateTagsRequestTagKeyValueParamList) String ¶
func (s CreateTagsRequestTagKeyValueParamList) String() 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 (s CreateTagsRequestTagKeyValueParamListTagValueParamList) GoString() string
func (*CreateTagsRequestTagKeyValueParamListTagValueParamList) SetDescription ¶
func (s *CreateTagsRequestTagKeyValueParamListTagValueParamList) SetDescription(v string) *CreateTagsRequestTagKeyValueParamListTagValueParamList
func (CreateTagsRequestTagKeyValueParamListTagValueParamList) String ¶
func (s CreateTagsRequestTagKeyValueParamListTagValueParamList) String() 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 (s *CreateTagsResponse) SetBody(v *CreateTagsResponseBody) *CreateTagsResponse
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 (s *CreateTagsResponseBody) SetRequestId(v string) *CreateTagsResponseBody
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 (s *DeletePolicyResponse) SetBody(v *DeletePolicyResponseBody) *DeletePolicyResponse
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 (s *DeletePolicyResponseBody) SetRequestId(v string) *DeletePolicyResponseBody
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 (s *DeleteTagRequest) SetKey(v string) *DeleteTagRequest
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 (s *DeleteTagResponse) SetBody(v *DeleteTagResponseBody) *DeleteTagResponse
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 (s *DeleteTagResponseBody) SetRequestId(v string) *DeleteTagResponseBody
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 (s *DescribeRegionsRequest) SetOwnerId(v int64) *DescribeRegionsRequest
func (*DescribeRegionsRequest) SetRegionId ¶
func (s *DescribeRegionsRequest) SetRegionId(v string) *DescribeRegionsRequest
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 (s *DescribeRegionsResponse) SetBody(v *DescribeRegionsResponseBody) *DescribeRegionsResponse
func (*DescribeRegionsResponse) SetHeaders ¶
func (s *DescribeRegionsResponse) SetHeaders(v map[string]*string) *DescribeRegionsResponse
func (*DescribeRegionsResponse) SetStatusCode ¶
func (s *DescribeRegionsResponse) SetStatusCode(v int32) *DescribeRegionsResponse
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 (s *DescribeRegionsResponseBody) SetRegions(v *DescribeRegionsResponseBodyRegions) *DescribeRegionsResponseBody
func (*DescribeRegionsResponseBody) SetRequestId ¶
func (s *DescribeRegionsResponseBody) SetRequestId(v string) *DescribeRegionsResponseBody
func (DescribeRegionsResponseBody) String ¶
func (s DescribeRegionsResponseBody) String() string
type DescribeRegionsResponseBodyRegions ¶
type DescribeRegionsResponseBodyRegions struct {
Region []*DescribeRegionsResponseBodyRegionsRegion `json:"Region,omitempty" xml:"Region,omitempty" type:"Repeated"`
}
func (DescribeRegionsResponseBodyRegions) GoString ¶
func (s DescribeRegionsResponseBodyRegions) GoString() string
func (*DescribeRegionsResponseBodyRegions) SetRegion ¶
func (s *DescribeRegionsResponseBodyRegions) SetRegion(v []*DescribeRegionsResponseBodyRegionsRegion) *DescribeRegionsResponseBodyRegions
func (DescribeRegionsResponseBodyRegions) String ¶
func (s DescribeRegionsResponseBodyRegions) String() 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 (s DescribeRegionsResponseBodyRegionsRegion) GoString() string
func (*DescribeRegionsResponseBodyRegionsRegion) SetLocalName ¶
func (s *DescribeRegionsResponseBodyRegionsRegion) SetLocalName(v string) *DescribeRegionsResponseBodyRegionsRegion
func (*DescribeRegionsResponseBodyRegionsRegion) SetRegionEndpoint ¶
func (s *DescribeRegionsResponseBodyRegionsRegion) SetRegionEndpoint(v string) *DescribeRegionsResponseBodyRegionsRegion
func (*DescribeRegionsResponseBodyRegionsRegion) SetRegionId ¶
func (s *DescribeRegionsResponseBodyRegionsRegion) SetRegionId(v string) *DescribeRegionsResponseBodyRegionsRegion
func (DescribeRegionsResponseBodyRegionsRegion) String ¶
func (s DescribeRegionsResponseBodyRegionsRegion) String() 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 (s *DetachPolicyResponse) SetBody(v *DetachPolicyResponseBody) *DetachPolicyResponse
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 (s *DetachPolicyResponseBody) SetRequestId(v string) *DetachPolicyResponseBody
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 (s *DisablePolicyTypeRequest) SetOpenType(v string) *DisablePolicyTypeRequest
func (*DisablePolicyTypeRequest) SetOwnerAccount ¶
func (s *DisablePolicyTypeRequest) SetOwnerAccount(v string) *DisablePolicyTypeRequest
func (*DisablePolicyTypeRequest) SetOwnerId ¶
func (s *DisablePolicyTypeRequest) SetOwnerId(v int64) *DisablePolicyTypeRequest
func (*DisablePolicyTypeRequest) SetRegionId ¶
func (s *DisablePolicyTypeRequest) SetRegionId(v string) *DisablePolicyTypeRequest
func (*DisablePolicyTypeRequest) SetResourceOwnerAccount ¶
func (s *DisablePolicyTypeRequest) SetResourceOwnerAccount(v string) *DisablePolicyTypeRequest
func (*DisablePolicyTypeRequest) SetResourceOwnerId ¶
func (s *DisablePolicyTypeRequest) SetResourceOwnerId(v string) *DisablePolicyTypeRequest
func (*DisablePolicyTypeRequest) SetUserType ¶
func (s *DisablePolicyTypeRequest) SetUserType(v string) *DisablePolicyTypeRequest
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 (s *DisablePolicyTypeResponse) SetBody(v *DisablePolicyTypeResponseBody) *DisablePolicyTypeResponse
func (*DisablePolicyTypeResponse) SetHeaders ¶
func (s *DisablePolicyTypeResponse) SetHeaders(v map[string]*string) *DisablePolicyTypeResponse
func (*DisablePolicyTypeResponse) SetStatusCode ¶
func (s *DisablePolicyTypeResponse) SetStatusCode(v int32) *DisablePolicyTypeResponse
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 (s DisablePolicyTypeResponseBody) GoString() string
func (*DisablePolicyTypeResponseBody) SetRequestId ¶
func (s *DisablePolicyTypeResponseBody) SetRequestId(v string) *DisablePolicyTypeResponseBody
func (DisablePolicyTypeResponseBody) String ¶
func (s DisablePolicyTypeResponseBody) String() 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 (s *EnablePolicyTypeRequest) SetOpenType(v string) *EnablePolicyTypeRequest
func (*EnablePolicyTypeRequest) SetOwnerAccount ¶
func (s *EnablePolicyTypeRequest) SetOwnerAccount(v string) *EnablePolicyTypeRequest
func (*EnablePolicyTypeRequest) SetOwnerId ¶
func (s *EnablePolicyTypeRequest) SetOwnerId(v int64) *EnablePolicyTypeRequest
func (*EnablePolicyTypeRequest) SetRegionId ¶
func (s *EnablePolicyTypeRequest) SetRegionId(v string) *EnablePolicyTypeRequest
func (*EnablePolicyTypeRequest) SetResourceOwnerAccount ¶
func (s *EnablePolicyTypeRequest) SetResourceOwnerAccount(v string) *EnablePolicyTypeRequest
func (*EnablePolicyTypeRequest) SetResourceOwnerId ¶
func (s *EnablePolicyTypeRequest) SetResourceOwnerId(v string) *EnablePolicyTypeRequest
func (*EnablePolicyTypeRequest) SetUserType ¶
func (s *EnablePolicyTypeRequest) SetUserType(v string) *EnablePolicyTypeRequest
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 (s *EnablePolicyTypeResponse) SetBody(v *EnablePolicyTypeResponseBody) *EnablePolicyTypeResponse
func (*EnablePolicyTypeResponse) SetHeaders ¶
func (s *EnablePolicyTypeResponse) SetHeaders(v map[string]*string) *EnablePolicyTypeResponse
func (*EnablePolicyTypeResponse) SetStatusCode ¶
func (s *EnablePolicyTypeResponse) SetStatusCode(v int32) *EnablePolicyTypeResponse
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 (s *EnablePolicyTypeResponseBody) SetRequestId(v string) *EnablePolicyTypeResponseBody
func (EnablePolicyTypeResponseBody) String ¶
func (s EnablePolicyTypeResponseBody) String() 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 (s GenerateConfigRuleReportRequest) GoString() string
func (*GenerateConfigRuleReportRequest) SetOwnerAccount ¶
func (s *GenerateConfigRuleReportRequest) SetOwnerAccount(v string) *GenerateConfigRuleReportRequest
func (*GenerateConfigRuleReportRequest) SetOwnerId ¶
func (s *GenerateConfigRuleReportRequest) SetOwnerId(v int64) *GenerateConfigRuleReportRequest
func (*GenerateConfigRuleReportRequest) SetRegionId ¶
func (s *GenerateConfigRuleReportRequest) SetRegionId(v string) *GenerateConfigRuleReportRequest
func (*GenerateConfigRuleReportRequest) SetResourceOwnerAccount ¶
func (s *GenerateConfigRuleReportRequest) SetResourceOwnerAccount(v string) *GenerateConfigRuleReportRequest
func (*GenerateConfigRuleReportRequest) SetTargetId ¶
func (s *GenerateConfigRuleReportRequest) SetTargetId(v string) *GenerateConfigRuleReportRequest
func (*GenerateConfigRuleReportRequest) SetTargetType ¶
func (s *GenerateConfigRuleReportRequest) SetTargetType(v string) *GenerateConfigRuleReportRequest
func (*GenerateConfigRuleReportRequest) SetUserType ¶
func (s *GenerateConfigRuleReportRequest) SetUserType(v string) *GenerateConfigRuleReportRequest
func (GenerateConfigRuleReportRequest) String ¶
func (s GenerateConfigRuleReportRequest) String() 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 (s GenerateConfigRuleReportResponse) GoString() string
func (*GenerateConfigRuleReportResponse) SetBody ¶
func (s *GenerateConfigRuleReportResponse) SetBody(v *GenerateConfigRuleReportResponseBody) *GenerateConfigRuleReportResponse
func (*GenerateConfigRuleReportResponse) SetHeaders ¶
func (s *GenerateConfigRuleReportResponse) SetHeaders(v map[string]*string) *GenerateConfigRuleReportResponse
func (*GenerateConfigRuleReportResponse) SetStatusCode ¶
func (s *GenerateConfigRuleReportResponse) SetStatusCode(v int32) *GenerateConfigRuleReportResponse
func (GenerateConfigRuleReportResponse) String ¶
func (s GenerateConfigRuleReportResponse) String() 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 (s GenerateConfigRuleReportResponseBody) GoString() string
func (*GenerateConfigRuleReportResponseBody) SetReportId ¶
func (s *GenerateConfigRuleReportResponseBody) SetReportId(v string) *GenerateConfigRuleReportResponseBody
func (*GenerateConfigRuleReportResponseBody) SetRequestId ¶
func (s *GenerateConfigRuleReportResponseBody) SetRequestId(v string) *GenerateConfigRuleReportResponseBody
func (GenerateConfigRuleReportResponseBody) String ¶
func (s GenerateConfigRuleReportResponseBody) String() 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 (s *GetConfigRuleReportRequest) SetOwnerAccount(v string) *GetConfigRuleReportRequest
func (*GetConfigRuleReportRequest) SetOwnerId ¶
func (s *GetConfigRuleReportRequest) SetOwnerId(v int64) *GetConfigRuleReportRequest
func (*GetConfigRuleReportRequest) SetRegionId ¶
func (s *GetConfigRuleReportRequest) SetRegionId(v string) *GetConfigRuleReportRequest
func (*GetConfigRuleReportRequest) SetResourceOwnerAccount ¶
func (s *GetConfigRuleReportRequest) SetResourceOwnerAccount(v string) *GetConfigRuleReportRequest
func (*GetConfigRuleReportRequest) SetTargetId ¶
func (s *GetConfigRuleReportRequest) SetTargetId(v string) *GetConfigRuleReportRequest
func (*GetConfigRuleReportRequest) SetTargetType ¶
func (s *GetConfigRuleReportRequest) SetTargetType(v string) *GetConfigRuleReportRequest
func (*GetConfigRuleReportRequest) SetUserType ¶
func (s *GetConfigRuleReportRequest) SetUserType(v string) *GetConfigRuleReportRequest
func (GetConfigRuleReportRequest) String ¶
func (s GetConfigRuleReportRequest) String() 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 (s *GetConfigRuleReportResponse) SetBody(v *GetConfigRuleReportResponseBody) *GetConfigRuleReportResponse
func (*GetConfigRuleReportResponse) SetHeaders ¶
func (s *GetConfigRuleReportResponse) SetHeaders(v map[string]*string) *GetConfigRuleReportResponse
func (*GetConfigRuleReportResponse) SetStatusCode ¶
func (s *GetConfigRuleReportResponse) SetStatusCode(v int32) *GetConfigRuleReportResponse
func (GetConfigRuleReportResponse) String ¶
func (s GetConfigRuleReportResponse) String() 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 (s GetConfigRuleReportResponseBody) GoString() string
func (*GetConfigRuleReportResponseBody) SetData ¶
func (s *GetConfigRuleReportResponseBody) SetData(v *GetConfigRuleReportResponseBodyData) *GetConfigRuleReportResponseBody
func (*GetConfigRuleReportResponseBody) SetHttpStatusCode ¶
func (s *GetConfigRuleReportResponseBody) SetHttpStatusCode(v int32) *GetConfigRuleReportResponseBody
func (*GetConfigRuleReportResponseBody) SetRequestId ¶
func (s *GetConfigRuleReportResponseBody) SetRequestId(v string) *GetConfigRuleReportResponseBody
func (*GetConfigRuleReportResponseBody) SetSuccess ¶
func (s *GetConfigRuleReportResponseBody) SetSuccess(v bool) *GetConfigRuleReportResponseBody
func (GetConfigRuleReportResponseBody) String ¶
func (s GetConfigRuleReportResponseBody) String() 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 (s GetConfigRuleReportResponseBodyData) GoString() string
func (*GetConfigRuleReportResponseBodyData) SetCreatedTime ¶
func (s *GetConfigRuleReportResponseBodyData) SetCreatedTime(v int64) *GetConfigRuleReportResponseBodyData
func (*GetConfigRuleReportResponseBodyData) SetReportId ¶
func (s *GetConfigRuleReportResponseBodyData) SetReportId(v string) *GetConfigRuleReportResponseBodyData
func (*GetConfigRuleReportResponseBodyData) SetTargetId ¶
func (s *GetConfigRuleReportResponseBodyData) SetTargetId(v string) *GetConfigRuleReportResponseBodyData
func (*GetConfigRuleReportResponseBodyData) SetTargetType ¶
func (s *GetConfigRuleReportResponseBodyData) SetTargetType(v string) *GetConfigRuleReportResponseBodyData
func (GetConfigRuleReportResponseBodyData) String ¶
func (s GetConfigRuleReportResponseBodyData) String() 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 (s *GetEffectivePolicyRequest) SetOwnerAccount(v string) *GetEffectivePolicyRequest
func (*GetEffectivePolicyRequest) SetOwnerId ¶
func (s *GetEffectivePolicyRequest) SetOwnerId(v int64) *GetEffectivePolicyRequest
func (*GetEffectivePolicyRequest) SetRegionId ¶
func (s *GetEffectivePolicyRequest) SetRegionId(v string) *GetEffectivePolicyRequest
func (*GetEffectivePolicyRequest) SetResourceOwnerAccount ¶
func (s *GetEffectivePolicyRequest) SetResourceOwnerAccount(v string) *GetEffectivePolicyRequest
func (*GetEffectivePolicyRequest) SetTargetId ¶
func (s *GetEffectivePolicyRequest) SetTargetId(v string) *GetEffectivePolicyRequest
func (*GetEffectivePolicyRequest) SetTargetType ¶
func (s *GetEffectivePolicyRequest) SetTargetType(v string) *GetEffectivePolicyRequest
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 (s *GetEffectivePolicyResponse) SetBody(v *GetEffectivePolicyResponseBody) *GetEffectivePolicyResponse
func (*GetEffectivePolicyResponse) SetHeaders ¶
func (s *GetEffectivePolicyResponse) SetHeaders(v map[string]*string) *GetEffectivePolicyResponse
func (*GetEffectivePolicyResponse) SetStatusCode ¶
func (s *GetEffectivePolicyResponse) SetStatusCode(v int32) *GetEffectivePolicyResponse
func (GetEffectivePolicyResponse) String ¶
func (s GetEffectivePolicyResponse) String() 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 (s GetEffectivePolicyResponseBody) GoString() string
func (*GetEffectivePolicyResponseBody) SetEffectivePolicy ¶
func (s *GetEffectivePolicyResponseBody) SetEffectivePolicy(v string) *GetEffectivePolicyResponseBody
func (*GetEffectivePolicyResponseBody) SetRequestId ¶
func (s *GetEffectivePolicyResponseBody) SetRequestId(v string) *GetEffectivePolicyResponseBody
func (GetEffectivePolicyResponseBody) String ¶
func (s GetEffectivePolicyResponseBody) String() 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 (s *GetPolicyEnableStatusRequest) SetOpenType(v string) *GetPolicyEnableStatusRequest
func (*GetPolicyEnableStatusRequest) SetOwnerAccount ¶
func (s *GetPolicyEnableStatusRequest) SetOwnerAccount(v string) *GetPolicyEnableStatusRequest
func (*GetPolicyEnableStatusRequest) SetOwnerId ¶
func (s *GetPolicyEnableStatusRequest) SetOwnerId(v int64) *GetPolicyEnableStatusRequest
func (*GetPolicyEnableStatusRequest) SetRegionId ¶
func (s *GetPolicyEnableStatusRequest) SetRegionId(v string) *GetPolicyEnableStatusRequest
func (*GetPolicyEnableStatusRequest) SetResourceOwnerAccount ¶
func (s *GetPolicyEnableStatusRequest) SetResourceOwnerAccount(v string) *GetPolicyEnableStatusRequest
func (*GetPolicyEnableStatusRequest) SetResourceOwnerId ¶
func (s *GetPolicyEnableStatusRequest) SetResourceOwnerId(v string) *GetPolicyEnableStatusRequest
func (*GetPolicyEnableStatusRequest) SetUserType ¶
func (s *GetPolicyEnableStatusRequest) SetUserType(v string) *GetPolicyEnableStatusRequest
func (GetPolicyEnableStatusRequest) String ¶
func (s GetPolicyEnableStatusRequest) String() 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 (s GetPolicyEnableStatusResponse) GoString() string
func (*GetPolicyEnableStatusResponse) SetBody ¶
func (s *GetPolicyEnableStatusResponse) SetBody(v *GetPolicyEnableStatusResponseBody) *GetPolicyEnableStatusResponse
func (*GetPolicyEnableStatusResponse) SetHeaders ¶
func (s *GetPolicyEnableStatusResponse) SetHeaders(v map[string]*string) *GetPolicyEnableStatusResponse
func (*GetPolicyEnableStatusResponse) SetStatusCode ¶
func (s *GetPolicyEnableStatusResponse) SetStatusCode(v int32) *GetPolicyEnableStatusResponse
func (GetPolicyEnableStatusResponse) String ¶
func (s GetPolicyEnableStatusResponse) String() 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 (s GetPolicyEnableStatusResponseBody) GoString() string
func (*GetPolicyEnableStatusResponseBody) SetRequestId ¶
func (s *GetPolicyEnableStatusResponseBody) SetRequestId(v string) *GetPolicyEnableStatusResponseBody
func (*GetPolicyEnableStatusResponseBody) SetStatusModels ¶
func (s *GetPolicyEnableStatusResponseBody) SetStatusModels(v []*GetPolicyEnableStatusResponseBodyStatusModels) *GetPolicyEnableStatusResponseBody
func (GetPolicyEnableStatusResponseBody) String ¶
func (s GetPolicyEnableStatusResponseBody) String() 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 (s GetPolicyEnableStatusResponseBodyStatusModels) GoString() string
func (*GetPolicyEnableStatusResponseBodyStatusModels) SetStatus ¶
func (s *GetPolicyEnableStatusResponseBodyStatusModels) SetStatus(v string) *GetPolicyEnableStatusResponseBodyStatusModels
func (*GetPolicyEnableStatusResponseBodyStatusModels) SetUserType ¶
func (s *GetPolicyEnableStatusResponseBodyStatusModels) SetUserType(v string) *GetPolicyEnableStatusResponseBodyStatusModels
func (GetPolicyEnableStatusResponseBodyStatusModels) String ¶
func (s GetPolicyEnableStatusResponseBodyStatusModels) String() 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 (s *GetPolicyResponse) SetBody(v *GetPolicyResponseBody) *GetPolicyResponse
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 (s *GetPolicyResponseBody) SetPolicy(v *GetPolicyResponseBodyPolicy) *GetPolicyResponseBody
func (*GetPolicyResponseBody) SetRequestId ¶
func (s *GetPolicyResponseBody) SetRequestId(v string) *GetPolicyResponseBody
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 (s *GetPolicyResponseBodyPolicy) SetPolicyContent(v string) *GetPolicyResponseBodyPolicy
func (*GetPolicyResponseBodyPolicy) SetPolicyDesc ¶
func (s *GetPolicyResponseBodyPolicy) SetPolicyDesc(v string) *GetPolicyResponseBodyPolicy
func (*GetPolicyResponseBodyPolicy) SetPolicyName ¶
func (s *GetPolicyResponseBodyPolicy) SetPolicyName(v string) *GetPolicyResponseBodyPolicy
func (*GetPolicyResponseBodyPolicy) SetUserType ¶
func (s *GetPolicyResponseBodyPolicy) SetUserType(v string) *GetPolicyResponseBodyPolicy
func (GetPolicyResponseBodyPolicy) String ¶
func (s GetPolicyResponseBodyPolicy) String() 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 (s ListConfigRulesForTargetRequest) GoString() string
func (*ListConfigRulesForTargetRequest) SetMaxResult ¶
func (s *ListConfigRulesForTargetRequest) SetMaxResult(v int32) *ListConfigRulesForTargetRequest
func (*ListConfigRulesForTargetRequest) SetNextToken ¶
func (s *ListConfigRulesForTargetRequest) SetNextToken(v string) *ListConfigRulesForTargetRequest
func (*ListConfigRulesForTargetRequest) SetOwnerAccount ¶
func (s *ListConfigRulesForTargetRequest) SetOwnerAccount(v string) *ListConfigRulesForTargetRequest
func (*ListConfigRulesForTargetRequest) SetOwnerId ¶
func (s *ListConfigRulesForTargetRequest) SetOwnerId(v int64) *ListConfigRulesForTargetRequest
func (*ListConfigRulesForTargetRequest) SetPolicyType ¶
func (s *ListConfigRulesForTargetRequest) SetPolicyType(v string) *ListConfigRulesForTargetRequest
func (*ListConfigRulesForTargetRequest) SetRegionId ¶
func (s *ListConfigRulesForTargetRequest) SetRegionId(v string) *ListConfigRulesForTargetRequest
func (*ListConfigRulesForTargetRequest) SetResourceOwnerAccount ¶
func (s *ListConfigRulesForTargetRequest) SetResourceOwnerAccount(v string) *ListConfigRulesForTargetRequest
func (*ListConfigRulesForTargetRequest) SetTagKey ¶
func (s *ListConfigRulesForTargetRequest) SetTagKey(v string) *ListConfigRulesForTargetRequest
func (*ListConfigRulesForTargetRequest) SetTargetId ¶
func (s *ListConfigRulesForTargetRequest) SetTargetId(v string) *ListConfigRulesForTargetRequest
func (*ListConfigRulesForTargetRequest) SetTargetType ¶
func (s *ListConfigRulesForTargetRequest) SetTargetType(v string) *ListConfigRulesForTargetRequest
func (*ListConfigRulesForTargetRequest) SetUserType ¶
func (s *ListConfigRulesForTargetRequest) SetUserType(v string) *ListConfigRulesForTargetRequest
func (ListConfigRulesForTargetRequest) String ¶
func (s ListConfigRulesForTargetRequest) String() 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 (s ListConfigRulesForTargetResponse) GoString() string
func (*ListConfigRulesForTargetResponse) SetBody ¶
func (s *ListConfigRulesForTargetResponse) SetBody(v *ListConfigRulesForTargetResponseBody) *ListConfigRulesForTargetResponse
func (*ListConfigRulesForTargetResponse) SetHeaders ¶
func (s *ListConfigRulesForTargetResponse) SetHeaders(v map[string]*string) *ListConfigRulesForTargetResponse
func (*ListConfigRulesForTargetResponse) SetStatusCode ¶
func (s *ListConfigRulesForTargetResponse) SetStatusCode(v int32) *ListConfigRulesForTargetResponse
func (ListConfigRulesForTargetResponse) String ¶
func (s ListConfigRulesForTargetResponse) String() 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 (s ListConfigRulesForTargetResponseBody) GoString() string
func (*ListConfigRulesForTargetResponseBody) SetNextToken ¶
func (s *ListConfigRulesForTargetResponseBody) SetNextToken(v string) *ListConfigRulesForTargetResponseBody
func (*ListConfigRulesForTargetResponseBody) SetRequestId ¶
func (s *ListConfigRulesForTargetResponseBody) SetRequestId(v string) *ListConfigRulesForTargetResponseBody
func (ListConfigRulesForTargetResponseBody) String ¶
func (s ListConfigRulesForTargetResponseBody) String() 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 (s ListConfigRulesForTargetResponseBodyData) GoString() string
func (*ListConfigRulesForTargetResponseBodyData) SetAggregatorId ¶
func (s *ListConfigRulesForTargetResponseBodyData) SetAggregatorId(v string) *ListConfigRulesForTargetResponseBodyData
func (*ListConfigRulesForTargetResponseBodyData) SetConfigRuleId ¶
func (s *ListConfigRulesForTargetResponseBodyData) SetConfigRuleId(v string) *ListConfigRulesForTargetResponseBodyData
func (*ListConfigRulesForTargetResponseBodyData) SetPolicyType ¶
func (s *ListConfigRulesForTargetResponseBodyData) SetPolicyType(v string) *ListConfigRulesForTargetResponseBodyData
func (*ListConfigRulesForTargetResponseBodyData) SetRemediation ¶
func (s *ListConfigRulesForTargetResponseBodyData) SetRemediation(v bool) *ListConfigRulesForTargetResponseBodyData
func (*ListConfigRulesForTargetResponseBodyData) SetTagKey ¶
func (s *ListConfigRulesForTargetResponseBodyData) SetTagKey(v string) *ListConfigRulesForTargetResponseBodyData
func (*ListConfigRulesForTargetResponseBodyData) SetTagValue ¶ added in v2.0.2
func (s *ListConfigRulesForTargetResponseBodyData) SetTagValue(v string) *ListConfigRulesForTargetResponseBodyData
func (*ListConfigRulesForTargetResponseBodyData) SetTargetId ¶
func (s *ListConfigRulesForTargetResponseBodyData) SetTargetId(v string) *ListConfigRulesForTargetResponseBodyData
func (*ListConfigRulesForTargetResponseBodyData) SetTargetType ¶
func (s *ListConfigRulesForTargetResponseBodyData) SetTargetType(v string) *ListConfigRulesForTargetResponseBodyData
func (ListConfigRulesForTargetResponseBodyData) String ¶
func (s ListConfigRulesForTargetResponseBodyData) String() 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 (s *ListPoliciesForTargetRequest) SetMaxResult(v int32) *ListPoliciesForTargetRequest
func (*ListPoliciesForTargetRequest) SetNextToken ¶
func (s *ListPoliciesForTargetRequest) SetNextToken(v string) *ListPoliciesForTargetRequest
func (*ListPoliciesForTargetRequest) SetOwnerAccount ¶
func (s *ListPoliciesForTargetRequest) SetOwnerAccount(v string) *ListPoliciesForTargetRequest
func (*ListPoliciesForTargetRequest) SetOwnerId ¶
func (s *ListPoliciesForTargetRequest) SetOwnerId(v int64) *ListPoliciesForTargetRequest
func (*ListPoliciesForTargetRequest) SetRegionId ¶
func (s *ListPoliciesForTargetRequest) SetRegionId(v string) *ListPoliciesForTargetRequest
func (*ListPoliciesForTargetRequest) SetResourceOwnerAccount ¶
func (s *ListPoliciesForTargetRequest) SetResourceOwnerAccount(v string) *ListPoliciesForTargetRequest
func (*ListPoliciesForTargetRequest) SetTargetId ¶
func (s *ListPoliciesForTargetRequest) SetTargetId(v string) *ListPoliciesForTargetRequest
func (*ListPoliciesForTargetRequest) SetTargetType ¶
func (s *ListPoliciesForTargetRequest) SetTargetType(v string) *ListPoliciesForTargetRequest
func (ListPoliciesForTargetRequest) String ¶
func (s ListPoliciesForTargetRequest) String() 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 (s ListPoliciesForTargetResponse) GoString() string
func (*ListPoliciesForTargetResponse) SetBody ¶
func (s *ListPoliciesForTargetResponse) SetBody(v *ListPoliciesForTargetResponseBody) *ListPoliciesForTargetResponse
func (*ListPoliciesForTargetResponse) SetHeaders ¶
func (s *ListPoliciesForTargetResponse) SetHeaders(v map[string]*string) *ListPoliciesForTargetResponse
func (*ListPoliciesForTargetResponse) SetStatusCode ¶
func (s *ListPoliciesForTargetResponse) SetStatusCode(v int32) *ListPoliciesForTargetResponse
func (ListPoliciesForTargetResponse) String ¶
func (s ListPoliciesForTargetResponse) String() 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 (s ListPoliciesForTargetResponseBody) GoString() string
func (*ListPoliciesForTargetResponseBody) SetData ¶
func (s *ListPoliciesForTargetResponseBody) SetData(v []*ListPoliciesForTargetResponseBodyData) *ListPoliciesForTargetResponseBody
func (*ListPoliciesForTargetResponseBody) SetNextToken ¶
func (s *ListPoliciesForTargetResponseBody) SetNextToken(v string) *ListPoliciesForTargetResponseBody
func (*ListPoliciesForTargetResponseBody) SetRequestId ¶
func (s *ListPoliciesForTargetResponseBody) SetRequestId(v string) *ListPoliciesForTargetResponseBody
func (ListPoliciesForTargetResponseBody) String ¶
func (s ListPoliciesForTargetResponseBody) String() 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 (s ListPoliciesForTargetResponseBodyData) GoString() string
func (*ListPoliciesForTargetResponseBodyData) SetPolicyContent ¶
func (s *ListPoliciesForTargetResponseBodyData) SetPolicyContent(v string) *ListPoliciesForTargetResponseBodyData
func (*ListPoliciesForTargetResponseBodyData) SetPolicyDesc ¶
func (s *ListPoliciesForTargetResponseBodyData) SetPolicyDesc(v string) *ListPoliciesForTargetResponseBodyData
func (*ListPoliciesForTargetResponseBodyData) SetPolicyId ¶
func (s *ListPoliciesForTargetResponseBodyData) SetPolicyId(v string) *ListPoliciesForTargetResponseBodyData
func (*ListPoliciesForTargetResponseBodyData) SetPolicyName ¶
func (s *ListPoliciesForTargetResponseBodyData) SetPolicyName(v string) *ListPoliciesForTargetResponseBodyData
func (*ListPoliciesForTargetResponseBodyData) SetUserType ¶
func (s *ListPoliciesForTargetResponseBodyData) SetUserType(v string) *ListPoliciesForTargetResponseBodyData
func (ListPoliciesForTargetResponseBodyData) String ¶
func (s ListPoliciesForTargetResponseBodyData) String() 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 (s *ListPoliciesResponse) SetBody(v *ListPoliciesResponseBody) *ListPoliciesResponse
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 (s *ListPoliciesResponseBody) SetNextToken(v string) *ListPoliciesResponseBody
func (*ListPoliciesResponseBody) SetPolicyList ¶
func (s *ListPoliciesResponseBody) SetPolicyList(v []*ListPoliciesResponseBodyPolicyList) *ListPoliciesResponseBody
func (*ListPoliciesResponseBody) SetRequestId ¶
func (s *ListPoliciesResponseBody) SetRequestId(v string) *ListPoliciesResponseBody
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 (s ListPoliciesResponseBodyPolicyList) GoString() string
func (*ListPoliciesResponseBodyPolicyList) SetPolicyContent ¶
func (s *ListPoliciesResponseBodyPolicyList) SetPolicyContent(v string) *ListPoliciesResponseBodyPolicyList
func (*ListPoliciesResponseBodyPolicyList) SetPolicyDesc ¶
func (s *ListPoliciesResponseBodyPolicyList) SetPolicyDesc(v string) *ListPoliciesResponseBodyPolicyList
func (*ListPoliciesResponseBodyPolicyList) SetPolicyId ¶
func (s *ListPoliciesResponseBodyPolicyList) SetPolicyId(v string) *ListPoliciesResponseBodyPolicyList
func (*ListPoliciesResponseBodyPolicyList) SetPolicyName ¶
func (s *ListPoliciesResponseBodyPolicyList) SetPolicyName(v string) *ListPoliciesResponseBodyPolicyList
func (*ListPoliciesResponseBodyPolicyList) SetUserType ¶
func (s *ListPoliciesResponseBodyPolicyList) SetUserType(v string) *ListPoliciesResponseBodyPolicyList
func (ListPoliciesResponseBodyPolicyList) String ¶
func (s ListPoliciesResponseBodyPolicyList) String() 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 (s *ListResourcesByTagRequest) SetFuzzyType(v string) *ListResourcesByTagRequest
func (*ListResourcesByTagRequest) SetIncludeAllTags ¶
func (s *ListResourcesByTagRequest) SetIncludeAllTags(v bool) *ListResourcesByTagRequest
func (*ListResourcesByTagRequest) SetMaxResult ¶
func (s *ListResourcesByTagRequest) SetMaxResult(v int32) *ListResourcesByTagRequest
func (*ListResourcesByTagRequest) SetNextToken ¶
func (s *ListResourcesByTagRequest) SetNextToken(v string) *ListResourcesByTagRequest
func (*ListResourcesByTagRequest) SetOwnerAccount ¶
func (s *ListResourcesByTagRequest) SetOwnerAccount(v string) *ListResourcesByTagRequest
func (*ListResourcesByTagRequest) SetOwnerId ¶
func (s *ListResourcesByTagRequest) SetOwnerId(v int64) *ListResourcesByTagRequest
func (*ListResourcesByTagRequest) SetRegionId ¶
func (s *ListResourcesByTagRequest) SetRegionId(v string) *ListResourcesByTagRequest
func (*ListResourcesByTagRequest) SetResourceOwnerAccount ¶
func (s *ListResourcesByTagRequest) SetResourceOwnerAccount(v string) *ListResourcesByTagRequest
func (*ListResourcesByTagRequest) SetResourceType ¶
func (s *ListResourcesByTagRequest) SetResourceType(v string) *ListResourcesByTagRequest
func (*ListResourcesByTagRequest) SetTagFilter ¶
func (s *ListResourcesByTagRequest) SetTagFilter(v *ListResourcesByTagRequestTagFilter) *ListResourcesByTagRequest
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 (s ListResourcesByTagRequestTagFilter) GoString() string
func (*ListResourcesByTagRequestTagFilter) SetKey ¶
func (s *ListResourcesByTagRequestTagFilter) SetKey(v string) *ListResourcesByTagRequestTagFilter
func (*ListResourcesByTagRequestTagFilter) SetValue ¶
func (s *ListResourcesByTagRequestTagFilter) SetValue(v string) *ListResourcesByTagRequestTagFilter
func (ListResourcesByTagRequestTagFilter) String ¶
func (s ListResourcesByTagRequestTagFilter) String() 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 (s *ListResourcesByTagResponse) SetBody(v *ListResourcesByTagResponseBody) *ListResourcesByTagResponse
func (*ListResourcesByTagResponse) SetHeaders ¶
func (s *ListResourcesByTagResponse) SetHeaders(v map[string]*string) *ListResourcesByTagResponse
func (*ListResourcesByTagResponse) SetStatusCode ¶
func (s *ListResourcesByTagResponse) SetStatusCode(v int32) *ListResourcesByTagResponse
func (ListResourcesByTagResponse) String ¶
func (s ListResourcesByTagResponse) String() 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 (s ListResourcesByTagResponseBody) GoString() string
func (*ListResourcesByTagResponseBody) SetNextToken ¶
func (s *ListResourcesByTagResponseBody) SetNextToken(v string) *ListResourcesByTagResponseBody
func (*ListResourcesByTagResponseBody) SetRequestId ¶
func (s *ListResourcesByTagResponseBody) SetRequestId(v string) *ListResourcesByTagResponseBody
func (*ListResourcesByTagResponseBody) SetResources ¶
func (s *ListResourcesByTagResponseBody) SetResources(v []*ListResourcesByTagResponseBodyResources) *ListResourcesByTagResponseBody
func (ListResourcesByTagResponseBody) String ¶
func (s ListResourcesByTagResponseBody) String() 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 (s ListResourcesByTagResponseBodyResources) GoString() string
func (*ListResourcesByTagResponseBodyResources) SetResourceId ¶
func (s *ListResourcesByTagResponseBodyResources) SetResourceId(v string) *ListResourcesByTagResponseBodyResources
func (ListResourcesByTagResponseBodyResources) String ¶
func (s ListResourcesByTagResponseBodyResources) String() 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 (s ListResourcesByTagResponseBodyResourcesTags) GoString() string
func (*ListResourcesByTagResponseBodyResourcesTags) SetCategory ¶
func (s *ListResourcesByTagResponseBodyResourcesTags) SetCategory(v string) *ListResourcesByTagResponseBodyResourcesTags
func (*ListResourcesByTagResponseBodyResourcesTags) SetKey ¶
func (s *ListResourcesByTagResponseBodyResourcesTags) SetKey(v string) *ListResourcesByTagResponseBodyResourcesTags
func (*ListResourcesByTagResponseBodyResourcesTags) SetValue ¶
func (s *ListResourcesByTagResponseBodyResourcesTags) SetValue(v string) *ListResourcesByTagResponseBodyResourcesTags
func (ListResourcesByTagResponseBodyResourcesTags) String ¶
func (s ListResourcesByTagResponseBodyResourcesTags) String() 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 (s ListSupportResourceTypesRequest) GoString() string
func (*ListSupportResourceTypesRequest) SetMaxResult ¶
func (s *ListSupportResourceTypesRequest) SetMaxResult(v int32) *ListSupportResourceTypesRequest
func (*ListSupportResourceTypesRequest) SetNextToken ¶
func (s *ListSupportResourceTypesRequest) SetNextToken(v string) *ListSupportResourceTypesRequest
func (*ListSupportResourceTypesRequest) SetOwnerAccount ¶
func (s *ListSupportResourceTypesRequest) SetOwnerAccount(v string) *ListSupportResourceTypesRequest
func (*ListSupportResourceTypesRequest) SetOwnerId ¶
func (s *ListSupportResourceTypesRequest) SetOwnerId(v int64) *ListSupportResourceTypesRequest
func (*ListSupportResourceTypesRequest) SetProductCode ¶
func (s *ListSupportResourceTypesRequest) SetProductCode(v string) *ListSupportResourceTypesRequest
func (*ListSupportResourceTypesRequest) SetRegionId ¶
func (s *ListSupportResourceTypesRequest) SetRegionId(v string) *ListSupportResourceTypesRequest
func (*ListSupportResourceTypesRequest) SetResourceOwnerAccount ¶
func (s *ListSupportResourceTypesRequest) SetResourceOwnerAccount(v string) *ListSupportResourceTypesRequest
func (*ListSupportResourceTypesRequest) SetResourceTye ¶
func (s *ListSupportResourceTypesRequest) SetResourceTye(v string) *ListSupportResourceTypesRequest
func (*ListSupportResourceTypesRequest) SetShowItems ¶
func (s *ListSupportResourceTypesRequest) SetShowItems(v bool) *ListSupportResourceTypesRequest
func (*ListSupportResourceTypesRequest) SetSupportCode ¶
func (s *ListSupportResourceTypesRequest) SetSupportCode(v string) *ListSupportResourceTypesRequest
func (ListSupportResourceTypesRequest) String ¶
func (s ListSupportResourceTypesRequest) String() 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 (s ListSupportResourceTypesResponse) GoString() string
func (*ListSupportResourceTypesResponse) SetBody ¶
func (s *ListSupportResourceTypesResponse) SetBody(v *ListSupportResourceTypesResponseBody) *ListSupportResourceTypesResponse
func (*ListSupportResourceTypesResponse) SetHeaders ¶
func (s *ListSupportResourceTypesResponse) SetHeaders(v map[string]*string) *ListSupportResourceTypesResponse
func (*ListSupportResourceTypesResponse) SetStatusCode ¶
func (s *ListSupportResourceTypesResponse) SetStatusCode(v int32) *ListSupportResourceTypesResponse
func (ListSupportResourceTypesResponse) String ¶
func (s ListSupportResourceTypesResponse) String() 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 (s ListSupportResourceTypesResponseBody) GoString() string
func (*ListSupportResourceTypesResponseBody) SetNextToken ¶
func (s *ListSupportResourceTypesResponseBody) SetNextToken(v string) *ListSupportResourceTypesResponseBody
func (*ListSupportResourceTypesResponseBody) SetRequestId ¶
func (s *ListSupportResourceTypesResponseBody) SetRequestId(v string) *ListSupportResourceTypesResponseBody
func (*ListSupportResourceTypesResponseBody) SetSupportResourceTypes ¶
func (s *ListSupportResourceTypesResponseBody) SetSupportResourceTypes(v []*ListSupportResourceTypesResponseBodySupportResourceTypes) *ListSupportResourceTypesResponseBody
func (ListSupportResourceTypesResponseBody) String ¶
func (s ListSupportResourceTypesResponseBody) String() 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 (s ListSupportResourceTypesResponseBodySupportResourceTypes) GoString() string
func (*ListSupportResourceTypesResponseBodySupportResourceTypes) SetProductCode ¶
func (s *ListSupportResourceTypesResponseBodySupportResourceTypes) SetProductCode(v string) *ListSupportResourceTypesResponseBodySupportResourceTypes
func (*ListSupportResourceTypesResponseBodySupportResourceTypes) SetResourceType ¶
func (s *ListSupportResourceTypesResponseBodySupportResourceTypes) SetResourceType(v string) *ListSupportResourceTypesResponseBodySupportResourceTypes
func (*ListSupportResourceTypesResponseBodySupportResourceTypes) SetSupportItems ¶
func (ListSupportResourceTypesResponseBodySupportResourceTypes) String ¶
func (s ListSupportResourceTypesResponseBodySupportResourceTypes) String() 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 (s ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems) GoString() string
func (*ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems) SetSupport ¶
func (*ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems) SetSupportCode ¶
func (*ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems) SetSupportDetails ¶ added in v2.0.2
func (s *ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems) SetSupportDetails(v []map[string]*string) *ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems
func (ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems) String ¶
func (s ListSupportResourceTypesResponseBodySupportResourceTypesSupportItems) String() 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 (s *ListTagKeysRequest) SetTagFilter(v *ListTagKeysRequestTagFilter) *ListTagKeysRequest
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 (s *ListTagKeysRequestTagFilter) SetKey(v string) *ListTagKeysRequestTagFilter
func (ListTagKeysRequestTagFilter) String ¶
func (s ListTagKeysRequestTagFilter) String() 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 (s *ListTagKeysResponse) SetBody(v *ListTagKeysResponseBody) *ListTagKeysResponse
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 (s *ListTagKeysResponseBody) SetKeys(v *ListTagKeysResponseBodyKeys) *ListTagKeysResponseBody
func (*ListTagKeysResponseBody) SetNextToken ¶
func (s *ListTagKeysResponseBody) SetNextToken(v string) *ListTagKeysResponseBody
func (*ListTagKeysResponseBody) SetRequestId ¶
func (s *ListTagKeysResponseBody) SetRequestId(v string) *ListTagKeysResponseBody
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 (s *ListTagKeysResponseBodyKeys) SetKey(v []*ListTagKeysResponseBodyKeysKey) *ListTagKeysResponseBodyKeys
func (ListTagKeysResponseBodyKeys) String ¶
func (s ListTagKeysResponseBodyKeys) String() 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 (s ListTagKeysResponseBodyKeysKey) GoString() string
func (*ListTagKeysResponseBodyKeysKey) SetCategory ¶
func (s *ListTagKeysResponseBodyKeysKey) SetCategory(v string) *ListTagKeysResponseBodyKeysKey
func (*ListTagKeysResponseBodyKeysKey) SetDescription ¶
func (s *ListTagKeysResponseBodyKeysKey) SetDescription(v string) *ListTagKeysResponseBodyKeysKey
func (*ListTagKeysResponseBodyKeysKey) SetKey ¶
func (s *ListTagKeysResponseBodyKeysKey) SetKey(v string) *ListTagKeysResponseBodyKeysKey
func (ListTagKeysResponseBodyKeysKey) String ¶
func (s ListTagKeysResponseBodyKeysKey) String() 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 (s *ListTagResourcesRequest) SetCategory(v string) *ListTagResourcesRequest
func (*ListTagResourcesRequest) SetNextToken ¶
func (s *ListTagResourcesRequest) SetNextToken(v string) *ListTagResourcesRequest
func (*ListTagResourcesRequest) SetOwnerAccount ¶
func (s *ListTagResourcesRequest) SetOwnerAccount(v string) *ListTagResourcesRequest
func (*ListTagResourcesRequest) SetOwnerId ¶
func (s *ListTagResourcesRequest) SetOwnerId(v int64) *ListTagResourcesRequest
func (*ListTagResourcesRequest) SetPageSize ¶
func (s *ListTagResourcesRequest) SetPageSize(v int32) *ListTagResourcesRequest
func (*ListTagResourcesRequest) SetRegionId ¶
func (s *ListTagResourcesRequest) SetRegionId(v string) *ListTagResourcesRequest
func (*ListTagResourcesRequest) SetResourceARN ¶
func (s *ListTagResourcesRequest) SetResourceARN(v []*string) *ListTagResourcesRequest
func (*ListTagResourcesRequest) SetResourceOwnerAccount ¶
func (s *ListTagResourcesRequest) SetResourceOwnerAccount(v string) *ListTagResourcesRequest
func (*ListTagResourcesRequest) SetTags ¶
func (s *ListTagResourcesRequest) SetTags(v string) *ListTagResourcesRequest
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 (s *ListTagResourcesResponse) SetBody(v *ListTagResourcesResponseBody) *ListTagResourcesResponse
func (*ListTagResourcesResponse) SetHeaders ¶
func (s *ListTagResourcesResponse) SetHeaders(v map[string]*string) *ListTagResourcesResponse
func (*ListTagResourcesResponse) SetStatusCode ¶
func (s *ListTagResourcesResponse) SetStatusCode(v int32) *ListTagResourcesResponse
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 (s *ListTagResourcesResponseBody) SetNextToken(v string) *ListTagResourcesResponseBody
func (*ListTagResourcesResponseBody) SetRequestId ¶
func (s *ListTagResourcesResponseBody) SetRequestId(v string) *ListTagResourcesResponseBody
func (*ListTagResourcesResponseBody) SetTagResources ¶
func (s *ListTagResourcesResponseBody) SetTagResources(v []*ListTagResourcesResponseBodyTagResources) *ListTagResourcesResponseBody
func (ListTagResourcesResponseBody) String ¶
func (s ListTagResourcesResponseBody) String() 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 (s ListTagResourcesResponseBodyTagResources) GoString() string
func (*ListTagResourcesResponseBodyTagResources) SetResourceARN ¶
func (s *ListTagResourcesResponseBodyTagResources) SetResourceARN(v string) *ListTagResourcesResponseBodyTagResources
func (ListTagResourcesResponseBodyTagResources) String ¶
func (s ListTagResourcesResponseBodyTagResources) String() 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 (s ListTagResourcesResponseBodyTagResourcesTags) GoString() string
func (*ListTagResourcesResponseBodyTagResourcesTags) SetCategory ¶
func (s *ListTagResourcesResponseBodyTagResourcesTags) SetCategory(v string) *ListTagResourcesResponseBodyTagResourcesTags
func (*ListTagResourcesResponseBodyTagResourcesTags) SetValue ¶
func (s *ListTagResourcesResponseBodyTagResourcesTags) SetValue(v string) *ListTagResourcesResponseBodyTagResourcesTags
func (ListTagResourcesResponseBodyTagResourcesTags) String ¶
func (s ListTagResourcesResponseBodyTagResourcesTags) String() 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 (s *ListTagValuesRequest) SetKey(v string) *ListTagValuesRequest
func (*ListTagValuesRequest) SetNextToken ¶
func (s *ListTagValuesRequest) SetNextToken(v string) *ListTagValuesRequest
func (*ListTagValuesRequest) SetOwnerAccount ¶
func (s *ListTagValuesRequest) SetOwnerAccount(v string) *ListTagValuesRequest
func (*ListTagValuesRequest) SetOwnerId ¶
func (s *ListTagValuesRequest) SetOwnerId(v int64) *ListTagValuesRequest
func (*ListTagValuesRequest) SetPageSize ¶
func (s *ListTagValuesRequest) SetPageSize(v int32) *ListTagValuesRequest
func (*ListTagValuesRequest) SetQueryType ¶
func (s *ListTagValuesRequest) SetQueryType(v string) *ListTagValuesRequest
func (*ListTagValuesRequest) SetRegionId ¶
func (s *ListTagValuesRequest) SetRegionId(v string) *ListTagValuesRequest
func (*ListTagValuesRequest) SetResourceOwnerAccount ¶
func (s *ListTagValuesRequest) SetResourceOwnerAccount(v string) *ListTagValuesRequest
func (*ListTagValuesRequest) SetResourceType ¶
func (s *ListTagValuesRequest) SetResourceType(v string) *ListTagValuesRequest
func (*ListTagValuesRequest) SetTagFilter ¶
func (s *ListTagValuesRequest) SetTagFilter(v *ListTagValuesRequestTagFilter) *ListTagValuesRequest
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 (s ListTagValuesRequestTagFilter) GoString() string
func (*ListTagValuesRequestTagFilter) SetValue ¶
func (s *ListTagValuesRequestTagFilter) SetValue(v string) *ListTagValuesRequestTagFilter
func (ListTagValuesRequestTagFilter) String ¶
func (s ListTagValuesRequestTagFilter) String() 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 (s *ListTagValuesResponse) SetBody(v *ListTagValuesResponseBody) *ListTagValuesResponse
func (*ListTagValuesResponse) SetHeaders ¶
func (s *ListTagValuesResponse) SetHeaders(v map[string]*string) *ListTagValuesResponse
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 (s *ListTagValuesResponseBody) SetNextToken(v string) *ListTagValuesResponseBody
func (*ListTagValuesResponseBody) SetRequestId ¶
func (s *ListTagValuesResponseBody) SetRequestId(v string) *ListTagValuesResponseBody
func (*ListTagValuesResponseBody) SetValues ¶
func (s *ListTagValuesResponseBody) SetValues(v *ListTagValuesResponseBodyValues) *ListTagValuesResponseBody
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 (s ListTagValuesResponseBodyValues) GoString() string
func (*ListTagValuesResponseBodyValues) SetValue ¶
func (s *ListTagValuesResponseBodyValues) SetValue(v []*string) *ListTagValuesResponseBodyValues
func (ListTagValuesResponseBodyValues) String ¶
func (s ListTagValuesResponseBodyValues) String() 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 (s *ListTargetsForPolicyRequest) SetMaxResult(v int32) *ListTargetsForPolicyRequest
func (*ListTargetsForPolicyRequest) SetNextToken ¶
func (s *ListTargetsForPolicyRequest) SetNextToken(v string) *ListTargetsForPolicyRequest
func (*ListTargetsForPolicyRequest) SetOwnerAccount ¶
func (s *ListTargetsForPolicyRequest) SetOwnerAccount(v string) *ListTargetsForPolicyRequest
func (*ListTargetsForPolicyRequest) SetOwnerId ¶
func (s *ListTargetsForPolicyRequest) SetOwnerId(v int64) *ListTargetsForPolicyRequest
func (*ListTargetsForPolicyRequest) SetPolicyId ¶
func (s *ListTargetsForPolicyRequest) SetPolicyId(v string) *ListTargetsForPolicyRequest
func (*ListTargetsForPolicyRequest) SetRegionId ¶
func (s *ListTargetsForPolicyRequest) SetRegionId(v string) *ListTargetsForPolicyRequest
func (*ListTargetsForPolicyRequest) SetResourceOwnerAccount ¶
func (s *ListTargetsForPolicyRequest) SetResourceOwnerAccount(v string) *ListTargetsForPolicyRequest
func (ListTargetsForPolicyRequest) String ¶
func (s ListTargetsForPolicyRequest) String() 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 (s *ListTargetsForPolicyResponse) SetBody(v *ListTargetsForPolicyResponseBody) *ListTargetsForPolicyResponse
func (*ListTargetsForPolicyResponse) SetHeaders ¶
func (s *ListTargetsForPolicyResponse) SetHeaders(v map[string]*string) *ListTargetsForPolicyResponse
func (*ListTargetsForPolicyResponse) SetStatusCode ¶
func (s *ListTargetsForPolicyResponse) SetStatusCode(v int32) *ListTargetsForPolicyResponse
func (ListTargetsForPolicyResponse) String ¶
func (s ListTargetsForPolicyResponse) String() 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 (s ListTargetsForPolicyResponseBody) GoString() string
func (*ListTargetsForPolicyResponseBody) SetIsRd ¶
func (s *ListTargetsForPolicyResponseBody) SetIsRd(v bool) *ListTargetsForPolicyResponseBody
func (*ListTargetsForPolicyResponseBody) SetNextToken ¶
func (s *ListTargetsForPolicyResponseBody) SetNextToken(v string) *ListTargetsForPolicyResponseBody
func (*ListTargetsForPolicyResponseBody) SetRdId ¶
func (s *ListTargetsForPolicyResponseBody) SetRdId(v string) *ListTargetsForPolicyResponseBody
func (*ListTargetsForPolicyResponseBody) SetRequestId ¶
func (s *ListTargetsForPolicyResponseBody) SetRequestId(v string) *ListTargetsForPolicyResponseBody
func (*ListTargetsForPolicyResponseBody) SetTargets ¶
func (s *ListTargetsForPolicyResponseBody) SetTargets(v []*ListTargetsForPolicyResponseBodyTargets) *ListTargetsForPolicyResponseBody
func (ListTargetsForPolicyResponseBody) String ¶
func (s ListTargetsForPolicyResponseBody) String() 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 (s ListTargetsForPolicyResponseBodyTargets) GoString() string
func (*ListTargetsForPolicyResponseBodyTargets) SetTargetId ¶
func (s *ListTargetsForPolicyResponseBodyTargets) SetTargetId(v string) *ListTargetsForPolicyResponseBodyTargets
func (*ListTargetsForPolicyResponseBodyTargets) SetTargetType ¶
func (s *ListTargetsForPolicyResponseBodyTargets) SetTargetType(v int32) *ListTargetsForPolicyResponseBodyTargets
func (ListTargetsForPolicyResponseBodyTargets) String ¶
func (s ListTargetsForPolicyResponseBodyTargets) String() 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 (s *ModifyPolicyResponse) SetBody(v *ModifyPolicyResponseBody) *ModifyPolicyResponse
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 (s *ModifyPolicyResponseBody) SetRequestId(v string) *ModifyPolicyResponseBody
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 (s *OpenCreatedByRequest) SetOwnerId(v int64) *OpenCreatedByRequest
func (*OpenCreatedByRequest) SetRegionId ¶ added in v2.0.1
func (s *OpenCreatedByRequest) SetRegionId(v string) *OpenCreatedByRequest
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 (s *OpenCreatedByResponse) SetBody(v *OpenCreatedByResponseBody) *OpenCreatedByResponse
func (*OpenCreatedByResponse) SetHeaders ¶ added in v2.0.1
func (s *OpenCreatedByResponse) SetHeaders(v map[string]*string) *OpenCreatedByResponse
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 (s *OpenCreatedByResponseBody) SetRequestId(v string) *OpenCreatedByResponseBody
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 (s *TagResourcesRequest) SetTags(v string) *TagResourcesRequest
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 (s *TagResourcesResponse) SetBody(v *TagResourcesResponseBody) *TagResourcesResponse
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 (s *TagResourcesResponseBody) SetFailedResources(v *TagResourcesResponseBodyFailedResources) *TagResourcesResponseBody
func (*TagResourcesResponseBody) SetRequestId ¶
func (s *TagResourcesResponseBody) SetRequestId(v string) *TagResourcesResponseBody
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 (s TagResourcesResponseBodyFailedResources) GoString() string
func (*TagResourcesResponseBodyFailedResources) SetFailedResource ¶
func (s *TagResourcesResponseBodyFailedResources) SetFailedResource(v []*TagResourcesResponseBodyFailedResourcesFailedResource) *TagResourcesResponseBodyFailedResources
func (TagResourcesResponseBodyFailedResources) String ¶
func (s TagResourcesResponseBodyFailedResources) String() 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 (s TagResourcesResponseBodyFailedResourcesFailedResource) GoString() string
func (*TagResourcesResponseBodyFailedResourcesFailedResource) SetResourceARN ¶
func (s *TagResourcesResponseBodyFailedResourcesFailedResource) SetResourceARN(v string) *TagResourcesResponseBodyFailedResourcesFailedResource
func (TagResourcesResponseBodyFailedResourcesFailedResource) String ¶
func (s TagResourcesResponseBodyFailedResourcesFailedResource) String() 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 (s TagResourcesResponseBodyFailedResourcesFailedResourceResult) GoString() string
func (*TagResourcesResponseBodyFailedResourcesFailedResourceResult) SetMessage ¶
func (TagResourcesResponseBodyFailedResourcesFailedResourceResult) String ¶
func (s TagResourcesResponseBodyFailedResourcesFailedResourceResult) String() 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 (s *UntagResourcesRequest) SetOwnerId(v int64) *UntagResourcesRequest
func (*UntagResourcesRequest) SetRegionId ¶
func (s *UntagResourcesRequest) SetRegionId(v string) *UntagResourcesRequest
func (*UntagResourcesRequest) SetResourceARN ¶
func (s *UntagResourcesRequest) SetResourceARN(v []*string) *UntagResourcesRequest
func (*UntagResourcesRequest) SetResourceOwnerAccount ¶
func (s *UntagResourcesRequest) SetResourceOwnerAccount(v string) *UntagResourcesRequest
func (*UntagResourcesRequest) SetTagKey ¶
func (s *UntagResourcesRequest) SetTagKey(v []*string) *UntagResourcesRequest
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 (s *UntagResourcesResponse) SetBody(v *UntagResourcesResponseBody) *UntagResourcesResponse
func (*UntagResourcesResponse) SetHeaders ¶
func (s *UntagResourcesResponse) SetHeaders(v map[string]*string) *UntagResourcesResponse
func (*UntagResourcesResponse) SetStatusCode ¶
func (s *UntagResourcesResponse) SetStatusCode(v int32) *UntagResourcesResponse
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) SetFailedResources ¶
func (s *UntagResourcesResponseBody) SetFailedResources(v *UntagResourcesResponseBodyFailedResources) *UntagResourcesResponseBody
func (*UntagResourcesResponseBody) SetRequestId ¶
func (s *UntagResourcesResponseBody) SetRequestId(v string) *UntagResourcesResponseBody
func (UntagResourcesResponseBody) String ¶
func (s UntagResourcesResponseBody) String() string
type UntagResourcesResponseBodyFailedResources ¶
type UntagResourcesResponseBodyFailedResources struct {
FailedResource []*UntagResourcesResponseBodyFailedResourcesFailedResource `json:"FailedResource,omitempty" xml:"FailedResource,omitempty" type:"Repeated"`
}
func (UntagResourcesResponseBodyFailedResources) GoString ¶
func (s UntagResourcesResponseBodyFailedResources) GoString() string
func (*UntagResourcesResponseBodyFailedResources) SetFailedResource ¶
func (s *UntagResourcesResponseBodyFailedResources) SetFailedResource(v []*UntagResourcesResponseBodyFailedResourcesFailedResource) *UntagResourcesResponseBodyFailedResources
func (UntagResourcesResponseBodyFailedResources) String ¶
func (s UntagResourcesResponseBodyFailedResources) String() 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 (s UntagResourcesResponseBodyFailedResourcesFailedResource) GoString() string
func (*UntagResourcesResponseBodyFailedResourcesFailedResource) SetResourceARN ¶
func (s *UntagResourcesResponseBodyFailedResourcesFailedResource) SetResourceARN(v string) *UntagResourcesResponseBodyFailedResourcesFailedResource
func (UntagResourcesResponseBodyFailedResourcesFailedResource) String ¶
func (s UntagResourcesResponseBodyFailedResourcesFailedResource) String() 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 (s UntagResourcesResponseBodyFailedResourcesFailedResourceResult) GoString() string
func (*UntagResourcesResponseBodyFailedResourcesFailedResourceResult) SetMessage ¶
func (UntagResourcesResponseBodyFailedResourcesFailedResourceResult) String ¶
func (s UntagResourcesResponseBodyFailedResourcesFailedResourceResult) String() string
Click to show internal directories.
Click to hide internal directories.