package types
import "github.com/aws/aws-sdk-go-v2/service/resourcegroups/types"
Index ¶
- type AccountSettings
- type BadRequestException
- func (e *BadRequestException) Error() string
- func (e *BadRequestException) ErrorCode() string
- func (e *BadRequestException) ErrorFault() smithy.ErrorFault
- func (e *BadRequestException) ErrorMessage() string
- type FailedResource
- type ForbiddenException
- func (e *ForbiddenException) Error() string
- func (e *ForbiddenException) ErrorCode() string
- func (e *ForbiddenException) ErrorFault() smithy.ErrorFault
- func (e *ForbiddenException) ErrorMessage() string
- type Group
- type GroupConfiguration
- type GroupConfigurationItem
- type GroupConfigurationParameter
- type GroupConfigurationStatus
- type GroupFilter
- type GroupFilterName
- type GroupIdentifier
- type GroupLifecycleEventsDesiredStatus
- type GroupLifecycleEventsStatus
- type GroupQuery
- type GroupingStatus
- type GroupingStatusesItem
- type GroupingType
- type InternalServerErrorException
- func (e *InternalServerErrorException) Error() string
- func (e *InternalServerErrorException) ErrorCode() string
- func (e *InternalServerErrorException) ErrorFault() smithy.ErrorFault
- func (e *InternalServerErrorException) ErrorMessage() string
- type ListGroupResourcesItem
- type ListGroupingStatusesFilter
- type ListGroupingStatusesFilterName
- type ListTagSyncTasksFilter
- type MethodNotAllowedException
- func (e *MethodNotAllowedException) Error() string
- func (e *MethodNotAllowedException) ErrorCode() string
- func (e *MethodNotAllowedException) ErrorFault() smithy.ErrorFault
- func (e *MethodNotAllowedException) ErrorMessage() string
- type NotFoundException
- func (e *NotFoundException) Error() string
- func (e *NotFoundException) ErrorCode() string
- func (e *NotFoundException) ErrorFault() smithy.ErrorFault
- func (e *NotFoundException) ErrorMessage() string
- type PendingResource
- type QueryError
- type QueryErrorCode
- type QueryType
- type ResourceFilter
- type ResourceFilterName
- type ResourceIdentifier
- type ResourceQuery
- type ResourceStatus
- type ResourceStatusValue
- type TagSyncTaskItem
- type TagSyncTaskStatus
- type TooManyRequestsException
- func (e *TooManyRequestsException) Error() string
- func (e *TooManyRequestsException) ErrorCode() string
- func (e *TooManyRequestsException) ErrorFault() smithy.ErrorFault
- func (e *TooManyRequestsException) ErrorMessage() string
- type UnauthorizedException
Types ¶
type AccountSettings ¶
type AccountSettings struct { // The desired target status of the group lifecycle events feature. If GroupLifecycleEventsDesiredStatus GroupLifecycleEventsDesiredStatus // The current status of the group lifecycle events feature. GroupLifecycleEventsStatus GroupLifecycleEventsStatus // The text of any error message occurs during an attempt to turn group lifecycle // events on or off. GroupLifecycleEventsStatusMessage *string // contains filtered or unexported fields }
The Resource Groups settings for this Amazon Web Services account.
type BadRequestException ¶
type BadRequestException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The request includes one or more parameters that violate validation rules.
func (*BadRequestException) Error ¶
func (e *BadRequestException) Error() string
func (*BadRequestException) ErrorCode ¶
func (e *BadRequestException) ErrorCode() string
func (*BadRequestException) ErrorFault ¶
func (e *BadRequestException) ErrorFault() smithy.ErrorFault
func (*BadRequestException) ErrorMessage ¶
func (e *BadRequestException) ErrorMessage() string
type FailedResource ¶
type FailedResource struct { // The error code associated with the failure. ErrorCode *string // The error message text associated with the failure. ErrorMessage *string // The Amazon resource name (ARN) of the resource that failed to be added or // removed. ResourceArn *string // contains filtered or unexported fields }
A resource that failed to be added to or removed from a group.
type ForbiddenException ¶
type ForbiddenException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The caller isn't authorized to make the request. Check permissions.
func (*ForbiddenException) Error ¶
func (e *ForbiddenException) Error() string
func (*ForbiddenException) ErrorCode ¶
func (e *ForbiddenException) ErrorCode() string
func (*ForbiddenException) ErrorFault ¶
func (e *ForbiddenException) ErrorFault() smithy.ErrorFault
func (*ForbiddenException) ErrorMessage ¶
func (e *ForbiddenException) ErrorMessage() string
type Group ¶
type Group struct { // The Amazon resource name (ARN) of the resource group. // // This member is required. GroupArn *string // The name of the resource group. // // This member is required. Name *string // A tag that defines the application group membership. This tag is only supported // for application groups. ApplicationTag map[string]string // The critical rank of the application group on a scale of 1 to 10, with a rank // of 1 being the most critical, and a rank of 10 being least critical. Criticality *int32 // The description of the resource group. Description *string // The name of the application group, which you can change at any time. DisplayName *string // A name, email address or other identifier for the person or group who is // considered as the owner of this application group within your organization. Owner *string // contains filtered or unexported fields }
A resource group that contains Amazon Web Services resources. You can assign resources to the group by associating either of the following elements with the group:
ResourceQuery
- - Use a resource query to specify a set of tag keys and values. All resources in the same Amazon Web Services Region and Amazon Web Services account that have those keys with the same values are included in the group. You can add a resource query when you create the group, or later by using the PutGroupConfigurationoperation.
GroupConfiguration
- - Use a service configuration to associate the group with an Amazon Web Services service. The configuration specifies which resource types can be included in the group.
type GroupConfiguration ¶
type GroupConfiguration struct { // The configuration currently associated with the group and in effect. Configuration []GroupConfigurationItem // If present, the reason why a request to update the group configuration failed. FailureReason *string // If present, the new configuration that is in the process of being applied to // the group. ProposedConfiguration []GroupConfigurationItem // The current status of an attempt to update the group configuration. Status GroupConfigurationStatus // contains filtered or unexported fields }
A service configuration associated with a resource group. The configuration options are determined by the Amazon Web Services service that defines the Type , and specifies which resources can be included in the group. You can add a service configuration when you create the group by using CreateGroup, or later by using the PutGroupConfigurationoperation. For details about group service configuration syntax, see Service configurations for resource groups.
type GroupConfigurationItem ¶
type GroupConfigurationItem struct { // Specifies the type of group configuration item. Each item must have a unique // value for type . For the list of types that you can specify for a configuration // item, see [Supported resource types and parameters]. // // [Supported resource types and parameters]: https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html#about-slg-types // // This member is required. Type *string // A collection of parameters for this group configuration item. For the list of // parameters that you can use with each configuration item type, see [Supported resource types and parameters]. // // [Supported resource types and parameters]: https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html#about-slg-types Parameters []GroupConfigurationParameter // contains filtered or unexported fields }
An item in a group configuration. A group service configuration can have one or more items. For details about group service configuration syntax, see Service configurations for resource groups.
type GroupConfigurationParameter ¶
type GroupConfigurationParameter struct { // The name of the group configuration parameter. For the list of parameters that // you can use with each configuration item type, see [Supported resource types and parameters]. // // [Supported resource types and parameters]: https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html#about-slg-types // // This member is required. Name *string // The value or values to be used for the specified parameter. For the list of // values you can use with each parameter, see [Supported resource types and parameters]. // // [Supported resource types and parameters]: https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html#about-slg-types Values []string // contains filtered or unexported fields }
A parameter for a group configuration item. For details about group service configuration syntax, see Service configurations for resource groups.
type GroupConfigurationStatus ¶
type GroupConfigurationStatus string
const ( GroupConfigurationStatusUpdating GroupConfigurationStatus = "UPDATING" GroupConfigurationStatusUpdateComplete GroupConfigurationStatus = "UPDATE_COMPLETE" GroupConfigurationStatusUpdateFailed GroupConfigurationStatus = "UPDATE_FAILED" )
Enum values for GroupConfigurationStatus
func (GroupConfigurationStatus) Values ¶
func (GroupConfigurationStatus) Values() []GroupConfigurationStatus
Values returns all known values for GroupConfigurationStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type GroupFilter ¶
type GroupFilter struct { // The name of the filter. Filter names are case-sensitive. // // This member is required. Name GroupFilterName // One or more filter values. Allowed filter values vary by group filter name, and // are case-sensitive. // // This member is required. Values []string // contains filtered or unexported fields }
A filter collection that you can use to restrict the results from a List operation to only those you want to include.
type GroupFilterName ¶
type GroupFilterName string
const ( GroupFilterNameResourceType GroupFilterName = "resource-type" GroupFilterNameConfigurationType GroupFilterName = "configuration-type" GroupFilterNameOwner GroupFilterName = "owner" GroupFilterNameDisplayName GroupFilterName = "display-name" GroupFilterNameCriticality GroupFilterName = "criticality" )
Enum values for GroupFilterName
func (GroupFilterName) Values ¶
func (GroupFilterName) Values() []GroupFilterName
Values returns all known values for GroupFilterName. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type GroupIdentifier ¶
type GroupIdentifier struct { // The critical rank of the application group on a scale of 1 to 10, with a rank // of 1 being the most critical, and a rank of 10 being least critical. Criticality *int32 // The description of the application group. Description *string // The name of the application group, which you can change at any time. DisplayName *string // The Amazon resource name (ARN) of the resource group. GroupArn *string // The name of the resource group. GroupName *string // A name, email address or other identifier for the person or group who is // considered as the owner of this group within your organization. Owner *string // contains filtered or unexported fields }
The unique identifiers for a resource group.
type GroupLifecycleEventsDesiredStatus ¶
type GroupLifecycleEventsDesiredStatus string
const ( GroupLifecycleEventsDesiredStatusActive GroupLifecycleEventsDesiredStatus = "ACTIVE" GroupLifecycleEventsDesiredStatusInactive GroupLifecycleEventsDesiredStatus = "INACTIVE" )
Enum values for GroupLifecycleEventsDesiredStatus
func (GroupLifecycleEventsDesiredStatus) Values ¶
func (GroupLifecycleEventsDesiredStatus) Values() []GroupLifecycleEventsDesiredStatus
Values returns all known values for GroupLifecycleEventsDesiredStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type GroupLifecycleEventsStatus ¶
type GroupLifecycleEventsStatus string
const ( GroupLifecycleEventsStatusActive GroupLifecycleEventsStatus = "ACTIVE" GroupLifecycleEventsStatusInactive GroupLifecycleEventsStatus = "INACTIVE" GroupLifecycleEventsStatusInProgress GroupLifecycleEventsStatus = "IN_PROGRESS" GroupLifecycleEventsStatusError GroupLifecycleEventsStatus = "ERROR" )
Enum values for GroupLifecycleEventsStatus
func (GroupLifecycleEventsStatus) Values ¶
func (GroupLifecycleEventsStatus) Values() []GroupLifecycleEventsStatus
Values returns all known values for GroupLifecycleEventsStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type GroupQuery ¶
type GroupQuery struct { // The name of the resource group that is associated with the specified resource // query. // // This member is required. GroupName *string // The resource query that determines which Amazon Web Services resources are // members of the associated resource group. // // This member is required. ResourceQuery *ResourceQuery // contains filtered or unexported fields }
A mapping of a query attached to a resource group that determines the Amazon Web Services resources that are members of the group.
type GroupingStatus ¶
type GroupingStatus string
const ( GroupingStatusSuccess GroupingStatus = "SUCCESS" GroupingStatusFailed GroupingStatus = "FAILED" GroupingStatusInProgress GroupingStatus = "IN_PROGRESS" GroupingStatusSkipped GroupingStatus = "SKIPPED" )
Enum values for GroupingStatus
func (GroupingStatus) Values ¶
func (GroupingStatus) Values() []GroupingStatus
Values returns all known values for GroupingStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type GroupingStatusesItem ¶
type GroupingStatusesItem struct { // Describes the resource grouping action with values of GROUP or UNGROUP . Action GroupingType // Specifies the error code that was raised. ErrorCode *string // A message that explains the ErrorCode . ErrorMessage *string // The Amazon resource name (ARN) of a resource. ResourceArn *string // Describes the resource grouping status with values of SUCCESS , FAILED , // IN_PROGRESS , or SKIPPED . Status GroupingStatus // A timestamp of when the status was last updated. UpdatedAt *time.Time // contains filtered or unexported fields }
The information about a grouping or ungrouping resource action.
type GroupingType ¶
type GroupingType string
const ( GroupingTypeGroup GroupingType = "GROUP" GroupingTypeUngroup GroupingType = "UNGROUP" )
Enum values for GroupingType
func (GroupingType) Values ¶
func (GroupingType) Values() []GroupingType
Values returns all known values for GroupingType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type InternalServerErrorException ¶
type InternalServerErrorException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
An internal error occurred while processing the request. Try again later.
func (*InternalServerErrorException) Error ¶
func (e *InternalServerErrorException) Error() string
func (*InternalServerErrorException) ErrorCode ¶
func (e *InternalServerErrorException) ErrorCode() string
func (*InternalServerErrorException) ErrorFault ¶
func (e *InternalServerErrorException) ErrorFault() smithy.ErrorFault
func (*InternalServerErrorException) ErrorMessage ¶
func (e *InternalServerErrorException) ErrorMessage() string
type ListGroupResourcesItem ¶
type ListGroupResourcesItem struct { // A structure that contains the ARN of a resource and its resource type. Identifier *ResourceIdentifier // A structure that contains the status of this resource's membership in the group. // // This field is present in the response only if the group is of type // AWS::EC2::HostManagement . Status *ResourceStatus // contains filtered or unexported fields }
A structure returned by the ListGroupResources operation that contains identity and group membership status information for one of the resources in the group.
type ListGroupingStatusesFilter ¶
type ListGroupingStatusesFilter struct { // The name of the filter. Filter names are case-sensitive. // // This member is required. Name ListGroupingStatusesFilterName // One or more filter values. Allowed filter values vary by resource filter name, // and are case-sensitive. // // This member is required. Values []string // contains filtered or unexported fields }
A filter name and value pair that is used to obtain more specific results from the list of grouping statuses.
type ListGroupingStatusesFilterName ¶
type ListGroupingStatusesFilterName string
const ( ListGroupingStatusesFilterNameStatus ListGroupingStatusesFilterName = "status" ListGroupingStatusesFilterNameResourceArn ListGroupingStatusesFilterName = "resource-arn" )
Enum values for ListGroupingStatusesFilterName
func (ListGroupingStatusesFilterName) Values ¶
func (ListGroupingStatusesFilterName) Values() []ListGroupingStatusesFilterName
Values returns all known values for ListGroupingStatusesFilterName. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ListTagSyncTasksFilter ¶
type ListTagSyncTasksFilter struct { // The Amazon resource name (ARN) of the application group. GroupArn *string // The name of the application group. GroupName *string // contains filtered or unexported fields }
Returns tag-sync tasks filtered by the Amazon resource name (ARN) or name of a specified application group.
type MethodNotAllowedException ¶
type MethodNotAllowedException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The request uses an HTTP method that isn't allowed for the specified resource.
func (*MethodNotAllowedException) Error ¶
func (e *MethodNotAllowedException) Error() string
func (*MethodNotAllowedException) ErrorCode ¶
func (e *MethodNotAllowedException) ErrorCode() string
func (*MethodNotAllowedException) ErrorFault ¶
func (e *MethodNotAllowedException) ErrorFault() smithy.ErrorFault
func (*MethodNotAllowedException) ErrorMessage ¶
func (e *MethodNotAllowedException) ErrorMessage() string
type NotFoundException ¶
type NotFoundException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
One or more of the specified resources don't exist.
func (*NotFoundException) Error ¶
func (e *NotFoundException) Error() string
func (*NotFoundException) ErrorCode ¶
func (e *NotFoundException) ErrorCode() string
func (*NotFoundException) ErrorFault ¶
func (e *NotFoundException) ErrorFault() smithy.ErrorFault
func (*NotFoundException) ErrorMessage ¶
func (e *NotFoundException) ErrorMessage() string
type PendingResource ¶
type PendingResource struct { // The Amazon resource name (ARN) of the resource that's in a pending state. ResourceArn *string // contains filtered or unexported fields }
A structure that identifies a resource that is currently pending addition to the group as a member. Adding a resource to a resource group happens asynchronously as a background task and this one isn't completed yet.
type QueryError ¶
type QueryError struct { // Specifies the error code that was raised. ErrorCode QueryErrorCode // A message that explains the ErrorCode . Message *string // contains filtered or unexported fields }
A two-part error structure that can occur in ListGroupResources or SearchResources .
type QueryErrorCode ¶
type QueryErrorCode string
const ( QueryErrorCodeCloudformationStackInactive QueryErrorCode = "CLOUDFORMATION_STACK_INACTIVE" QueryErrorCodeCloudformationStackNotExisting QueryErrorCode = "CLOUDFORMATION_STACK_NOT_EXISTING" QueryErrorCodeCloudformationStackUnassumableRole QueryErrorCode = "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE" QueryErrorCodeResourceTypeNotSupported QueryErrorCode = "RESOURCE_TYPE_NOT_SUPPORTED" )
Enum values for QueryErrorCode
func (QueryErrorCode) Values ¶
func (QueryErrorCode) Values() []QueryErrorCode
Values returns all known values for QueryErrorCode. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type QueryType ¶
type QueryType string
const ( QueryTypeTagFilters10 QueryType = "TAG_FILTERS_1_0" QueryTypeCloudformationStack10 QueryType = "CLOUDFORMATION_STACK_1_0" )
Enum values for QueryType
func (QueryType) Values ¶
Values returns all known values for QueryType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ResourceFilter ¶
type ResourceFilter struct { // The name of the filter. Filter names are case-sensitive. // // This member is required. Name ResourceFilterName // One or more filter values. Allowed filter values vary by resource filter name, // and are case-sensitive. // // This member is required. Values []string // contains filtered or unexported fields }
A filter name and value pair that is used to obtain more specific results from a list of resources.
type ResourceFilterName ¶
type ResourceFilterName string
const ( ResourceFilterNameResourceType ResourceFilterName = "resource-type" )
Enum values for ResourceFilterName
func (ResourceFilterName) Values ¶
func (ResourceFilterName) Values() []ResourceFilterName
Values returns all known values for ResourceFilterName. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ResourceIdentifier ¶
type ResourceIdentifier struct { // The Amazon resource name (ARN) of a resource. ResourceArn *string // The resource type of a resource, such as AWS::EC2::Instance . ResourceType *string // contains filtered or unexported fields }
A structure that contains the ARN of a resource and its resource type.
type ResourceQuery ¶
type ResourceQuery struct { // The query that defines a group or a search. The contents depends on the value // of the Type element. // // - ResourceTypeFilters – Applies to all ResourceQuery objects of either Type . // This element contains one of the following two items: // // - The value AWS::AllSupported . This causes the ResourceQuery to match // resources of any resource type that also match the query. // // - A list (a JSON array) of resource type identifiers that limit the query to // only resources of the specified types. For the complete list of resource types // that you can use in the array value for ResourceTypeFilters , see [Resources you can use with Resource Groups and Tag Editor]in the // Resource Groups User Guide. // // Example: "ResourceTypeFilters": ["AWS::AllSupported"] or "ResourceTypeFilters": // ["AWS::EC2::Instance", "AWS::S3::Bucket"] // // - TagFilters – applicable only if Type = TAG_FILTERS_1_0 . The Query contains // a JSON string that represents a collection of simple tag filters. The JSON // string uses a syntax similar to the [GetResources]operation, but uses only the [ResourceTypeFilters]and [TagFilters]fields. // If you specify more than one tag key, only resources that match all tag keys, // and at least one value of each specified tag key, are returned in your query. If // you specify more than one value for a tag key, a resource matches the filter if // it has a tag key value that matches any of the specified values. // // For example, consider the following sample query for resources that have two // tags, Stage and Version , with two values each: // // [{"Stage":["Test","Deploy"]},{"Version":["1","2"]}] // // The results of this resource query could include the following. // // - An Amazon EC2 instance that has the following two tags: {"Stage":"Deploy"} , // and {"Version":"2"} // // - An S3 bucket that has the following two tags: {"Stage":"Test"} , and // {"Version":"1"} // // The resource query results would not include the following items in the // results, however. // // - An Amazon EC2 instance that has only the following tag: {"Stage":"Deploy"} . // // The instance does not have all of the tag keys specified in the filter, so it // is excluded from the results. // // - An RDS database that has the following two tags: {"Stage":"Archived"} and // {"Version":"4"} // // The database has all of the tag keys, but none of those keys has an associated // value that matches at least one of the specified values in the filter. // // Example: "TagFilters": [ { "Key": "Stage", "Values": [ "Gamma", "Beta" ] } // // - StackIdentifier – applicable only if Type = CLOUDFORMATION_STACK_1_0 . The // value of this parameter is the Amazon Resource Name (ARN) of the CloudFormation // stack whose resources you want included in the group. // // [Resources you can use with Resource Groups and Tag Editor]: https://docs.aws.amazon.com/ARG/latest/userguide/supported-resources.html // [TagFilters]: https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_GetResources.html#resourcegrouptagging-GetResources-request-TagFiltersTagFilters // [GetResources]: https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_GetResources.html // [ResourceTypeFilters]: https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_GetResources.html#resourcegrouptagging-GetResources-request-ResourceTypeFilters // // This member is required. Query *string // The type of the query to perform. This can have one of two values: // // - CLOUDFORMATION_STACK_1_0: Specifies that you want the group to contain the // members of an CloudFormation stack. The Query contains a StackIdentifier // element with an Amazon resource name (ARN) for a CloudFormation stack. // // - TAG_FILTERS_1_0: Specifies that you want the group to include resource that // have tags that match the query. // // This member is required. Type QueryType // contains filtered or unexported fields }
The query you can use to define a resource group or a search for resources. A ResourceQuery specifies both a query Type and a Query string as JSON string objects. See the examples section for example JSON strings. For more information about creating a resource group with a resource query, see Build queries and groups in Resource Groupsin the Resource Groups User Guide
When you combine all of the elements together into a single string, any double quotes that are embedded inside another double quote pair must be escaped by preceding the embedded double quote with a backslash character (\). For example, a complete ResourceQuery parameter must be formatted like the following CLI parameter example:
--resource-query '{"Type":"TAG_FILTERS_1_0","Query":"{\"ResourceTypeFilters\":[\"AWS::AllSupported\"],\"TagFilters\":[{\"Key\":\"Stage\",\"Values\":[\"Test\"]}]}"}'
In the preceding example, all of the double quote characters in the value part of the Query element must be escaped because the value itself is surrounded by double quotes. For more information, see Quoting stringsin the Command Line Interface User Guide.
For the complete list of resource types that you can use in the array value for ResourceTypeFilters , see Resources you can use with Resource Groups and Tag Editor in the Resource Groups User Guide. For example:
"ResourceTypeFilters":["AWS::S3::Bucket", "AWS::EC2::Instance"]
type ResourceStatus ¶
type ResourceStatus struct { // The current status. Name ResourceStatusValue // contains filtered or unexported fields }
A structure that identifies the current group membership status for a resource. Adding a resource to a resource group is performed asynchronously as a background task. A PENDING status indicates, for this resource, that the process isn't completed yet.
type ResourceStatusValue ¶
type ResourceStatusValue string
const ( ResourceStatusValuePending ResourceStatusValue = "PENDING" )
Enum values for ResourceStatusValue
func (ResourceStatusValue) Values ¶
func (ResourceStatusValue) Values() []ResourceStatusValue
Values returns all known values for ResourceStatusValue. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type TagSyncTaskItem ¶
type TagSyncTaskItem struct { // The timestamp of when the tag-sync task was created. CreatedAt *time.Time // The specific error message in cases where the tag-sync task status is Error . ErrorMessage *string // The Amazon resource name (ARN) of the application group. GroupArn *string // The name of the application group. GroupName *string // The query you can use to define a resource group or a search for resources. A // ResourceQuery specifies both a query Type and a Query string as JSON string // objects. See the examples section for example JSON strings. For more information // about creating a resource group with a resource query, see [Build queries and groups in Resource Groups]in the Resource // Groups User Guide // // When you combine all of the elements together into a single string, any double // quotes that are embedded inside another double quote pair must be escaped by // preceding the embedded double quote with a backslash character (\). For example, // a complete ResourceQuery parameter must be formatted like the following CLI // parameter example: // // --resource-query // '{"Type":"TAG_FILTERS_1_0","Query":"{\"ResourceTypeFilters\":[\"AWS::AllSupported\"],\"TagFilters\":[{\"Key\":\"Stage\",\"Values\":[\"Test\"]}]}"}' // // In the preceding example, all of the double quote characters in the value part // of the Query element must be escaped because the value itself is surrounded by // double quotes. For more information, see [Quoting strings]in the Command Line Interface User // Guide. // // For the complete list of resource types that you can use in the array value for // ResourceTypeFilters , see [Resources you can use with Resource Groups and Tag Editor] in the Resource Groups User Guide. For example: // // "ResourceTypeFilters":["AWS::S3::Bucket", "AWS::EC2::Instance"] // // [Quoting strings]: https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters-quoting-strings.html // [Resources you can use with Resource Groups and Tag Editor]: https://docs.aws.amazon.com/ARG/latest/userguide/supported-resources.html // [Build queries and groups in Resource Groups]: https://docs.aws.amazon.com/ARG/latest/userguide/gettingstarted-query.html ResourceQuery *ResourceQuery // The Amazon resource name (ARN) of the role assumed by the service to tag and // untag resources on your behalf. RoleArn *string // The status of the tag-sync task. // // Valid values include: // // - ACTIVE - The tag-sync task is actively managing resources in the application // by adding or removing the awsApplication tag from resources when they are // tagged or untagged with the specified tag key-value pair. // // - ERROR - The tag-sync task is not actively managing resources in the // application. Review the ErrorMessage for more information about resolving the // error. Status TagSyncTaskStatus // The tag key. TagKey *string // The tag value. TagValue *string // The Amazon resource name (ARN) of the tag-sync task. TaskArn *string // contains filtered or unexported fields }
The Amazon resource name (ARN) of the tag-sync task.
type TagSyncTaskStatus ¶
type TagSyncTaskStatus string
const ( TagSyncTaskStatusActive TagSyncTaskStatus = "ACTIVE" TagSyncTaskStatusError TagSyncTaskStatus = "ERROR" )
Enum values for TagSyncTaskStatus
func (TagSyncTaskStatus) Values ¶
func (TagSyncTaskStatus) Values() []TagSyncTaskStatus
Values returns all known values for TagSyncTaskStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type TooManyRequestsException ¶
type TooManyRequestsException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
You've exceeded throttling limits by making too many requests in a period of time.
func (*TooManyRequestsException) Error ¶
func (e *TooManyRequestsException) Error() string
func (*TooManyRequestsException) ErrorCode ¶
func (e *TooManyRequestsException) ErrorCode() string
func (*TooManyRequestsException) ErrorFault ¶
func (e *TooManyRequestsException) ErrorFault() smithy.ErrorFault
func (*TooManyRequestsException) ErrorMessage ¶
func (e *TooManyRequestsException) ErrorMessage() string
type UnauthorizedException ¶
The request was rejected because it doesn't have valid credentials for the target resource.
func (*UnauthorizedException) Error ¶
func (e *UnauthorizedException) Error() string
func (*UnauthorizedException) ErrorCode ¶
func (e *UnauthorizedException) ErrorCode() string
func (*UnauthorizedException) ErrorFault ¶
func (e *UnauthorizedException) ErrorFault() smithy.ErrorFault
func (*UnauthorizedException) ErrorMessage ¶
func (e *UnauthorizedException) ErrorMessage() string
Source Files ¶
- Version
- v1.29.0 (latest)
- Published
- Apr 16, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 2 hours ago –
Tools for package owners.