Documentation ¶
Overview ¶
Package servicecatalogappregistry provides the API client, operations, and parameter types for AWS Service Catalog App Registry.
AWS Service Catalog AppRegistry enables organizations to understand the application context of their AWS resources. AppRegistry provides a repository of your applications, their resources, and the application metadata that you use within your enterprise.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)
- type AssociateAttributeGroupInput
- type AssociateAttributeGroupOutput
- type AssociateResourceInput
- type AssociateResourceOutput
- type Client
- func (c *Client) AssociateAttributeGroup(ctx context.Context, params *AssociateAttributeGroupInput, ...) (*AssociateAttributeGroupOutput, error)
- func (c *Client) AssociateResource(ctx context.Context, params *AssociateResourceInput, optFns ...func(*Options)) (*AssociateResourceOutput, error)
- func (c *Client) CreateApplication(ctx context.Context, params *CreateApplicationInput, optFns ...func(*Options)) (*CreateApplicationOutput, error)
- func (c *Client) CreateAttributeGroup(ctx context.Context, params *CreateAttributeGroupInput, ...) (*CreateAttributeGroupOutput, error)
- func (c *Client) DeleteApplication(ctx context.Context, params *DeleteApplicationInput, optFns ...func(*Options)) (*DeleteApplicationOutput, error)
- func (c *Client) DeleteAttributeGroup(ctx context.Context, params *DeleteAttributeGroupInput, ...) (*DeleteAttributeGroupOutput, error)
- func (c *Client) DisassociateAttributeGroup(ctx context.Context, params *DisassociateAttributeGroupInput, ...) (*DisassociateAttributeGroupOutput, error)
- func (c *Client) DisassociateResource(ctx context.Context, params *DisassociateResourceInput, ...) (*DisassociateResourceOutput, error)
- func (c *Client) GetApplication(ctx context.Context, params *GetApplicationInput, optFns ...func(*Options)) (*GetApplicationOutput, error)
- func (c *Client) GetAttributeGroup(ctx context.Context, params *GetAttributeGroupInput, optFns ...func(*Options)) (*GetAttributeGroupOutput, error)
- func (c *Client) ListApplications(ctx context.Context, params *ListApplicationsInput, optFns ...func(*Options)) (*ListApplicationsOutput, error)
- func (c *Client) ListAssociatedAttributeGroups(ctx context.Context, params *ListAssociatedAttributeGroupsInput, ...) (*ListAssociatedAttributeGroupsOutput, error)
- func (c *Client) ListAssociatedResources(ctx context.Context, params *ListAssociatedResourcesInput, ...) (*ListAssociatedResourcesOutput, error)
- func (c *Client) ListAttributeGroups(ctx context.Context, params *ListAttributeGroupsInput, ...) (*ListAttributeGroupsOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) SyncResource(ctx context.Context, params *SyncResourceInput, optFns ...func(*Options)) (*SyncResourceOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateApplication(ctx context.Context, params *UpdateApplicationInput, optFns ...func(*Options)) (*UpdateApplicationOutput, error)
- func (c *Client) UpdateAttributeGroup(ctx context.Context, params *UpdateAttributeGroupInput, ...) (*UpdateAttributeGroupOutput, error)
- type CreateApplicationInput
- type CreateApplicationOutput
- type CreateAttributeGroupInput
- type CreateAttributeGroupOutput
- type DeleteApplicationInput
- type DeleteApplicationOutput
- type DeleteAttributeGroupInput
- type DeleteAttributeGroupOutput
- type DisassociateAttributeGroupInput
- type DisassociateAttributeGroupOutput
- type DisassociateResourceInput
- type DisassociateResourceOutput
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type GetApplicationInput
- type GetApplicationOutput
- type GetAttributeGroupInput
- type GetAttributeGroupOutput
- type HTTPClient
- type HTTPSignerV4
- type IdempotencyTokenProvider
- type ListApplicationsAPIClient
- type ListApplicationsInput
- type ListApplicationsOutput
- type ListApplicationsPaginator
- type ListApplicationsPaginatorOptions
- type ListAssociatedAttributeGroupsAPIClient
- type ListAssociatedAttributeGroupsInput
- type ListAssociatedAttributeGroupsOutput
- type ListAssociatedAttributeGroupsPaginator
- type ListAssociatedAttributeGroupsPaginatorOptions
- type ListAssociatedResourcesAPIClient
- type ListAssociatedResourcesInput
- type ListAssociatedResourcesOutput
- type ListAssociatedResourcesPaginator
- type ListAssociatedResourcesPaginatorOptions
- type ListAttributeGroupsAPIClient
- type ListAttributeGroupsInput
- type ListAttributeGroupsOutput
- type ListAttributeGroupsPaginator
- type ListAttributeGroupsPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type Options
- type ResolveEndpoint
- type SyncResourceInput
- type SyncResourceOutput
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateApplicationInput
- type UpdateApplicationOutput
- type UpdateAttributeGroupInput
- type UpdateAttributeGroupOutput
Constants ¶
const ServiceAPIVersion = "2020-06-24"
const ServiceID = "Service Catalog AppRegistry"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶ added in v1.0.0
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver ¶
func WithEndpointResolver(v EndpointResolver) func(*Options)
WithEndpointResolver returns a functional option for setting the Client's EndpointResolver option.
Types ¶
type AssociateAttributeGroupOutput ¶
type AssociateAttributeGroupOutput struct { // The Amazon resource name (ARN) of the application that was augmented with // attributes. ApplicationArn *string // The Amazon resource name (ARN) of the attribute group that contains the // application's new attributes. AttributeGroupArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type AssociateResourceInput ¶
type AssociateResourceInput struct { // The name or ID of the application. // // This member is required. Application *string // The name or ID of the resource of which the application will be associated. // // This member is required. Resource *string // The type of resource of which the application will be associated. // // This member is required. ResourceType types.ResourceType }
type AssociateResourceOutput ¶
type AssociateResourceOutput struct { // The Amazon resource name (ARN) of the application that was augmented with // attributes. ApplicationArn *string // The Amazon resource name (ARN) that specifies the resource. ResourceArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for AWS Service Catalog App Registry.
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) AssociateAttributeGroup ¶
func (c *Client) AssociateAttributeGroup(ctx context.Context, params *AssociateAttributeGroupInput, optFns ...func(*Options)) (*AssociateAttributeGroupOutput, error)
Associates an attribute group with an application to augment the application's metadata with the group's attributes. This feature enables applications to be described with user-defined details that are machine-readable, such as third-party integrations.
func (*Client) AssociateResource ¶
func (c *Client) AssociateResource(ctx context.Context, params *AssociateResourceInput, optFns ...func(*Options)) (*AssociateResourceOutput, error)
Associates a resource with an application. Both the resource and the application can be specified either by ID or name.
func (*Client) CreateApplication ¶
func (c *Client) CreateApplication(ctx context.Context, params *CreateApplicationInput, optFns ...func(*Options)) (*CreateApplicationOutput, error)
Creates a new application that is the top-level node in a hierarchy of related cloud resource abstractions.
func (*Client) CreateAttributeGroup ¶
func (c *Client) CreateAttributeGroup(ctx context.Context, params *CreateAttributeGroupInput, optFns ...func(*Options)) (*CreateAttributeGroupOutput, error)
Creates a new attribute group as a container for user-defined attributes. This feature enables users to have full control over their cloud application's metadata in a rich machine-readable format to facilitate integration with automated workflows and third-party tools.
func (*Client) DeleteApplication ¶
func (c *Client) DeleteApplication(ctx context.Context, params *DeleteApplicationInput, optFns ...func(*Options)) (*DeleteApplicationOutput, error)
Deletes an application that is specified either by its application ID or name. All associated attribute groups and resources must be disassociated from it before deleting an application.
func (*Client) DeleteAttributeGroup ¶
func (c *Client) DeleteAttributeGroup(ctx context.Context, params *DeleteAttributeGroupInput, optFns ...func(*Options)) (*DeleteAttributeGroupOutput, error)
Deletes an attribute group, specified either by its attribute group ID or name.
func (*Client) DisassociateAttributeGroup ¶
func (c *Client) DisassociateAttributeGroup(ctx context.Context, params *DisassociateAttributeGroupInput, optFns ...func(*Options)) (*DisassociateAttributeGroupOutput, error)
Disassociates an attribute group from an application to remove the extra attributes contained in the attribute group from the application's metadata. This operation reverts AssociateAttributeGroup.
func (*Client) DisassociateResource ¶
func (c *Client) DisassociateResource(ctx context.Context, params *DisassociateResourceInput, optFns ...func(*Options)) (*DisassociateResourceOutput, error)
Disassociates a resource from application. Both the resource and the application can be specified either by ID or name.
func (*Client) GetApplication ¶
func (c *Client) GetApplication(ctx context.Context, params *GetApplicationInput, optFns ...func(*Options)) (*GetApplicationOutput, error)
Retrieves metadata information about one of your applications. The application can be specified either by its unique ID or by its name (which is unique within one account in one region at a given point in time). Specify by ID in automated workflows if you want to make sure that the exact same application is returned or a ResourceNotFoundException is thrown, avoiding the ABA addressing problem.
func (*Client) GetAttributeGroup ¶
func (c *Client) GetAttributeGroup(ctx context.Context, params *GetAttributeGroupInput, optFns ...func(*Options)) (*GetAttributeGroupOutput, error)
Retrieves an attribute group, either by its name or its ID. The attribute group can be specified either by its unique ID or by its name.
func (*Client) ListApplications ¶
func (c *Client) ListApplications(ctx context.Context, params *ListApplicationsInput, optFns ...func(*Options)) (*ListApplicationsOutput, error)
Retrieves a list of all of your applications. Results are paginated.
func (*Client) ListAssociatedAttributeGroups ¶
func (c *Client) ListAssociatedAttributeGroups(ctx context.Context, params *ListAssociatedAttributeGroupsInput, optFns ...func(*Options)) (*ListAssociatedAttributeGroupsOutput, error)
Lists all attribute groups that are associated with specified application. Results are paginated.
func (*Client) ListAssociatedResources ¶
func (c *Client) ListAssociatedResources(ctx context.Context, params *ListAssociatedResourcesInput, optFns ...func(*Options)) (*ListAssociatedResourcesOutput, error)
Lists all resources that are associated with specified application. Results are paginated.
func (*Client) ListAttributeGroups ¶
func (c *Client) ListAttributeGroups(ctx context.Context, params *ListAttributeGroupsInput, optFns ...func(*Options)) (*ListAttributeGroupsOutput, error)
Lists all attribute groups which you have access to. Results are paginated.
func (*Client) ListTagsForResource ¶ added in v0.2.0
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Lists all of the tags on the resource.
func (*Client) SyncResource ¶ added in v0.2.0
func (c *Client) SyncResource(ctx context.Context, params *SyncResourceInput, optFns ...func(*Options)) (*SyncResourceOutput, error)
Syncs the resource with what is currently recorded in App registry. Specifically, the resource’s App registry system tags are synced with its associated application. The resource is removed if it is not associated with the application. The caller must have permissions to read and update the resource.
func (*Client) TagResource ¶ added in v0.2.0
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Assigns one or more tags (key-value pairs) to the specified resource. Each tag consists of a key and an optional value. If a tag with the same key is already associated with the resource, this action updates its value. This operation returns an empty response if the call was successful.
func (*Client) UntagResource ¶ added in v0.2.0
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Removes tags from a resource. This operation returns an empty response if the call was successful.
func (*Client) UpdateApplication ¶
func (c *Client) UpdateApplication(ctx context.Context, params *UpdateApplicationInput, optFns ...func(*Options)) (*UpdateApplicationOutput, error)
Updates an existing application with new attributes.
func (*Client) UpdateAttributeGroup ¶
func (c *Client) UpdateAttributeGroup(ctx context.Context, params *UpdateAttributeGroupInput, optFns ...func(*Options)) (*UpdateAttributeGroupOutput, error)
Updates an existing attribute group with new details.
type CreateApplicationInput ¶
type CreateApplicationInput struct { // A unique identifier that you provide to ensure idempotency. If you retry a // request that completed successfully using the same client token and the same // parameters, the retry succeeds without performing any further actions. If you // retry a successful request using the same client token, but one or more of the // parameters are different, the retry fails. // // This member is required. ClientToken *string // The name of the application. The name must be unique in the region in which you // are creating the application. // // This member is required. Name *string // The description of the application. Description *string // Key-value pairs you can use to associate with the application. Tags map[string]string }
type CreateApplicationOutput ¶
type CreateApplicationOutput struct { // Information about the application. Application *types.Application // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type CreateAttributeGroupInput ¶
type CreateAttributeGroupInput struct { // A JSON string in the form of nested key-value pairs that represent the // attributes in the group and describes an application and its components. // // This member is required. Attributes *string // A unique identifier that you provide to ensure idempotency. If you retry a // request that completed successfully using the same client token and the same // parameters, the retry succeeds without performing any further actions. If you // retry a successful request using the same client token, but one or more of the // parameters are different, the retry fails. // // This member is required. ClientToken *string // The name of the attribute group. // // This member is required. Name *string // The description of the attribute group that the user provides. Description *string // Key-value pairs you can use to associate with the attribute group. Tags map[string]string }
type CreateAttributeGroupOutput ¶
type CreateAttributeGroupOutput struct { // Information about the attribute group. AttributeGroup *types.AttributeGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteApplicationInput ¶
type DeleteApplicationInput struct { // The name or ID of the application. // // This member is required. Application *string }
type DeleteApplicationOutput ¶
type DeleteApplicationOutput struct { // Information about the deleted application. Application *types.ApplicationSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteAttributeGroupInput ¶
type DeleteAttributeGroupInput struct { // The name or ID of the attribute group that holds the attributes to describe the // application. // // This member is required. AttributeGroup *string }
type DeleteAttributeGroupOutput ¶
type DeleteAttributeGroupOutput struct { // Information about the deleted attribute group. AttributeGroup *types.AttributeGroupSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DisassociateAttributeGroupOutput ¶
type DisassociateAttributeGroupOutput struct { // The Amazon resource name (ARN) that specifies the application. ApplicationArn *string // The Amazon resource name (ARN) that specifies the attribute group. AttributeGroupArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DisassociateResourceInput ¶
type DisassociateResourceInput struct { // The name or ID of the application. // // This member is required. Application *string // The name or ID of the resource. // // This member is required. Resource *string // The type of the resource that is being disassociated. // // This member is required. ResourceType types.ResourceType }
type DisassociateResourceOutput ¶
type DisassociateResourceOutput struct { // The Amazon resource name (ARN) that specifies the application. ApplicationArn *string // The Amazon resource name (ARN) that specifies the resource. ResourceArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶ added in v1.1.0
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (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 EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type GetApplicationInput ¶
type GetApplicationInput struct { // The name or ID of the application. // // This member is required. Application *string }
type GetApplicationOutput ¶
type GetApplicationOutput struct { // The Amazon resource name (ARN) that specifies the application across services. Arn *string // The number of top-level resources that were registered as part of this // application. AssociatedResourceCount int32 // The ISO-8601 formatted timestamp of the moment when the application was created. CreationTime *time.Time // The description of the application. Description *string // The identifier of the application. Id *string // The ISO-8601 formatted timestamp of the moment when the application was last // updated. LastUpdateTime *time.Time // The name of the application. The name must be unique in the region in which you // are creating the application. Name *string // Key-value pairs associated with the application. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetAttributeGroupInput ¶
type GetAttributeGroupInput struct { // The name or ID of the attribute group that holds the attributes to describe the // application. // // This member is required. AttributeGroup *string }
type GetAttributeGroupOutput ¶
type GetAttributeGroupOutput struct { // The Amazon resource name (ARN) that specifies the attribute group across // services. Arn *string // A JSON string in the form of nested key-value pairs that represent the // attributes in the group and describes an application and its components. Attributes *string // The ISO-8601 formatted timestamp of the moment the attribute group was created. CreationTime *time.Time // The description of the attribute group that the user provides. Description *string // The identifier of the attribute group. Id *string // The ISO-8601 formatted timestamp of the moment the attribute group was last // updated. This time is the same as the creationTime for a newly created attribute // group. LastUpdateTime *time.Time // The name of the attribute group. Name *string // Key-value pairs associated with the attribute group. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type HTTPSignerV4 ¶
type IdempotencyTokenProvider ¶
IdempotencyTokenProvider interface for providing idempotency token
type ListApplicationsAPIClient ¶
type ListApplicationsAPIClient interface {
ListApplications(context.Context, *ListApplicationsInput, ...func(*Options)) (*ListApplicationsOutput, error)
}
ListApplicationsAPIClient is a client that implements the ListApplications operation.
type ListApplicationsInput ¶
type ListApplicationsInput struct { // The upper bound of the number of results to return (cannot exceed 25). If this // parameter is omitted, it defaults to 25. This value is optional. MaxResults int32 // The token to use to get the next page of results after a previous API call. NextToken *string }
type ListApplicationsOutput ¶
type ListApplicationsOutput struct { // This list of applications. Applications []types.ApplicationSummary // The token to use to get the next page of results after a previous API call. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListApplicationsPaginator ¶
type ListApplicationsPaginator struct {
// contains filtered or unexported fields
}
ListApplicationsPaginator is a paginator for ListApplications
func NewListApplicationsPaginator ¶
func NewListApplicationsPaginator(client ListApplicationsAPIClient, params *ListApplicationsInput, optFns ...func(*ListApplicationsPaginatorOptions)) *ListApplicationsPaginator
NewListApplicationsPaginator returns a new ListApplicationsPaginator
func (*ListApplicationsPaginator) HasMorePages ¶
func (p *ListApplicationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListApplicationsPaginator) NextPage ¶
func (p *ListApplicationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListApplicationsOutput, error)
NextPage retrieves the next ListApplications page.
type ListApplicationsPaginatorOptions ¶
type ListApplicationsPaginatorOptions struct { // The upper bound of the number of results to return (cannot exceed 25). If this // parameter is omitted, it defaults to 25. This value is optional. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListApplicationsPaginatorOptions is the paginator options for ListApplications
type ListAssociatedAttributeGroupsAPIClient ¶
type ListAssociatedAttributeGroupsAPIClient interface {
ListAssociatedAttributeGroups(context.Context, *ListAssociatedAttributeGroupsInput, ...func(*Options)) (*ListAssociatedAttributeGroupsOutput, error)
}
ListAssociatedAttributeGroupsAPIClient is a client that implements the ListAssociatedAttributeGroups operation.
type ListAssociatedAttributeGroupsInput ¶
type ListAssociatedAttributeGroupsInput struct { // The name or ID of the application. // // This member is required. Application *string // The upper bound of the number of results to return (cannot exceed 25). If this // parameter is omitted, it defaults to 25. This value is optional. MaxResults int32 // The token to use to get the next page of results after a previous API call. NextToken *string }
type ListAssociatedAttributeGroupsOutput ¶
type ListAssociatedAttributeGroupsOutput struct { // A list of attribute group IDs. AttributeGroups []string // The token to use to get the next page of results after a previous API call. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListAssociatedAttributeGroupsPaginator ¶
type ListAssociatedAttributeGroupsPaginator struct {
// contains filtered or unexported fields
}
ListAssociatedAttributeGroupsPaginator is a paginator for ListAssociatedAttributeGroups
func NewListAssociatedAttributeGroupsPaginator ¶
func NewListAssociatedAttributeGroupsPaginator(client ListAssociatedAttributeGroupsAPIClient, params *ListAssociatedAttributeGroupsInput, optFns ...func(*ListAssociatedAttributeGroupsPaginatorOptions)) *ListAssociatedAttributeGroupsPaginator
NewListAssociatedAttributeGroupsPaginator returns a new ListAssociatedAttributeGroupsPaginator
func (*ListAssociatedAttributeGroupsPaginator) HasMorePages ¶
func (p *ListAssociatedAttributeGroupsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAssociatedAttributeGroupsPaginator) NextPage ¶
func (p *ListAssociatedAttributeGroupsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAssociatedAttributeGroupsOutput, error)
NextPage retrieves the next ListAssociatedAttributeGroups page.
type ListAssociatedAttributeGroupsPaginatorOptions ¶
type ListAssociatedAttributeGroupsPaginatorOptions struct { // The upper bound of the number of results to return (cannot exceed 25). If this // parameter is omitted, it defaults to 25. This value is optional. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListAssociatedAttributeGroupsPaginatorOptions is the paginator options for ListAssociatedAttributeGroups
type ListAssociatedResourcesAPIClient ¶
type ListAssociatedResourcesAPIClient interface {
ListAssociatedResources(context.Context, *ListAssociatedResourcesInput, ...func(*Options)) (*ListAssociatedResourcesOutput, error)
}
ListAssociatedResourcesAPIClient is a client that implements the ListAssociatedResources operation.
type ListAssociatedResourcesInput ¶
type ListAssociatedResourcesInput struct { // The name or ID of the application. // // This member is required. Application *string // The upper bound of the number of results to return (cannot exceed 25). If this // parameter is omitted, it defaults to 25. This value is optional. MaxResults int32 // The token to use to get the next page of results after a previous API call. NextToken *string }
type ListAssociatedResourcesOutput ¶
type ListAssociatedResourcesOutput struct { // The token to use to get the next page of results after a previous API call. NextToken *string // Information about the resources. Resources []types.ResourceInfo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListAssociatedResourcesPaginator ¶
type ListAssociatedResourcesPaginator struct {
// contains filtered or unexported fields
}
ListAssociatedResourcesPaginator is a paginator for ListAssociatedResources
func NewListAssociatedResourcesPaginator ¶
func NewListAssociatedResourcesPaginator(client ListAssociatedResourcesAPIClient, params *ListAssociatedResourcesInput, optFns ...func(*ListAssociatedResourcesPaginatorOptions)) *ListAssociatedResourcesPaginator
NewListAssociatedResourcesPaginator returns a new ListAssociatedResourcesPaginator
func (*ListAssociatedResourcesPaginator) HasMorePages ¶
func (p *ListAssociatedResourcesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAssociatedResourcesPaginator) NextPage ¶
func (p *ListAssociatedResourcesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAssociatedResourcesOutput, error)
NextPage retrieves the next ListAssociatedResources page.
type ListAssociatedResourcesPaginatorOptions ¶
type ListAssociatedResourcesPaginatorOptions struct { // The upper bound of the number of results to return (cannot exceed 25). If this // parameter is omitted, it defaults to 25. This value is optional. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListAssociatedResourcesPaginatorOptions is the paginator options for ListAssociatedResources
type ListAttributeGroupsAPIClient ¶
type ListAttributeGroupsAPIClient interface {
ListAttributeGroups(context.Context, *ListAttributeGroupsInput, ...func(*Options)) (*ListAttributeGroupsOutput, error)
}
ListAttributeGroupsAPIClient is a client that implements the ListAttributeGroups operation.
type ListAttributeGroupsInput ¶
type ListAttributeGroupsInput struct { // The upper bound of the number of results to return (cannot exceed 25). If this // parameter is omitted, it defaults to 25. This value is optional. MaxResults int32 // The token to use to get the next page of results after a previous API call. NextToken *string }
type ListAttributeGroupsOutput ¶
type ListAttributeGroupsOutput struct { // This list of attribute groups. AttributeGroups []types.AttributeGroupSummary // The token to use to get the next page of results after a previous API call. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListAttributeGroupsPaginator ¶
type ListAttributeGroupsPaginator struct {
// contains filtered or unexported fields
}
ListAttributeGroupsPaginator is a paginator for ListAttributeGroups
func NewListAttributeGroupsPaginator ¶
func NewListAttributeGroupsPaginator(client ListAttributeGroupsAPIClient, params *ListAttributeGroupsInput, optFns ...func(*ListAttributeGroupsPaginatorOptions)) *ListAttributeGroupsPaginator
NewListAttributeGroupsPaginator returns a new ListAttributeGroupsPaginator
func (*ListAttributeGroupsPaginator) HasMorePages ¶
func (p *ListAttributeGroupsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAttributeGroupsPaginator) NextPage ¶
func (p *ListAttributeGroupsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAttributeGroupsOutput, error)
NextPage retrieves the next ListAttributeGroups page.
type ListAttributeGroupsPaginatorOptions ¶
type ListAttributeGroupsPaginatorOptions struct { // The upper bound of the number of results to return (cannot exceed 25). If this // parameter is omitted, it defaults to 25. This value is optional. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListAttributeGroupsPaginatorOptions is the paginator options for ListAttributeGroups
type ListTagsForResourceInput ¶ added in v0.2.0
type ListTagsForResourceInput struct { // The Amazon resource name (ARN) that specifies the resource. // // This member is required. ResourceArn *string }
type ListTagsForResourceOutput ¶ added in v0.2.0
type ListTagsForResourceOutput struct { // The tags on the resource. Tags map[string]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 // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // Provides idempotency tokens values that will be automatically populated into // idempotent API operations. IdempotencyTokenProvider IdempotencyTokenProvider // The logger writer interface to write logging messages to. Logger logging.Logger // 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 aws.Retryer // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
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 SyncResourceInput ¶ added in v0.2.0
type SyncResourceInput struct { // An entity you can work with and specify with a name or ID. Examples include an // Amazon EC2 instance, an AWS CloudFormation stack, or an Amazon S3 bucket. // // This member is required. Resource *string // The type of resource of which the application will be associated. // // This member is required. ResourceType types.ResourceType }
type SyncResourceOutput ¶ added in v0.2.0
type SyncResourceOutput struct { // The results of the output if an application is associated with an ARN value, // which could be syncStarted or None. ActionTaken types.SyncAction // The Amazon resource name (ARN) that specifies the application. ApplicationArn *string // The Amazon resource name (ARN) that specifies the resource. ResourceArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type TagResourceInput ¶ added in v0.2.0
type TagResourceOutput ¶ added in v0.2.0
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UntagResourceInput ¶ added in v0.2.0
type UntagResourceOutput ¶ added in v0.2.0
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateApplicationInput ¶
type UpdateApplicationInput struct { // The name or ID of the application that will be updated. // // This member is required. Application *string // The new description of the application. Description *string // The new name of the application. The name must be unique in the region in which // you are updating the application. Name *string }
type UpdateApplicationOutput ¶
type UpdateApplicationOutput struct { // The updated information of the application. Application *types.Application // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateAttributeGroupInput ¶
type UpdateAttributeGroupInput struct { // The name or ID of the attribute group that holds the attributes to describe the // application. // // This member is required. AttributeGroup *string // A JSON string in the form of nested key-value pairs that represent the // attributes in the group and describes an application and its components. Attributes *string // The description of the attribute group that the user provides. Description *string // The new name of the attribute group. The name must be unique in the region in // which you are updating the attribute group. Name *string }
type UpdateAttributeGroupOutput ¶
type UpdateAttributeGroupOutput struct { // The updated information of the attribute group. AttributeGroup *types.AttributeGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Source Files ¶
- api_client.go
- api_op_AssociateAttributeGroup.go
- api_op_AssociateResource.go
- api_op_CreateApplication.go
- api_op_CreateAttributeGroup.go
- api_op_DeleteApplication.go
- api_op_DeleteAttributeGroup.go
- api_op_DisassociateAttributeGroup.go
- api_op_DisassociateResource.go
- api_op_GetApplication.go
- api_op_GetAttributeGroup.go
- api_op_ListApplications.go
- api_op_ListAssociatedAttributeGroups.go
- api_op_ListAssociatedResources.go
- api_op_ListAttributeGroups.go
- api_op_ListTagsForResource.go
- api_op_SyncResource.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateApplication.go
- api_op_UpdateAttributeGroup.go
- deserializers.go
- doc.go
- endpoints.go
- serializers.go
- validators.go