package resourcegroups
import "github.com/aws/aws-sdk-go-v2/service/resourcegroups"
Package resourcegroups provides the API client, operations, and parameter types for AWS Resource Groups.
AWS Resource Groups AWS Resource Groups lets you organize AWS resources such as Amazon EC2 instances, Amazon Relational Database Service databases, and Amazon S3 buckets into groups using criteria that you define as tags. A resource group is a collection of resources that match the resource types specified in a query, and share one or more tags or portions of tags. You can create a group of resources based on their roles in your cloud infrastructure, lifecycle stages, regions, application layers, or virtually any criteria. Resource groups enable you to automate management tasks, such as those in AWS Systems Manager Automation documents, on tag-related resources in AWS Systems Manager. Groups of tagged resources also let you quickly view a custom console in AWS Systems Manager that shows AWS Config compliance and other monitoring data about member resources. To create a resource group, build a resource query, and specify tags that identify the criteria that members of the group have in common. Tags are key-value pairs. For more information about Resource Groups, see the AWS Resource Groups User Guide (https://docs.aws.amazon.com/ARG/latest/userguide/welcome.html). AWS Resource Groups uses a REST-compliant API that you can use to perform the following types of operations.
- Create, Read, Update, and Delete (CRUD) operations on
resource groups and resource query entities
- Applying, editing, and
removing tags from resource groups
- Resolving resource group member ARNs
so they can be returned as search results
- Getting data about resources
that are members of a group
- Searching AWS resources based on a resource
query
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- type Client
- func New(options Options, optFns ...func(*Options)) *Client
- func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client
- func (c *Client) CreateGroup(ctx context.Context, params *CreateGroupInput, optFns ...func(*Options)) (*CreateGroupOutput, error)
- func (c *Client) DeleteGroup(ctx context.Context, params *DeleteGroupInput, optFns ...func(*Options)) (*DeleteGroupOutput, error)
- func (c *Client) GetGroup(ctx context.Context, params *GetGroupInput, optFns ...func(*Options)) (*GetGroupOutput, error)
- func (c *Client) GetGroupConfiguration(ctx context.Context, params *GetGroupConfigurationInput, optFns ...func(*Options)) (*GetGroupConfigurationOutput, error)
- func (c *Client) GetGroupQuery(ctx context.Context, params *GetGroupQueryInput, optFns ...func(*Options)) (*GetGroupQueryOutput, error)
- func (c *Client) GetTags(ctx context.Context, params *GetTagsInput, optFns ...func(*Options)) (*GetTagsOutput, error)
- func (c *Client) GroupResources(ctx context.Context, params *GroupResourcesInput, optFns ...func(*Options)) (*GroupResourcesOutput, error)
- func (c *Client) ListGroupResources(ctx context.Context, params *ListGroupResourcesInput, optFns ...func(*Options)) (*ListGroupResourcesOutput, error)
- func (c *Client) ListGroups(ctx context.Context, params *ListGroupsInput, optFns ...func(*Options)) (*ListGroupsOutput, error)
- func (c *Client) SearchResources(ctx context.Context, params *SearchResourcesInput, optFns ...func(*Options)) (*SearchResourcesOutput, error)
- func (c *Client) Tag(ctx context.Context, params *TagInput, optFns ...func(*Options)) (*TagOutput, error)
- func (c *Client) UngroupResources(ctx context.Context, params *UngroupResourcesInput, optFns ...func(*Options)) (*UngroupResourcesOutput, error)
- func (c *Client) Untag(ctx context.Context, params *UntagInput, optFns ...func(*Options)) (*UntagOutput, error)
- func (c *Client) UpdateGroup(ctx context.Context, params *UpdateGroupInput, optFns ...func(*Options)) (*UpdateGroupOutput, error)
- func (c *Client) UpdateGroupQuery(ctx context.Context, params *UpdateGroupQueryInput, optFns ...func(*Options)) (*UpdateGroupQueryOutput, error)
- type CreateGroupInput
- type CreateGroupOutput
- type DeleteGroupInput
- type DeleteGroupOutput
- type EndpointResolver
- type EndpointResolverFunc
- type GetGroupConfigurationInput
- type GetGroupConfigurationOutput
- type GetGroupInput
- type GetGroupOutput
- type GetGroupQueryInput
- type GetGroupQueryOutput
- type GetTagsInput
- type GetTagsOutput
- type GroupResourcesInput
- type GroupResourcesOutput
- type HTTPClient
- type HTTPSignerV4
- type ListGroupResourcesInput
- type ListGroupResourcesOutput
- type ListGroupsInput
- type ListGroupsOutput
- type Options
- type ResolveEndpoint
- func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
- func (*ResolveEndpoint) ID() string
- type ResolverOptions
- type SearchResourcesInput
- type SearchResourcesOutput
- type TagInput
- type TagOutput
- type UngroupResourcesInput
- type UngroupResourcesOutput
- type UntagInput
- type UntagOutput
- type UpdateGroupInput
- type UpdateGroupOutput
- type UpdateGroupQueryInput
- type UpdateGroupQueryOutput
Constants ¶
const ServiceAPIVersion = "2017-11-27"
const ServiceID = "Resource Groups"
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for AWS Resource Groups.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) CreateGroup ¶
func (c *Client) CreateGroup(ctx context.Context, params *CreateGroupInput, optFns ...func(*Options)) (*CreateGroupOutput, error)
Creates a resource group with the specified name and description. You can optionally include a resource query, or a service configuration.
func (*Client) DeleteGroup ¶
func (c *Client) DeleteGroup(ctx context.Context, params *DeleteGroupInput, optFns ...func(*Options)) (*DeleteGroupOutput, error)
Deletes the specified resource group. Deleting a resource group does not delete any resources that are members of the group; it only deletes the group structure.
func (*Client) GetGroup ¶
func (c *Client) GetGroup(ctx context.Context, params *GetGroupInput, optFns ...func(*Options)) (*GetGroupOutput, error)
Returns information about a specified resource group.
func (*Client) GetGroupConfiguration ¶
func (c *Client) GetGroupConfiguration(ctx context.Context, params *GetGroupConfigurationInput, optFns ...func(*Options)) (*GetGroupConfigurationOutput, error)
Returns the service configuration associated with the specified resource group. AWS Resource Groups supports configurations for the following resource group types:
- AWS::EC2::CapacityReservationPool - Amazon EC2 capacity
reservation pools. For more information, see Working with capacity reservation groups (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-reservations-using.html#create-cr-group) in the EC2 Users Guide.
func (*Client) GetGroupQuery ¶
func (c *Client) GetGroupQuery(ctx context.Context, params *GetGroupQueryInput, optFns ...func(*Options)) (*GetGroupQueryOutput, error)
Retrieves the resource query associated with the specified resource group.
func (*Client) GetTags ¶
func (c *Client) GetTags(ctx context.Context, params *GetTagsInput, optFns ...func(*Options)) (*GetTagsOutput, error)
Returns a list of tags that are associated with a resource group, specified by an ARN.
func (*Client) GroupResources ¶
func (c *Client) GroupResources(ctx context.Context, params *GroupResourcesInput, optFns ...func(*Options)) (*GroupResourcesOutput, error)
Adds the specified resources to the specified group.
func (*Client) ListGroupResources ¶
func (c *Client) ListGroupResources(ctx context.Context, params *ListGroupResourcesInput, optFns ...func(*Options)) (*ListGroupResourcesOutput, error)
Returns a list of ARNs of the resources that are members of a specified resource group.
func (*Client) ListGroups ¶
func (c *Client) ListGroups(ctx context.Context, params *ListGroupsInput, optFns ...func(*Options)) (*ListGroupsOutput, error)
Returns a list of existing resource groups in your account.
func (*Client) SearchResources ¶
func (c *Client) SearchResources(ctx context.Context, params *SearchResourcesInput, optFns ...func(*Options)) (*SearchResourcesOutput, error)
Returns a list of AWS resource identifiers that matches tne specified query. The query uses the same format as a resource query in a CreateGroup or UpdateGroupQuery operation.
func (*Client) Tag ¶
func (c *Client) Tag(ctx context.Context, params *TagInput, optFns ...func(*Options)) (*TagOutput, error)
Adds tags to a resource group with the specified ARN. Existing tags on a resource group are not changed if they are not specified in the request parameters. Do not store personally identifiable information (PII) or other confidential or sensitive information in tags. We use tags to provide you with billing and administration services. Tags are not intended to be used for private or sensitive data.
func (*Client) UngroupResources ¶
func (c *Client) UngroupResources(ctx context.Context, params *UngroupResourcesInput, optFns ...func(*Options)) (*UngroupResourcesOutput, error)
Removes the specified resources from the specified group.
func (*Client) Untag ¶
func (c *Client) Untag(ctx context.Context, params *UntagInput, optFns ...func(*Options)) (*UntagOutput, error)
Deletes tags from a specified resource group.
func (*Client) UpdateGroup ¶
func (c *Client) UpdateGroup(ctx context.Context, params *UpdateGroupInput, optFns ...func(*Options)) (*UpdateGroupOutput, error)
Updates the description for an existing group. You cannot update the name of a resource group.
func (*Client) UpdateGroupQuery ¶
func (c *Client) UpdateGroupQuery(ctx context.Context, params *UpdateGroupQueryInput, optFns ...func(*Options)) (*UpdateGroupQueryOutput, error)
Updates the resource query of a group.
type CreateGroupInput ¶
type CreateGroupInput struct { // The name of the group, which is the identifier of the group in other operations. // You can't change the name of a resource group after you create it. A resource // group name can consist of letters, numbers, hyphens, periods, and underscores. // The name cannot start with AWS or aws; these are reserved. A resource group name // must be unique within each AWS Region in your AWS account. // // This member is required. Name *string // A configuration associates the resource group with an AWS service and specifies // how the service can interact with the resources in the group. A configuration is // an array of GroupConfigurationItem elements. You can specify either a // Configuration or a ResourceQuery in a group, but not both. Configuration []*types.GroupConfigurationItem // The description of the resource group. Descriptions can consist of letters, // numbers, hyphens, underscores, periods, and spaces. Description *string // The resource query that determines which AWS resources are members of this // group. You can specify either a ResourceQuery or a Configuration, but not both. ResourceQuery *types.ResourceQuery // The tags to add to the group. A tag is key-value pair string. Tags map[string]*string }
type CreateGroupOutput ¶
type CreateGroupOutput struct { // The description of the resource group. Group *types.Group // The service configuration associated with the resource group. AWS Resource // Groups supports adding service configurations for the following resource group // types: // // * AWS::EC2::CapacityReservationPool - Amazon EC2 capacity // reservation pools. For more information, see Working with capacity reservation // groups // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-reservations-using.html#create-cr-group) // in the EC2 Users Guide. GroupConfiguration *types.GroupConfiguration // The resource query associated with the group. ResourceQuery *types.ResourceQuery // The tags associated with the group. Tags map[string]*string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteGroupInput ¶
type DeleteGroupInput struct { // The name or the ARN of the resource group to delete. Group *string // Don't use this parameter. Use Group instead. GroupName *string }
type DeleteGroupOutput ¶
type DeleteGroupOutput struct { // A full description of the deleted resource group. Group *types.Group // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type EndpointResolver ¶
type EndpointResolver interface { ResolveEndpoint(region string, options ResolverOptions) (aws.Endpoint, error) }
EndpointResolver interface for resolving service endpoints.
func WithEndpointResolver ¶
func WithEndpointResolver(awsResolver aws.EndpointResolver, fallbackResolver EndpointResolver) EndpointResolver
WithEndpointResolver returns an EndpointResolver that first delegates endpoint resolution to the awsResolver. If awsResolver returns aws.EndpointNotFoundError error, the resolver will use the the provided fallbackResolver for resolution. awsResolver and fallbackResolver must not be nil
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options ResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options ResolverOptions) (endpoint aws.Endpoint, err error)
type GetGroupConfigurationInput ¶
type GetGroupConfigurationInput struct { // The name or the ARN of the resource group. Group *string }
type GetGroupConfigurationOutput ¶
type GetGroupConfigurationOutput struct { // The configuration associated with the specified group. GroupConfiguration *types.GroupConfiguration // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetGroupInput ¶
type GetGroupInput struct { // The name or the ARN of the resource group to retrieve. Group *string // Don't use this parameter. Use Group instead. GroupName *string }
type GetGroupOutput ¶
type GetGroupOutput struct { // A full description of the resource group. Group *types.Group // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetGroupQueryInput ¶
type GetGroupQueryInput struct { // The name or the ARN of the resource group to query. Group *string // Don't use this parameter. Use Group instead. GroupName *string }
type GetGroupQueryOutput ¶
type GetGroupQueryOutput struct { // The resource query associated with the specified group. GroupQuery *types.GroupQuery // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetTagsInput ¶
type GetTagsInput struct { // The ARN of the resource group whose tags you want to retrieve. // // This member is required. Arn *string }
type GetTagsOutput ¶
type GetTagsOutput struct { // The ARN of the tagged resource group. Arn *string // The tags associated with the specified resource group. Tags map[string]*string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GroupResourcesInput ¶
type GroupResourcesInput struct { // The name or the ARN of the resource group to add resources to. // // This member is required. Group *string // The list of ARNs for resources to be added to the group. // // This member is required. ResourceArns []*string }
type GroupResourcesOutput ¶
type GroupResourcesOutput struct { // The ARNs of the resources that failed to be added to the group by this // operation. Failed []*types.FailedResource // The ARNs of the resources that were successfully added to the group by this // operation. Succeeded []*string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type HTTPClient ¶
type HTTPSignerV4 ¶
type HTTPSignerV4 interface { SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time) error }
type ListGroupResourcesInput ¶
type ListGroupResourcesInput struct { // Filters, formatted as ResourceFilter objects, that you want to apply to a // ListGroupResources operation. Filters the results to include only those of the // specified resource types. // // * resource-type - Filter resources by their type. // Specify up to five resource types in the format AWS::ServiceCode::ResourceType. // For example, AWS::EC2::Instance, or AWS::S3::Bucket. // // When you specify a // resource-type filter for ListGroupResources, AWS Resource Groups validates your // filter resource types against the types that are defined in the query associated // with the group. For example, if a group contains only S3 buckets because its // query specifies only that resource type, but your resource-type filter includes // EC2 instances, AWS Resource Groups does not filter for EC2 instances. In this // case, a ListGroupResources request returns a BadRequestException error with a // message similar to the following: The resource types specified as filters in the // request are not valid. The error includes a list of resource types that failed // the validation because they are not part of the query associated with the group. // This validation doesn't occur when the group query specifies AWS::AllSupported, // because a group based on such a query can contain any of the allowed resource // types for the query type (tag-based or AWS CloudFormation stack-based queries). Filters []*types.ResourceFilter // The name or the ARN of the resource group Group *string // Don't use this parameter. Use Group instead. GroupName *string // The total number of results that you want included on each page of the response. // If you do not include this parameter, it defaults to a value that is specific to // the operation. If additional items exist beyond the maximum you specify, the // NextToken response element is present and has a value (is not null). Include // that value as the NextToken request parameter in the next call to the operation // to get the next part of the results. Note that the service might return fewer // results than the maximum even when there are more results available. You should // check NextToken after every operation to ensure that you receive all of the // results. MaxResults *int32 // The parameter for receiving additional results if you receive a NextToken // response in a previous request. A NextToken response indicates that more output // is available. Set this parameter to the value provided by a previous call's // NextToken response to indicate where the output should continue from. NextToken *string }
type ListGroupResourcesOutput ¶
type ListGroupResourcesOutput struct { // If present, indicates that more output is available than is included in the // current response. Use this value in the NextToken request parameter in a // subsequent call to the operation to get the next part of the output. You should // repeat this until the NextToken response element comes back as null. NextToken *string // A list of QueryError objects. Each error is an object that contains ErrorCode // and Message structures. Possible values for ErrorCode are // CLOUDFORMATION_STACK_INACTIVE and CLOUDFORMATION_STACK_NOT_EXISTING. QueryErrors []*types.QueryError // The ARNs and resource types of resources that are members of the group that you // specified. ResourceIdentifiers []*types.ResourceIdentifier // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListGroupsInput ¶
type ListGroupsInput struct { // Filters, formatted as GroupFilter objects, that you want to apply to a // ListGroups operation. // // * resource-type - Filter the results to include only // those of the specified resource types. Specify up to five resource types in the // format AWS::ServiceCode::ResourceType . For example, AWS::EC2::Instance, or // AWS::S3::Bucket. // // * configuration-type - Filter the results to include only // those groups that have the specified configuration types attached. The current // supported values are: // // * AWS:EC2::CapacityReservationPool Filters []*types.GroupFilter // The total number of results that you want included on each page of the response. // If you do not include this parameter, it defaults to a value that is specific to // the operation. If additional items exist beyond the maximum you specify, the // NextToken response element is present and has a value (is not null). Include // that value as the NextToken request parameter in the next call to the operation // to get the next part of the results. Note that the service might return fewer // results than the maximum even when there are more results available. You should // check NextToken after every operation to ensure that you receive all of the // results. MaxResults *int32 // The parameter for receiving additional results if you receive a NextToken // response in a previous request. A NextToken response indicates that more output // is available. Set this parameter to the value provided by a previous call's // NextToken response to indicate where the output should continue from. NextToken *string }
type ListGroupsOutput ¶
type ListGroupsOutput struct { // A list of GroupIdentifier objects. Each identifier is an object that contains // both the Name and the GroupArn. GroupIdentifiers []*types.GroupIdentifier // This output element is deprecated and shouldn't be used. Refer to // GroupIdentifiers instead. Groups []*types.Group // If present, indicates that more output is available than is included in the // current response. Use this value in the NextToken request parameter in a // subsequent call to the operation to get the next part of the output. You should // repeat this until the NextToken response element comes back as null. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions ResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The region to send requests to. (Required) Region string // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. Retryer retry.Retryer // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient }
func (Options) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options ResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type ResolverOptions ¶
type ResolverOptions = internalendpoints.Options
ResolverOptions is the service endpoint resolver options
type SearchResourcesInput ¶
type SearchResourcesInput struct { // The search query, using the same formats that are supported for resource group // definition. For more information, see CreateGroup. // // This member is required. ResourceQuery *types.ResourceQuery // The total number of results that you want included on each page of the response. // If you do not include this parameter, it defaults to a value that is specific to // the operation. If additional items exist beyond the maximum you specify, the // NextToken response element is present and has a value (is not null). Include // that value as the NextToken request parameter in the next call to the operation // to get the next part of the results. Note that the service might return fewer // results than the maximum even when there are more results available. You should // check NextToken after every operation to ensure that you receive all of the // results. MaxResults *int32 // The parameter for receiving additional results if you receive a NextToken // response in a previous request. A NextToken response indicates that more output // is available. Set this parameter to the value provided by a previous call's // NextToken response to indicate where the output should continue from. NextToken *string }
type SearchResourcesOutput ¶
type SearchResourcesOutput struct { // If present, indicates that more output is available than is included in the // current response. Use this value in the NextToken request parameter in a // subsequent call to the operation to get the next part of the output. You should // repeat this until the NextToken response element comes back as null. NextToken *string // A list of QueryError objects. Each error is an object that contains ErrorCode // and Message structures. Possible values for ErrorCode are // CLOUDFORMATION_STACK_INACTIVE and CLOUDFORMATION_STACK_NOT_EXISTING. QueryErrors []*types.QueryError // The ARNs and resource types of resources that are members of the group that you // specified. ResourceIdentifiers []*types.ResourceIdentifier // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type TagInput ¶
type TagInput struct { // The ARN of the resource group to which to add tags. // // This member is required. Arn *string // The tags to add to the specified resource group. A tag is a string-to-string map // of key-value pairs. // // This member is required. Tags map[string]*string }
type TagOutput ¶
type TagOutput struct { // The ARN of the tagged resource. Arn *string // The tags that have been added to the specified resource group. Tags map[string]*string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UngroupResourcesInput ¶
type UngroupResourcesInput struct { // The name or the ARN of the resource group from which to remove the resources. // // This member is required. Group *string // The ARNs of the resources to be removed from the group. // // This member is required. ResourceArns []*string }
type UngroupResourcesOutput ¶
type UngroupResourcesOutput struct { // The resources that failed to be removed from the group. Failed []*types.FailedResource // The ARNs of the resources that were successfully removed from the group. Succeeded []*string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UntagInput ¶
type UntagInput struct { // The ARN of the resource group from which to remove tags. The command removed // both the specified keys and any values associated with those keys. // // This member is required. Arn *string // The keys of the tags to be removed. // // This member is required. Keys []*string }
type UntagOutput ¶
type UntagOutput struct { // The ARN of the resource group from which tags have been removed. Arn *string // The keys of the tags that were removed. Keys []*string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateGroupInput ¶
type UpdateGroupInput struct { // The new description that you want to update the resource group with. // Descriptions can contain letters, numbers, hyphens, underscores, periods, and // spaces. Description *string // The name or the ARN of the resource group to modify. Group *string // Don't use this parameter. Use Group instead. GroupName *string }
type UpdateGroupOutput ¶
type UpdateGroupOutput struct { // The update description of the resource group. Group *types.Group // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateGroupQueryInput ¶
type UpdateGroupQueryInput struct { // The resource query to determine which AWS resources are members of this resource // group. // // This member is required. ResourceQuery *types.ResourceQuery // The name or the ARN of the resource group to query. Group *string // Don't use this parameter. Use Group instead. GroupName *string }
type UpdateGroupQueryOutput ¶
type UpdateGroupQueryOutput struct { // The updated resource query associated with the resource group after the update. GroupQuery *types.GroupQuery // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Source Files ¶
api_client.go api_op_CreateGroup.go api_op_DeleteGroup.go api_op_GetGroup.go api_op_GetGroupConfiguration.go api_op_GetGroupQuery.go api_op_GetTags.go api_op_GroupResources.go api_op_ListGroupResources.go api_op_ListGroups.go api_op_SearchResources.go api_op_Tag.go api_op_UngroupResources.go api_op_Untag.go api_op_UpdateGroup.go api_op_UpdateGroupQuery.go deserializers.go doc.go endpoints.go serializers.go validators.go
Directories ¶
Path | Synopsis |
---|---|
internal | |
types |
- Version
- v0.27.0
- Published
- Oct 17, 2020
- Platform
- js/wasm
- Imports
- 24 packages
- Last checked
- now –
Tools for package owners.