Documentation ¶
Overview ¶
Package ram provides the client and types for making API requests to AWS Resource Access Manager.
This is the Resource Access Manager API Reference. This documentation provides descriptions and syntax for each of the actions and data types in RAM. RAM is a service that helps you securely share your Amazon Web Services resources across Amazon Web Services accounts. If you have multiple Amazon Web Services accounts, you can use RAM to share those resources with other accounts. If you use Organizations to manage your accounts, then you share your resources with your organization or organizational units (OUs). For supported resource types, you can also share resources with individual Identity and Access Management (IAM) roles an users.
To learn more about RAM, see the following resources:
Resource Access Manager product page (http://aws.amazon.com/ram)
Resource Access Manager User Guide (https://docs.aws.amazon.com/ram/latest/userguide/)
See https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04 for more information on this service.
See ram package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/ram/
Using the Client ¶
To contact AWS Resource Access Manager with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the AWS Resource Access Manager client RAM for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/ram/#New
Index ¶
- Constants
- func ResourceOwner_Values() []string
- func ResourceRegionScopeFilter_Values() []string
- func ResourceRegionScope_Values() []string
- func ResourceShareAssociationStatus_Values() []string
- func ResourceShareAssociationType_Values() []string
- func ResourceShareFeatureSet_Values() []string
- func ResourceShareInvitationStatus_Values() []string
- func ResourceShareStatus_Values() []string
- func ResourceStatus_Values() []string
- type AcceptResourceShareInvitationInput
- func (s AcceptResourceShareInvitationInput) GoString() string
- func (s *AcceptResourceShareInvitationInput) SetClientToken(v string) *AcceptResourceShareInvitationInput
- func (s *AcceptResourceShareInvitationInput) SetResourceShareInvitationArn(v string) *AcceptResourceShareInvitationInput
- func (s AcceptResourceShareInvitationInput) String() string
- func (s *AcceptResourceShareInvitationInput) Validate() error
- type AcceptResourceShareInvitationOutput
- func (s AcceptResourceShareInvitationOutput) GoString() string
- func (s *AcceptResourceShareInvitationOutput) SetClientToken(v string) *AcceptResourceShareInvitationOutput
- func (s *AcceptResourceShareInvitationOutput) SetResourceShareInvitation(v *ResourceShareInvitation) *AcceptResourceShareInvitationOutput
- func (s AcceptResourceShareInvitationOutput) String() string
- type AssociateResourceShareInput
- func (s AssociateResourceShareInput) GoString() string
- func (s *AssociateResourceShareInput) SetClientToken(v string) *AssociateResourceShareInput
- func (s *AssociateResourceShareInput) SetPrincipals(v []*string) *AssociateResourceShareInput
- func (s *AssociateResourceShareInput) SetResourceArns(v []*string) *AssociateResourceShareInput
- func (s *AssociateResourceShareInput) SetResourceShareArn(v string) *AssociateResourceShareInput
- func (s AssociateResourceShareInput) String() string
- func (s *AssociateResourceShareInput) Validate() error
- type AssociateResourceShareOutput
- func (s AssociateResourceShareOutput) GoString() string
- func (s *AssociateResourceShareOutput) SetClientToken(v string) *AssociateResourceShareOutput
- func (s *AssociateResourceShareOutput) SetResourceShareAssociations(v []*ResourceShareAssociation) *AssociateResourceShareOutput
- func (s AssociateResourceShareOutput) String() string
- type AssociateResourceSharePermissionInput
- func (s AssociateResourceSharePermissionInput) GoString() string
- func (s *AssociateResourceSharePermissionInput) SetClientToken(v string) *AssociateResourceSharePermissionInput
- func (s *AssociateResourceSharePermissionInput) SetPermissionArn(v string) *AssociateResourceSharePermissionInput
- func (s *AssociateResourceSharePermissionInput) SetPermissionVersion(v int64) *AssociateResourceSharePermissionInput
- func (s *AssociateResourceSharePermissionInput) SetReplace(v bool) *AssociateResourceSharePermissionInput
- func (s *AssociateResourceSharePermissionInput) SetResourceShareArn(v string) *AssociateResourceSharePermissionInput
- func (s AssociateResourceSharePermissionInput) String() string
- func (s *AssociateResourceSharePermissionInput) Validate() error
- type AssociateResourceSharePermissionOutput
- func (s AssociateResourceSharePermissionOutput) GoString() string
- func (s *AssociateResourceSharePermissionOutput) SetClientToken(v string) *AssociateResourceSharePermissionOutput
- func (s *AssociateResourceSharePermissionOutput) SetReturnValue(v bool) *AssociateResourceSharePermissionOutput
- func (s AssociateResourceSharePermissionOutput) String() string
- type CreateResourceShareInput
- func (s CreateResourceShareInput) GoString() string
- func (s *CreateResourceShareInput) SetAllowExternalPrincipals(v bool) *CreateResourceShareInput
- func (s *CreateResourceShareInput) SetClientToken(v string) *CreateResourceShareInput
- func (s *CreateResourceShareInput) SetName(v string) *CreateResourceShareInput
- func (s *CreateResourceShareInput) SetPermissionArns(v []*string) *CreateResourceShareInput
- func (s *CreateResourceShareInput) SetPrincipals(v []*string) *CreateResourceShareInput
- func (s *CreateResourceShareInput) SetResourceArns(v []*string) *CreateResourceShareInput
- func (s *CreateResourceShareInput) SetTags(v []*Tag) *CreateResourceShareInput
- func (s CreateResourceShareInput) String() string
- func (s *CreateResourceShareInput) Validate() error
- type CreateResourceShareOutput
- type DeleteResourceShareInput
- func (s DeleteResourceShareInput) GoString() string
- func (s *DeleteResourceShareInput) SetClientToken(v string) *DeleteResourceShareInput
- func (s *DeleteResourceShareInput) SetResourceShareArn(v string) *DeleteResourceShareInput
- func (s DeleteResourceShareInput) String() string
- func (s *DeleteResourceShareInput) Validate() error
- type DeleteResourceShareOutput
- type DisassociateResourceShareInput
- func (s DisassociateResourceShareInput) GoString() string
- func (s *DisassociateResourceShareInput) SetClientToken(v string) *DisassociateResourceShareInput
- func (s *DisassociateResourceShareInput) SetPrincipals(v []*string) *DisassociateResourceShareInput
- func (s *DisassociateResourceShareInput) SetResourceArns(v []*string) *DisassociateResourceShareInput
- func (s *DisassociateResourceShareInput) SetResourceShareArn(v string) *DisassociateResourceShareInput
- func (s DisassociateResourceShareInput) String() string
- func (s *DisassociateResourceShareInput) Validate() error
- type DisassociateResourceShareOutput
- func (s DisassociateResourceShareOutput) GoString() string
- func (s *DisassociateResourceShareOutput) SetClientToken(v string) *DisassociateResourceShareOutput
- func (s *DisassociateResourceShareOutput) SetResourceShareAssociations(v []*ResourceShareAssociation) *DisassociateResourceShareOutput
- func (s DisassociateResourceShareOutput) String() string
- type DisassociateResourceSharePermissionInput
- func (s DisassociateResourceSharePermissionInput) GoString() string
- func (s *DisassociateResourceSharePermissionInput) SetClientToken(v string) *DisassociateResourceSharePermissionInput
- func (s *DisassociateResourceSharePermissionInput) SetPermissionArn(v string) *DisassociateResourceSharePermissionInput
- func (s *DisassociateResourceSharePermissionInput) SetResourceShareArn(v string) *DisassociateResourceSharePermissionInput
- func (s DisassociateResourceSharePermissionInput) String() string
- func (s *DisassociateResourceSharePermissionInput) Validate() error
- type DisassociateResourceSharePermissionOutput
- func (s DisassociateResourceSharePermissionOutput) GoString() string
- func (s *DisassociateResourceSharePermissionOutput) SetClientToken(v string) *DisassociateResourceSharePermissionOutput
- func (s *DisassociateResourceSharePermissionOutput) SetReturnValue(v bool) *DisassociateResourceSharePermissionOutput
- func (s DisassociateResourceSharePermissionOutput) String() string
- type EnableSharingWithAwsOrganizationInput
- type EnableSharingWithAwsOrganizationOutput
- type GetPermissionInput
- type GetPermissionOutput
- type GetResourcePoliciesInput
- func (s GetResourcePoliciesInput) GoString() string
- func (s *GetResourcePoliciesInput) SetMaxResults(v int64) *GetResourcePoliciesInput
- func (s *GetResourcePoliciesInput) SetNextToken(v string) *GetResourcePoliciesInput
- func (s *GetResourcePoliciesInput) SetPrincipal(v string) *GetResourcePoliciesInput
- func (s *GetResourcePoliciesInput) SetResourceArns(v []*string) *GetResourcePoliciesInput
- func (s GetResourcePoliciesInput) String() string
- func (s *GetResourcePoliciesInput) Validate() error
- type GetResourcePoliciesOutput
- type GetResourceShareAssociationsInput
- func (s GetResourceShareAssociationsInput) GoString() string
- func (s *GetResourceShareAssociationsInput) SetAssociationStatus(v string) *GetResourceShareAssociationsInput
- func (s *GetResourceShareAssociationsInput) SetAssociationType(v string) *GetResourceShareAssociationsInput
- func (s *GetResourceShareAssociationsInput) SetMaxResults(v int64) *GetResourceShareAssociationsInput
- func (s *GetResourceShareAssociationsInput) SetNextToken(v string) *GetResourceShareAssociationsInput
- func (s *GetResourceShareAssociationsInput) SetPrincipal(v string) *GetResourceShareAssociationsInput
- func (s *GetResourceShareAssociationsInput) SetResourceArn(v string) *GetResourceShareAssociationsInput
- func (s *GetResourceShareAssociationsInput) SetResourceShareArns(v []*string) *GetResourceShareAssociationsInput
- func (s GetResourceShareAssociationsInput) String() string
- func (s *GetResourceShareAssociationsInput) Validate() error
- type GetResourceShareAssociationsOutput
- func (s GetResourceShareAssociationsOutput) GoString() string
- func (s *GetResourceShareAssociationsOutput) SetNextToken(v string) *GetResourceShareAssociationsOutput
- func (s *GetResourceShareAssociationsOutput) SetResourceShareAssociations(v []*ResourceShareAssociation) *GetResourceShareAssociationsOutput
- func (s GetResourceShareAssociationsOutput) String() string
- type GetResourceShareInvitationsInput
- func (s GetResourceShareInvitationsInput) GoString() string
- func (s *GetResourceShareInvitationsInput) SetMaxResults(v int64) *GetResourceShareInvitationsInput
- func (s *GetResourceShareInvitationsInput) SetNextToken(v string) *GetResourceShareInvitationsInput
- func (s *GetResourceShareInvitationsInput) SetResourceShareArns(v []*string) *GetResourceShareInvitationsInput
- func (s *GetResourceShareInvitationsInput) SetResourceShareInvitationArns(v []*string) *GetResourceShareInvitationsInput
- func (s GetResourceShareInvitationsInput) String() string
- func (s *GetResourceShareInvitationsInput) Validate() error
- type GetResourceShareInvitationsOutput
- func (s GetResourceShareInvitationsOutput) GoString() string
- func (s *GetResourceShareInvitationsOutput) SetNextToken(v string) *GetResourceShareInvitationsOutput
- func (s *GetResourceShareInvitationsOutput) SetResourceShareInvitations(v []*ResourceShareInvitation) *GetResourceShareInvitationsOutput
- func (s GetResourceShareInvitationsOutput) String() string
- type GetResourceSharesInput
- func (s GetResourceSharesInput) GoString() string
- func (s *GetResourceSharesInput) SetMaxResults(v int64) *GetResourceSharesInput
- func (s *GetResourceSharesInput) SetName(v string) *GetResourceSharesInput
- func (s *GetResourceSharesInput) SetNextToken(v string) *GetResourceSharesInput
- func (s *GetResourceSharesInput) SetPermissionArn(v string) *GetResourceSharesInput
- func (s *GetResourceSharesInput) SetResourceOwner(v string) *GetResourceSharesInput
- func (s *GetResourceSharesInput) SetResourceShareArns(v []*string) *GetResourceSharesInput
- func (s *GetResourceSharesInput) SetResourceShareStatus(v string) *GetResourceSharesInput
- func (s *GetResourceSharesInput) SetTagFilters(v []*TagFilter) *GetResourceSharesInput
- func (s GetResourceSharesInput) String() string
- func (s *GetResourceSharesInput) Validate() error
- type GetResourceSharesOutput
- type IdempotentParameterMismatchException
- func (s *IdempotentParameterMismatchException) Code() string
- func (s *IdempotentParameterMismatchException) Error() string
- func (s IdempotentParameterMismatchException) GoString() string
- func (s *IdempotentParameterMismatchException) Message() string
- func (s *IdempotentParameterMismatchException) OrigErr() error
- func (s *IdempotentParameterMismatchException) RequestID() string
- func (s *IdempotentParameterMismatchException) StatusCode() int
- func (s IdempotentParameterMismatchException) String() string
- type InvalidClientTokenException
- func (s *InvalidClientTokenException) Code() string
- func (s *InvalidClientTokenException) Error() string
- func (s InvalidClientTokenException) GoString() string
- func (s *InvalidClientTokenException) Message() string
- func (s *InvalidClientTokenException) OrigErr() error
- func (s *InvalidClientTokenException) RequestID() string
- func (s *InvalidClientTokenException) StatusCode() int
- func (s InvalidClientTokenException) String() string
- type InvalidMaxResultsException
- func (s *InvalidMaxResultsException) Code() string
- func (s *InvalidMaxResultsException) Error() string
- func (s InvalidMaxResultsException) GoString() string
- func (s *InvalidMaxResultsException) Message() string
- func (s *InvalidMaxResultsException) OrigErr() error
- func (s *InvalidMaxResultsException) RequestID() string
- func (s *InvalidMaxResultsException) StatusCode() int
- func (s InvalidMaxResultsException) String() string
- type InvalidNextTokenException
- func (s *InvalidNextTokenException) Code() string
- func (s *InvalidNextTokenException) Error() string
- func (s InvalidNextTokenException) GoString() string
- func (s *InvalidNextTokenException) Message() string
- func (s *InvalidNextTokenException) OrigErr() error
- func (s *InvalidNextTokenException) RequestID() string
- func (s *InvalidNextTokenException) StatusCode() int
- func (s InvalidNextTokenException) String() string
- type InvalidParameterException
- func (s *InvalidParameterException) Code() string
- func (s *InvalidParameterException) Error() string
- func (s InvalidParameterException) GoString() string
- func (s *InvalidParameterException) Message() string
- func (s *InvalidParameterException) OrigErr() error
- func (s *InvalidParameterException) RequestID() string
- func (s *InvalidParameterException) StatusCode() int
- func (s InvalidParameterException) String() string
- type InvalidResourceTypeException
- func (s *InvalidResourceTypeException) Code() string
- func (s *InvalidResourceTypeException) Error() string
- func (s InvalidResourceTypeException) GoString() string
- func (s *InvalidResourceTypeException) Message() string
- func (s *InvalidResourceTypeException) OrigErr() error
- func (s *InvalidResourceTypeException) RequestID() string
- func (s *InvalidResourceTypeException) StatusCode() int
- func (s InvalidResourceTypeException) String() string
- type InvalidStateTransitionException
- func (s *InvalidStateTransitionException) Code() string
- func (s *InvalidStateTransitionException) Error() string
- func (s InvalidStateTransitionException) GoString() string
- func (s *InvalidStateTransitionException) Message() string
- func (s *InvalidStateTransitionException) OrigErr() error
- func (s *InvalidStateTransitionException) RequestID() string
- func (s *InvalidStateTransitionException) StatusCode() int
- func (s InvalidStateTransitionException) String() string
- type ListPendingInvitationResourcesInput
- func (s ListPendingInvitationResourcesInput) GoString() string
- func (s *ListPendingInvitationResourcesInput) SetMaxResults(v int64) *ListPendingInvitationResourcesInput
- func (s *ListPendingInvitationResourcesInput) SetNextToken(v string) *ListPendingInvitationResourcesInput
- func (s *ListPendingInvitationResourcesInput) SetResourceRegionScope(v string) *ListPendingInvitationResourcesInput
- func (s *ListPendingInvitationResourcesInput) SetResourceShareInvitationArn(v string) *ListPendingInvitationResourcesInput
- func (s ListPendingInvitationResourcesInput) String() string
- func (s *ListPendingInvitationResourcesInput) Validate() error
- type ListPendingInvitationResourcesOutput
- func (s ListPendingInvitationResourcesOutput) GoString() string
- func (s *ListPendingInvitationResourcesOutput) SetNextToken(v string) *ListPendingInvitationResourcesOutput
- func (s *ListPendingInvitationResourcesOutput) SetResources(v []*Resource) *ListPendingInvitationResourcesOutput
- func (s ListPendingInvitationResourcesOutput) String() string
- type ListPermissionVersionsInput
- func (s ListPermissionVersionsInput) GoString() string
- func (s *ListPermissionVersionsInput) SetMaxResults(v int64) *ListPermissionVersionsInput
- func (s *ListPermissionVersionsInput) SetNextToken(v string) *ListPermissionVersionsInput
- func (s *ListPermissionVersionsInput) SetPermissionArn(v string) *ListPermissionVersionsInput
- func (s ListPermissionVersionsInput) String() string
- func (s *ListPermissionVersionsInput) Validate() error
- type ListPermissionVersionsOutput
- func (s ListPermissionVersionsOutput) GoString() string
- func (s *ListPermissionVersionsOutput) SetNextToken(v string) *ListPermissionVersionsOutput
- func (s *ListPermissionVersionsOutput) SetPermissions(v []*ResourceSharePermissionSummary) *ListPermissionVersionsOutput
- func (s ListPermissionVersionsOutput) String() string
- type ListPermissionsInput
- func (s ListPermissionsInput) GoString() string
- func (s *ListPermissionsInput) SetMaxResults(v int64) *ListPermissionsInput
- func (s *ListPermissionsInput) SetNextToken(v string) *ListPermissionsInput
- func (s *ListPermissionsInput) SetResourceType(v string) *ListPermissionsInput
- func (s ListPermissionsInput) String() string
- func (s *ListPermissionsInput) Validate() error
- type ListPermissionsOutput
- type ListPrincipalsInput
- func (s ListPrincipalsInput) GoString() string
- func (s *ListPrincipalsInput) SetMaxResults(v int64) *ListPrincipalsInput
- func (s *ListPrincipalsInput) SetNextToken(v string) *ListPrincipalsInput
- func (s *ListPrincipalsInput) SetPrincipals(v []*string) *ListPrincipalsInput
- func (s *ListPrincipalsInput) SetResourceArn(v string) *ListPrincipalsInput
- func (s *ListPrincipalsInput) SetResourceOwner(v string) *ListPrincipalsInput
- func (s *ListPrincipalsInput) SetResourceShareArns(v []*string) *ListPrincipalsInput
- func (s *ListPrincipalsInput) SetResourceType(v string) *ListPrincipalsInput
- func (s ListPrincipalsInput) String() string
- func (s *ListPrincipalsInput) Validate() error
- type ListPrincipalsOutput
- type ListResourceSharePermissionsInput
- func (s ListResourceSharePermissionsInput) GoString() string
- func (s *ListResourceSharePermissionsInput) SetMaxResults(v int64) *ListResourceSharePermissionsInput
- func (s *ListResourceSharePermissionsInput) SetNextToken(v string) *ListResourceSharePermissionsInput
- func (s *ListResourceSharePermissionsInput) SetResourceShareArn(v string) *ListResourceSharePermissionsInput
- func (s ListResourceSharePermissionsInput) String() string
- func (s *ListResourceSharePermissionsInput) Validate() error
- type ListResourceSharePermissionsOutput
- func (s ListResourceSharePermissionsOutput) GoString() string
- func (s *ListResourceSharePermissionsOutput) SetNextToken(v string) *ListResourceSharePermissionsOutput
- func (s *ListResourceSharePermissionsOutput) SetPermissions(v []*ResourceSharePermissionSummary) *ListResourceSharePermissionsOutput
- func (s ListResourceSharePermissionsOutput) String() string
- type ListResourceTypesInput
- func (s ListResourceTypesInput) GoString() string
- func (s *ListResourceTypesInput) SetMaxResults(v int64) *ListResourceTypesInput
- func (s *ListResourceTypesInput) SetNextToken(v string) *ListResourceTypesInput
- func (s *ListResourceTypesInput) SetResourceRegionScope(v string) *ListResourceTypesInput
- func (s ListResourceTypesInput) String() string
- func (s *ListResourceTypesInput) Validate() error
- type ListResourceTypesOutput
- type ListResourcesInput
- func (s ListResourcesInput) GoString() string
- func (s *ListResourcesInput) SetMaxResults(v int64) *ListResourcesInput
- func (s *ListResourcesInput) SetNextToken(v string) *ListResourcesInput
- func (s *ListResourcesInput) SetPrincipal(v string) *ListResourcesInput
- func (s *ListResourcesInput) SetResourceArns(v []*string) *ListResourcesInput
- func (s *ListResourcesInput) SetResourceOwner(v string) *ListResourcesInput
- func (s *ListResourcesInput) SetResourceRegionScope(v string) *ListResourcesInput
- func (s *ListResourcesInput) SetResourceShareArns(v []*string) *ListResourcesInput
- func (s *ListResourcesInput) SetResourceType(v string) *ListResourcesInput
- func (s ListResourcesInput) String() string
- func (s *ListResourcesInput) Validate() error
- type ListResourcesOutput
- type MalformedArnException
- func (s *MalformedArnException) Code() string
- func (s *MalformedArnException) Error() string
- func (s MalformedArnException) GoString() string
- func (s *MalformedArnException) Message() string
- func (s *MalformedArnException) OrigErr() error
- func (s *MalformedArnException) RequestID() string
- func (s *MalformedArnException) StatusCode() int
- func (s MalformedArnException) String() string
- type MissingRequiredParameterException
- func (s *MissingRequiredParameterException) Code() string
- func (s *MissingRequiredParameterException) Error() string
- func (s MissingRequiredParameterException) GoString() string
- func (s *MissingRequiredParameterException) Message() string
- func (s *MissingRequiredParameterException) OrigErr() error
- func (s *MissingRequiredParameterException) RequestID() string
- func (s *MissingRequiredParameterException) StatusCode() int
- func (s MissingRequiredParameterException) String() string
- type OperationNotPermittedException
- func (s *OperationNotPermittedException) Code() string
- func (s *OperationNotPermittedException) Error() string
- func (s OperationNotPermittedException) GoString() string
- func (s *OperationNotPermittedException) Message() string
- func (s *OperationNotPermittedException) OrigErr() error
- func (s *OperationNotPermittedException) RequestID() string
- func (s *OperationNotPermittedException) StatusCode() int
- func (s OperationNotPermittedException) String() string
- type Principal
- func (s Principal) GoString() string
- func (s *Principal) SetCreationTime(v time.Time) *Principal
- func (s *Principal) SetExternal(v bool) *Principal
- func (s *Principal) SetId(v string) *Principal
- func (s *Principal) SetLastUpdatedTime(v time.Time) *Principal
- func (s *Principal) SetResourceShareArn(v string) *Principal
- func (s Principal) String() string
- type PromoteResourceShareCreatedFromPolicyInput
- func (s PromoteResourceShareCreatedFromPolicyInput) GoString() string
- func (s *PromoteResourceShareCreatedFromPolicyInput) SetResourceShareArn(v string) *PromoteResourceShareCreatedFromPolicyInput
- func (s PromoteResourceShareCreatedFromPolicyInput) String() string
- func (s *PromoteResourceShareCreatedFromPolicyInput) Validate() error
- type PromoteResourceShareCreatedFromPolicyOutput
- type RAM
- func (c *RAM) AcceptResourceShareInvitation(input *AcceptResourceShareInvitationInput) (*AcceptResourceShareInvitationOutput, error)
- func (c *RAM) AcceptResourceShareInvitationRequest(input *AcceptResourceShareInvitationInput) (req *request.Request, output *AcceptResourceShareInvitationOutput)
- func (c *RAM) AcceptResourceShareInvitationWithContext(ctx aws.Context, input *AcceptResourceShareInvitationInput, ...) (*AcceptResourceShareInvitationOutput, error)
- func (c *RAM) AssociateResourceShare(input *AssociateResourceShareInput) (*AssociateResourceShareOutput, error)
- func (c *RAM) AssociateResourceSharePermission(input *AssociateResourceSharePermissionInput) (*AssociateResourceSharePermissionOutput, error)
- func (c *RAM) AssociateResourceSharePermissionRequest(input *AssociateResourceSharePermissionInput) (req *request.Request, output *AssociateResourceSharePermissionOutput)
- func (c *RAM) AssociateResourceSharePermissionWithContext(ctx aws.Context, input *AssociateResourceSharePermissionInput, ...) (*AssociateResourceSharePermissionOutput, error)
- func (c *RAM) AssociateResourceShareRequest(input *AssociateResourceShareInput) (req *request.Request, output *AssociateResourceShareOutput)
- func (c *RAM) AssociateResourceShareWithContext(ctx aws.Context, input *AssociateResourceShareInput, opts ...request.Option) (*AssociateResourceShareOutput, error)
- func (c *RAM) CreateResourceShare(input *CreateResourceShareInput) (*CreateResourceShareOutput, error)
- func (c *RAM) CreateResourceShareRequest(input *CreateResourceShareInput) (req *request.Request, output *CreateResourceShareOutput)
- func (c *RAM) CreateResourceShareWithContext(ctx aws.Context, input *CreateResourceShareInput, opts ...request.Option) (*CreateResourceShareOutput, error)
- func (c *RAM) DeleteResourceShare(input *DeleteResourceShareInput) (*DeleteResourceShareOutput, error)
- func (c *RAM) DeleteResourceShareRequest(input *DeleteResourceShareInput) (req *request.Request, output *DeleteResourceShareOutput)
- func (c *RAM) DeleteResourceShareWithContext(ctx aws.Context, input *DeleteResourceShareInput, opts ...request.Option) (*DeleteResourceShareOutput, error)
- func (c *RAM) DisassociateResourceShare(input *DisassociateResourceShareInput) (*DisassociateResourceShareOutput, error)
- func (c *RAM) DisassociateResourceSharePermission(input *DisassociateResourceSharePermissionInput) (*DisassociateResourceSharePermissionOutput, error)
- func (c *RAM) DisassociateResourceSharePermissionRequest(input *DisassociateResourceSharePermissionInput) (req *request.Request, output *DisassociateResourceSharePermissionOutput)
- func (c *RAM) DisassociateResourceSharePermissionWithContext(ctx aws.Context, input *DisassociateResourceSharePermissionInput, ...) (*DisassociateResourceSharePermissionOutput, error)
- func (c *RAM) DisassociateResourceShareRequest(input *DisassociateResourceShareInput) (req *request.Request, output *DisassociateResourceShareOutput)
- func (c *RAM) DisassociateResourceShareWithContext(ctx aws.Context, input *DisassociateResourceShareInput, opts ...request.Option) (*DisassociateResourceShareOutput, error)
- func (c *RAM) EnableSharingWithAwsOrganization(input *EnableSharingWithAwsOrganizationInput) (*EnableSharingWithAwsOrganizationOutput, error)
- func (c *RAM) EnableSharingWithAwsOrganizationRequest(input *EnableSharingWithAwsOrganizationInput) (req *request.Request, output *EnableSharingWithAwsOrganizationOutput)
- func (c *RAM) EnableSharingWithAwsOrganizationWithContext(ctx aws.Context, input *EnableSharingWithAwsOrganizationInput, ...) (*EnableSharingWithAwsOrganizationOutput, error)
- func (c *RAM) GetPermission(input *GetPermissionInput) (*GetPermissionOutput, error)
- func (c *RAM) GetPermissionRequest(input *GetPermissionInput) (req *request.Request, output *GetPermissionOutput)
- func (c *RAM) GetPermissionWithContext(ctx aws.Context, input *GetPermissionInput, opts ...request.Option) (*GetPermissionOutput, error)
- func (c *RAM) GetResourcePolicies(input *GetResourcePoliciesInput) (*GetResourcePoliciesOutput, error)
- func (c *RAM) GetResourcePoliciesPages(input *GetResourcePoliciesInput, ...) error
- func (c *RAM) GetResourcePoliciesPagesWithContext(ctx aws.Context, input *GetResourcePoliciesInput, ...) error
- func (c *RAM) GetResourcePoliciesRequest(input *GetResourcePoliciesInput) (req *request.Request, output *GetResourcePoliciesOutput)
- func (c *RAM) GetResourcePoliciesWithContext(ctx aws.Context, input *GetResourcePoliciesInput, opts ...request.Option) (*GetResourcePoliciesOutput, error)
- func (c *RAM) GetResourceShareAssociations(input *GetResourceShareAssociationsInput) (*GetResourceShareAssociationsOutput, error)
- func (c *RAM) GetResourceShareAssociationsPages(input *GetResourceShareAssociationsInput, ...) error
- func (c *RAM) GetResourceShareAssociationsPagesWithContext(ctx aws.Context, input *GetResourceShareAssociationsInput, ...) error
- func (c *RAM) GetResourceShareAssociationsRequest(input *GetResourceShareAssociationsInput) (req *request.Request, output *GetResourceShareAssociationsOutput)
- func (c *RAM) GetResourceShareAssociationsWithContext(ctx aws.Context, input *GetResourceShareAssociationsInput, ...) (*GetResourceShareAssociationsOutput, error)
- func (c *RAM) GetResourceShareInvitations(input *GetResourceShareInvitationsInput) (*GetResourceShareInvitationsOutput, error)
- func (c *RAM) GetResourceShareInvitationsPages(input *GetResourceShareInvitationsInput, ...) error
- func (c *RAM) GetResourceShareInvitationsPagesWithContext(ctx aws.Context, input *GetResourceShareInvitationsInput, ...) error
- func (c *RAM) GetResourceShareInvitationsRequest(input *GetResourceShareInvitationsInput) (req *request.Request, output *GetResourceShareInvitationsOutput)
- func (c *RAM) GetResourceShareInvitationsWithContext(ctx aws.Context, input *GetResourceShareInvitationsInput, ...) (*GetResourceShareInvitationsOutput, error)
- func (c *RAM) GetResourceShares(input *GetResourceSharesInput) (*GetResourceSharesOutput, error)
- func (c *RAM) GetResourceSharesPages(input *GetResourceSharesInput, fn func(*GetResourceSharesOutput, bool) bool) error
- func (c *RAM) GetResourceSharesPagesWithContext(ctx aws.Context, input *GetResourceSharesInput, ...) error
- func (c *RAM) GetResourceSharesRequest(input *GetResourceSharesInput) (req *request.Request, output *GetResourceSharesOutput)
- func (c *RAM) GetResourceSharesWithContext(ctx aws.Context, input *GetResourceSharesInput, opts ...request.Option) (*GetResourceSharesOutput, error)
- func (c *RAM) ListPendingInvitationResources(input *ListPendingInvitationResourcesInput) (*ListPendingInvitationResourcesOutput, error)
- func (c *RAM) ListPendingInvitationResourcesPages(input *ListPendingInvitationResourcesInput, ...) error
- func (c *RAM) ListPendingInvitationResourcesPagesWithContext(ctx aws.Context, input *ListPendingInvitationResourcesInput, ...) error
- func (c *RAM) ListPendingInvitationResourcesRequest(input *ListPendingInvitationResourcesInput) (req *request.Request, output *ListPendingInvitationResourcesOutput)
- func (c *RAM) ListPendingInvitationResourcesWithContext(ctx aws.Context, input *ListPendingInvitationResourcesInput, ...) (*ListPendingInvitationResourcesOutput, error)
- func (c *RAM) ListPermissionVersions(input *ListPermissionVersionsInput) (*ListPermissionVersionsOutput, error)
- func (c *RAM) ListPermissionVersionsPages(input *ListPermissionVersionsInput, ...) error
- func (c *RAM) ListPermissionVersionsPagesWithContext(ctx aws.Context, input *ListPermissionVersionsInput, ...) error
- func (c *RAM) ListPermissionVersionsRequest(input *ListPermissionVersionsInput) (req *request.Request, output *ListPermissionVersionsOutput)
- func (c *RAM) ListPermissionVersionsWithContext(ctx aws.Context, input *ListPermissionVersionsInput, opts ...request.Option) (*ListPermissionVersionsOutput, error)
- func (c *RAM) ListPermissions(input *ListPermissionsInput) (*ListPermissionsOutput, error)
- func (c *RAM) ListPermissionsPages(input *ListPermissionsInput, fn func(*ListPermissionsOutput, bool) bool) error
- func (c *RAM) ListPermissionsPagesWithContext(ctx aws.Context, input *ListPermissionsInput, ...) error
- func (c *RAM) ListPermissionsRequest(input *ListPermissionsInput) (req *request.Request, output *ListPermissionsOutput)
- func (c *RAM) ListPermissionsWithContext(ctx aws.Context, input *ListPermissionsInput, opts ...request.Option) (*ListPermissionsOutput, error)
- func (c *RAM) ListPrincipals(input *ListPrincipalsInput) (*ListPrincipalsOutput, error)
- func (c *RAM) ListPrincipalsPages(input *ListPrincipalsInput, fn func(*ListPrincipalsOutput, bool) bool) error
- func (c *RAM) ListPrincipalsPagesWithContext(ctx aws.Context, input *ListPrincipalsInput, ...) error
- func (c *RAM) ListPrincipalsRequest(input *ListPrincipalsInput) (req *request.Request, output *ListPrincipalsOutput)
- func (c *RAM) ListPrincipalsWithContext(ctx aws.Context, input *ListPrincipalsInput, opts ...request.Option) (*ListPrincipalsOutput, error)
- func (c *RAM) ListResourceSharePermissions(input *ListResourceSharePermissionsInput) (*ListResourceSharePermissionsOutput, error)
- func (c *RAM) ListResourceSharePermissionsPages(input *ListResourceSharePermissionsInput, ...) error
- func (c *RAM) ListResourceSharePermissionsPagesWithContext(ctx aws.Context, input *ListResourceSharePermissionsInput, ...) error
- func (c *RAM) ListResourceSharePermissionsRequest(input *ListResourceSharePermissionsInput) (req *request.Request, output *ListResourceSharePermissionsOutput)
- func (c *RAM) ListResourceSharePermissionsWithContext(ctx aws.Context, input *ListResourceSharePermissionsInput, ...) (*ListResourceSharePermissionsOutput, error)
- func (c *RAM) ListResourceTypes(input *ListResourceTypesInput) (*ListResourceTypesOutput, error)
- func (c *RAM) ListResourceTypesPages(input *ListResourceTypesInput, fn func(*ListResourceTypesOutput, bool) bool) error
- func (c *RAM) ListResourceTypesPagesWithContext(ctx aws.Context, input *ListResourceTypesInput, ...) error
- func (c *RAM) ListResourceTypesRequest(input *ListResourceTypesInput) (req *request.Request, output *ListResourceTypesOutput)
- func (c *RAM) ListResourceTypesWithContext(ctx aws.Context, input *ListResourceTypesInput, opts ...request.Option) (*ListResourceTypesOutput, error)
- func (c *RAM) ListResources(input *ListResourcesInput) (*ListResourcesOutput, error)
- func (c *RAM) ListResourcesPages(input *ListResourcesInput, fn func(*ListResourcesOutput, bool) bool) error
- func (c *RAM) ListResourcesPagesWithContext(ctx aws.Context, input *ListResourcesInput, ...) error
- func (c *RAM) ListResourcesRequest(input *ListResourcesInput) (req *request.Request, output *ListResourcesOutput)
- func (c *RAM) ListResourcesWithContext(ctx aws.Context, input *ListResourcesInput, opts ...request.Option) (*ListResourcesOutput, error)
- func (c *RAM) PromoteResourceShareCreatedFromPolicy(input *PromoteResourceShareCreatedFromPolicyInput) (*PromoteResourceShareCreatedFromPolicyOutput, error)
- func (c *RAM) PromoteResourceShareCreatedFromPolicyRequest(input *PromoteResourceShareCreatedFromPolicyInput) (req *request.Request, output *PromoteResourceShareCreatedFromPolicyOutput)
- func (c *RAM) PromoteResourceShareCreatedFromPolicyWithContext(ctx aws.Context, input *PromoteResourceShareCreatedFromPolicyInput, ...) (*PromoteResourceShareCreatedFromPolicyOutput, error)
- func (c *RAM) RejectResourceShareInvitation(input *RejectResourceShareInvitationInput) (*RejectResourceShareInvitationOutput, error)
- func (c *RAM) RejectResourceShareInvitationRequest(input *RejectResourceShareInvitationInput) (req *request.Request, output *RejectResourceShareInvitationOutput)
- func (c *RAM) RejectResourceShareInvitationWithContext(ctx aws.Context, input *RejectResourceShareInvitationInput, ...) (*RejectResourceShareInvitationOutput, error)
- func (c *RAM) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
- func (c *RAM) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
- func (c *RAM) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
- func (c *RAM) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
- func (c *RAM) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
- func (c *RAM) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
- func (c *RAM) UpdateResourceShare(input *UpdateResourceShareInput) (*UpdateResourceShareOutput, error)
- func (c *RAM) UpdateResourceShareRequest(input *UpdateResourceShareInput) (req *request.Request, output *UpdateResourceShareOutput)
- func (c *RAM) UpdateResourceShareWithContext(ctx aws.Context, input *UpdateResourceShareInput, opts ...request.Option) (*UpdateResourceShareOutput, error)
- type RejectResourceShareInvitationInput
- func (s RejectResourceShareInvitationInput) GoString() string
- func (s *RejectResourceShareInvitationInput) SetClientToken(v string) *RejectResourceShareInvitationInput
- func (s *RejectResourceShareInvitationInput) SetResourceShareInvitationArn(v string) *RejectResourceShareInvitationInput
- func (s RejectResourceShareInvitationInput) String() string
- func (s *RejectResourceShareInvitationInput) Validate() error
- type RejectResourceShareInvitationOutput
- func (s RejectResourceShareInvitationOutput) GoString() string
- func (s *RejectResourceShareInvitationOutput) SetClientToken(v string) *RejectResourceShareInvitationOutput
- func (s *RejectResourceShareInvitationOutput) SetResourceShareInvitation(v *ResourceShareInvitation) *RejectResourceShareInvitationOutput
- func (s RejectResourceShareInvitationOutput) String() string
- type Resource
- func (s Resource) GoString() string
- func (s *Resource) SetArn(v string) *Resource
- func (s *Resource) SetCreationTime(v time.Time) *Resource
- func (s *Resource) SetLastUpdatedTime(v time.Time) *Resource
- func (s *Resource) SetResourceGroupArn(v string) *Resource
- func (s *Resource) SetResourceRegionScope(v string) *Resource
- func (s *Resource) SetResourceShareArn(v string) *Resource
- func (s *Resource) SetStatus(v string) *Resource
- func (s *Resource) SetStatusMessage(v string) *Resource
- func (s *Resource) SetType(v string) *Resource
- func (s Resource) String() string
- type ResourceArnNotFoundException
- func (s *ResourceArnNotFoundException) Code() string
- func (s *ResourceArnNotFoundException) Error() string
- func (s ResourceArnNotFoundException) GoString() string
- func (s *ResourceArnNotFoundException) Message() string
- func (s *ResourceArnNotFoundException) OrigErr() error
- func (s *ResourceArnNotFoundException) RequestID() string
- func (s *ResourceArnNotFoundException) StatusCode() int
- func (s ResourceArnNotFoundException) String() string
- type ResourceShare
- func (s ResourceShare) GoString() string
- func (s *ResourceShare) SetAllowExternalPrincipals(v bool) *ResourceShare
- func (s *ResourceShare) SetCreationTime(v time.Time) *ResourceShare
- func (s *ResourceShare) SetFeatureSet(v string) *ResourceShare
- func (s *ResourceShare) SetLastUpdatedTime(v time.Time) *ResourceShare
- func (s *ResourceShare) SetName(v string) *ResourceShare
- func (s *ResourceShare) SetOwningAccountId(v string) *ResourceShare
- func (s *ResourceShare) SetResourceShareArn(v string) *ResourceShare
- func (s *ResourceShare) SetStatus(v string) *ResourceShare
- func (s *ResourceShare) SetStatusMessage(v string) *ResourceShare
- func (s *ResourceShare) SetTags(v []*Tag) *ResourceShare
- func (s ResourceShare) String() string
- type ResourceShareAssociation
- func (s ResourceShareAssociation) GoString() string
- func (s *ResourceShareAssociation) SetAssociatedEntity(v string) *ResourceShareAssociation
- func (s *ResourceShareAssociation) SetAssociationType(v string) *ResourceShareAssociation
- func (s *ResourceShareAssociation) SetCreationTime(v time.Time) *ResourceShareAssociation
- func (s *ResourceShareAssociation) SetExternal(v bool) *ResourceShareAssociation
- func (s *ResourceShareAssociation) SetLastUpdatedTime(v time.Time) *ResourceShareAssociation
- func (s *ResourceShareAssociation) SetResourceShareArn(v string) *ResourceShareAssociation
- func (s *ResourceShareAssociation) SetResourceShareName(v string) *ResourceShareAssociation
- func (s *ResourceShareAssociation) SetStatus(v string) *ResourceShareAssociation
- func (s *ResourceShareAssociation) SetStatusMessage(v string) *ResourceShareAssociation
- func (s ResourceShareAssociation) String() string
- type ResourceShareInvitation
- func (s ResourceShareInvitation) GoString() string
- func (s *ResourceShareInvitation) SetInvitationTimestamp(v time.Time) *ResourceShareInvitation
- func (s *ResourceShareInvitation) SetReceiverAccountId(v string) *ResourceShareInvitation
- func (s *ResourceShareInvitation) SetReceiverArn(v string) *ResourceShareInvitation
- func (s *ResourceShareInvitation) SetResourceShareArn(v string) *ResourceShareInvitation
- func (s *ResourceShareInvitation) SetResourceShareAssociations(v []*ResourceShareAssociation) *ResourceShareInvitation
- func (s *ResourceShareInvitation) SetResourceShareInvitationArn(v string) *ResourceShareInvitation
- func (s *ResourceShareInvitation) SetResourceShareName(v string) *ResourceShareInvitation
- func (s *ResourceShareInvitation) SetSenderAccountId(v string) *ResourceShareInvitation
- func (s *ResourceShareInvitation) SetStatus(v string) *ResourceShareInvitation
- func (s ResourceShareInvitation) String() string
- type ResourceShareInvitationAlreadyAcceptedException
- func (s *ResourceShareInvitationAlreadyAcceptedException) Code() string
- func (s *ResourceShareInvitationAlreadyAcceptedException) Error() string
- func (s ResourceShareInvitationAlreadyAcceptedException) GoString() string
- func (s *ResourceShareInvitationAlreadyAcceptedException) Message() string
- func (s *ResourceShareInvitationAlreadyAcceptedException) OrigErr() error
- func (s *ResourceShareInvitationAlreadyAcceptedException) RequestID() string
- func (s *ResourceShareInvitationAlreadyAcceptedException) StatusCode() int
- func (s ResourceShareInvitationAlreadyAcceptedException) String() string
- type ResourceShareInvitationAlreadyRejectedException
- func (s *ResourceShareInvitationAlreadyRejectedException) Code() string
- func (s *ResourceShareInvitationAlreadyRejectedException) Error() string
- func (s ResourceShareInvitationAlreadyRejectedException) GoString() string
- func (s *ResourceShareInvitationAlreadyRejectedException) Message() string
- func (s *ResourceShareInvitationAlreadyRejectedException) OrigErr() error
- func (s *ResourceShareInvitationAlreadyRejectedException) RequestID() string
- func (s *ResourceShareInvitationAlreadyRejectedException) StatusCode() int
- func (s ResourceShareInvitationAlreadyRejectedException) String() string
- type ResourceShareInvitationArnNotFoundException
- func (s *ResourceShareInvitationArnNotFoundException) Code() string
- func (s *ResourceShareInvitationArnNotFoundException) Error() string
- func (s ResourceShareInvitationArnNotFoundException) GoString() string
- func (s *ResourceShareInvitationArnNotFoundException) Message() string
- func (s *ResourceShareInvitationArnNotFoundException) OrigErr() error
- func (s *ResourceShareInvitationArnNotFoundException) RequestID() string
- func (s *ResourceShareInvitationArnNotFoundException) StatusCode() int
- func (s ResourceShareInvitationArnNotFoundException) String() string
- type ResourceShareInvitationExpiredException
- func (s *ResourceShareInvitationExpiredException) Code() string
- func (s *ResourceShareInvitationExpiredException) Error() string
- func (s ResourceShareInvitationExpiredException) GoString() string
- func (s *ResourceShareInvitationExpiredException) Message() string
- func (s *ResourceShareInvitationExpiredException) OrigErr() error
- func (s *ResourceShareInvitationExpiredException) RequestID() string
- func (s *ResourceShareInvitationExpiredException) StatusCode() int
- func (s ResourceShareInvitationExpiredException) String() string
- type ResourceShareLimitExceededException
- func (s *ResourceShareLimitExceededException) Code() string
- func (s *ResourceShareLimitExceededException) Error() string
- func (s ResourceShareLimitExceededException) GoString() string
- func (s *ResourceShareLimitExceededException) Message() string
- func (s *ResourceShareLimitExceededException) OrigErr() error
- func (s *ResourceShareLimitExceededException) RequestID() string
- func (s *ResourceShareLimitExceededException) StatusCode() int
- func (s ResourceShareLimitExceededException) String() string
- type ResourceSharePermissionDetail
- func (s ResourceSharePermissionDetail) GoString() string
- func (s *ResourceSharePermissionDetail) SetArn(v string) *ResourceSharePermissionDetail
- func (s *ResourceSharePermissionDetail) SetCreationTime(v time.Time) *ResourceSharePermissionDetail
- func (s *ResourceSharePermissionDetail) SetDefaultVersion(v bool) *ResourceSharePermissionDetail
- func (s *ResourceSharePermissionDetail) SetIsResourceTypeDefault(v bool) *ResourceSharePermissionDetail
- func (s *ResourceSharePermissionDetail) SetLastUpdatedTime(v time.Time) *ResourceSharePermissionDetail
- func (s *ResourceSharePermissionDetail) SetName(v string) *ResourceSharePermissionDetail
- func (s *ResourceSharePermissionDetail) SetPermission(v string) *ResourceSharePermissionDetail
- func (s *ResourceSharePermissionDetail) SetResourceType(v string) *ResourceSharePermissionDetail
- func (s *ResourceSharePermissionDetail) SetVersion(v string) *ResourceSharePermissionDetail
- func (s ResourceSharePermissionDetail) String() string
- type ResourceSharePermissionSummary
- func (s ResourceSharePermissionSummary) GoString() string
- func (s *ResourceSharePermissionSummary) SetArn(v string) *ResourceSharePermissionSummary
- func (s *ResourceSharePermissionSummary) SetCreationTime(v time.Time) *ResourceSharePermissionSummary
- func (s *ResourceSharePermissionSummary) SetDefaultVersion(v bool) *ResourceSharePermissionSummary
- func (s *ResourceSharePermissionSummary) SetIsResourceTypeDefault(v bool) *ResourceSharePermissionSummary
- func (s *ResourceSharePermissionSummary) SetLastUpdatedTime(v time.Time) *ResourceSharePermissionSummary
- func (s *ResourceSharePermissionSummary) SetName(v string) *ResourceSharePermissionSummary
- func (s *ResourceSharePermissionSummary) SetResourceType(v string) *ResourceSharePermissionSummary
- func (s *ResourceSharePermissionSummary) SetStatus(v string) *ResourceSharePermissionSummary
- func (s *ResourceSharePermissionSummary) SetVersion(v string) *ResourceSharePermissionSummary
- func (s ResourceSharePermissionSummary) String() string
- type ServerInternalException
- func (s *ServerInternalException) Code() string
- func (s *ServerInternalException) Error() string
- func (s ServerInternalException) GoString() string
- func (s *ServerInternalException) Message() string
- func (s *ServerInternalException) OrigErr() error
- func (s *ServerInternalException) RequestID() string
- func (s *ServerInternalException) StatusCode() int
- func (s ServerInternalException) String() string
- type ServiceNameAndResourceType
- func (s ServiceNameAndResourceType) GoString() string
- func (s *ServiceNameAndResourceType) SetResourceRegionScope(v string) *ServiceNameAndResourceType
- func (s *ServiceNameAndResourceType) SetResourceType(v string) *ServiceNameAndResourceType
- func (s *ServiceNameAndResourceType) SetServiceName(v string) *ServiceNameAndResourceType
- func (s ServiceNameAndResourceType) String() string
- type ServiceUnavailableException
- func (s *ServiceUnavailableException) Code() string
- func (s *ServiceUnavailableException) Error() string
- func (s ServiceUnavailableException) GoString() string
- func (s *ServiceUnavailableException) Message() string
- func (s *ServiceUnavailableException) OrigErr() error
- func (s *ServiceUnavailableException) RequestID() string
- func (s *ServiceUnavailableException) StatusCode() int
- func (s ServiceUnavailableException) String() string
- type Tag
- type TagFilter
- type TagLimitExceededException
- func (s *TagLimitExceededException) Code() string
- func (s *TagLimitExceededException) Error() string
- func (s TagLimitExceededException) GoString() string
- func (s *TagLimitExceededException) Message() string
- func (s *TagLimitExceededException) OrigErr() error
- func (s *TagLimitExceededException) RequestID() string
- func (s *TagLimitExceededException) StatusCode() int
- func (s TagLimitExceededException) String() string
- type TagPolicyViolationException
- func (s *TagPolicyViolationException) Code() string
- func (s *TagPolicyViolationException) Error() string
- func (s TagPolicyViolationException) GoString() string
- func (s *TagPolicyViolationException) Message() string
- func (s *TagPolicyViolationException) OrigErr() error
- func (s *TagPolicyViolationException) RequestID() string
- func (s *TagPolicyViolationException) StatusCode() int
- func (s TagPolicyViolationException) String() string
- type TagResourceInput
- type TagResourceOutput
- type ThrottlingException
- func (s *ThrottlingException) Code() string
- func (s *ThrottlingException) Error() string
- func (s ThrottlingException) GoString() string
- func (s *ThrottlingException) Message() string
- func (s *ThrottlingException) OrigErr() error
- func (s *ThrottlingException) RequestID() string
- func (s *ThrottlingException) StatusCode() int
- func (s ThrottlingException) String() string
- type UnknownResourceException
- func (s *UnknownResourceException) Code() string
- func (s *UnknownResourceException) Error() string
- func (s UnknownResourceException) GoString() string
- func (s *UnknownResourceException) Message() string
- func (s *UnknownResourceException) OrigErr() error
- func (s *UnknownResourceException) RequestID() string
- func (s *UnknownResourceException) StatusCode() int
- func (s UnknownResourceException) String() string
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateResourceShareInput
- func (s UpdateResourceShareInput) GoString() string
- func (s *UpdateResourceShareInput) SetAllowExternalPrincipals(v bool) *UpdateResourceShareInput
- func (s *UpdateResourceShareInput) SetClientToken(v string) *UpdateResourceShareInput
- func (s *UpdateResourceShareInput) SetName(v string) *UpdateResourceShareInput
- func (s *UpdateResourceShareInput) SetResourceShareArn(v string) *UpdateResourceShareInput
- func (s UpdateResourceShareInput) String() string
- func (s *UpdateResourceShareInput) Validate() error
- type UpdateResourceShareOutput
Constants ¶
const ( // ResourceOwnerSelf is a ResourceOwner enum value ResourceOwnerSelf = "SELF" // ResourceOwnerOtherAccounts is a ResourceOwner enum value ResourceOwnerOtherAccounts = "OTHER-ACCOUNTS" )
const ( // ResourceRegionScopeRegional is a ResourceRegionScope enum value ResourceRegionScopeRegional = "REGIONAL" // ResourceRegionScopeGlobal is a ResourceRegionScope enum value ResourceRegionScopeGlobal = "GLOBAL" )
const ( // ResourceRegionScopeFilterAll is a ResourceRegionScopeFilter enum value ResourceRegionScopeFilterAll = "ALL" // ResourceRegionScopeFilterRegional is a ResourceRegionScopeFilter enum value ResourceRegionScopeFilterRegional = "REGIONAL" // ResourceRegionScopeFilterGlobal is a ResourceRegionScopeFilter enum value ResourceRegionScopeFilterGlobal = "GLOBAL" )
const (ResourceShareAssociationStatusAssociating = "ASSOCIATING" ResourceShareAssociationStatusAssociated = "ASSOCIATED" ResourceShareAssociationStatusFailed = "FAILED" ResourceShareAssociationStatusDisassociating = "DISASSOCIATING" ResourceShareAssociationStatusDisassociated = "DISASSOCIATED" )
const (ResourceShareAssociationTypePrincipal = "PRINCIPAL" ResourceShareAssociationTypeResource = "RESOURCE" )
const (ResourceShareFeatureSetCreatedFromPolicy = "CREATED_FROM_POLICY" ResourceShareFeatureSetPromotingToStandard = "PROMOTING_TO_STANDARD" ResourceShareFeatureSetStandard = "STANDARD" )
const (ResourceShareInvitationStatusPending = "PENDING" ResourceShareInvitationStatusAccepted = "ACCEPTED" ResourceShareInvitationStatusRejected = "REJECTED" ResourceShareInvitationStatusExpired = "EXPIRED" )
const (ResourceShareStatusPending = "PENDING" ResourceShareStatusActive = "ACTIVE" ResourceShareStatusFailed = "FAILED" ResourceShareStatusDeleting = "DELETING" ResourceShareStatusDeleted = "DELETED" )
const ( // ResourceStatusAvailable is a ResourceStatus enum value ResourceStatusAvailable = "AVAILABLE" // ResourceStatusZonalResourceInaccessible is a ResourceStatus enum value ResourceStatusZonalResourceInaccessible = "ZONAL_RESOURCE_INACCESSIBLE" // ResourceStatusLimitExceeded is a ResourceStatus enum value ResourceStatusLimitExceeded = "LIMIT_EXCEEDED" ResourceStatusUnavailable = "UNAVAILABLE" // ResourceStatusPending is a ResourceStatus enum value ResourceStatusPending = "PENDING" )
const ( // ErrCodeIdempotentParameterMismatchException for service response error code // "IdempotentParameterMismatchException". // // The client token input parameter was matched one used with a previous call // to the operation, but at least one of the other input parameters is different // from the previous call. ErrCodeIdempotentParameterMismatchException = "IdempotentParameterMismatchException" // ErrCodeInvalidClientTokenException for service response error code // "InvalidClientTokenException". // // The client token is not valid. ErrCodeInvalidClientTokenException = "InvalidClientTokenException" // ErrCodeInvalidMaxResultsException for service response error code // "InvalidMaxResultsException". // // The specified value for MaxResults is not valid. ErrCodeInvalidMaxResultsException = "InvalidMaxResultsException" // ErrCodeInvalidNextTokenException for service response error code // "InvalidNextTokenException". // // The specified value for NextToken is not valid. ErrCodeInvalidNextTokenException = "InvalidNextTokenException" // ErrCodeInvalidParameterException for service response error code // "InvalidParameterException". // // A parameter is not valid. ErrCodeInvalidParameterException = "InvalidParameterException" // ErrCodeInvalidResourceTypeException for service response error code // "InvalidResourceTypeException". // // The specified resource type is not valid. ErrCodeInvalidResourceTypeException = "InvalidResourceTypeException" // ErrCodeInvalidStateTransitionException for service response error code // "InvalidStateTransitionException". // // The requested state transition is not valid. ErrCodeInvalidStateTransitionException = "InvalidStateTransitionException" // ErrCodeMalformedArnException for service response error code // "MalformedArnException". // // The format of an Amazon Resource Name (ARN) is not valid. ErrCodeMalformedArnException = "MalformedArnException" // ErrCodeMissingRequiredParameterException for service response error code // "MissingRequiredParameterException". // // A required input parameter is missing. ErrCodeMissingRequiredParameterException = "MissingRequiredParameterException" // ErrCodeOperationNotPermittedException for service response error code // "OperationNotPermittedException". // // The requested operation is not permitted. ErrCodeOperationNotPermittedException = "OperationNotPermittedException" // ErrCodeResourceArnNotFoundException for service response error code // "ResourceArnNotFoundException". // // The specified Amazon Resource Name (ARN) was not found. ErrCodeResourceArnNotFoundException = "ResourceArnNotFoundException" // "ResourceShareInvitationAlreadyAcceptedException". // // The specified invitation was already accepted. ErrCodeResourceShareInvitationAlreadyAcceptedException = "ResourceShareInvitationAlreadyAcceptedException" // "ResourceShareInvitationAlreadyRejectedException". // // The specified invitation was already rejected. ErrCodeResourceShareInvitationAlreadyRejectedException = "ResourceShareInvitationAlreadyRejectedException" // "ResourceShareInvitationArnNotFoundException". // // The specified Amazon Resource Name (ARN) for an invitation was not found. ErrCodeResourceShareInvitationArnNotFoundException = "ResourceShareInvitationArnNotFoundException" // "ResourceShareInvitationExpiredException". // // The specified invitation is expired. ErrCodeResourceShareInvitationExpiredException = "ResourceShareInvitationExpiredException" // "ResourceShareLimitExceededException". // // This request would exceed the limit for resource shares for your account. ErrCodeResourceShareLimitExceededException = "ResourceShareLimitExceededException" // ErrCodeServerInternalException for service response error code // "ServerInternalException". // // The service could not respond to the request due to an internal problem. ErrCodeServerInternalException = "ServerInternalException" // "ServiceUnavailableException". // // The service is not available. ErrCodeServiceUnavailableException = "ServiceUnavailableException" // ErrCodeTagLimitExceededException for service response error code // "TagLimitExceededException". // // This request would exceed the limit for tags for your account. ErrCodeTagLimitExceededException = "TagLimitExceededException" // ErrCodeTagPolicyViolationException for service response error code // "TagPolicyViolationException". // // The specified tag key is a reserved word and can't be used. ErrCodeTagPolicyViolationException = "TagPolicyViolationException" // ErrCodeThrottlingException for service response error code // "ThrottlingException". // // You exceeded the rate at which you are allowed to perform this operation. // Please try again later. ErrCodeThrottlingException = "ThrottlingException" // ErrCodeUnknownResourceException for service response error code // "UnknownResourceException". // // A specified resource was not found. ErrCodeUnknownResourceException = "UnknownResourceException" )
const ( ServiceName = "RAM" // Name of service. EndpointsID = "ram" // ID to lookup a service endpoint with. ServiceID = "RAM" // ServiceID is a unique identifier of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
func ResourceOwner_Values ¶ added in v1.34.3
func ResourceOwner_Values() []string
ResourceOwner_Values returns all elements of the ResourceOwner enum
func ResourceRegionScopeFilter_Values ¶ added in v1.42.18
func ResourceRegionScopeFilter_Values() []string
ResourceRegionScopeFilter_Values returns all elements of the ResourceRegionScopeFilter enum
func ResourceRegionScope_Values ¶ added in v1.42.18
func ResourceRegionScope_Values() []string
ResourceRegionScope_Values returns all elements of the ResourceRegionScope enum
func ResourceShareAssociationStatus_Values ¶ added in v1.34.3
func ResourceShareAssociationStatus_Values() []string
ResourceShareAssociationStatus_Values returns all elements of the ResourceShareAssociationStatus enum
func ResourceShareAssociationType_Values ¶ added in v1.34.3
func ResourceShareAssociationType_Values() []string
ResourceShareAssociationType_Values returns all elements of the ResourceShareAssociationType enum
func ResourceShareFeatureSet_Values ¶ added in v1.34.3
func ResourceShareFeatureSet_Values() []string
ResourceShareFeatureSet_Values returns all elements of the ResourceShareFeatureSet enum
func ResourceShareInvitationStatus_Values ¶ added in v1.34.3
func ResourceShareInvitationStatus_Values() []string
ResourceShareInvitationStatus_Values returns all elements of the ResourceShareInvitationStatus enum
func ResourceShareStatus_Values ¶ added in v1.34.3
func ResourceShareStatus_Values() []string
ResourceShareStatus_Values returns all elements of the ResourceShareStatus enum
func ResourceStatus_Values ¶ added in v1.34.3
func ResourceStatus_Values() []string
ResourceStatus_Values returns all elements of the ResourceStatus enum
Types ¶
type AcceptResourceShareInvitationInput ¶
type AcceptResourceShareInvitationInput struct { // the idempotency of the request. This lets you safely retry the request without // accidentally performing the same operation a second time. Passing the same // value to a later call to an operation requires that you also pass the same // value for all other parameters. We recommend that you use a UUID type of // value. (https://wikipedia.org/wiki/Universally_unique_identifier). // // If you don't provide this value, then Amazon Web Services generates a random // one for you. ClientToken *string `locationName:"clientToken" type:"string"` // of the invitation that you want to accept. // // ResourceShareInvitationArn is a required field ResourceShareInvitationArn *string `locationName:"resourceShareInvitationArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (AcceptResourceShareInvitationInput) GoString ¶
func (s AcceptResourceShareInvitationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AcceptResourceShareInvitationInput) SetClientToken ¶
func (s *AcceptResourceShareInvitationInput) SetClientToken(v string) *AcceptResourceShareInvitationInput
SetClientToken sets the ClientToken field's value.
func (*AcceptResourceShareInvitationInput) SetResourceShareInvitationArn ¶
func (s *AcceptResourceShareInvitationInput) SetResourceShareInvitationArn(v string) *AcceptResourceShareInvitationInput
SetResourceShareInvitationArn sets the ResourceShareInvitationArn field's value.
func (AcceptResourceShareInvitationInput) String ¶
func (s AcceptResourceShareInvitationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AcceptResourceShareInvitationInput) Validate ¶
func (s *AcceptResourceShareInvitationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AcceptResourceShareInvitationOutput ¶
type AcceptResourceShareInvitationOutput struct { // the same operation in an idempotent manner then you must include this value // in the clientToken request parameter of that later call. All other parameters // must also have the same values that you used in the first call. ClientToken *string `locationName:"clientToken" type:"string"` ResourceShareInvitation *ResourceShareInvitation `locationName:"resourceShareInvitation" type:"structure"` // contains filtered or unexported fields }
func (AcceptResourceShareInvitationOutput) GoString ¶
func (s AcceptResourceShareInvitationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AcceptResourceShareInvitationOutput) SetClientToken ¶
func (s *AcceptResourceShareInvitationOutput) SetClientToken(v string) *AcceptResourceShareInvitationOutput
SetClientToken sets the ClientToken field's value.
func (*AcceptResourceShareInvitationOutput) SetResourceShareInvitation ¶
func (s *AcceptResourceShareInvitationOutput) SetResourceShareInvitation(v *ResourceShareInvitation) *AcceptResourceShareInvitationOutput
SetResourceShareInvitation sets the ResourceShareInvitation field's value.
func (AcceptResourceShareInvitationOutput) String ¶
func (s AcceptResourceShareInvitationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AssociateResourceShareInput ¶
type AssociateResourceShareInput struct { // the idempotency of the request. This lets you safely retry the request without // accidentally performing the same operation a second time. Passing the same // value to a later call to an operation requires that you also pass the same // value for all other parameters. We recommend that you use a UUID type of // value. (https://wikipedia.org/wiki/Universally_unique_identifier). // // If you don't provide this value, then Amazon Web Services generates a random // one for you. ClientToken *string `locationName:"clientToken" type:"string"` // can be null if you want to add only resources. // // What the principals can do with the resources in the share is determined // by the RAM permissions that you associate with the resource share. See AssociateResourceSharePermission. // // You can include the following values: // // * An Amazon Web Services account ID, for example: 123456789012 // // * An Amazon Resoure Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // of an organization in Organizations, for example: organizations::123456789012:organization/o-exampleorgid // // * An ARN of an organizational unit (OU) in Organizations, for example: // organizations::123456789012:ou/o-exampleorgid/ou-examplerootid-exampleouid123 // // * An ARN of an IAM role, for example: iam::123456789012:role/rolename // // * An ARN of an IAM user, for example: iam::123456789012user/username // // Not all resource types can be shared with IAM roles and users. For more information, // see Sharing with IAM roles and users (https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types) // in the Resource Access Manager User Guide. Principals []*string `locationName:"principals" type:"list"` // of the resources that you want to share. This can be null if you want to // add only principals. ResourceArns []*string `locationName:"resourceArns" type:"list"` // of the resource share that you want to add principals or resources to. // // ResourceShareArn is a required field ResourceShareArn *string `locationName:"resourceShareArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (AssociateResourceShareInput) GoString ¶
func (s AssociateResourceShareInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AssociateResourceShareInput) SetClientToken ¶
func (s *AssociateResourceShareInput) SetClientToken(v string) *AssociateResourceShareInput
SetClientToken sets the ClientToken field's value.
func (*AssociateResourceShareInput) SetPrincipals ¶
func (s *AssociateResourceShareInput) SetPrincipals(v []*string) *AssociateResourceShareInput
SetPrincipals sets the Principals field's value.
func (*AssociateResourceShareInput) SetResourceArns ¶
func (s *AssociateResourceShareInput) SetResourceArns(v []*string) *AssociateResourceShareInput
SetResourceArns sets the ResourceArns field's value.
func (*AssociateResourceShareInput) SetResourceShareArn ¶
func (s *AssociateResourceShareInput) SetResourceShareArn(v string) *AssociateResourceShareInput
SetResourceShareArn sets the ResourceShareArn field's value.
func (AssociateResourceShareInput) String ¶
func (s AssociateResourceShareInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AssociateResourceShareInput) Validate ¶
func (s *AssociateResourceShareInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateResourceShareOutput ¶
type AssociateResourceShareOutput struct { // the same operation in an idempotent manner then you must include this value // in the clientToken request parameter of that later call. All other parameters // must also have the same values that you used in the first call. ClientToken *string `locationName:"clientToken" type:"string"` ResourceShareAssociations []*ResourceShareAssociation `locationName:"resourceShareAssociations" type:"list"` // contains filtered or unexported fields }
func (AssociateResourceShareOutput) GoString ¶
func (s AssociateResourceShareOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AssociateResourceShareOutput) SetClientToken ¶
func (s *AssociateResourceShareOutput) SetClientToken(v string) *AssociateResourceShareOutput
SetClientToken sets the ClientToken field's value.
func (*AssociateResourceShareOutput) SetResourceShareAssociations ¶
func (s *AssociateResourceShareOutput) SetResourceShareAssociations(v []*ResourceShareAssociation) *AssociateResourceShareOutput
SetResourceShareAssociations sets the ResourceShareAssociations field's value.
func (AssociateResourceShareOutput) String ¶
func (s AssociateResourceShareOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AssociateResourceSharePermissionInput ¶ added in v1.25.42
type AssociateResourceSharePermissionInput struct { // the idempotency of the request. This lets you safely retry the request without // accidentally performing the same operation a second time. Passing the same // value to a later call to an operation requires that you also pass the same // value for all other parameters. We recommend that you use a UUID type of // value. (https://wikipedia.org/wiki/Universally_unique_identifier). // // If you don't provide this value, then Amazon Web Services generates a random // one for you. ClientToken *string `locationName:"clientToken" type:"string"` // of the RAM permission to associate with the resource share. To find the ARN // for a permission, use either the ListPermissions operation or go to the Permissions // library (https://console.aws.amazon.com/ram/home#Permissions:) page in the // RAM console and then choose the name of the permission. The ARN is displayed // on the detail page. // // PermissionArn is a required field PermissionArn *string `locationName:"permissionArn" type:"string" required:"true"` // share. If you don't specify this parameter, the operation uses the version // designated as the default. You can use the ListPermissionVersions operation // to discover the available versions of a permission. PermissionVersion *int64 `locationName:"permissionVersion" type:"integer"` // permission associated with the resource share. Use true to replace the current // permissions. Use false to add the permission to the current permission. The // default value is false. // // A resource share can have only one permission per resource type. If a resource // share already has a permission for the specified resource type and you don't // set replace to true then the operation returns an error. This helps prevent // accidental overwriting of a permission. Replace *bool `locationName:"replace" type:"boolean"` // of the resource share to which you want to add or replace permissions. // // ResourceShareArn is a required field ResourceShareArn *string `locationName:"resourceShareArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (AssociateResourceSharePermissionInput) GoString ¶ added in v1.25.42
func (s AssociateResourceSharePermissionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AssociateResourceSharePermissionInput) SetClientToken ¶ added in v1.25.42
func (s *AssociateResourceSharePermissionInput) SetClientToken(v string) *AssociateResourceSharePermissionInput
SetClientToken sets the ClientToken field's value.
func (*AssociateResourceSharePermissionInput) SetPermissionArn ¶ added in v1.25.42
func (s *AssociateResourceSharePermissionInput) SetPermissionArn(v string) *AssociateResourceSharePermissionInput
SetPermissionArn sets the PermissionArn field's value.
func (*AssociateResourceSharePermissionInput) SetPermissionVersion ¶ added in v1.38.59
func (s *AssociateResourceSharePermissionInput) SetPermissionVersion(v int64) *AssociateResourceSharePermissionInput
SetPermissionVersion sets the PermissionVersion field's value.
func (*AssociateResourceSharePermissionInput) SetReplace ¶ added in v1.25.42
func (s *AssociateResourceSharePermissionInput) SetReplace(v bool) *AssociateResourceSharePermissionInput
SetReplace sets the Replace field's value.
func (*AssociateResourceSharePermissionInput) SetResourceShareArn ¶ added in v1.25.42
func (s *AssociateResourceSharePermissionInput) SetResourceShareArn(v string) *AssociateResourceSharePermissionInput
SetResourceShareArn sets the ResourceShareArn field's value.
func (AssociateResourceSharePermissionInput) String ¶ added in v1.25.42
func (s AssociateResourceSharePermissionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AssociateResourceSharePermissionInput) Validate ¶ added in v1.25.42
func (s *AssociateResourceSharePermissionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateResourceSharePermissionOutput ¶ added in v1.25.42
type AssociateResourceSharePermissionOutput struct { // the same operation in an idempotent manner then you must include this value // in the clientToken request parameter of that later call. All other parameters // must also have the same values that you used in the first call. ClientToken *string `locationName:"clientToken" type:"string"` // indicates that the request failed. ReturnValue *bool `locationName:"returnValue" type:"boolean"` // contains filtered or unexported fields }
func (AssociateResourceSharePermissionOutput) GoString ¶ added in v1.25.42
func (s AssociateResourceSharePermissionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AssociateResourceSharePermissionOutput) SetClientToken ¶ added in v1.25.42
func (s *AssociateResourceSharePermissionOutput) SetClientToken(v string) *AssociateResourceSharePermissionOutput
SetClientToken sets the ClientToken field's value.
func (*AssociateResourceSharePermissionOutput) SetReturnValue ¶ added in v1.25.42
func (s *AssociateResourceSharePermissionOutput) SetReturnValue(v bool) *AssociateResourceSharePermissionOutput
SetReturnValue sets the ReturnValue field's value.
func (AssociateResourceSharePermissionOutput) String ¶ added in v1.25.42
func (s AssociateResourceSharePermissionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateResourceShareInput ¶
type CreateResourceShareInput struct { // be associated with a resource share. A value of true lets you share with // individual Amazon Web Services accounts that are not in your organization. // A value of false only has meaning if your account is a member of an Amazon // Web Services Organization. The default value is true. AllowExternalPrincipals *bool `locationName:"allowExternalPrincipals" type:"boolean"` // the idempotency of the request. This lets you safely retry the request without // accidentally performing the same operation a second time. Passing the same // value to a later call to an operation requires that you also pass the same // value for all other parameters. We recommend that you use a UUID type of // value. (https://wikipedia.org/wiki/Universally_unique_identifier). // // If you don't provide this value, then Amazon Web Services generates a random // one for you. ClientToken *string `locationName:"clientToken" type:"string"` // // Name is a required field Name *string `locationName:"name" type:"string" required:"true"` // of the RAM permission to associate with the resource share. If you do not // specify an ARN for the permission, RAM automatically attaches the default // version of the permission for each resource type. You can associate only // one permission with each resource type included in the resource share. PermissionArns []*string `locationName:"permissionArns" type:"list"` // share. // // You can include the following values: // // * An Amazon Web Services account ID, for example: 123456789012 // // * An Amazon Resoure Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // of an organization in Organizations, for example: organizations::123456789012:organization/o-exampleorgid // // * An ARN of an organizational unit (OU) in Organizations, for example: // organizations::123456789012:ou/o-exampleorgid/ou-examplerootid-exampleouid123 // // * An ARN of an IAM role, for example: iam::123456789012:role/rolename // // * An ARN of an IAM user, for example: iam::123456789012user/username // // Not all resource types can be shared with IAM roles and users. For more information, // see Sharing with IAM roles and users (https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types) // in the Resource Access Manager User Guide. Principals []*string `locationName:"principals" type:"list"` // resource share. ResourceArns []*string `locationName:"resourceArns" type:"list"` // attach the tags to the resources associated with the resource share. Tags []*Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (CreateResourceShareInput) GoString ¶
func (s CreateResourceShareInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateResourceShareInput) SetAllowExternalPrincipals ¶
func (s *CreateResourceShareInput) SetAllowExternalPrincipals(v bool) *CreateResourceShareInput
SetAllowExternalPrincipals sets the AllowExternalPrincipals field's value.
func (*CreateResourceShareInput) SetClientToken ¶
func (s *CreateResourceShareInput) SetClientToken(v string) *CreateResourceShareInput
SetClientToken sets the ClientToken field's value.
func (*CreateResourceShareInput) SetName ¶
func (s *CreateResourceShareInput) SetName(v string) *CreateResourceShareInput
SetName sets the Name field's value.
func (*CreateResourceShareInput) SetPermissionArns ¶ added in v1.25.42
func (s *CreateResourceShareInput) SetPermissionArns(v []*string) *CreateResourceShareInput
SetPermissionArns sets the PermissionArns field's value.
func (*CreateResourceShareInput) SetPrincipals ¶
func (s *CreateResourceShareInput) SetPrincipals(v []*string) *CreateResourceShareInput
SetPrincipals sets the Principals field's value.
func (*CreateResourceShareInput) SetResourceArns ¶
func (s *CreateResourceShareInput) SetResourceArns(v []*string) *CreateResourceShareInput
SetResourceArns sets the ResourceArns field's value.
func (*CreateResourceShareInput) SetTags ¶
func (s *CreateResourceShareInput) SetTags(v []*Tag) *CreateResourceShareInput
SetTags sets the Tags field's value.
func (CreateResourceShareInput) String ¶
func (s CreateResourceShareInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateResourceShareInput) Validate ¶
func (s *CreateResourceShareInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateResourceShareOutput ¶
type CreateResourceShareOutput struct { // the same operation in an idempotent manner then you must include this value // in the clientToken request parameter of that later call. All other parameters // must also have the same values that you used in the first call. ClientToken *string `locationName:"clientToken" type:"string"` ResourceShare *ResourceShare `locationName:"resourceShare" type:"structure"` // contains filtered or unexported fields }
func (CreateResourceShareOutput) GoString ¶
func (s CreateResourceShareOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateResourceShareOutput) SetClientToken ¶
func (s *CreateResourceShareOutput) SetClientToken(v string) *CreateResourceShareOutput
SetClientToken sets the ClientToken field's value.
func (*CreateResourceShareOutput) SetResourceShare ¶
func (s *CreateResourceShareOutput) SetResourceShare(v *ResourceShare) *CreateResourceShareOutput
SetResourceShare sets the ResourceShare field's value.
func (CreateResourceShareOutput) String ¶
func (s CreateResourceShareOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteResourceShareInput ¶
type DeleteResourceShareInput struct { // the idempotency of the request. This lets you safely retry the request without // accidentally performing the same operation a second time. Passing the same // value to a later call to an operation requires that you also pass the same // value for all other parameters. We recommend that you use a UUID type of // value. (https://wikipedia.org/wiki/Universally_unique_identifier). // // If you don't provide this value, then Amazon Web Services generates a random // one for you. ClientToken *string `location:"querystring" locationName:"clientToken" type:"string"` // of the resource share to delete. // // ResourceShareArn is a required field ResourceShareArn *string `location:"querystring" locationName:"resourceShareArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteResourceShareInput) GoString ¶
func (s DeleteResourceShareInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteResourceShareInput) SetClientToken ¶
func (s *DeleteResourceShareInput) SetClientToken(v string) *DeleteResourceShareInput
SetClientToken sets the ClientToken field's value.
func (*DeleteResourceShareInput) SetResourceShareArn ¶
func (s *DeleteResourceShareInput) SetResourceShareArn(v string) *DeleteResourceShareInput
SetResourceShareArn sets the ResourceShareArn field's value.
func (DeleteResourceShareInput) String ¶
func (s DeleteResourceShareInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteResourceShareInput) Validate ¶
func (s *DeleteResourceShareInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteResourceShareOutput ¶
type DeleteResourceShareOutput struct { // the same operation in an idempotent manner then you must include this value // in the clientToken request parameter of that later call. All other parameters // must also have the same values that you used in the first call. ClientToken *string `locationName:"clientToken" type:"string"` // indicates that the request failed. ReturnValue *bool `locationName:"returnValue" type:"boolean"` // contains filtered or unexported fields }
func (DeleteResourceShareOutput) GoString ¶
func (s DeleteResourceShareOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteResourceShareOutput) SetClientToken ¶
func (s *DeleteResourceShareOutput) SetClientToken(v string) *DeleteResourceShareOutput
SetClientToken sets the ClientToken field's value.
func (*DeleteResourceShareOutput) SetReturnValue ¶
func (s *DeleteResourceShareOutput) SetReturnValue(v bool) *DeleteResourceShareOutput
SetReturnValue sets the ReturnValue field's value.
func (DeleteResourceShareOutput) String ¶
func (s DeleteResourceShareOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DisassociateResourceShareInput ¶
type DisassociateResourceShareInput struct { // the idempotency of the request. This lets you safely retry the request without // accidentally performing the same operation a second time. Passing the same // value to a later call to an operation requires that you also pass the same // value for all other parameters. We recommend that you use a UUID type of // value. (https://wikipedia.org/wiki/Universally_unique_identifier). // // If you don't provide this value, then Amazon Web Services generates a random // one for you. ClientToken *string `locationName:"clientToken" type:"string"` // to the resources in this resource share. // // You can include the following values: // // * An Amazon Web Services account ID, for example: 123456789012 // // * An Amazon Resoure Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // of an organization in Organizations, for example: organizations::123456789012:organization/o-exampleorgid // // * An ARN of an organizational unit (OU) in Organizations, for example: // organizations::123456789012:ou/o-exampleorgid/ou-examplerootid-exampleouid123 // // * An ARN of an IAM role, for example: iam::123456789012:role/rolename // // * An ARN of an IAM user, for example: iam::123456789012user/username // // Not all resource types can be shared with IAM roles and users. For more information, // see Sharing with IAM roles and users (https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types) // in the Resource Access Manager User Guide. Principals []*string `locationName:"principals" type:"list"` // for one or more resources that you want to remove from the resource share. // After the operation runs, these resources are no longer shared with principals // outside of the Amazon Web Services account that created the resources. ResourceArns []*string `locationName:"resourceArns" type:"list"` // of the resource share that you want to remove resources from. // // ResourceShareArn is a required field ResourceShareArn *string `locationName:"resourceShareArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (DisassociateResourceShareInput) GoString ¶
func (s DisassociateResourceShareInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DisassociateResourceShareInput) SetClientToken ¶
func (s *DisassociateResourceShareInput) SetClientToken(v string) *DisassociateResourceShareInput
SetClientToken sets the ClientToken field's value.
func (*DisassociateResourceShareInput) SetPrincipals ¶
func (s *DisassociateResourceShareInput) SetPrincipals(v []*string) *DisassociateResourceShareInput
SetPrincipals sets the Principals field's value.
func (*DisassociateResourceShareInput) SetResourceArns ¶
func (s *DisassociateResourceShareInput) SetResourceArns(v []*string) *DisassociateResourceShareInput
SetResourceArns sets the ResourceArns field's value.
func (*DisassociateResourceShareInput) SetResourceShareArn ¶
func (s *DisassociateResourceShareInput) SetResourceShareArn(v string) *DisassociateResourceShareInput
SetResourceShareArn sets the ResourceShareArn field's value.
func (DisassociateResourceShareInput) String ¶
func (s DisassociateResourceShareInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DisassociateResourceShareInput) Validate ¶
func (s *DisassociateResourceShareInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateResourceShareOutput ¶
type DisassociateResourceShareOutput struct { // the same operation in an idempotent manner then you must include this value // in the clientToken request parameter of that later call. All other parameters // must also have the same values that you used in the first call. ClientToken *string `locationName:"clientToken" type:"string"` // for this resource share. ResourceShareAssociations []*ResourceShareAssociation `locationName:"resourceShareAssociations" type:"list"` // contains filtered or unexported fields }
func (DisassociateResourceShareOutput) GoString ¶
func (s DisassociateResourceShareOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DisassociateResourceShareOutput) SetClientToken ¶
func (s *DisassociateResourceShareOutput) SetClientToken(v string) *DisassociateResourceShareOutput
SetClientToken sets the ClientToken field's value.
func (*DisassociateResourceShareOutput) SetResourceShareAssociations ¶
func (s *DisassociateResourceShareOutput) SetResourceShareAssociations(v []*ResourceShareAssociation) *DisassociateResourceShareOutput
SetResourceShareAssociations sets the ResourceShareAssociations field's value.
func (DisassociateResourceShareOutput) String ¶
func (s DisassociateResourceShareOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DisassociateResourceSharePermissionInput ¶ added in v1.25.42
type DisassociateResourceSharePermissionInput struct { // the idempotency of the request. This lets you safely retry the request without // accidentally performing the same operation a second time. Passing the same // value to a later call to an operation requires that you also pass the same // value for all other parameters. We recommend that you use a UUID type of // value. (https://wikipedia.org/wiki/Universally_unique_identifier). // // If you don't provide this value, then Amazon Web Services generates a random // one for you. ClientToken *string `locationName:"clientToken" type:"string"` // of the permission to disassociate from the resource share. Changes to permissions // take effect immediately. // // PermissionArn is a required field PermissionArn *string `locationName:"permissionArn" type:"string" required:"true"` // of the resource share from which you want to disassociate a permission. // // ResourceShareArn is a required field ResourceShareArn *string `locationName:"resourceShareArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (DisassociateResourceSharePermissionInput) GoString ¶ added in v1.25.42
func (s DisassociateResourceSharePermissionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DisassociateResourceSharePermissionInput) SetClientToken ¶ added in v1.25.42
func (s *DisassociateResourceSharePermissionInput) SetClientToken(v string) *DisassociateResourceSharePermissionInput
SetClientToken sets the ClientToken field's value.
func (*DisassociateResourceSharePermissionInput) SetPermissionArn ¶ added in v1.25.42
func (s *DisassociateResourceSharePermissionInput) SetPermissionArn(v string) *DisassociateResourceSharePermissionInput
SetPermissionArn sets the PermissionArn field's value.
func (*DisassociateResourceSharePermissionInput) SetResourceShareArn ¶ added in v1.25.42
func (s *DisassociateResourceSharePermissionInput) SetResourceShareArn(v string) *DisassociateResourceSharePermissionInput
SetResourceShareArn sets the ResourceShareArn field's value.
func (DisassociateResourceSharePermissionInput) String ¶ added in v1.25.42
func (s DisassociateResourceSharePermissionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DisassociateResourceSharePermissionInput) Validate ¶ added in v1.25.42
func (s *DisassociateResourceSharePermissionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateResourceSharePermissionOutput ¶ added in v1.25.42
type DisassociateResourceSharePermissionOutput struct { // the same operation in an idempotent manner then you must include this value // in the clientToken request parameter of that later call. All other parameters // must also have the same values that you used in the first call. ClientToken *string `locationName:"clientToken" type:"string"` // indicates that the request failed. ReturnValue *bool `locationName:"returnValue" type:"boolean"` // contains filtered or unexported fields }
func (DisassociateResourceSharePermissionOutput) GoString ¶ added in v1.25.42
func (s DisassociateResourceSharePermissionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DisassociateResourceSharePermissionOutput) SetClientToken ¶ added in v1.25.42
func (s *DisassociateResourceSharePermissionOutput) SetClientToken(v string) *DisassociateResourceSharePermissionOutput
SetClientToken sets the ClientToken field's value.
func (*DisassociateResourceSharePermissionOutput) SetReturnValue ¶ added in v1.25.42
func (s *DisassociateResourceSharePermissionOutput) SetReturnValue(v bool) *DisassociateResourceSharePermissionOutput
SetReturnValue sets the ReturnValue field's value.
func (DisassociateResourceSharePermissionOutput) String ¶ added in v1.25.42
func (s DisassociateResourceSharePermissionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EnableSharingWithAwsOrganizationInput ¶
type EnableSharingWithAwsOrganizationInput struct {
// contains filtered or unexported fields
}
func (EnableSharingWithAwsOrganizationInput) GoString ¶
func (s EnableSharingWithAwsOrganizationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (EnableSharingWithAwsOrganizationInput) String ¶
func (s EnableSharingWithAwsOrganizationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EnableSharingWithAwsOrganizationOutput ¶
type EnableSharingWithAwsOrganizationOutput struct { // A return value of true indicates that the request succeeded. A value of false // indicates that the request failed. ReturnValue *bool `locationName:"returnValue" type:"boolean"` // contains filtered or unexported fields }
func (EnableSharingWithAwsOrganizationOutput) GoString ¶
func (s EnableSharingWithAwsOrganizationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EnableSharingWithAwsOrganizationOutput) SetReturnValue ¶
func (s *EnableSharingWithAwsOrganizationOutput) SetReturnValue(v bool) *EnableSharingWithAwsOrganizationOutput
SetReturnValue sets the ReturnValue field's value.
func (EnableSharingWithAwsOrganizationOutput) String ¶
func (s EnableSharingWithAwsOrganizationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetPermissionInput ¶ added in v1.25.42
type GetPermissionInput struct { // Specifies the Amazon Resoure Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // of the permission whose contents you want to retrieve. To find the ARN for // a permission, use either the ListPermissions operation or go to the Permissions // library (https://console.aws.amazon.com/ram/home#Permissions:) page in the // RAM console and then choose the name of the permission. The ARN is displayed // on the detail page. // // PermissionArn is a required field PermissionArn *string `locationName:"permissionArn" type:"string" required:"true"` // Specifies identifier for the version of the RAM permission to retrieve. If // you don't specify this parameter, the operation retrieves the default version. PermissionVersion *int64 `locationName:"permissionVersion" type:"integer"` // contains filtered or unexported fields }
func (GetPermissionInput) GoString ¶ added in v1.25.42
func (s GetPermissionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetPermissionInput) SetPermissionArn ¶ added in v1.25.42
func (s *GetPermissionInput) SetPermissionArn(v string) *GetPermissionInput
SetPermissionArn sets the PermissionArn field's value.
func (*GetPermissionInput) SetPermissionVersion ¶ added in v1.25.42
func (s *GetPermissionInput) SetPermissionVersion(v int64) *GetPermissionInput
SetPermissionVersion sets the PermissionVersion field's value.
func (GetPermissionInput) String ¶ added in v1.25.42
func (s GetPermissionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetPermissionInput) Validate ¶ added in v1.25.42
func (s *GetPermissionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetPermissionOutput ¶ added in v1.25.42
type GetPermissionOutput struct { // An object that contains information about the permission. Permission *ResourceSharePermissionDetail `locationName:"permission" type:"structure"` // contains filtered or unexported fields }
func (GetPermissionOutput) GoString ¶ added in v1.25.42
func (s GetPermissionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetPermissionOutput) SetPermission ¶ added in v1.25.42
func (s *GetPermissionOutput) SetPermission(v *ResourceSharePermissionDetail) *GetPermissionOutput
SetPermission sets the Permission field's value.
func (GetPermissionOutput) String ¶ added in v1.25.42
func (s GetPermissionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetResourcePoliciesInput ¶
type GetResourcePoliciesInput struct { // Specifies 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 number // you specify, the NextToken response element is returned with a value (not // null). Include the specified 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 *int64 `locationName:"maxResults" min:"1" type:"integer"` // Specifies that you want to receive the next page of results. Valid only if // you received a NextToken response in the previous request. If you did, it // indicates that more output is available. Set this parameter to the value // provided by the previous call's NextToken response to request the next page // of results. NextToken *string `locationName:"nextToken" type:"string"` // Specifies the principal. Principal *string `locationName:"principal" type:"string"` // Specifies the Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // of the resources whose policies you want to retrieve. // // ResourceArns is a required field ResourceArns []*string `locationName:"resourceArns" type:"list" required:"true"` // contains filtered or unexported fields }
func (GetResourcePoliciesInput) GoString ¶
func (s GetResourcePoliciesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetResourcePoliciesInput) SetMaxResults ¶
func (s *GetResourcePoliciesInput) SetMaxResults(v int64) *GetResourcePoliciesInput
SetMaxResults sets the MaxResults field's value.
func (*GetResourcePoliciesInput) SetNextToken ¶
func (s *GetResourcePoliciesInput) SetNextToken(v string) *GetResourcePoliciesInput
SetNextToken sets the NextToken field's value.
func (*GetResourcePoliciesInput) SetPrincipal ¶
func (s *GetResourcePoliciesInput) SetPrincipal(v string) *GetResourcePoliciesInput
SetPrincipal sets the Principal field's value.
func (*GetResourcePoliciesInput) SetResourceArns ¶
func (s *GetResourcePoliciesInput) SetResourceArns(v []*string) *GetResourcePoliciesInput
SetResourceArns sets the ResourceArns field's value.
func (GetResourcePoliciesInput) String ¶
func (s GetResourcePoliciesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetResourcePoliciesInput) Validate ¶
func (s *GetResourcePoliciesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetResourcePoliciesOutput ¶
type GetResourcePoliciesOutput struct { // If present, this value 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. This indicates that this is the last page of results. NextToken *string `locationName:"nextToken" type:"string"` // An array of resource policy documents in JSON format. Policies []*string `locationName:"policies" type:"list"` // contains filtered or unexported fields }
func (GetResourcePoliciesOutput) GoString ¶
func (s GetResourcePoliciesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetResourcePoliciesOutput) SetNextToken ¶
func (s *GetResourcePoliciesOutput) SetNextToken(v string) *GetResourcePoliciesOutput
SetNextToken sets the NextToken field's value.
func (*GetResourcePoliciesOutput) SetPolicies ¶
func (s *GetResourcePoliciesOutput) SetPolicies(v []*string) *GetResourcePoliciesOutput
SetPolicies sets the Policies field's value.
func (GetResourcePoliciesOutput) String ¶
func (s GetResourcePoliciesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetResourceShareAssociationsInput ¶
type GetResourceShareAssociationsInput struct { string `locationName:"associationStatus" type:"string" enum:"ResourceShareAssociationStatus"` // resource or principal. // // * PRINCIPAL – list the principals that are associated with the specified // resource share. // // * RESOURCE – list the resources that are associated with the specified // resource share. // // AssociationType is a required field AssociationType *string `locationName:"associationType" type:"string" required:"true" enum:"ResourceShareAssociationType"` // 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 number // you specify, the NextToken response element is returned with a value (not // null). Include the specified 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 *int64 `locationName:"maxResults" min:"1" type:"integer"` // you received a NextToken response in the previous request. If you did, it // indicates that more output is available. Set this parameter to the value // provided by the previous call's NextToken response to request the next page // of results. NextToken *string `locationName:"nextToken" type:"string"` // This can be an Amazon Web Services account ID, an organization ID, an organizational // unit ID, or the Amazon Resoure Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // of an individual IAM user or role. // // You cannot specify this parameter if the association type is RESOURCE. Principal *string `locationName:"principal" type:"string"` // of the resource whose resource shares you want to retrieve. // // You cannot specify this parameter if the association type is PRINCIPAL. ResourceArn *string `locationName:"resourceArn" type:"string"` // of the resource share whose associations you want to retrieve. ResourceShareArns []*string `locationName:"resourceShareArns" type:"list"` // contains filtered or unexported fields }AssociationStatus *
func (GetResourceShareAssociationsInput) GoString ¶
func (s GetResourceShareAssociationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetResourceShareAssociationsInput) SetAssociationStatus ¶
func (s *GetResourceShareAssociationsInput) SetAssociationStatus(v string) *GetResourceShareAssociationsInput
SetAssociationStatus sets the AssociationStatus field's value.
func (*GetResourceShareAssociationsInput) SetAssociationType ¶
func (s *GetResourceShareAssociationsInput) SetAssociationType(v string) *GetResourceShareAssociationsInput
SetAssociationType sets the AssociationType field's value.
func (*GetResourceShareAssociationsInput) SetMaxResults ¶
func (s *GetResourceShareAssociationsInput) SetMaxResults(v int64) *GetResourceShareAssociationsInput
SetMaxResults sets the MaxResults field's value.
func (*GetResourceShareAssociationsInput) SetNextToken ¶
func (s *GetResourceShareAssociationsInput) SetNextToken(v string) *GetResourceShareAssociationsInput
SetNextToken sets the NextToken field's value.
func (*GetResourceShareAssociationsInput) SetPrincipal ¶
func (s *GetResourceShareAssociationsInput) SetPrincipal(v string) *GetResourceShareAssociationsInput
SetPrincipal sets the Principal field's value.
func (*GetResourceShareAssociationsInput) SetResourceArn ¶
func (s *GetResourceShareAssociationsInput) SetResourceArn(v string) *GetResourceShareAssociationsInput
SetResourceArn sets the ResourceArn field's value.
func (*GetResourceShareAssociationsInput) SetResourceShareArns ¶
func (s *GetResourceShareAssociationsInput) SetResourceShareArns(v []*string) *GetResourceShareAssociationsInput
SetResourceShareArns sets the ResourceShareArns field's value.
func (GetResourceShareAssociationsInput) String ¶
func (s GetResourceShareAssociationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetResourceShareAssociationsInput) Validate ¶
func (s *GetResourceShareAssociationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetResourceShareAssociationsOutput ¶
type GetResourceShareAssociationsOutput struct { // 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. This indicates that this is the last page of results. NextToken *string `locationName:"nextToken" type:"string"` ResourceShareAssociations []*ResourceShareAssociation `locationName:"resourceShareAssociations" type:"list"` // contains filtered or unexported fields }
func (GetResourceShareAssociationsOutput) GoString ¶
func (s GetResourceShareAssociationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetResourceShareAssociationsOutput) SetNextToken ¶
func (s *GetResourceShareAssociationsOutput) SetNextToken(v string) *GetResourceShareAssociationsOutput
SetNextToken sets the NextToken field's value.
func (*GetResourceShareAssociationsOutput) SetResourceShareAssociations ¶
func (s *GetResourceShareAssociationsOutput) SetResourceShareAssociations(v []*ResourceShareAssociation) *GetResourceShareAssociationsOutput
SetResourceShareAssociations sets the ResourceShareAssociations field's value.
func (GetResourceShareAssociationsOutput) String ¶
func (s GetResourceShareAssociationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetResourceShareInvitationsInput ¶
type GetResourceShareInvitationsInput struct { // 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 number // you specify, the NextToken response element is returned with a value (not // null). Include the specified 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 *int64 `locationName:"maxResults" min:"1" type:"integer"` // you received a NextToken response in the previous request. If you did, it // indicates that more output is available. Set this parameter to the value // provided by the previous call's NextToken response to request the next page // of results. NextToken *string `locationName:"nextToken" type:"string"` // described by this list of Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) ResourceShareArns []*string `locationName:"resourceShareArns" type:"list"` // of the resource share invitations you want information about. ResourceShareInvitationArns []*string `locationName:"resourceShareInvitationArns" type:"list"` // contains filtered or unexported fields }
func (GetResourceShareInvitationsInput) GoString ¶
func (s GetResourceShareInvitationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetResourceShareInvitationsInput) SetMaxResults ¶
func (s *GetResourceShareInvitationsInput) SetMaxResults(v int64) *GetResourceShareInvitationsInput
SetMaxResults sets the MaxResults field's value.
func (*GetResourceShareInvitationsInput) SetNextToken ¶
func (s *GetResourceShareInvitationsInput) SetNextToken(v string) *GetResourceShareInvitationsInput
SetNextToken sets the NextToken field's value.
func (*GetResourceShareInvitationsInput) SetResourceShareArns ¶
func (s *GetResourceShareInvitationsInput) SetResourceShareArns(v []*string) *GetResourceShareInvitationsInput
SetResourceShareArns sets the ResourceShareArns field's value.
func (*GetResourceShareInvitationsInput) SetResourceShareInvitationArns ¶
func (s *GetResourceShareInvitationsInput) SetResourceShareInvitationArns(v []*string) *GetResourceShareInvitationsInput
SetResourceShareInvitationArns sets the ResourceShareInvitationArns field's value.
func (GetResourceShareInvitationsInput) String ¶
func (s GetResourceShareInvitationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetResourceShareInvitationsInput) Validate ¶
func (s *GetResourceShareInvitationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetResourceShareInvitationsOutput ¶
type GetResourceShareInvitationsOutput struct { // 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. This indicates that this is the last page of results. NextToken *string `locationName:"nextToken" type:"string"` ResourceShareInvitations []*ResourceShareInvitation `locationName:"resourceShareInvitations" type:"list"` // contains filtered or unexported fields }
func (GetResourceShareInvitationsOutput) GoString ¶
func (s GetResourceShareInvitationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetResourceShareInvitationsOutput) SetNextToken ¶
func (s *GetResourceShareInvitationsOutput) SetNextToken(v string) *GetResourceShareInvitationsOutput
SetNextToken sets the NextToken field's value.
func (*GetResourceShareInvitationsOutput) SetResourceShareInvitations ¶
func (s *GetResourceShareInvitationsOutput) SetResourceShareInvitations(v []*ResourceShareInvitation) *GetResourceShareInvitationsOutput
SetResourceShareInvitations sets the ResourceShareInvitations field's value.
func (GetResourceShareInvitationsOutput) String ¶
func (s GetResourceShareInvitationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetResourceSharesInput ¶
type GetResourceSharesInput struct { // 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 number // you specify, the NextToken response element is returned with a value (not // null). Include the specified 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 *int64 `locationName:"maxResults" min:"1" type:"integer"` // details about. Name *string `locationName:"name" type:"string"` // you received a NextToken response in the previous request. If you did, it // indicates that more output is available. Set this parameter to the value // provided by the previous call's NextToken response to request the next page // of results. NextToken *string `locationName:"nextToken" type:"string"` // that use the RAM permission with this Amazon Resoure Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). PermissionArn *string `locationName:"permissionArn" type:"string"` // that match the following: // // * SELF – resource shares that your account shares with other accounts // // * OTHER-ACCOUNTS – resource shares that other accounts share with your // account // // ResourceOwner is a required field ResourceOwner *string `locationName:"resourceOwner" type:"string" required:"true" enum:"ResourceOwner"` // of individual resource shares that you want information about. ResourceShareArns []*string `locationName:"resourceShareArns" type:"list"` // that have this status. ResourceShareStatus *string `locationName:"resourceShareStatus" type:"string" enum:"ResourceShareStatus"` // that match the specified tag keys and values. TagFilters []*TagFilter `locationName:"tagFilters" type:"list"` // contains filtered or unexported fields }
func (GetResourceSharesInput) GoString ¶
func (s GetResourceSharesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetResourceSharesInput) SetMaxResults ¶
func (s *GetResourceSharesInput) SetMaxResults(v int64) *GetResourceSharesInput
SetMaxResults sets the MaxResults field's value.
func (*GetResourceSharesInput) SetName ¶
func (s *GetResourceSharesInput) SetName(v string) *GetResourceSharesInput
SetName sets the Name field's value.
func (*GetResourceSharesInput) SetNextToken ¶
func (s *GetResourceSharesInput) SetNextToken(v string) *GetResourceSharesInput
SetNextToken sets the NextToken field's value.
func (*GetResourceSharesInput) SetPermissionArn ¶ added in v1.38.59
func (s *GetResourceSharesInput) SetPermissionArn(v string) *GetResourceSharesInput
SetPermissionArn sets the PermissionArn field's value.
func (*GetResourceSharesInput) SetResourceOwner ¶
func (s *GetResourceSharesInput) SetResourceOwner(v string) *GetResourceSharesInput
SetResourceOwner sets the ResourceOwner field's value.
func (*GetResourceSharesInput) SetResourceShareArns ¶
func (s *GetResourceSharesInput) SetResourceShareArns(v []*string) *GetResourceSharesInput
SetResourceShareArns sets the ResourceShareArns field's value.
func (*GetResourceSharesInput) SetResourceShareStatus ¶
func (s *GetResourceSharesInput) SetResourceShareStatus(v string) *GetResourceSharesInput
SetResourceShareStatus sets the ResourceShareStatus field's value.
func (*GetResourceSharesInput) SetTagFilters ¶
func (s *GetResourceSharesInput) SetTagFilters(v []*TagFilter) *GetResourceSharesInput
SetTagFilters sets the TagFilters field's value.
func (GetResourceSharesInput) String ¶
func (s GetResourceSharesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetResourceSharesInput) Validate ¶
func (s *GetResourceSharesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetResourceSharesOutput ¶
type GetResourceSharesOutput struct { // 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. This indicates that this is the last page of results. NextToken *string `locationName:"nextToken" type:"string"` ResourceShares []*ResourceShare `locationName:"resourceShares" type:"list"` // contains filtered or unexported fields }
func (GetResourceSharesOutput) GoString ¶
func (s GetResourceSharesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetResourceSharesOutput) SetNextToken ¶
func (s *GetResourceSharesOutput) SetNextToken(v string) *GetResourceSharesOutput
SetNextToken sets the NextToken field's value.
func (*GetResourceSharesOutput) SetResourceShares ¶
func (s *GetResourceSharesOutput) SetResourceShares(v []*ResourceShare) *GetResourceSharesOutput
SetResourceShares sets the ResourceShares field's value.
func (GetResourceSharesOutput) String ¶
func (s GetResourceSharesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type IdempotentParameterMismatchException ¶ added in v1.28.0
type IdempotentParameterMismatchException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The client token input parameter was matched one used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.
func (*IdempotentParameterMismatchException) Code ¶ added in v1.28.0
func (s *IdempotentParameterMismatchException) Code() string
Code returns the exception type name.
func (*IdempotentParameterMismatchException) Error ¶ added in v1.28.0
func (s *IdempotentParameterMismatchException) Error() string
func (IdempotentParameterMismatchException) GoString ¶ added in v1.28.0
func (s IdempotentParameterMismatchException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*IdempotentParameterMismatchException) Message ¶ added in v1.28.0
func (s *IdempotentParameterMismatchException) Message() string
Message returns the exception's message.
func (*IdempotentParameterMismatchException) OrigErr ¶ added in v1.28.0
func (s *IdempotentParameterMismatchException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*IdempotentParameterMismatchException) RequestID ¶ added in v1.28.0
func (s *IdempotentParameterMismatchException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*IdempotentParameterMismatchException) StatusCode ¶ added in v1.28.0
func (s *IdempotentParameterMismatchException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (IdempotentParameterMismatchException) String ¶ added in v1.28.0
func (s IdempotentParameterMismatchException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidClientTokenException ¶ added in v1.28.0
type InvalidClientTokenException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The client token is not valid.
func (*InvalidClientTokenException) Code ¶ added in v1.28.0
func (s *InvalidClientTokenException) Code() string
Code returns the exception type name.
func (*InvalidClientTokenException) Error ¶ added in v1.28.0
func (s *InvalidClientTokenException) Error() string
func (InvalidClientTokenException) GoString ¶ added in v1.28.0
func (s InvalidClientTokenException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidClientTokenException) Message ¶ added in v1.28.0
func (s *InvalidClientTokenException) Message() string
Message returns the exception's message.
func (*InvalidClientTokenException) OrigErr ¶ added in v1.28.0
func (s *InvalidClientTokenException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidClientTokenException) RequestID ¶ added in v1.28.0
func (s *InvalidClientTokenException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidClientTokenException) StatusCode ¶ added in v1.28.0
func (s *InvalidClientTokenException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidClientTokenException) String ¶ added in v1.28.0
func (s InvalidClientTokenException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidMaxResultsException ¶ added in v1.28.0
type InvalidMaxResultsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The specified value for MaxResults is not valid.
func (*InvalidMaxResultsException) Code ¶ added in v1.28.0
func (s *InvalidMaxResultsException) Code() string
Code returns the exception type name.
func (*InvalidMaxResultsException) Error ¶ added in v1.28.0
func (s *InvalidMaxResultsException) Error() string
func (InvalidMaxResultsException) GoString ¶ added in v1.28.0
func (s InvalidMaxResultsException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidMaxResultsException) Message ¶ added in v1.28.0
func (s *InvalidMaxResultsException) Message() string
Message returns the exception's message.
func (*InvalidMaxResultsException) OrigErr ¶ added in v1.28.0
func (s *InvalidMaxResultsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidMaxResultsException) RequestID ¶ added in v1.28.0
func (s *InvalidMaxResultsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidMaxResultsException) StatusCode ¶ added in v1.28.0
func (s *InvalidMaxResultsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidMaxResultsException) String ¶ added in v1.28.0
func (s InvalidMaxResultsException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidNextTokenException ¶ added in v1.28.0
type InvalidNextTokenException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The specified value for NextToken is not valid.
func (*InvalidNextTokenException) Code ¶ added in v1.28.0
func (s *InvalidNextTokenException) Code() string
Code returns the exception type name.
func (*InvalidNextTokenException) Error ¶ added in v1.28.0
func (s *InvalidNextTokenException) Error() string
func (InvalidNextTokenException) GoString ¶ added in v1.28.0
func (s InvalidNextTokenException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidNextTokenException) Message ¶ added in v1.28.0
func (s *InvalidNextTokenException) Message() string
Message returns the exception's message.
func (*InvalidNextTokenException) OrigErr ¶ added in v1.28.0
func (s *InvalidNextTokenException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidNextTokenException) RequestID ¶ added in v1.28.0
func (s *InvalidNextTokenException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidNextTokenException) StatusCode ¶ added in v1.28.0
func (s *InvalidNextTokenException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidNextTokenException) String ¶ added in v1.28.0
func (s InvalidNextTokenException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidParameterException ¶ added in v1.28.0
type InvalidParameterException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
A parameter is not valid.
func (*InvalidParameterException) Code ¶ added in v1.28.0
func (s *InvalidParameterException) Code() string
Code returns the exception type name.
func (*InvalidParameterException) Error ¶ added in v1.28.0
func (s *InvalidParameterException) Error() string
func (InvalidParameterException) GoString ¶ added in v1.28.0
func (s InvalidParameterException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidParameterException) Message ¶ added in v1.28.0
func (s *InvalidParameterException) Message() string
Message returns the exception's message.
func (*InvalidParameterException) OrigErr ¶ added in v1.28.0
func (s *InvalidParameterException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidParameterException) RequestID ¶ added in v1.28.0
func (s *InvalidParameterException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidParameterException) StatusCode ¶ added in v1.28.0
func (s *InvalidParameterException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidParameterException) String ¶ added in v1.28.0
func (s InvalidParameterException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidResourceTypeException ¶ added in v1.28.0
type InvalidResourceTypeException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The specified resource type is not valid.
func (*InvalidResourceTypeException) Code ¶ added in v1.28.0
func (s *InvalidResourceTypeException) Code() string
Code returns the exception type name.
func (*InvalidResourceTypeException) Error ¶ added in v1.28.0
func (s *InvalidResourceTypeException) Error() string
func (InvalidResourceTypeException) GoString ¶ added in v1.28.0
func (s InvalidResourceTypeException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidResourceTypeException) Message ¶ added in v1.28.0
func (s *InvalidResourceTypeException) Message() string
Message returns the exception's message.
func (*InvalidResourceTypeException) OrigErr ¶ added in v1.28.0
func (s *InvalidResourceTypeException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidResourceTypeException) RequestID ¶ added in v1.28.0
func (s *InvalidResourceTypeException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidResourceTypeException) StatusCode ¶ added in v1.28.0
func (s *InvalidResourceTypeException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidResourceTypeException) String ¶ added in v1.28.0
func (s InvalidResourceTypeException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidStateTransitionException ¶ added in v1.28.0
type InvalidStateTransitionException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The requested state transition is not valid.
func (*InvalidStateTransitionException) Code ¶ added in v1.28.0
func (s *InvalidStateTransitionException) Code() string
Code returns the exception type name.
func (*InvalidStateTransitionException) Error ¶ added in v1.28.0
func (s *InvalidStateTransitionException) Error() string
func (InvalidStateTransitionException) GoString ¶ added in v1.28.0
func (s InvalidStateTransitionException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidStateTransitionException) Message ¶ added in v1.28.0
func (s *InvalidStateTransitionException) Message() string
Message returns the exception's message.
func (*InvalidStateTransitionException) OrigErr ¶ added in v1.28.0
func (s *InvalidStateTransitionException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidStateTransitionException) RequestID ¶ added in v1.28.0
func (s *InvalidStateTransitionException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidStateTransitionException) StatusCode ¶ added in v1.28.0
func (s *InvalidStateTransitionException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidStateTransitionException) String ¶ added in v1.28.0
func (s InvalidStateTransitionException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListPendingInvitationResourcesInput ¶ added in v1.24.1
type ListPendingInvitationResourcesInput struct { // Specifies 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 number // you specify, the NextToken response element is returned with a value (not // null). Include the specified 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 *int64 `locationName:"maxResults" min:"1" type:"integer"` // Specifies that you want to receive the next page of results. Valid only if // you received a NextToken response in the previous request. If you did, it // indicates that more output is available. Set this parameter to the value // provided by the previous call's NextToken response to request the next page // of results. NextToken *string `locationName:"nextToken" type:"string"` // Specifies that you want the results to include only resources that have the // specified scope. // // * ALL – the results include both global and regional resources or resource // types. // // * GLOBAL – the results include only global resources or resource types. // // * REGIONAL – the results include only regional resources or resource // types. // // The default value is ALL. ResourceRegionScope *string `locationName:"resourceRegionScope" type:"string" enum:"ResourceRegionScopeFilter"` // of the invitation. You can use GetResourceShareInvitations to find the ARN // of the invitation. // // ResourceShareInvitationArn is a required field ResourceShareInvitationArn *string `locationName:"resourceShareInvitationArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListPendingInvitationResourcesInput) GoString ¶ added in v1.24.1
func (s ListPendingInvitationResourcesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListPendingInvitationResourcesInput) SetMaxResults ¶ added in v1.24.1
func (s *ListPendingInvitationResourcesInput) SetMaxResults(v int64) *ListPendingInvitationResourcesInput
SetMaxResults sets the MaxResults field's value.
func (*ListPendingInvitationResourcesInput) SetNextToken ¶ added in v1.24.1
func (s *ListPendingInvitationResourcesInput) SetNextToken(v string) *ListPendingInvitationResourcesInput
SetNextToken sets the NextToken field's value.
func (*ListPendingInvitationResourcesInput) SetResourceRegionScope ¶ added in v1.42.18
func (s *ListPendingInvitationResourcesInput) SetResourceRegionScope(v string) *ListPendingInvitationResourcesInput
SetResourceRegionScope sets the ResourceRegionScope field's value.
func (*ListPendingInvitationResourcesInput) SetResourceShareInvitationArn ¶ added in v1.24.1
func (s *ListPendingInvitationResourcesInput) SetResourceShareInvitationArn(v string) *ListPendingInvitationResourcesInput
SetResourceShareInvitationArn sets the ResourceShareInvitationArn field's value.
func (ListPendingInvitationResourcesInput) String ¶ added in v1.24.1
func (s ListPendingInvitationResourcesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListPendingInvitationResourcesInput) Validate ¶ added in v1.24.1
func (s *ListPendingInvitationResourcesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListPendingInvitationResourcesOutput ¶ added in v1.24.1
type ListPendingInvitationResourcesOutput struct { // If present, this value 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. This indicates that this is the last page of results. NextToken *string `locationName:"nextToken" type:"string"` // An array of objects that contain the information about the resources included // the specified resource share. Resources []*Resource `locationName:"resources" type:"list"` // contains filtered or unexported fields }
func (ListPendingInvitationResourcesOutput) GoString ¶ added in v1.24.1
func (s ListPendingInvitationResourcesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListPendingInvitationResourcesOutput) SetNextToken ¶ added in v1.24.1
func (s *ListPendingInvitationResourcesOutput) SetNextToken(v string) *ListPendingInvitationResourcesOutput
SetNextToken sets the NextToken field's value.
func (*ListPendingInvitationResourcesOutput) SetResources ¶ added in v1.24.1
func (s *ListPendingInvitationResourcesOutput) SetResources(v []*Resource) *ListPendingInvitationResourcesOutput
SetResources sets the Resources field's value.
func (ListPendingInvitationResourcesOutput) String ¶ added in v1.24.1
func (s ListPendingInvitationResourcesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListPermissionVersionsInput ¶ added in v1.42.35
type ListPermissionVersionsInput struct { // Specifies 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 number // you specify, the NextToken response element is returned with a value (not // null). Include the specified 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 *int64 `locationName:"maxResults" min:"1" type:"integer"` // Specifies that you want to receive the next page of results. Valid only if // you received a NextToken response in the previous request. If you did, it // indicates that more output is available. Set this parameter to the value // provided by the previous call's NextToken response to request the next page // of results. NextToken *string `locationName:"nextToken" type:"string"` // Specifies the Amazon Resoure Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // of the RAM permission whose versions you want to list. You can use the permissionVersion // parameter on the AssociateResourceSharePermission operation to specify a // non-default version to attach. // // PermissionArn is a required field PermissionArn *string `locationName:"permissionArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListPermissionVersionsInput) GoString ¶ added in v1.42.35
func (s ListPermissionVersionsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListPermissionVersionsInput) SetMaxResults ¶ added in v1.42.35
func (s *ListPermissionVersionsInput) SetMaxResults(v int64) *ListPermissionVersionsInput
SetMaxResults sets the MaxResults field's value.
func (*ListPermissionVersionsInput) SetNextToken ¶ added in v1.42.35
func (s *ListPermissionVersionsInput) SetNextToken(v string) *ListPermissionVersionsInput
SetNextToken sets the NextToken field's value.
func (*ListPermissionVersionsInput) SetPermissionArn ¶ added in v1.42.35
func (s *ListPermissionVersionsInput) SetPermissionArn(v string) *ListPermissionVersionsInput
SetPermissionArn sets the PermissionArn field's value.
func (ListPermissionVersionsInput) String ¶ added in v1.42.35
func (s ListPermissionVersionsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListPermissionVersionsInput) Validate ¶ added in v1.42.35
func (s *ListPermissionVersionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListPermissionVersionsOutput ¶ added in v1.42.35
type ListPermissionVersionsOutput struct { // If present, this value 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. This indicates that this is the last page of results. NextToken *string `locationName:"nextToken" type:"string"` // An array of objects that contain details for each of the available versions. Permissions []*ResourceSharePermissionSummary `locationName:"permissions" type:"list"` // contains filtered or unexported fields }
func (ListPermissionVersionsOutput) GoString ¶ added in v1.42.35
func (s ListPermissionVersionsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListPermissionVersionsOutput) SetNextToken ¶ added in v1.42.35
func (s *ListPermissionVersionsOutput) SetNextToken(v string) *ListPermissionVersionsOutput
SetNextToken sets the NextToken field's value.
func (*ListPermissionVersionsOutput) SetPermissions ¶ added in v1.42.35
func (s *ListPermissionVersionsOutput) SetPermissions(v []*ResourceSharePermissionSummary) *ListPermissionVersionsOutput
SetPermissions sets the Permissions field's value.
func (ListPermissionVersionsOutput) String ¶ added in v1.42.35
func (s ListPermissionVersionsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListPermissionsInput ¶ added in v1.25.42
type ListPermissionsInput struct { // Specifies 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 number // you specify, the NextToken response element is returned with a value (not // null). Include the specified 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 *int64 `locationName:"maxResults" min:"1" type:"integer"` // Specifies that you want to receive the next page of results. Valid only if // you received a NextToken response in the previous request. If you did, it // indicates that more output is available. Set this parameter to the value // provided by the previous call's NextToken response to request the next page // of results. NextToken *string `locationName:"nextToken" type:"string"` // Specifies that you want to list permissions for only the specified resource // type. For example, to list only permissions that apply to EC2 subnets, specify // ec2:Subnet. You can use the ListResourceTypes operation to get the specific // string required. ResourceType *string `locationName:"resourceType" type:"string"` // contains filtered or unexported fields }
func (ListPermissionsInput) GoString ¶ added in v1.25.42
func (s ListPermissionsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListPermissionsInput) SetMaxResults ¶ added in v1.25.42
func (s *ListPermissionsInput) SetMaxResults(v int64) *ListPermissionsInput
SetMaxResults sets the MaxResults field's value.
func (*ListPermissionsInput) SetNextToken ¶ added in v1.25.42
func (s *ListPermissionsInput) SetNextToken(v string) *ListPermissionsInput
SetNextToken sets the NextToken field's value.
func (*ListPermissionsInput) SetResourceType ¶ added in v1.25.42
func (s *ListPermissionsInput) SetResourceType(v string) *ListPermissionsInput
SetResourceType sets the ResourceType field's value.
func (ListPermissionsInput) String ¶ added in v1.25.42
func (s ListPermissionsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListPermissionsInput) Validate ¶ added in v1.25.42
func (s *ListPermissionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListPermissionsOutput ¶ added in v1.25.42
type ListPermissionsOutput struct { // If present, this value 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. This indicates that this is the last page of results. NextToken *string `locationName:"nextToken" type:"string"` // An array of objects with information about the permissions. Permissions []*ResourceSharePermissionSummary `locationName:"permissions" type:"list"` // contains filtered or unexported fields }
func (ListPermissionsOutput) GoString ¶ added in v1.25.42
func (s ListPermissionsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListPermissionsOutput) SetNextToken ¶ added in v1.25.42
func (s *ListPermissionsOutput) SetNextToken(v string) *ListPermissionsOutput
SetNextToken sets the NextToken field's value.
func (*ListPermissionsOutput) SetPermissions ¶ added in v1.25.42
func (s *ListPermissionsOutput) SetPermissions(v []*ResourceSharePermissionSummary) *ListPermissionsOutput
SetPermissions sets the Permissions field's value.
func (ListPermissionsOutput) String ¶ added in v1.25.42
func (s ListPermissionsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListPrincipalsInput ¶
type ListPrincipalsInput struct { // Specifies 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 number // you specify, the NextToken response element is returned with a value (not // null). Include the specified 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 *int64 `locationName:"maxResults" min:"1" type:"integer"` // Specifies that you want to receive the next page of results. Valid only if // you received a NextToken response in the previous request. If you did, it // indicates that more output is available. Set this parameter to the value // provided by the previous call's NextToken response to request the next page // of results. NextToken *string `locationName:"nextToken" type:"string"` // Specifies that you want to list information for only the listed principals. // // You can include the following values: // // * An Amazon Web Services account ID, for example: 123456789012 // // * An Amazon Resoure Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // of an organization in Organizations, for example: organizations::123456789012:organization/o-exampleorgid // // * An ARN of an organizational unit (OU) in Organizations, for example: // organizations::123456789012:ou/o-exampleorgid/ou-examplerootid-exampleouid123 // // * An ARN of an IAM role, for example: iam::123456789012:role/rolename // // * An ARN of an IAM user, for example: iam::123456789012user/username // // Not all resource types can be shared with IAM roles and users. For more information, // see Sharing with IAM roles and users (https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types) // in the Resource Access Manager User Guide. Principals []*string `locationName:"principals" type:"list"` // Specifies that you want to list principal information for the resource share // with the specified Amazon Resoure Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). ResourceArn *string `locationName:"resourceArn" type:"string"` // Specifies that you want to list information for only resource shares that // match the following: // // * SELF – principals that your account is sharing resources with // // * OTHER-ACCOUNTS – principals that are sharing resources with your account // // ResourceOwner is a required field ResourceOwner *string `locationName:"resourceOwner" type:"string" required:"true" enum:"ResourceOwner"` // with the resource shares specified by a list the Amazon Resource Names (ARNs) // (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). ResourceShareArns []*string `locationName:"resourceShareArns" type:"list"` // Specifies that you want to list information for only principals associated // with resource shares that include the specified resource type. // // For a list of valid values, query the ListResourceTypes operation. ResourceType *string `locationName:"resourceType" type:"string"` // contains filtered or unexported fields }
func (ListPrincipalsInput) GoString ¶
func (s ListPrincipalsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListPrincipalsInput) SetMaxResults ¶
func (s *ListPrincipalsInput) SetMaxResults(v int64) *ListPrincipalsInput
SetMaxResults sets the MaxResults field's value.
func (*ListPrincipalsInput) SetNextToken ¶
func (s *ListPrincipalsInput) SetNextToken(v string) *ListPrincipalsInput
SetNextToken sets the NextToken field's value.
func (*ListPrincipalsInput) SetPrincipals ¶
func (s *ListPrincipalsInput) SetPrincipals(v []*string) *ListPrincipalsInput
SetPrincipals sets the Principals field's value.
func (*ListPrincipalsInput) SetResourceArn ¶
func (s *ListPrincipalsInput) SetResourceArn(v string) *ListPrincipalsInput
SetResourceArn sets the ResourceArn field's value.
func (*ListPrincipalsInput) SetResourceOwner ¶
func (s *ListPrincipalsInput) SetResourceOwner(v string) *ListPrincipalsInput
SetResourceOwner sets the ResourceOwner field's value.
func (*ListPrincipalsInput) SetResourceShareArns ¶
func (s *ListPrincipalsInput) SetResourceShareArns(v []*string) *ListPrincipalsInput
SetResourceShareArns sets the ResourceShareArns field's value.
func (*ListPrincipalsInput) SetResourceType ¶
func (s *ListPrincipalsInput) SetResourceType(v string) *ListPrincipalsInput
SetResourceType sets the ResourceType field's value.
func (ListPrincipalsInput) String ¶
func (s ListPrincipalsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListPrincipalsInput) Validate ¶
func (s *ListPrincipalsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListPrincipalsOutput ¶
type ListPrincipalsOutput struct { // If present, this value 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. This indicates that this is the last page of results. NextToken *string `locationName:"nextToken" type:"string"` // An array of objects that contain the details about the principals. Principals []*Principal `locationName:"principals" type:"list"` // contains filtered or unexported fields }
func (ListPrincipalsOutput) GoString ¶
func (s ListPrincipalsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListPrincipalsOutput) SetNextToken ¶
func (s *ListPrincipalsOutput) SetNextToken(v string) *ListPrincipalsOutput
SetNextToken sets the NextToken field's value.
func (*ListPrincipalsOutput) SetPrincipals ¶
func (s *ListPrincipalsOutput) SetPrincipals(v []*Principal) *ListPrincipalsOutput
SetPrincipals sets the Principals field's value.
func (ListPrincipalsOutput) String ¶
func (s ListPrincipalsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListResourceSharePermissionsInput ¶ added in v1.25.42
type ListResourceSharePermissionsInput struct { // 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 number // you specify, the NextToken response element is returned with a value (not // null). Include the specified 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 *int64 `locationName:"maxResults" min:"1" type:"integer"` // you received a NextToken response in the previous request. If you did, it // indicates that more output is available. Set this parameter to the value // provided by the previous call's NextToken response to request the next page // of results. NextToken *string `locationName:"nextToken" type:"string"` // of the resource share for which you want to retrieve the associated permissions. // // ResourceShareArn is a required field ResourceShareArn *string `locationName:"resourceShareArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListResourceSharePermissionsInput) GoString ¶ added in v1.25.42
func (s ListResourceSharePermissionsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListResourceSharePermissionsInput) SetMaxResults ¶ added in v1.25.42
func (s *ListResourceSharePermissionsInput) SetMaxResults(v int64) *ListResourceSharePermissionsInput
SetMaxResults sets the MaxResults field's value.
func (*ListResourceSharePermissionsInput) SetNextToken ¶ added in v1.25.42
func (s *ListResourceSharePermissionsInput) SetNextToken(v string) *ListResourceSharePermissionsInput
SetNextToken sets the NextToken field's value.
func (*ListResourceSharePermissionsInput) SetResourceShareArn ¶ added in v1.25.42
func (s *ListResourceSharePermissionsInput) SetResourceShareArn(v string) *ListResourceSharePermissionsInput
SetResourceShareArn sets the ResourceShareArn field's value.
func (ListResourceSharePermissionsInput) String ¶ added in v1.25.42
func (s ListResourceSharePermissionsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListResourceSharePermissionsInput) Validate ¶ added in v1.25.42
func (s *ListResourceSharePermissionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListResourceSharePermissionsOutput ¶ added in v1.25.42
type ListResourceSharePermissionsOutput struct { // 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. This indicates that this is the last page of results. NextToken *string `locationName:"nextToken" type:"string"` // share. Permissions []*ResourceSharePermissionSummary `locationName:"permissions" type:"list"` // contains filtered or unexported fields }
func (ListResourceSharePermissionsOutput) GoString ¶ added in v1.25.42
func (s ListResourceSharePermissionsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListResourceSharePermissionsOutput) SetNextToken ¶ added in v1.25.42
func (s *ListResourceSharePermissionsOutput) SetNextToken(v string) *ListResourceSharePermissionsOutput
SetNextToken sets the NextToken field's value.
func (*ListResourceSharePermissionsOutput) SetPermissions ¶ added in v1.25.42
func (s *ListResourceSharePermissionsOutput) SetPermissions(v []*ResourceSharePermissionSummary) *ListResourceSharePermissionsOutput
SetPermissions sets the Permissions field's value.
func (ListResourceSharePermissionsOutput) String ¶ added in v1.25.42
func (s ListResourceSharePermissionsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListResourceTypesInput ¶ added in v1.30.13
type ListResourceTypesInput struct { // Specifies 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 number // you specify, the NextToken response element is returned with a value (not // null). Include the specified 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 *int64 `locationName:"maxResults" min:"1" type:"integer"` // Specifies that you want to receive the next page of results. Valid only if // you received a NextToken response in the previous request. If you did, it // indicates that more output is available. Set this parameter to the value // provided by the previous call's NextToken response to request the next page // of results. NextToken *string `locationName:"nextToken" type:"string"` // Specifies that you want the results to include only resources that have the // specified scope. // // * ALL – the results include both global and regional resources or resource // types. // // * GLOBAL – the results include only global resources or resource types. // // * REGIONAL – the results include only regional resources or resource // types. // // The default value is ALL. ResourceRegionScope *string `locationName:"resourceRegionScope" type:"string" enum:"ResourceRegionScopeFilter"` // contains filtered or unexported fields }
func (ListResourceTypesInput) GoString ¶ added in v1.30.13
func (s ListResourceTypesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListResourceTypesInput) SetMaxResults ¶ added in v1.30.13
func (s *ListResourceTypesInput) SetMaxResults(v int64) *ListResourceTypesInput
SetMaxResults sets the MaxResults field's value.
func (*ListResourceTypesInput) SetNextToken ¶ added in v1.30.13
func (s *ListResourceTypesInput) SetNextToken(v string) *ListResourceTypesInput
SetNextToken sets the NextToken field's value.
func (*ListResourceTypesInput) SetResourceRegionScope ¶ added in v1.42.18
func (s *ListResourceTypesInput) SetResourceRegionScope(v string) *ListResourceTypesInput
SetResourceRegionScope sets the ResourceRegionScope field's value.
func (ListResourceTypesInput) String ¶ added in v1.30.13
func (s ListResourceTypesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListResourceTypesInput) Validate ¶ added in v1.30.13
func (s *ListResourceTypesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListResourceTypesOutput ¶ added in v1.30.13
type ListResourceTypesOutput struct { // If present, this value 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. This indicates that this is the last page of results. NextToken *string `locationName:"nextToken" type:"string"` // An array of objects that contain information about the resource types that // can be shared using RAM. ResourceTypes []*ServiceNameAndResourceType `locationName:"resourceTypes" type:"list"` // contains filtered or unexported fields }
func (ListResourceTypesOutput) GoString ¶ added in v1.30.13
func (s ListResourceTypesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListResourceTypesOutput) SetNextToken ¶ added in v1.30.13
func (s *ListResourceTypesOutput) SetNextToken(v string) *ListResourceTypesOutput
SetNextToken sets the NextToken field's value.
func (*ListResourceTypesOutput) SetResourceTypes ¶ added in v1.30.13
func (s *ListResourceTypesOutput) SetResourceTypes(v []*ServiceNameAndResourceType) *ListResourceTypesOutput
SetResourceTypes sets the ResourceTypes field's value.
func (ListResourceTypesOutput) String ¶ added in v1.30.13
func (s ListResourceTypesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListResourcesInput ¶
type ListResourcesInput struct { // Specifies 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 number // you specify, the NextToken response element is returned with a value (not // null). Include the specified 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 *int64 `locationName:"maxResults" min:"1" type:"integer"` // Specifies that you want to receive the next page of results. Valid only if // you received a NextToken response in the previous request. If you did, it // indicates that more output is available. Set this parameter to the value // provided by the previous call's NextToken response to request the next page // of results. NextToken *string `locationName:"nextToken" type:"string"` // Specifies that you want to list only the resource shares that are associated // with the specified principal. Principal *string `locationName:"principal" type:"string"` // Specifies that you want to list only the resource shares that include resources // with the specified Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). ResourceArns []*string `locationName:"resourceArns" type:"list"` // Specifies that you want to list only the resource shares that match the following: // // * SELF – resources that your account shares with other accounts // // * OTHER-ACCOUNTS – resources that other accounts share with your account // // ResourceOwner is a required field ResourceOwner *string `locationName:"resourceOwner" type:"string" required:"true" enum:"ResourceOwner"` // Specifies that you want the results to include only resources that have the // specified scope. // // * ALL – the results include both global and regional resources or resource // types. // // * GLOBAL – the results include only global resources or resource types. // // * REGIONAL – the results include only regional resources or resource // types. // // The default value is ALL. ResourceRegionScope *string `locationName:"resourceRegionScope" type:"string" enum:"ResourceRegionScopeFilter"` // by the specified Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). ResourceShareArns []*string `locationName:"resourceShareArns" type:"list"` // Specifies that you want to list only the resource shares that include resources // of the specified resource type. // // For valid values, query the ListResourceTypes operation. ResourceType *string `locationName:"resourceType" type:"string"` // contains filtered or unexported fields }
func (ListResourcesInput) GoString ¶
func (s ListResourcesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListResourcesInput) SetMaxResults ¶
func (s *ListResourcesInput) SetMaxResults(v int64) *ListResourcesInput
SetMaxResults sets the MaxResults field's value.
func (*ListResourcesInput) SetNextToken ¶
func (s *ListResourcesInput) SetNextToken(v string) *ListResourcesInput
SetNextToken sets the NextToken field's value.
func (*ListResourcesInput) SetPrincipal ¶
func (s *ListResourcesInput) SetPrincipal(v string) *ListResourcesInput
SetPrincipal sets the Principal field's value.
func (*ListResourcesInput) SetResourceArns ¶
func (s *ListResourcesInput) SetResourceArns(v []*string) *ListResourcesInput
SetResourceArns sets the ResourceArns field's value.
func (*ListResourcesInput) SetResourceOwner ¶
func (s *ListResourcesInput) SetResourceOwner(v string) *ListResourcesInput
SetResourceOwner sets the ResourceOwner field's value.
func (*ListResourcesInput) SetResourceRegionScope ¶ added in v1.42.18
func (s *ListResourcesInput) SetResourceRegionScope(v string) *ListResourcesInput
SetResourceRegionScope sets the ResourceRegionScope field's value.
func (*ListResourcesInput) SetResourceShareArns ¶
func (s *ListResourcesInput) SetResourceShareArns(v []*string) *ListResourcesInput
SetResourceShareArns sets the ResourceShareArns field's value.
func (*ListResourcesInput) SetResourceType ¶
func (s *ListResourcesInput) SetResourceType(v string) *ListResourcesInput
SetResourceType sets the ResourceType field's value.
func (ListResourcesInput) String ¶
func (s ListResourcesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListResourcesInput) Validate ¶
func (s *ListResourcesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListResourcesOutput ¶
type ListResourcesOutput struct { // If present, this value 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. This indicates that this is the last page of results. NextToken *string `locationName:"nextToken" type:"string"` // An array of objects that contain information about the resources. Resources []*Resource `locationName:"resources" type:"list"` // contains filtered or unexported fields }
func (ListResourcesOutput) GoString ¶
func (s ListResourcesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListResourcesOutput) SetNextToken ¶
func (s *ListResourcesOutput) SetNextToken(v string) *ListResourcesOutput
SetNextToken sets the NextToken field's value.
func (*ListResourcesOutput) SetResources ¶
func (s *ListResourcesOutput) SetResources(v []*Resource) *ListResourcesOutput
SetResources sets the Resources field's value.
func (ListResourcesOutput) String ¶
func (s ListResourcesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type MalformedArnException ¶ added in v1.28.0
type MalformedArnException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The format of an Amazon Resource Name (ARN) is not valid.
func (*MalformedArnException) Code ¶ added in v1.28.0
func (s *MalformedArnException) Code() string
Code returns the exception type name.
func (*MalformedArnException) Error ¶ added in v1.28.0
func (s *MalformedArnException) Error() string
func (MalformedArnException) GoString ¶ added in v1.28.0
func (s MalformedArnException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*MalformedArnException) Message ¶ added in v1.28.0
func (s *MalformedArnException) Message() string
Message returns the exception's message.
func (*MalformedArnException) OrigErr ¶ added in v1.28.0
func (s *MalformedArnException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*MalformedArnException) RequestID ¶ added in v1.28.0
func (s *MalformedArnException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*MalformedArnException) StatusCode ¶ added in v1.28.0
func (s *MalformedArnException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (MalformedArnException) String ¶ added in v1.28.0
func (s MalformedArnException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type MissingRequiredParameterException ¶ added in v1.28.0
type MissingRequiredParameterException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
A required input parameter is missing.
func (*MissingRequiredParameterException) Code ¶ added in v1.28.0
func (s *MissingRequiredParameterException) Code() string
Code returns the exception type name.
func (*MissingRequiredParameterException) Error ¶ added in v1.28.0
func (s *MissingRequiredParameterException) Error() string
func (MissingRequiredParameterException) GoString ¶ added in v1.28.0
func (s MissingRequiredParameterException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*MissingRequiredParameterException) Message ¶ added in v1.28.0
func (s *MissingRequiredParameterException) Message() string
Message returns the exception's message.
func (*MissingRequiredParameterException) OrigErr ¶ added in v1.28.0
func (s *MissingRequiredParameterException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*MissingRequiredParameterException) RequestID ¶ added in v1.28.0
func (s *MissingRequiredParameterException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*MissingRequiredParameterException) StatusCode ¶ added in v1.28.0
func (s *MissingRequiredParameterException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (MissingRequiredParameterException) String ¶ added in v1.28.0
func (s MissingRequiredParameterException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type OperationNotPermittedException ¶ added in v1.28.0
type OperationNotPermittedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The requested operation is not permitted.
func (*OperationNotPermittedException) Code ¶ added in v1.28.0
func (s *OperationNotPermittedException) Code() string
Code returns the exception type name.
func (*OperationNotPermittedException) Error ¶ added in v1.28.0
func (s *OperationNotPermittedException) Error() string
func (OperationNotPermittedException) GoString ¶ added in v1.28.0
func (s OperationNotPermittedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*OperationNotPermittedException) Message ¶ added in v1.28.0
func (s *OperationNotPermittedException) Message() string
Message returns the exception's message.
func (*OperationNotPermittedException) OrigErr ¶ added in v1.28.0
func (s *OperationNotPermittedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*OperationNotPermittedException) RequestID ¶ added in v1.28.0
func (s *OperationNotPermittedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*OperationNotPermittedException) StatusCode ¶ added in v1.28.0
func (s *OperationNotPermittedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (OperationNotPermittedException) String ¶ added in v1.28.0
func (s OperationNotPermittedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Principal ¶
type Principal struct { // The date and time when the principal was associated with the resource share. CreationTime *time.Time `locationName:"creationTime" type:"timestamp"` // Indicates whether the principal belongs to the same organization in Organizations // as the Amazon Web Services account that owns the resource share. External *bool `locationName:"external" type:"boolean"` // The ID of the principal. Id *string `locationName:"id" type:"string"` // The date and time when the association was last updated. LastUpdatedTime *time.Time `locationName:"lastUpdatedTime" type:"timestamp"` // of a resource share the principal is associated with. ResourceShareArn *string `locationName:"resourceShareArn" type:"string"` // contains filtered or unexported fields }
Describes a principal for use with Resource Access Manager.
func (Principal) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Principal) SetCreationTime ¶
SetCreationTime sets the CreationTime field's value.
func (*Principal) SetExternal ¶
SetExternal sets the External field's value.
func (*Principal) SetLastUpdatedTime ¶
SetLastUpdatedTime sets the LastUpdatedTime field's value.
func (*Principal) SetResourceShareArn ¶
SetResourceShareArn sets the ResourceShareArn field's value.
type PromoteResourceShareCreatedFromPolicyInput ¶ added in v1.25.42
type PromoteResourceShareCreatedFromPolicyInput struct { // of the resource share to promote. // // ResourceShareArn is a required field ResourceShareArn *string `location:"querystring" locationName:"resourceShareArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (PromoteResourceShareCreatedFromPolicyInput) GoString ¶ added in v1.25.42
func (s PromoteResourceShareCreatedFromPolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PromoteResourceShareCreatedFromPolicyInput) SetResourceShareArn ¶ added in v1.25.42
func (s *PromoteResourceShareCreatedFromPolicyInput) SetResourceShareArn(v string) *PromoteResourceShareCreatedFromPolicyInput
SetResourceShareArn sets the ResourceShareArn field's value.
func (PromoteResourceShareCreatedFromPolicyInput) String ¶ added in v1.25.42
func (s PromoteResourceShareCreatedFromPolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PromoteResourceShareCreatedFromPolicyInput) Validate ¶ added in v1.25.42
func (s *PromoteResourceShareCreatedFromPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PromoteResourceShareCreatedFromPolicyOutput ¶ added in v1.25.42
type PromoteResourceShareCreatedFromPolicyOutput struct { // indicates that the request failed. ReturnValue *bool `locationName:"returnValue" type:"boolean"` // contains filtered or unexported fields }
func (PromoteResourceShareCreatedFromPolicyOutput) GoString ¶ added in v1.25.42
func (s PromoteResourceShareCreatedFromPolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PromoteResourceShareCreatedFromPolicyOutput) SetReturnValue ¶ added in v1.25.42
func (s *PromoteResourceShareCreatedFromPolicyOutput) SetReturnValue(v bool) *PromoteResourceShareCreatedFromPolicyOutput
SetReturnValue sets the ReturnValue field's value.
func (PromoteResourceShareCreatedFromPolicyOutput) String ¶ added in v1.25.42
func (s PromoteResourceShareCreatedFromPolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RAM ¶
RAM provides the API operation methods for making requests to AWS Resource Access Manager. See this package's package overview docs for details on the service.
RAM methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *RAM
New creates a new instance of the RAM client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
mySession := session.Must(session.NewSession()) // Create a RAM client from just a session. svc := ram.New(mySession) // Create a RAM client with additional configuration svc := ram.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*RAM) AcceptResourceShareInvitation ¶
func (c *RAM) AcceptResourceShareInvitation(input *AcceptResourceShareInvitationInput) (*AcceptResourceShareInvitationOutput, error)
AcceptResourceShareInvitation API operation for AWS Resource Access Manager.
Accepts an invitation to a resource share from another Amazon Web Services account. After you accept the invitation, the resources included in the resource share are available to interact with in the relevant Amazon Web Services Management Consoles and tools.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Resource Access Manager's API operation AcceptResourceShareInvitation for usage and error information.
Returned Error Types:
MalformedArnException The format of an Amazon Resource Name (ARN) is not valid.
OperationNotPermittedException The requested operation is not permitted.
ResourceShareInvitationArnNotFoundException The specified Amazon Resource Name (ARN) for an invitation was not found.
ResourceShareInvitationAlreadyAcceptedException The specified invitation was already accepted.
ResourceShareInvitationAlreadyRejectedException The specified invitation was already rejected.
ResourceShareInvitationExpiredException The specified invitation is expired.
ServerInternalException The service could not respond to the request due to an internal problem.
ServiceUnavailableException The service is not available.
InvalidClientTokenException The client token is not valid.
IdempotentParameterMismatchException The client token input parameter was matched one used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AcceptResourceShareInvitation
func (*RAM) AcceptResourceShareInvitationRequest ¶
func (c *RAM) AcceptResourceShareInvitationRequest(input *AcceptResourceShareInvitationInput) (req *request.Request, output *AcceptResourceShareInvitationOutput)
AcceptResourceShareInvitationRequest generates a "aws/request.Request" representing the client's request for the AcceptResourceShareInvitation operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AcceptResourceShareInvitation for more information on using the AcceptResourceShareInvitation API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AcceptResourceShareInvitationRequest method. req, resp := client.AcceptResourceShareInvitationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AcceptResourceShareInvitation
func (*RAM) AcceptResourceShareInvitationWithContext ¶
func (c *RAM) AcceptResourceShareInvitationWithContext(ctx aws.Context, input *AcceptResourceShareInvitationInput, opts ...request.Option) (*AcceptResourceShareInvitationOutput, error)
AcceptResourceShareInvitationWithContext is the same as AcceptResourceShareInvitation with the addition of the ability to pass a context and additional request options.
See AcceptResourceShareInvitation for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) AssociateResourceShare ¶
func (c *RAM) AssociateResourceShare(input *AssociateResourceShareInput) (*AssociateResourceShareOutput, error)
AssociateResourceShare API operation for AWS Resource Access Manager.
Adds the specified list of principals and list of resources to a resource share. Principals that already have access to this resource share immediately receive access to the added resources. Newly added principals immediately receive access to the resources shared in this resource share.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Resource Access Manager's API operation AssociateResourceShare for usage and error information.
Returned Error Types:
IdempotentParameterMismatchException The client token input parameter was matched one used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.
UnknownResourceException A specified resource was not found.
InvalidStateTransitionException The requested state transition is not valid.
ResourceShareLimitExceededException This request would exceed the limit for resource shares for your account.
MalformedArnException The format of an Amazon Resource Name (ARN) is not valid.
InvalidStateTransitionException The requested state transition is not valid.
InvalidClientTokenException The client token is not valid.
InvalidParameterException A parameter is not valid.
OperationNotPermittedException The requested operation is not permitted.
ServerInternalException The service could not respond to the request due to an internal problem.
ServiceUnavailableException The service is not available.
UnknownResourceException A specified resource was not found.
ThrottlingException You exceeded the rate at which you are allowed to perform this operation. Please try again later.
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AssociateResourceShare
func (*RAM) AssociateResourceSharePermission ¶ added in v1.25.42
func (c *RAM) AssociateResourceSharePermission(input *AssociateResourceSharePermissionInput) (*AssociateResourceSharePermissionOutput, error)
AssociateResourceSharePermission API operation for AWS Resource Access Manager.
Adds or replaces the RAM permission for a resource type included in a resource share. You can have exactly one permission associated with each resource type in the resource share. You can add a new RAM permission only if there are currently no resources of that resource type currently in the resource share.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Resource Access Manager's API operation AssociateResourceSharePermission for usage and error information.
Returned Error Types:
MalformedArnException The format of an Amazon Resource Name (ARN) is not valid.
UnknownResourceException A specified resource was not found.
InvalidParameterException A parameter is not valid.
InvalidClientTokenException The client token is not valid.
ServerInternalException The service could not respond to the request due to an internal problem.
ServiceUnavailableException The service is not available.
OperationNotPermittedException The requested operation is not permitted.
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AssociateResourceSharePermission
func (*RAM) AssociateResourceSharePermissionRequest ¶ added in v1.25.42
func (c *RAM) AssociateResourceSharePermissionRequest(input *AssociateResourceSharePermissionInput) (req *request.Request, output *AssociateResourceSharePermissionOutput)
AssociateResourceSharePermissionRequest generates a "aws/request.Request" representing the client's request for the AssociateResourceSharePermission operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AssociateResourceSharePermission for more information on using the AssociateResourceSharePermission API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AssociateResourceSharePermissionRequest method. req, resp := client.AssociateResourceSharePermissionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AssociateResourceSharePermission
func (*RAM) AssociateResourceSharePermissionWithContext ¶ added in v1.25.42
func (c *RAM) AssociateResourceSharePermissionWithContext(ctx aws.Context, input *AssociateResourceSharePermissionInput, opts ...request.Option) (*AssociateResourceSharePermissionOutput, error)
AssociateResourceSharePermissionWithContext is the same as AssociateResourceSharePermission with the addition of the ability to pass a context and additional request options.
See AssociateResourceSharePermission for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) AssociateResourceShareRequest ¶
func (c *RAM) AssociateResourceShareRequest(input *AssociateResourceShareInput) (req *request.Request, output *AssociateResourceShareOutput)
AssociateResourceShareRequest generates a "aws/request.Request" representing the client's request for the AssociateResourceShare operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AssociateResourceShare for more information on using the AssociateResourceShare API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AssociateResourceShareRequest method. req, resp := client.AssociateResourceShareRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AssociateResourceShare
func (*RAM) AssociateResourceShareWithContext ¶
func (c *RAM) AssociateResourceShareWithContext(ctx aws.Context, input *AssociateResourceShareInput, opts ...request.Option) (*AssociateResourceShareOutput, error)
AssociateResourceShareWithContext is the same as AssociateResourceShare with the addition of the ability to pass a context and additional request options.
See AssociateResourceShare for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) CreateResourceShare ¶
func (c *RAM) CreateResourceShare(input *CreateResourceShareInput) (*CreateResourceShareOutput, error)
CreateResourceShare API operation for AWS Resource Access Manager.
Creates a resource share. You can provide a list of the Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) for the resources that you want to share, a list of principals you want to share the resources with, and the permissions to grant those principals.
Sharing a resource makes it available for use by principals outside of the Amazon Web Services account that created the resource. Sharing doesn't change any permissions or quotas that apply to the resource in the account that created it.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Resource Access Manager's API operation CreateResourceShare for usage and error information.
Returned Error Types:
IdempotentParameterMismatchException The client token input parameter was matched one used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.
InvalidStateTransitionException The requested state transition is not valid.
UnknownResourceException A specified resource was not found.
MalformedArnException The format of an Amazon Resource Name (ARN) is not valid.
InvalidClientTokenException The client token is not valid.
InvalidParameterException A parameter is not valid.
OperationNotPermittedException The requested operation is not permitted.
ResourceShareLimitExceededException This request would exceed the limit for resource shares for your account.
TagPolicyViolationException The specified tag key is a reserved word and can't be used.
ServerInternalException The service could not respond to the request due to an internal problem.
ServiceUnavailableException The service is not available.
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/CreateResourceShare
func (*RAM) CreateResourceShareRequest ¶
func (c *RAM) CreateResourceShareRequest(input *CreateResourceShareInput) (req *request.Request, output *CreateResourceShareOutput)
CreateResourceShareRequest generates a "aws/request.Request" representing the client's request for the CreateResourceShare operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateResourceShare for more information on using the CreateResourceShare API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateResourceShareRequest method. req, resp := client.CreateResourceShareRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/CreateResourceShare
func (*RAM) CreateResourceShareWithContext ¶
func (c *RAM) CreateResourceShareWithContext(ctx aws.Context, input *CreateResourceShareInput, opts ...request.Option) (*CreateResourceShareOutput, error)
CreateResourceShareWithContext is the same as CreateResourceShare with the addition of the ability to pass a context and additional request options.
See CreateResourceShare for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) DeleteResourceShare ¶
func (c *RAM) DeleteResourceShare(input *DeleteResourceShareInput) (*DeleteResourceShareOutput, error)
DeleteResourceShare API operation for AWS Resource Access Manager.
Deletes the specified resource share. This doesn't delete any of the resources that were associated with the resource share; it only stops the sharing of those resources outside of the Amazon Web Services account that created them.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Resource Access Manager's API operation DeleteResourceShare for usage and error information.
Returned Error Types:
OperationNotPermittedException The requested operation is not permitted.
IdempotentParameterMismatchException The client token input parameter was matched one used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.
InvalidStateTransitionException The requested state transition is not valid.
UnknownResourceException A specified resource was not found.
MalformedArnException The format of an Amazon Resource Name (ARN) is not valid.
InvalidClientTokenException The client token is not valid.
InvalidParameterException A parameter is not valid.
ServerInternalException The service could not respond to the request due to an internal problem.
ServiceUnavailableException The service is not available.
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DeleteResourceShare
func (*RAM) DeleteResourceShareRequest ¶
func (c *RAM) DeleteResourceShareRequest(input *DeleteResourceShareInput) (req *request.Request, output *DeleteResourceShareOutput)
DeleteResourceShareRequest generates a "aws/request.Request" representing the client's request for the DeleteResourceShare operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteResourceShare for more information on using the DeleteResourceShare API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteResourceShareRequest method. req, resp := client.DeleteResourceShareRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DeleteResourceShare
func (*RAM) DeleteResourceShareWithContext ¶
func (c *RAM) DeleteResourceShareWithContext(ctx aws.Context, input *DeleteResourceShareInput, opts ...request.Option) (*DeleteResourceShareOutput, error)
DeleteResourceShareWithContext is the same as DeleteResourceShare with the addition of the ability to pass a context and additional request options.
See DeleteResourceShare for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) DisassociateResourceShare ¶
func (c *RAM) DisassociateResourceShare(input *DisassociateResourceShareInput) (*DisassociateResourceShareOutput, error)
DisassociateResourceShare API operation for AWS Resource Access Manager.
Disassociates the specified principals or resources from the specified resource share.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Resource Access Manager's API operation DisassociateResourceShare for usage and error information.
Returned Error Types:
IdempotentParameterMismatchException The client token input parameter was matched one used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.
ResourceShareLimitExceededException This request would exceed the limit for resource shares for your account.
MalformedArnException The format of an Amazon Resource Name (ARN) is not valid.
InvalidStateTransitionException The requested state transition is not valid.
InvalidClientTokenException The client token is not valid.
InvalidParameterException A parameter is not valid.
OperationNotPermittedException The requested operation is not permitted.
ServerInternalException The service could not respond to the request due to an internal problem.
ServiceUnavailableException The service is not available.
UnknownResourceException A specified resource was not found.
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DisassociateResourceShare
func (*RAM) DisassociateResourceSharePermission ¶ added in v1.25.42
func (c *RAM) DisassociateResourceSharePermission(input *DisassociateResourceSharePermissionInput) (*DisassociateResourceSharePermissionOutput, error)
DisassociateResourceSharePermission API operation for AWS Resource Access Manager.
Disassociates an RAM permission from a resource share. Permission changes take effect immediately. You can remove a RAM permission from a resource share only if there are currently no resources of the relevant resource type currently attached to the resource share.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Resource Access Manager's API operation DisassociateResourceSharePermission for usage and error information.
Returned Error Types:
MalformedArnException The format of an Amazon Resource Name (ARN) is not valid.
UnknownResourceException A specified resource was not found.
InvalidParameterException A parameter is not valid.
InvalidClientTokenException The client token is not valid.
ServerInternalException The service could not respond to the request due to an internal problem.
ServiceUnavailableException The service is not available.
OperationNotPermittedException The requested operation is not permitted.
InvalidStateTransitionException The requested state transition is not valid.
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DisassociateResourceSharePermission
func (*RAM) DisassociateResourceSharePermissionRequest ¶ added in v1.25.42
func (c *RAM) DisassociateResourceSharePermissionRequest(input *DisassociateResourceSharePermissionInput) (req *request.Request, output *DisassociateResourceSharePermissionOutput)
DisassociateResourceSharePermissionRequest generates a "aws/request.Request" representing the client's request for the DisassociateResourceSharePermission operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DisassociateResourceSharePermission for more information on using the DisassociateResourceSharePermission API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DisassociateResourceSharePermissionRequest method. req, resp := client.DisassociateResourceSharePermissionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DisassociateResourceSharePermission
func (*RAM) DisassociateResourceSharePermissionWithContext ¶ added in v1.25.42
func (c *RAM) DisassociateResourceSharePermissionWithContext(ctx aws.Context, input *DisassociateResourceSharePermissionInput, opts ...request.Option) (*DisassociateResourceSharePermissionOutput, error)
DisassociateResourceSharePermissionWithContext is the same as DisassociateResourceSharePermission with the addition of the ability to pass a context and additional request options.
See DisassociateResourceSharePermission for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) DisassociateResourceShareRequest ¶
func (c *RAM) DisassociateResourceShareRequest(input *DisassociateResourceShareInput) (req *request.Request, output *DisassociateResourceShareOutput)
DisassociateResourceShareRequest generates a "aws/request.Request" representing the client's request for the DisassociateResourceShare operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DisassociateResourceShare for more information on using the DisassociateResourceShare API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DisassociateResourceShareRequest method. req, resp := client.DisassociateResourceShareRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DisassociateResourceShare
func (*RAM) DisassociateResourceShareWithContext ¶
func (c *RAM) DisassociateResourceShareWithContext(ctx aws.Context, input *DisassociateResourceShareInput, opts ...request.Option) (*DisassociateResourceShareOutput, error)
DisassociateResourceShareWithContext is the same as DisassociateResourceShare with the addition of the ability to pass a context and additional request options.
See DisassociateResourceShare for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) EnableSharingWithAwsOrganization ¶
func (c *RAM) EnableSharingWithAwsOrganization(input *EnableSharingWithAwsOrganizationInput) (*EnableSharingWithAwsOrganizationOutput, error)
EnableSharingWithAwsOrganization API operation for AWS Resource Access Manager.
Enables resource sharing within your organization in Organizations. Calling this operation enables RAM to retrieve information about the organization and its structure. This lets you share resources with all of the accounts in an organization by specifying the organization's ID, or all of the accounts in an organizational unit (OU) by specifying the OU's ID. Until you enable sharing within the organization, you can specify only individual Amazon Web Services accounts, or for supported resource types, IAM users and roles.
You must call this operation from an IAM user or role in the organization's management account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Resource Access Manager's API operation EnableSharingWithAwsOrganization for usage and error information.
Returned Error Types:
OperationNotPermittedException The requested operation is not permitted.
ServerInternalException The service could not respond to the request due to an internal problem.
ServiceUnavailableException The service is not available.
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/EnableSharingWithAwsOrganization
func (*RAM) EnableSharingWithAwsOrganizationRequest ¶
func (c *RAM) EnableSharingWithAwsOrganizationRequest(input *EnableSharingWithAwsOrganizationInput) (req *request.Request, output *EnableSharingWithAwsOrganizationOutput)
EnableSharingWithAwsOrganizationRequest generates a "aws/request.Request" representing the client's request for the EnableSharingWithAwsOrganization operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See EnableSharingWithAwsOrganization for more information on using the EnableSharingWithAwsOrganization API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the EnableSharingWithAwsOrganizationRequest method. req, resp := client.EnableSharingWithAwsOrganizationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/EnableSharingWithAwsOrganization
func (*RAM) EnableSharingWithAwsOrganizationWithContext ¶
func (c *RAM) EnableSharingWithAwsOrganizationWithContext(ctx aws.Context, input *EnableSharingWithAwsOrganizationInput, opts ...request.Option) (*EnableSharingWithAwsOrganizationOutput, error)
EnableSharingWithAwsOrganizationWithContext is the same as EnableSharingWithAwsOrganization with the addition of the ability to pass a context and additional request options.
See EnableSharingWithAwsOrganization for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) GetPermission ¶ added in v1.25.42
func (c *RAM) GetPermission(input *GetPermissionInput) (*GetPermissionOutput, error)
GetPermission API operation for AWS Resource Access Manager.
Gets the contents of an RAM permission in JSON format.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Resource Access Manager's API operation GetPermission for usage and error information.
Returned Error Types:
InvalidParameterException A parameter is not valid.
MalformedArnException The format of an Amazon Resource Name (ARN) is not valid.
UnknownResourceException A specified resource was not found.
ServerInternalException The service could not respond to the request due to an internal problem.
ServiceUnavailableException The service is not available.
OperationNotPermittedException The requested operation is not permitted.
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetPermission
func (*RAM) GetPermissionRequest ¶ added in v1.25.42
func (c *RAM) GetPermissionRequest(input *GetPermissionInput) (req *request.Request, output *GetPermissionOutput)
GetPermissionRequest generates a "aws/request.Request" representing the client's request for the GetPermission operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetPermission for more information on using the GetPermission API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetPermissionRequest method. req, resp := client.GetPermissionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetPermission
func (*RAM) GetPermissionWithContext ¶ added in v1.25.42
func (c *RAM) GetPermissionWithContext(ctx aws.Context, input *GetPermissionInput, opts ...request.Option) (*GetPermissionOutput, error)
GetPermissionWithContext is the same as GetPermission with the addition of the ability to pass a context and additional request options.
See GetPermission for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) GetResourcePolicies ¶
func (c *RAM) GetResourcePolicies(input *GetResourcePoliciesInput) (*GetResourcePoliciesOutput, error)
GetResourcePolicies API operation for AWS Resource Access Manager.
Retrieves the resource policies for the specified resources that you own and have shared.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Resource Access Manager's API operation GetResourcePolicies for usage and error information.
Returned Error Types:
MalformedArnException The format of an Amazon Resource Name (ARN) is not valid.
InvalidNextTokenException The specified value for NextToken is not valid.
InvalidParameterException A parameter is not valid.
ResourceArnNotFoundException The specified Amazon Resource Name (ARN) was not found.
ServerInternalException The service could not respond to the request due to an internal problem.
ServiceUnavailableException The service is not available.
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourcePolicies
func (*RAM) GetResourcePoliciesPages ¶
func (c *RAM) GetResourcePoliciesPages(input *GetResourcePoliciesInput, fn func(*GetResourcePoliciesOutput, bool) bool) error
GetResourcePoliciesPages iterates over the pages of a GetResourcePolicies operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetResourcePolicies method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetResourcePolicies operation. pageNum := 0 err := client.GetResourcePoliciesPages(params, func(page *ram.GetResourcePoliciesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RAM) GetResourcePoliciesPagesWithContext ¶
func (c *RAM) GetResourcePoliciesPagesWithContext(ctx aws.Context, input *GetResourcePoliciesInput, fn func(*GetResourcePoliciesOutput, bool) bool, opts ...request.Option) error
GetResourcePoliciesPagesWithContext same as GetResourcePoliciesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) GetResourcePoliciesRequest ¶
func (c *RAM) GetResourcePoliciesRequest(input *GetResourcePoliciesInput) (req *request.Request, output *GetResourcePoliciesOutput)
GetResourcePoliciesRequest generates a "aws/request.Request" representing the client's request for the GetResourcePolicies operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetResourcePolicies for more information on using the GetResourcePolicies API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetResourcePoliciesRequest method. req, resp := client.GetResourcePoliciesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourcePolicies
func (*RAM) GetResourcePoliciesWithContext ¶
func (c *RAM) GetResourcePoliciesWithContext(ctx aws.Context, input *GetResourcePoliciesInput, opts ...request.Option) (*GetResourcePoliciesOutput, error)
GetResourcePoliciesWithContext is the same as GetResourcePolicies with the addition of the ability to pass a context and additional request options.
See GetResourcePolicies for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) GetResourceShareAssociations ¶
func (c *RAM) GetResourceShareAssociations(input *GetResourceShareAssociationsInput) (*GetResourceShareAssociationsOutput, error)
GetResourceShareAssociations API operation for AWS Resource Access Manager.
Retrieves the resource and principal associations for resource shares that you own.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Resource Access Manager's API operation GetResourceShareAssociations for usage and error information.
Returned Error Types:
UnknownResourceException A specified resource was not found.
MalformedArnException The format of an Amazon Resource Name (ARN) is not valid.
InvalidNextTokenException The specified value for NextToken is not valid.
InvalidParameterException A parameter is not valid.
OperationNotPermittedException The requested operation is not permitted.
ServerInternalException The service could not respond to the request due to an internal problem.
ServiceUnavailableException The service is not available.
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShareAssociations
func (*RAM) GetResourceShareAssociationsPages ¶
func (c *RAM) GetResourceShareAssociationsPages(input *GetResourceShareAssociationsInput, fn func(*GetResourceShareAssociationsOutput, bool) bool) error
GetResourceShareAssociationsPages iterates over the pages of a GetResourceShareAssociations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetResourceShareAssociations method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetResourceShareAssociations operation. pageNum := 0 err := client.GetResourceShareAssociationsPages(params, func(page *ram.GetResourceShareAssociationsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RAM) GetResourceShareAssociationsPagesWithContext ¶
func (c *RAM) GetResourceShareAssociationsPagesWithContext(ctx aws.Context, input *GetResourceShareAssociationsInput, fn func(*GetResourceShareAssociationsOutput, bool) bool, opts ...request.Option) error
GetResourceShareAssociationsPagesWithContext same as GetResourceShareAssociationsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) GetResourceShareAssociationsRequest ¶
func (c *RAM) GetResourceShareAssociationsRequest(input *GetResourceShareAssociationsInput) (req *request.Request, output *GetResourceShareAssociationsOutput)
GetResourceShareAssociationsRequest generates a "aws/request.Request" representing the client's request for the GetResourceShareAssociations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetResourceShareAssociations for more information on using the GetResourceShareAssociations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetResourceShareAssociationsRequest method. req, resp := client.GetResourceShareAssociationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShareAssociations
func (*RAM) GetResourceShareAssociationsWithContext ¶
func (c *RAM) GetResourceShareAssociationsWithContext(ctx aws.Context, input *GetResourceShareAssociationsInput, opts ...request.Option) (*GetResourceShareAssociationsOutput, error)
GetResourceShareAssociationsWithContext is the same as GetResourceShareAssociations with the addition of the ability to pass a context and additional request options.
See GetResourceShareAssociations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) GetResourceShareInvitations ¶
func (c *RAM) GetResourceShareInvitations(input *GetResourceShareInvitationsInput) (*GetResourceShareInvitationsOutput, error)
GetResourceShareInvitations API operation for AWS Resource Access Manager.
Retrieves details about invitations that you have received for resource shares.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Resource Access Manager's API operation GetResourceShareInvitations for usage and error information.
Returned Error Types:
ResourceShareInvitationArnNotFoundException The specified Amazon Resource Name (ARN) for an invitation was not found.
InvalidMaxResultsException The specified value for MaxResults is not valid.
MalformedArnException The format of an Amazon Resource Name (ARN) is not valid.
UnknownResourceException A specified resource was not found.
InvalidNextTokenException The specified value for NextToken is not valid.
InvalidParameterException A parameter is not valid.
ServerInternalException The service could not respond to the request due to an internal problem.
ServiceUnavailableException The service is not available.
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShareInvitations
func (*RAM) GetResourceShareInvitationsPages ¶
func (c *RAM) GetResourceShareInvitationsPages(input *GetResourceShareInvitationsInput, fn func(*GetResourceShareInvitationsOutput, bool) bool) error
GetResourceShareInvitationsPages iterates over the pages of a GetResourceShareInvitations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetResourceShareInvitations method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetResourceShareInvitations operation. pageNum := 0 err := client.GetResourceShareInvitationsPages(params, func(page *ram.GetResourceShareInvitationsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RAM) GetResourceShareInvitationsPagesWithContext ¶
func (c *RAM) GetResourceShareInvitationsPagesWithContext(ctx aws.Context, input *GetResourceShareInvitationsInput, fn func(*GetResourceShareInvitationsOutput, bool) bool, opts ...request.Option) error
GetResourceShareInvitationsPagesWithContext same as GetResourceShareInvitationsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) GetResourceShareInvitationsRequest ¶
func (c *RAM) GetResourceShareInvitationsRequest(input *GetResourceShareInvitationsInput) (req *request.Request, output *GetResourceShareInvitationsOutput)
GetResourceShareInvitationsRequest generates a "aws/request.Request" representing the client's request for the GetResourceShareInvitations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetResourceShareInvitations for more information on using the GetResourceShareInvitations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetResourceShareInvitationsRequest method. req, resp := client.GetResourceShareInvitationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShareInvitations
func (*RAM) GetResourceShareInvitationsWithContext ¶
func (c *RAM) GetResourceShareInvitationsWithContext(ctx aws.Context, input *GetResourceShareInvitationsInput, opts ...request.Option) (*GetResourceShareInvitationsOutput, error)
GetResourceShareInvitationsWithContext is the same as GetResourceShareInvitations with the addition of the ability to pass a context and additional request options.
See GetResourceShareInvitations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) GetResourceShares ¶
func (c *RAM) GetResourceShares(input *GetResourceSharesInput) (*GetResourceSharesOutput, error)
GetResourceShares API operation for AWS Resource Access Manager.
Retrieves details about the resource shares that you own or that are shared with you.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Resource Access Manager's API operation GetResourceShares for usage and error information.
Returned Error Types:
UnknownResourceException A specified resource was not found.
MalformedArnException The format of an Amazon Resource Name (ARN) is not valid.
InvalidNextTokenException The specified value for NextToken is not valid.
InvalidParameterException A parameter is not valid.
ServerInternalException The service could not respond to the request due to an internal problem.
ServiceUnavailableException The service is not available.
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShares
func (*RAM) GetResourceSharesPages ¶
func (c *RAM) GetResourceSharesPages(input *GetResourceSharesInput, fn func(*GetResourceSharesOutput, bool) bool) error
GetResourceSharesPages iterates over the pages of a GetResourceShares operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See GetResourceShares method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetResourceShares operation. pageNum := 0 err := client.GetResourceSharesPages(params, func(page *ram.GetResourceSharesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RAM) GetResourceSharesPagesWithContext ¶
func (c *RAM) GetResourceSharesPagesWithContext(ctx aws.Context, input *GetResourceSharesInput, fn func(*GetResourceSharesOutput, bool) bool, opts ...request.Option) error
GetResourceSharesPagesWithContext same as GetResourceSharesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) GetResourceSharesRequest ¶
func (c *RAM) GetResourceSharesRequest(input *GetResourceSharesInput) (req *request.Request, output *GetResourceSharesOutput)
GetResourceSharesRequest generates a "aws/request.Request" representing the client's request for the GetResourceShares operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetResourceShares for more information on using the GetResourceShares API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetResourceSharesRequest method. req, resp := client.GetResourceSharesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShares
func (*RAM) GetResourceSharesWithContext ¶
func (c *RAM) GetResourceSharesWithContext(ctx aws.Context, input *GetResourceSharesInput, opts ...request.Option) (*GetResourceSharesOutput, error)
GetResourceSharesWithContext is the same as GetResourceShares with the addition of the ability to pass a context and additional request options.
See GetResourceShares for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) ListPendingInvitationResources ¶ added in v1.24.1
func (c *RAM) ListPendingInvitationResources(input *ListPendingInvitationResourcesInput) (*ListPendingInvitationResourcesOutput, error)
ListPendingInvitationResources API operation for AWS Resource Access Manager.
Lists the resources in a resource share that is shared with you but for which the invitation is still PENDING. That means that you haven't accepted or rejected the invitation and the invitation hasn't expired.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Resource Access Manager's API operation ListPendingInvitationResources for usage and error information.
Returned Error Types:
MalformedArnException The format of an Amazon Resource Name (ARN) is not valid.
InvalidNextTokenException The specified value for NextToken is not valid.
InvalidParameterException A parameter is not valid.
ServerInternalException The service could not respond to the request due to an internal problem.
ServiceUnavailableException The service is not available.
ResourceShareInvitationArnNotFoundException The specified Amazon Resource Name (ARN) for an invitation was not found.
MissingRequiredParameterException A required input parameter is missing.
ResourceShareInvitationAlreadyRejectedException The specified invitation was already rejected.
ResourceShareInvitationExpiredException The specified invitation is expired.
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPendingInvitationResources
func (*RAM) ListPendingInvitationResourcesPages ¶ added in v1.24.1
func (c *RAM) ListPendingInvitationResourcesPages(input *ListPendingInvitationResourcesInput, fn func(*ListPendingInvitationResourcesOutput, bool) bool) error
ListPendingInvitationResourcesPages iterates over the pages of a ListPendingInvitationResources operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListPendingInvitationResources method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListPendingInvitationResources operation. pageNum := 0 err := client.ListPendingInvitationResourcesPages(params, func(page *ram.ListPendingInvitationResourcesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RAM) ListPendingInvitationResourcesPagesWithContext ¶ added in v1.24.1
func (c *RAM) ListPendingInvitationResourcesPagesWithContext(ctx aws.Context, input *ListPendingInvitationResourcesInput, fn func(*ListPendingInvitationResourcesOutput, bool) bool, opts ...request.Option) error
ListPendingInvitationResourcesPagesWithContext same as ListPendingInvitationResourcesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) ListPendingInvitationResourcesRequest ¶ added in v1.24.1
func (c *RAM) ListPendingInvitationResourcesRequest(input *ListPendingInvitationResourcesInput) (req *request.Request, output *ListPendingInvitationResourcesOutput)
ListPendingInvitationResourcesRequest generates a "aws/request.Request" representing the client's request for the ListPendingInvitationResources operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListPendingInvitationResources for more information on using the ListPendingInvitationResources API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListPendingInvitationResourcesRequest method. req, resp := client.ListPendingInvitationResourcesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPendingInvitationResources
func (*RAM) ListPendingInvitationResourcesWithContext ¶ added in v1.24.1
func (c *RAM) ListPendingInvitationResourcesWithContext(ctx aws.Context, input *ListPendingInvitationResourcesInput, opts ...request.Option) (*ListPendingInvitationResourcesOutput, error)
ListPendingInvitationResourcesWithContext is the same as ListPendingInvitationResources with the addition of the ability to pass a context and additional request options.
See ListPendingInvitationResources for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) ListPermissionVersions ¶ added in v1.42.35
func (c *RAM) ListPermissionVersions(input *ListPermissionVersionsInput) (*ListPermissionVersionsOutput, error)
ListPermissionVersions API operation for AWS Resource Access Manager.
Lists the available versions of the specified RAM permission.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Resource Access Manager's API operation ListPermissionVersions for usage and error information.
Returned Error Types:
MalformedArnException The format of an Amazon Resource Name (ARN) is not valid.
UnknownResourceException A specified resource was not found.
InvalidNextTokenException The specified value for NextToken is not valid.
ServerInternalException The service could not respond to the request due to an internal problem.
ServiceUnavailableException The service is not available.
OperationNotPermittedException The requested operation is not permitted.
InvalidParameterException A parameter is not valid.
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPermissionVersions
func (*RAM) ListPermissionVersionsPages ¶ added in v1.42.35
func (c *RAM) ListPermissionVersionsPages(input *ListPermissionVersionsInput, fn func(*ListPermissionVersionsOutput, bool) bool) error
ListPermissionVersionsPages iterates over the pages of a ListPermissionVersions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListPermissionVersions method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListPermissionVersions operation. pageNum := 0 err := client.ListPermissionVersionsPages(params, func(page *ram.ListPermissionVersionsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RAM) ListPermissionVersionsPagesWithContext ¶ added in v1.42.35
func (c *RAM) ListPermissionVersionsPagesWithContext(ctx aws.Context, input *ListPermissionVersionsInput, fn func(*ListPermissionVersionsOutput, bool) bool, opts ...request.Option) error
ListPermissionVersionsPagesWithContext same as ListPermissionVersionsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) ListPermissionVersionsRequest ¶ added in v1.42.35
func (c *RAM) ListPermissionVersionsRequest(input *ListPermissionVersionsInput) (req *request.Request, output *ListPermissionVersionsOutput)
ListPermissionVersionsRequest generates a "aws/request.Request" representing the client's request for the ListPermissionVersions operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListPermissionVersions for more information on using the ListPermissionVersions API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListPermissionVersionsRequest method. req, resp := client.ListPermissionVersionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPermissionVersions
func (*RAM) ListPermissionVersionsWithContext ¶ added in v1.42.35
func (c *RAM) ListPermissionVersionsWithContext(ctx aws.Context, input *ListPermissionVersionsInput, opts ...request.Option) (*ListPermissionVersionsOutput, error)
ListPermissionVersionsWithContext is the same as ListPermissionVersions with the addition of the ability to pass a context and additional request options.
See ListPermissionVersions for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) ListPermissions ¶ added in v1.25.42
func (c *RAM) ListPermissions(input *ListPermissionsInput) (*ListPermissionsOutput, error)
ListPermissions API operation for AWS Resource Access Manager.
Retrieves a list of available RAM permissions that you can use for the supported resource types.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Resource Access Manager's API operation ListPermissions for usage and error information.
Returned Error Types:
InvalidParameterException A parameter is not valid.
InvalidNextTokenException The specified value for NextToken is not valid.
ServerInternalException The service could not respond to the request due to an internal problem.
ServiceUnavailableException The service is not available.
OperationNotPermittedException The requested operation is not permitted.
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPermissions
func (*RAM) ListPermissionsPages ¶ added in v1.38.59
func (c *RAM) ListPermissionsPages(input *ListPermissionsInput, fn func(*ListPermissionsOutput, bool) bool) error
ListPermissionsPages iterates over the pages of a ListPermissions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListPermissions method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListPermissions operation. pageNum := 0 err := client.ListPermissionsPages(params, func(page *ram.ListPermissionsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RAM) ListPermissionsPagesWithContext ¶ added in v1.38.59
func (c *RAM) ListPermissionsPagesWithContext(ctx aws.Context, input *ListPermissionsInput, fn func(*ListPermissionsOutput, bool) bool, opts ...request.Option) error
ListPermissionsPagesWithContext same as ListPermissionsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) ListPermissionsRequest ¶ added in v1.25.42
func (c *RAM) ListPermissionsRequest(input *ListPermissionsInput) (req *request.Request, output *ListPermissionsOutput)
ListPermissionsRequest generates a "aws/request.Request" representing the client's request for the ListPermissions operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListPermissions for more information on using the ListPermissions API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListPermissionsRequest method. req, resp := client.ListPermissionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPermissions
func (*RAM) ListPermissionsWithContext ¶ added in v1.25.42
func (c *RAM) ListPermissionsWithContext(ctx aws.Context, input *ListPermissionsInput, opts ...request.Option) (*ListPermissionsOutput, error)
ListPermissionsWithContext is the same as ListPermissions with the addition of the ability to pass a context and additional request options.
See ListPermissions for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) ListPrincipals ¶
func (c *RAM) ListPrincipals(input *ListPrincipalsInput) (*ListPrincipalsOutput, error)
ListPrincipals API operation for AWS Resource Access Manager.
Lists the principals that you are sharing resources with or that are sharing resources with you.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Resource Access Manager's API operation ListPrincipals for usage and error information.
Returned Error Types:
MalformedArnException The format of an Amazon Resource Name (ARN) is not valid.
UnknownResourceException A specified resource was not found.
InvalidNextTokenException The specified value for NextToken is not valid.
InvalidParameterException A parameter is not valid.
ServerInternalException The service could not respond to the request due to an internal problem.
ServiceUnavailableException The service is not available.
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPrincipals
func (*RAM) ListPrincipalsPages ¶
func (c *RAM) ListPrincipalsPages(input *ListPrincipalsInput, fn func(*ListPrincipalsOutput, bool) bool) error
ListPrincipalsPages iterates over the pages of a ListPrincipals operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListPrincipals method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListPrincipals operation. pageNum := 0 err := client.ListPrincipalsPages(params, func(page *ram.ListPrincipalsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RAM) ListPrincipalsPagesWithContext ¶
func (c *RAM) ListPrincipalsPagesWithContext(ctx aws.Context, input *ListPrincipalsInput, fn func(*ListPrincipalsOutput, bool) bool, opts ...request.Option) error
ListPrincipalsPagesWithContext same as ListPrincipalsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) ListPrincipalsRequest ¶
func (c *RAM) ListPrincipalsRequest(input *ListPrincipalsInput) (req *request.Request, output *ListPrincipalsOutput)
ListPrincipalsRequest generates a "aws/request.Request" representing the client's request for the ListPrincipals operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListPrincipals for more information on using the ListPrincipals API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListPrincipalsRequest method. req, resp := client.ListPrincipalsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPrincipals
func (*RAM) ListPrincipalsWithContext ¶
func (c *RAM) ListPrincipalsWithContext(ctx aws.Context, input *ListPrincipalsInput, opts ...request.Option) (*ListPrincipalsOutput, error)
ListPrincipalsWithContext is the same as ListPrincipals with the addition of the ability to pass a context and additional request options.
See ListPrincipals for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) ListResourceSharePermissions ¶ added in v1.25.42
func (c *RAM) ListResourceSharePermissions(input *ListResourceSharePermissionsInput) (*ListResourceSharePermissionsOutput, error)
ListResourceSharePermissions API operation for AWS Resource Access Manager.
Lists the RAM permissions that are associated with a resource share.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Resource Access Manager's API operation ListResourceSharePermissions for usage and error information.
Returned Error Types:
InvalidParameterException A parameter is not valid.
MalformedArnException The format of an Amazon Resource Name (ARN) is not valid.
UnknownResourceException A specified resource was not found.
InvalidNextTokenException The specified value for NextToken is not valid.
ServerInternalException The service could not respond to the request due to an internal problem.
ServiceUnavailableException The service is not available.
OperationNotPermittedException The requested operation is not permitted.
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceSharePermissions
func (*RAM) ListResourceSharePermissionsPages ¶ added in v1.38.59
func (c *RAM) ListResourceSharePermissionsPages(input *ListResourceSharePermissionsInput, fn func(*ListResourceSharePermissionsOutput, bool) bool) error
ListResourceSharePermissionsPages iterates over the pages of a ListResourceSharePermissions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListResourceSharePermissions method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListResourceSharePermissions operation. pageNum := 0 err := client.ListResourceSharePermissionsPages(params, func(page *ram.ListResourceSharePermissionsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RAM) ListResourceSharePermissionsPagesWithContext ¶ added in v1.38.59
func (c *RAM) ListResourceSharePermissionsPagesWithContext(ctx aws.Context, input *ListResourceSharePermissionsInput, fn func(*ListResourceSharePermissionsOutput, bool) bool, opts ...request.Option) error
ListResourceSharePermissionsPagesWithContext same as ListResourceSharePermissionsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) ListResourceSharePermissionsRequest ¶ added in v1.25.42
func (c *RAM) ListResourceSharePermissionsRequest(input *ListResourceSharePermissionsInput) (req *request.Request, output *ListResourceSharePermissionsOutput)
ListResourceSharePermissionsRequest generates a "aws/request.Request" representing the client's request for the ListResourceSharePermissions operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListResourceSharePermissions for more information on using the ListResourceSharePermissions API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListResourceSharePermissionsRequest method. req, resp := client.ListResourceSharePermissionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceSharePermissions
func (*RAM) ListResourceSharePermissionsWithContext ¶ added in v1.25.42
func (c *RAM) ListResourceSharePermissionsWithContext(ctx aws.Context, input *ListResourceSharePermissionsInput, opts ...request.Option) (*ListResourceSharePermissionsOutput, error)
ListResourceSharePermissionsWithContext is the same as ListResourceSharePermissions with the addition of the ability to pass a context and additional request options.
See ListResourceSharePermissions for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) ListResourceTypes ¶ added in v1.30.13
func (c *RAM) ListResourceTypes(input *ListResourceTypesInput) (*ListResourceTypesOutput, error)
ListResourceTypes API operation for AWS Resource Access Manager.
Lists the resource types that can be shared by RAM.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Resource Access Manager's API operation ListResourceTypes for usage and error information.
Returned Error Types:
InvalidNextTokenException The specified value for NextToken is not valid.
InvalidParameterException A parameter is not valid.
ServerInternalException The service could not respond to the request due to an internal problem.
ServiceUnavailableException The service is not available.
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceTypes
func (*RAM) ListResourceTypesPages ¶ added in v1.38.59
func (c *RAM) ListResourceTypesPages(input *ListResourceTypesInput, fn func(*ListResourceTypesOutput, bool) bool) error
ListResourceTypesPages iterates over the pages of a ListResourceTypes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListResourceTypes method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListResourceTypes operation. pageNum := 0 err := client.ListResourceTypesPages(params, func(page *ram.ListResourceTypesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RAM) ListResourceTypesPagesWithContext ¶ added in v1.38.59
func (c *RAM) ListResourceTypesPagesWithContext(ctx aws.Context, input *ListResourceTypesInput, fn func(*ListResourceTypesOutput, bool) bool, opts ...request.Option) error
ListResourceTypesPagesWithContext same as ListResourceTypesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) ListResourceTypesRequest ¶ added in v1.30.13
func (c *RAM) ListResourceTypesRequest(input *ListResourceTypesInput) (req *request.Request, output *ListResourceTypesOutput)
ListResourceTypesRequest generates a "aws/request.Request" representing the client's request for the ListResourceTypes operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListResourceTypes for more information on using the ListResourceTypes API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListResourceTypesRequest method. req, resp := client.ListResourceTypesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceTypes
func (*RAM) ListResourceTypesWithContext ¶ added in v1.30.13
func (c *RAM) ListResourceTypesWithContext(ctx aws.Context, input *ListResourceTypesInput, opts ...request.Option) (*ListResourceTypesOutput, error)
ListResourceTypesWithContext is the same as ListResourceTypes with the addition of the ability to pass a context and additional request options.
See ListResourceTypes for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) ListResources ¶
func (c *RAM) ListResources(input *ListResourcesInput) (*ListResourcesOutput, error)
ListResources API operation for AWS Resource Access Manager.
Lists the resources that you added to a resource share or the resources that are shared with you.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Resource Access Manager's API operation ListResources for usage and error information.
Returned Error Types:
InvalidResourceTypeException The specified resource type is not valid.
UnknownResourceException A specified resource was not found.
MalformedArnException The format of an Amazon Resource Name (ARN) is not valid.
InvalidNextTokenException The specified value for NextToken is not valid.
InvalidParameterException A parameter is not valid.
ServerInternalException The service could not respond to the request due to an internal problem.
ServiceUnavailableException The service is not available.
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResources
func (*RAM) ListResourcesPages ¶
func (c *RAM) ListResourcesPages(input *ListResourcesInput, fn func(*ListResourcesOutput, bool) bool) error
ListResourcesPages iterates over the pages of a ListResources operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListResources method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListResources operation. pageNum := 0 err := client.ListResourcesPages(params, func(page *ram.ListResourcesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*RAM) ListResourcesPagesWithContext ¶
func (c *RAM) ListResourcesPagesWithContext(ctx aws.Context, input *ListResourcesInput, fn func(*ListResourcesOutput, bool) bool, opts ...request.Option) error
ListResourcesPagesWithContext same as ListResourcesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) ListResourcesRequest ¶
func (c *RAM) ListResourcesRequest(input *ListResourcesInput) (req *request.Request, output *ListResourcesOutput)
ListResourcesRequest generates a "aws/request.Request" representing the client's request for the ListResources operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListResources for more information on using the ListResources API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListResourcesRequest method. req, resp := client.ListResourcesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResources
func (*RAM) ListResourcesWithContext ¶
func (c *RAM) ListResourcesWithContext(ctx aws.Context, input *ListResourcesInput, opts ...request.Option) (*ListResourcesOutput, error)
ListResourcesWithContext is the same as ListResources with the addition of the ability to pass a context and additional request options.
See ListResources for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) PromoteResourceShareCreatedFromPolicy ¶ added in v1.25.42
func (c *RAM) PromoteResourceShareCreatedFromPolicy(input *PromoteResourceShareCreatedFromPolicyInput) (*PromoteResourceShareCreatedFromPolicyOutput, error)
PromoteResourceShareCreatedFromPolicy API operation for AWS Resource Access Manager.
When you attach a resource-based permission policy to a resource, it automatically creates a resource share. However, resource shares created this way are visible only to the resource share owner, and the resource share can't be modified in RAM.
You can use this operation to promote the resource share to a full RAM resource share. When you promote a resource share, you can then manage the resource share in RAM and it becomes visible to all of the principals you shared it with.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Resource Access Manager's API operation PromoteResourceShareCreatedFromPolicy for usage and error information.
Returned Error Types:
MalformedArnException The format of an Amazon Resource Name (ARN) is not valid.
ResourceShareLimitExceededException This request would exceed the limit for resource shares for your account.
OperationNotPermittedException The requested operation is not permitted.
InvalidParameterException A parameter is not valid.
MissingRequiredParameterException A required input parameter is missing.
ServerInternalException The service could not respond to the request due to an internal problem.
ServiceUnavailableException The service is not available.
UnknownResourceException A specified resource was not found.
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/PromoteResourceShareCreatedFromPolicy
func (*RAM) PromoteResourceShareCreatedFromPolicyRequest ¶ added in v1.25.42
func (c *RAM) PromoteResourceShareCreatedFromPolicyRequest(input *PromoteResourceShareCreatedFromPolicyInput) (req *request.Request, output *PromoteResourceShareCreatedFromPolicyOutput)
PromoteResourceShareCreatedFromPolicyRequest generates a "aws/request.Request" representing the client's request for the PromoteResourceShareCreatedFromPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PromoteResourceShareCreatedFromPolicy for more information on using the PromoteResourceShareCreatedFromPolicy API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PromoteResourceShareCreatedFromPolicyRequest method. req, resp := client.PromoteResourceShareCreatedFromPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/PromoteResourceShareCreatedFromPolicy
func (*RAM) PromoteResourceShareCreatedFromPolicyWithContext ¶ added in v1.25.42
func (c *RAM) PromoteResourceShareCreatedFromPolicyWithContext(ctx aws.Context, input *PromoteResourceShareCreatedFromPolicyInput, opts ...request.Option) (*PromoteResourceShareCreatedFromPolicyOutput, error)
PromoteResourceShareCreatedFromPolicyWithContext is the same as PromoteResourceShareCreatedFromPolicy with the addition of the ability to pass a context and additional request options.
See PromoteResourceShareCreatedFromPolicy for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) RejectResourceShareInvitation ¶
func (c *RAM) RejectResourceShareInvitation(input *RejectResourceShareInvitationInput) (*RejectResourceShareInvitationOutput, error)
RejectResourceShareInvitation API operation for AWS Resource Access Manager.
Rejects an invitation to a resource share from another Amazon Web Services account.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Resource Access Manager's API operation RejectResourceShareInvitation for usage and error information.
Returned Error Types:
MalformedArnException The format of an Amazon Resource Name (ARN) is not valid.
OperationNotPermittedException The requested operation is not permitted.
ResourceShareInvitationArnNotFoundException The specified Amazon Resource Name (ARN) for an invitation was not found.
ResourceShareInvitationAlreadyAcceptedException The specified invitation was already accepted.
ResourceShareInvitationAlreadyRejectedException The specified invitation was already rejected.
ResourceShareInvitationExpiredException The specified invitation is expired.
ServerInternalException The service could not respond to the request due to an internal problem.
ServiceUnavailableException The service is not available.
InvalidClientTokenException The client token is not valid.
IdempotentParameterMismatchException The client token input parameter was matched one used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/RejectResourceShareInvitation
func (*RAM) RejectResourceShareInvitationRequest ¶
func (c *RAM) RejectResourceShareInvitationRequest(input *RejectResourceShareInvitationInput) (req *request.Request, output *RejectResourceShareInvitationOutput)
RejectResourceShareInvitationRequest generates a "aws/request.Request" representing the client's request for the RejectResourceShareInvitation operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See RejectResourceShareInvitation for more information on using the RejectResourceShareInvitation API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the RejectResourceShareInvitationRequest method. req, resp := client.RejectResourceShareInvitationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/RejectResourceShareInvitation
func (*RAM) RejectResourceShareInvitationWithContext ¶
func (c *RAM) RejectResourceShareInvitationWithContext(ctx aws.Context, input *RejectResourceShareInvitationInput, opts ...request.Option) (*RejectResourceShareInvitationOutput, error)
RejectResourceShareInvitationWithContext is the same as RejectResourceShareInvitation with the addition of the ability to pass a context and additional request options.
See RejectResourceShareInvitation for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) TagResource ¶
func (c *RAM) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for AWS Resource Access Manager.
Adds the specified tag keys and values to the specified resource share. The tags are attached only to the resource share, not to the resources that are in the resource share.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Resource Access Manager's API operation TagResource for usage and error information.
Returned Error Types:
InvalidParameterException A parameter is not valid.
MalformedArnException The format of an Amazon Resource Name (ARN) is not valid.
UnknownResourceException A specified resource was not found.
TagLimitExceededException This request would exceed the limit for tags for your account.
ResourceArnNotFoundException The specified Amazon Resource Name (ARN) was not found.
TagPolicyViolationException The specified tag key is a reserved word and can't be used.
ServerInternalException The service could not respond to the request due to an internal problem.
ServiceUnavailableException The service is not available.
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/TagResource
func (*RAM) TagResourceRequest ¶
func (c *RAM) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TagResource for more information on using the TagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/TagResource
func (*RAM) TagResourceWithContext ¶
func (c *RAM) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.
See TagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) UntagResource ¶
func (c *RAM) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for AWS Resource Access Manager.
Removes the specified tag key and value pairs from the specified resource share.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Resource Access Manager's API operation UntagResource for usage and error information.
Returned Error Types:
InvalidParameterException A parameter is not valid.
ServerInternalException The service could not respond to the request due to an internal problem.
ServiceUnavailableException The service is not available.
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/UntagResource
func (*RAM) UntagResourceRequest ¶
func (c *RAM) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UntagResource for more information on using the UntagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/UntagResource
func (*RAM) UntagResourceWithContext ¶
func (c *RAM) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.
See UntagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RAM) UpdateResourceShare ¶
func (c *RAM) UpdateResourceShare(input *UpdateResourceShareInput) (*UpdateResourceShareOutput, error)
UpdateResourceShare API operation for AWS Resource Access Manager.
Modifies some of the properties of the specified resource share.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Resource Access Manager's API operation UpdateResourceShare for usage and error information.
Returned Error Types:
IdempotentParameterMismatchException The client token input parameter was matched one used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.
MissingRequiredParameterException A required input parameter is missing.
UnknownResourceException A specified resource was not found.
MalformedArnException The format of an Amazon Resource Name (ARN) is not valid.
InvalidClientTokenException The client token is not valid.
InvalidParameterException A parameter is not valid.
OperationNotPermittedException The requested operation is not permitted.
ServerInternalException The service could not respond to the request due to an internal problem.
ServiceUnavailableException The service is not available.
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/UpdateResourceShare
func (*RAM) UpdateResourceShareRequest ¶
func (c *RAM) UpdateResourceShareRequest(input *UpdateResourceShareInput) (req *request.Request, output *UpdateResourceShareOutput)
UpdateResourceShareRequest generates a "aws/request.Request" representing the client's request for the UpdateResourceShare operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateResourceShare for more information on using the UpdateResourceShare API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateResourceShareRequest method. req, resp := client.UpdateResourceShareRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/UpdateResourceShare
func (*RAM) UpdateResourceShareWithContext ¶
func (c *RAM) UpdateResourceShareWithContext(ctx aws.Context, input *UpdateResourceShareInput, opts ...request.Option) (*UpdateResourceShareOutput, error)
UpdateResourceShareWithContext is the same as UpdateResourceShare with the addition of the ability to pass a context and additional request options.
See UpdateResourceShare for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type RejectResourceShareInvitationInput ¶
type RejectResourceShareInvitationInput struct { // the idempotency of the request. This lets you safely retry the request without // accidentally performing the same operation a second time. Passing the same // value to a later call to an operation requires that you also pass the same // value for all other parameters. We recommend that you use a UUID type of // value. (https://wikipedia.org/wiki/Universally_unique_identifier). // // If you don't provide this value, then Amazon Web Services generates a random // one for you. ClientToken *string `locationName:"clientToken" type:"string"` // of the invitation that you want to reject. // // ResourceShareInvitationArn is a required field ResourceShareInvitationArn *string `locationName:"resourceShareInvitationArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (RejectResourceShareInvitationInput) GoString ¶
func (s RejectResourceShareInvitationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RejectResourceShareInvitationInput) SetClientToken ¶
func (s *RejectResourceShareInvitationInput) SetClientToken(v string) *RejectResourceShareInvitationInput
SetClientToken sets the ClientToken field's value.
func (*RejectResourceShareInvitationInput) SetResourceShareInvitationArn ¶
func (s *RejectResourceShareInvitationInput) SetResourceShareInvitationArn(v string) *RejectResourceShareInvitationInput
SetResourceShareInvitationArn sets the ResourceShareInvitationArn field's value.
func (RejectResourceShareInvitationInput) String ¶
func (s RejectResourceShareInvitationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RejectResourceShareInvitationInput) Validate ¶
func (s *RejectResourceShareInvitationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RejectResourceShareInvitationOutput ¶
type RejectResourceShareInvitationOutput struct { // the same operation in an idempotent manner then you must include this value // in the clientToken request parameter of that later call. All other parameters // must also have the same values that you used in the first call. ClientToken *string `locationName:"clientToken" type:"string"` ResourceShareInvitation *ResourceShareInvitation `locationName:"resourceShareInvitation" type:"structure"` // contains filtered or unexported fields }
func (RejectResourceShareInvitationOutput) GoString ¶
func (s RejectResourceShareInvitationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RejectResourceShareInvitationOutput) SetClientToken ¶
func (s *RejectResourceShareInvitationOutput) SetClientToken(v string) *RejectResourceShareInvitationOutput
SetClientToken sets the ClientToken field's value.
func (*RejectResourceShareInvitationOutput) SetResourceShareInvitation ¶
func (s *RejectResourceShareInvitationOutput) SetResourceShareInvitation(v *ResourceShareInvitation) *RejectResourceShareInvitationOutput
SetResourceShareInvitation sets the ResourceShareInvitation field's value.
func (RejectResourceShareInvitationOutput) String ¶
func (s RejectResourceShareInvitationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Resource ¶
type Resource struct { // The Amazon Resoure Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // of the resource. Arn *string `locationName:"arn" type:"string"` // The date and time when the resource was associated with the resource share. CreationTime *time.Time `locationName:"creationTime" type:"timestamp"` // The date an time when the association was last updated. LastUpdatedTime *time.Time `locationName:"lastUpdatedTime" type:"timestamp"` // The Amazon Resoure Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // of the resource group. This value is available only if the resource is part // of a resource group. ResourceGroupArn *string `locationName:"resourceGroupArn" type:"string"` // Specifies the scope of visibility of this resource: // // * REGIONAL – The resource can be accessed only by using requests that // target the Amazon Web Services Region in which the resource exists. // // * GLOBAL – The resource can be accessed from any Amazon Web Services // Region. ResourceRegionScope *string `locationName:"resourceRegionScope" type:"string" enum:"ResourceRegionScope"` // of the resource share this resource is associated with. ResourceShareArn *string `locationName:"resourceShareArn" type:"string"` // The current status of the resource. Status *string `locationName:"status" type:"string" enum:"ResourceStatus"` // A message about the status of the resource. StatusMessage *string `locationName:"statusMessage" type:"string"` // The resource type. This takes the form of: service-code:resource-code Type *string `locationName:"type" type:"string"` // contains filtered or unexported fields }
Describes a resource associated with a resource share in RAM.
func (Resource) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Resource) SetCreationTime ¶
SetCreationTime sets the CreationTime field's value.
func (*Resource) SetLastUpdatedTime ¶
SetLastUpdatedTime sets the LastUpdatedTime field's value.
func (*Resource) SetResourceGroupArn ¶ added in v1.25.42
SetResourceGroupArn sets the ResourceGroupArn field's value.
func (*Resource) SetResourceRegionScope ¶ added in v1.42.18
SetResourceRegionScope sets the ResourceRegionScope field's value.
func (*Resource) SetResourceShareArn ¶
SetResourceShareArn sets the ResourceShareArn field's value.
func (*Resource) SetStatusMessage ¶
SetStatusMessage sets the StatusMessage field's value.
type ResourceArnNotFoundException ¶ added in v1.28.0
type ResourceArnNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The specified Amazon Resource Name (ARN) was not found.
func (*ResourceArnNotFoundException) Code ¶ added in v1.28.0
func (s *ResourceArnNotFoundException) Code() string
Code returns the exception type name.
func (*ResourceArnNotFoundException) Error ¶ added in v1.28.0
func (s *ResourceArnNotFoundException) Error() string
func (ResourceArnNotFoundException) GoString ¶ added in v1.28.0
func (s ResourceArnNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceArnNotFoundException) Message ¶ added in v1.28.0
func (s *ResourceArnNotFoundException) Message() string
Message returns the exception's message.
func (*ResourceArnNotFoundException) OrigErr ¶ added in v1.28.0
func (s *ResourceArnNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceArnNotFoundException) RequestID ¶ added in v1.28.0
func (s *ResourceArnNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceArnNotFoundException) StatusCode ¶ added in v1.28.0
func (s *ResourceArnNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceArnNotFoundException) String ¶ added in v1.28.0
func (s ResourceArnNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceShare ¶
type ResourceShare struct { // be associated with a resource share. AllowExternalPrincipals *bool `locationName:"allowExternalPrincipals" type:"boolean"` CreationTime *time.Time `locationName:"creationTime" type:"timestamp"` // // * CREATED_FROM_POLICY - Indicates that the resource share was created // from an Identity and Access Management (IAM) resource-based permission // policy attached to the resource. This type of resource share is visible // only to the Amazon Web Services account that created it. You can't modify // it in RAM unless you promote it. For more information, see PromoteResourceShareCreatedFromPolicy. // // * PROMOTING_TO_STANDARD - The resource share is in the process of being // promoted. For more information, see PromoteResourceShareCreatedFromPolicy. // // * STANDARD - Indicates that the resource share was created in RAM using // the console or APIs. These resource shares are visible to all principals // you share the resource share with. You can modify these resource shares // in RAM using the console or APIs. FeatureSet *string `locationName:"featureSet" type:"string" enum:"ResourceShareFeatureSet"` LastUpdatedTime *time.Time `locationName:"lastUpdatedTime" type:"timestamp"` Name *string `locationName:"name" type:"string"` OwningAccountId *string `locationName:"owningAccountId" type:"string"` // of the resource share ResourceShareArn *string `locationName:"resourceShareArn" type:"string"` Status *string `locationName:"status" type:"string" enum:"ResourceShareStatus"` StatusMessage *string `locationName:"statusMessage" type:"string"` Tags []*Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
Describes a resource share in RAM.
func (ResourceShare) GoString ¶
func (s ResourceShare) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceShare) SetAllowExternalPrincipals ¶
func (s *ResourceShare) SetAllowExternalPrincipals(v bool) *ResourceShare
SetAllowExternalPrincipals sets the AllowExternalPrincipals field's value.
func (*ResourceShare) SetCreationTime ¶
func (s *ResourceShare) SetCreationTime(v time.Time) *ResourceShare
SetCreationTime sets the CreationTime field's value.
func (*ResourceShare) SetFeatureSet ¶ added in v1.25.42
func (s *ResourceShare) SetFeatureSet(v string) *ResourceShare
SetFeatureSet sets the FeatureSet field's value.
func (*ResourceShare) SetLastUpdatedTime ¶
func (s *ResourceShare) SetLastUpdatedTime(v time.Time) *ResourceShare
SetLastUpdatedTime sets the LastUpdatedTime field's value.
func (*ResourceShare) SetName ¶
func (s *ResourceShare) SetName(v string) *ResourceShare
SetName sets the Name field's value.
func (*ResourceShare) SetOwningAccountId ¶
func (s *ResourceShare) SetOwningAccountId(v string) *ResourceShare
SetOwningAccountId sets the OwningAccountId field's value.
func (*ResourceShare) SetResourceShareArn ¶
func (s *ResourceShare) SetResourceShareArn(v string) *ResourceShare
SetResourceShareArn sets the ResourceShareArn field's value.
func (*ResourceShare) SetStatus ¶
func (s *ResourceShare) SetStatus(v string) *ResourceShare
SetStatus sets the Status field's value.
func (*ResourceShare) SetStatusMessage ¶
func (s *ResourceShare) SetStatusMessage(v string) *ResourceShare
SetStatusMessage sets the StatusMessage field's value.
func (*ResourceShare) SetTags ¶
func (s *ResourceShare) SetTags(v []*Tag) *ResourceShare
SetTags sets the Tags field's value.
func (ResourceShare) String ¶
func (s ResourceShare) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceShareAssociation ¶
type ResourceShareAssociation struct { // // * For a resource association, this is the Amazon Resoure Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // of the resource. // // * For principal associations, this is one of the following: The ID of // an Amazon Web Services account The Amazon Resoure Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // of an organization in Organizations The ARN of an organizational unit // (OU) in Organizations The ARN of an IAM role The ARN of an IAM user AssociatedEntity *string `locationName:"associatedEntity" type:"string"` AssociationType *string `locationName:"associationType" type:"string" enum:"ResourceShareAssociationType"` CreationTime *time.Time `locationName:"creationTime" type:"timestamp"` // as the Amazon Web Services account that owns the resource share. External *bool `locationName:"external" type:"boolean"` LastUpdatedTime *time.Time `locationName:"lastUpdatedTime" type:"timestamp"` // of the resource share. ResourceShareArn *string `locationName:"resourceShareArn" type:"string"` ResourceShareName *string `locationName:"resourceShareName" type:"string"` Status *string `locationName:"status" type:"string" enum:"ResourceShareAssociationStatus"` StatusMessage *string `locationName:"statusMessage" type:"string"` // contains filtered or unexported fields }
Describes an association with a resource share and either a principal or a resource.
func (ResourceShareAssociation) GoString ¶
func (s ResourceShareAssociation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceShareAssociation) SetAssociatedEntity ¶
func (s *ResourceShareAssociation) SetAssociatedEntity(v string) *ResourceShareAssociation
SetAssociatedEntity sets the AssociatedEntity field's value.
func (*ResourceShareAssociation) SetAssociationType ¶
func (s *ResourceShareAssociation) SetAssociationType(v string) *ResourceShareAssociation
SetAssociationType sets the AssociationType field's value.
func (*ResourceShareAssociation) SetCreationTime ¶
func (s *ResourceShareAssociation) SetCreationTime(v time.Time) *ResourceShareAssociation
SetCreationTime sets the CreationTime field's value.
func (*ResourceShareAssociation) SetExternal ¶
func (s *ResourceShareAssociation) SetExternal(v bool) *ResourceShareAssociation
SetExternal sets the External field's value.
func (*ResourceShareAssociation) SetLastUpdatedTime ¶
func (s *ResourceShareAssociation) SetLastUpdatedTime(v time.Time) *ResourceShareAssociation
SetLastUpdatedTime sets the LastUpdatedTime field's value.
func (*ResourceShareAssociation) SetResourceShareArn ¶
func (s *ResourceShareAssociation) SetResourceShareArn(v string) *ResourceShareAssociation
SetResourceShareArn sets the ResourceShareArn field's value.
func (*ResourceShareAssociation) SetResourceShareName ¶ added in v1.24.1
func (s *ResourceShareAssociation) SetResourceShareName(v string) *ResourceShareAssociation
SetResourceShareName sets the ResourceShareName field's value.
func (*ResourceShareAssociation) SetStatus ¶
func (s *ResourceShareAssociation) SetStatus(v string) *ResourceShareAssociation
SetStatus sets the Status field's value.
func (*ResourceShareAssociation) SetStatusMessage ¶
func (s *ResourceShareAssociation) SetStatusMessage(v string) *ResourceShareAssociation
SetStatusMessage sets the StatusMessage field's value.
func (ResourceShareAssociation) String ¶
func (s ResourceShareAssociation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceShareInvitation ¶
type ResourceShareInvitation struct { time.Time `locationName:"invitationTimestamp" type:"timestamp"` ReceiverAccountId *string `locationName:"receiverAccountId" type:"string"` // of the IAM user or role that received the invitation. ReceiverArn *string `locationName:"receiverArn" type:"string"` // of the resource share ResourceShareArn *string `locationName:"resourceShareArn" type:"string"` // use ListPendingInvitationResources. // // Deprecated: This member has been deprecated. Use ListPendingInvitationResources. ResourceShareAssociations []*ResourceShareAssociation `locationName:"resourceShareAssociations" deprecated:"true" type:"list"` // of the invitation. ResourceShareInvitationArn *string `locationName:"resourceShareInvitationArn" type:"string"` ResourceShareName *string `locationName:"resourceShareName" type:"string"` SenderAccountId *string `locationName:"senderAccountId" type:"string"` Status *string `locationName:"status" type:"string" enum:"ResourceShareInvitationStatus"` // contains filtered or unexported fields }InvitationTimestamp *
Describes an invitation for an Amazon Web Services account to join a resource share.
func (ResourceShareInvitation) GoString ¶
func (s ResourceShareInvitation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceShareInvitation) SetInvitationTimestamp ¶
func (s *ResourceShareInvitation) SetInvitationTimestamp(v time.Time) *ResourceShareInvitation
SetInvitationTimestamp sets the InvitationTimestamp field's value.
func (*ResourceShareInvitation) SetReceiverAccountId ¶
func (s *ResourceShareInvitation) SetReceiverAccountId(v string) *ResourceShareInvitation
SetReceiverAccountId sets the ReceiverAccountId field's value.
func (*ResourceShareInvitation) SetReceiverArn ¶ added in v1.38.59
func (s *ResourceShareInvitation) SetReceiverArn(v string) *ResourceShareInvitation
SetReceiverArn sets the ReceiverArn field's value.
func (*ResourceShareInvitation) SetResourceShareArn ¶
func (s *ResourceShareInvitation) SetResourceShareArn(v string) *ResourceShareInvitation
SetResourceShareArn sets the ResourceShareArn field's value.
func (*ResourceShareInvitation) SetResourceShareAssociations ¶
func (s *ResourceShareInvitation) SetResourceShareAssociations(v []*ResourceShareAssociation) *ResourceShareInvitation
SetResourceShareAssociations sets the ResourceShareAssociations field's value.
func (*ResourceShareInvitation) SetResourceShareInvitationArn ¶
func (s *ResourceShareInvitation) SetResourceShareInvitationArn(v string) *ResourceShareInvitation
SetResourceShareInvitationArn sets the ResourceShareInvitationArn field's value.
func (*ResourceShareInvitation) SetResourceShareName ¶
func (s *ResourceShareInvitation) SetResourceShareName(v string) *ResourceShareInvitation
SetResourceShareName sets the ResourceShareName field's value.
func (*ResourceShareInvitation) SetSenderAccountId ¶
func (s *ResourceShareInvitation) SetSenderAccountId(v string) *ResourceShareInvitation
SetSenderAccountId sets the SenderAccountId field's value.
func (*ResourceShareInvitation) SetStatus ¶
func (s *ResourceShareInvitation) SetStatus(v string) *ResourceShareInvitation
SetStatus sets the Status field's value.
func (ResourceShareInvitation) String ¶
func (s ResourceShareInvitation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceShareInvitationAlreadyAcceptedException ¶ added in v1.28.0
type ResourceShareInvitationAlreadyAcceptedException struct { // contains filtered or unexported fields }
The specified invitation was already accepted.
func (*ResourceShareInvitationAlreadyAcceptedException) Code ¶ added in v1.28.0
func (s *ResourceShareInvitationAlreadyAcceptedException) Code() string
Code returns the exception type name.
func (*ResourceShareInvitationAlreadyAcceptedException) Error ¶ added in v1.28.0
func (s *ResourceShareInvitationAlreadyAcceptedException) Error() string
func (ResourceShareInvitationAlreadyAcceptedException) GoString ¶ added in v1.28.0
func (s ResourceShareInvitationAlreadyAcceptedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceShareInvitationAlreadyAcceptedException) Message ¶ added in v1.28.0
func (s *ResourceShareInvitationAlreadyAcceptedException) Message() string
Message returns the exception's message.
func (*ResourceShareInvitationAlreadyAcceptedException) OrigErr ¶ added in v1.28.0
func (s *ResourceShareInvitationAlreadyAcceptedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceShareInvitationAlreadyAcceptedException) RequestID ¶ added in v1.28.0
func (s *ResourceShareInvitationAlreadyAcceptedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceShareInvitationAlreadyAcceptedException) StatusCode ¶ added in v1.28.0
func (s *ResourceShareInvitationAlreadyAcceptedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceShareInvitationAlreadyAcceptedException) String ¶ added in v1.28.0
func (s ResourceShareInvitationAlreadyAcceptedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceShareInvitationAlreadyRejectedException ¶ added in v1.28.0
type ResourceShareInvitationAlreadyRejectedException struct { // contains filtered or unexported fields }
The specified invitation was already rejected.
func (*ResourceShareInvitationAlreadyRejectedException) Code ¶ added in v1.28.0
func (s *ResourceShareInvitationAlreadyRejectedException) Code() string
Code returns the exception type name.
func (*ResourceShareInvitationAlreadyRejectedException) Error ¶ added in v1.28.0
func (s *ResourceShareInvitationAlreadyRejectedException) Error() string
func (ResourceShareInvitationAlreadyRejectedException) GoString ¶ added in v1.28.0
func (s ResourceShareInvitationAlreadyRejectedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceShareInvitationAlreadyRejectedException) Message ¶ added in v1.28.0
func (s *ResourceShareInvitationAlreadyRejectedException) Message() string
Message returns the exception's message.
func (*ResourceShareInvitationAlreadyRejectedException) OrigErr ¶ added in v1.28.0
func (s *ResourceShareInvitationAlreadyRejectedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceShareInvitationAlreadyRejectedException) RequestID ¶ added in v1.28.0
func (s *ResourceShareInvitationAlreadyRejectedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceShareInvitationAlreadyRejectedException) StatusCode ¶ added in v1.28.0
func (s *ResourceShareInvitationAlreadyRejectedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceShareInvitationAlreadyRejectedException) String ¶ added in v1.28.0
func (s ResourceShareInvitationAlreadyRejectedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceShareInvitationArnNotFoundException ¶ added in v1.28.0
type ResourceShareInvitationArnNotFoundException struct { // contains filtered or unexported fields }
The specified Amazon Resource Name (ARN) for an invitation was not found.
func (*ResourceShareInvitationArnNotFoundException) Code ¶ added in v1.28.0
func (s *ResourceShareInvitationArnNotFoundException) Code() string
Code returns the exception type name.
func (*ResourceShareInvitationArnNotFoundException) Error ¶ added in v1.28.0
func (s *ResourceShareInvitationArnNotFoundException) Error() string
func (ResourceShareInvitationArnNotFoundException) GoString ¶ added in v1.28.0
func (s ResourceShareInvitationArnNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceShareInvitationArnNotFoundException) Message ¶ added in v1.28.0
func (s *ResourceShareInvitationArnNotFoundException) Message() string
Message returns the exception's message.
func (*ResourceShareInvitationArnNotFoundException) OrigErr ¶ added in v1.28.0
func (s *ResourceShareInvitationArnNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceShareInvitationArnNotFoundException) RequestID ¶ added in v1.28.0
func (s *ResourceShareInvitationArnNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceShareInvitationArnNotFoundException) StatusCode ¶ added in v1.28.0
func (s *ResourceShareInvitationArnNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceShareInvitationArnNotFoundException) String ¶ added in v1.28.0
func (s ResourceShareInvitationArnNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceShareInvitationExpiredException ¶ added in v1.28.0
type ResourceShareInvitationExpiredException struct { // contains filtered or unexported fields }
The specified invitation is expired.
func (*ResourceShareInvitationExpiredException) Code ¶ added in v1.28.0
func (s *ResourceShareInvitationExpiredException) Code() string
Code returns the exception type name.
func (*ResourceShareInvitationExpiredException) Error ¶ added in v1.28.0
func (s *ResourceShareInvitationExpiredException) Error() string
func (ResourceShareInvitationExpiredException) GoString ¶ added in v1.28.0
func (s ResourceShareInvitationExpiredException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceShareInvitationExpiredException) Message ¶ added in v1.28.0
func (s *ResourceShareInvitationExpiredException) Message() string
Message returns the exception's message.
func (*ResourceShareInvitationExpiredException) OrigErr ¶ added in v1.28.0
func (s *ResourceShareInvitationExpiredException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceShareInvitationExpiredException) RequestID ¶ added in v1.28.0
func (s *ResourceShareInvitationExpiredException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceShareInvitationExpiredException) StatusCode ¶ added in v1.28.0
func (s *ResourceShareInvitationExpiredException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceShareInvitationExpiredException) String ¶ added in v1.28.0
func (s ResourceShareInvitationExpiredException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceShareLimitExceededException ¶ added in v1.28.0
type ResourceShareLimitExceededException struct { // contains filtered or unexported fields }
This request would exceed the limit for resource shares for your account.
func (*ResourceShareLimitExceededException) Code ¶ added in v1.28.0
func (s *ResourceShareLimitExceededException) Code() string
Code returns the exception type name.
func (*ResourceShareLimitExceededException) Error ¶ added in v1.28.0
func (s *ResourceShareLimitExceededException) Error() string
func (ResourceShareLimitExceededException) GoString ¶ added in v1.28.0
func (s ResourceShareLimitExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceShareLimitExceededException) Message ¶ added in v1.28.0
func (s *ResourceShareLimitExceededException) Message() string
Message returns the exception's message.
func (*ResourceShareLimitExceededException) OrigErr ¶ added in v1.28.0
func (s *ResourceShareLimitExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceShareLimitExceededException) RequestID ¶ added in v1.28.0
func (s *ResourceShareLimitExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceShareLimitExceededException) StatusCode ¶ added in v1.28.0
func (s *ResourceShareLimitExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceShareLimitExceededException) String ¶ added in v1.28.0
func (s ResourceShareLimitExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceSharePermissionDetail ¶ added in v1.25.42
type ResourceSharePermissionDetail struct { // of this RAM permission. Arn *string `locationName:"arn" type:"string"` CreationTime *time.Time `locationName:"creationTime" type:"timestamp"` // is the default version for this permission. DefaultVersion *bool `locationName:"defaultVersion" type:"boolean"` // is the default version for all resources of this resource type. IsResourceTypeDefault *bool `locationName:"isResourceTypeDefault" type:"boolean"` LastUpdatedTime *time.Time `locationName:"lastUpdatedTime" type:"timestamp"` Name *string `locationName:"name" type:"string"` // whether the specified actions are allowed or denied. The actions list the // operations to which the principal is granted or denied access. Permission *string `locationName:"permission" type:"string"` ResourceType *string `locationName:"resourceType" type:"string"` Version *string `locationName:"version" type:"string"` // contains filtered or unexported fields }
Information about an RAM permission.
func (ResourceSharePermissionDetail) GoString ¶ added in v1.25.42
func (s ResourceSharePermissionDetail) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceSharePermissionDetail) SetArn ¶ added in v1.25.42
func (s *ResourceSharePermissionDetail) SetArn(v string) *ResourceSharePermissionDetail
SetArn sets the Arn field's value.
func (*ResourceSharePermissionDetail) SetCreationTime ¶ added in v1.25.42
func (s *ResourceSharePermissionDetail) SetCreationTime(v time.Time) *ResourceSharePermissionDetail
SetCreationTime sets the CreationTime field's value.
func (*ResourceSharePermissionDetail) SetDefaultVersion ¶ added in v1.25.42
func (s *ResourceSharePermissionDetail) SetDefaultVersion(v bool) *ResourceSharePermissionDetail
SetDefaultVersion sets the DefaultVersion field's value.
func (*ResourceSharePermissionDetail) SetIsResourceTypeDefault ¶ added in v1.38.59
func (s *ResourceSharePermissionDetail) SetIsResourceTypeDefault(v bool) *ResourceSharePermissionDetail
SetIsResourceTypeDefault sets the IsResourceTypeDefault field's value.
func (*ResourceSharePermissionDetail) SetLastUpdatedTime ¶ added in v1.25.42
func (s *ResourceSharePermissionDetail) SetLastUpdatedTime(v time.Time) *ResourceSharePermissionDetail
SetLastUpdatedTime sets the LastUpdatedTime field's value.
func (*ResourceSharePermissionDetail) SetName ¶ added in v1.25.42
func (s *ResourceSharePermissionDetail) SetName(v string) *ResourceSharePermissionDetail
SetName sets the Name field's value.
func (*ResourceSharePermissionDetail) SetPermission ¶ added in v1.25.42
func (s *ResourceSharePermissionDetail) SetPermission(v string) *ResourceSharePermissionDetail
SetPermission sets the Permission field's value.
func (*ResourceSharePermissionDetail) SetResourceType ¶ added in v1.25.42
func (s *ResourceSharePermissionDetail) SetResourceType(v string) *ResourceSharePermissionDetail
SetResourceType sets the ResourceType field's value.
func (*ResourceSharePermissionDetail) SetVersion ¶ added in v1.25.42
func (s *ResourceSharePermissionDetail) SetVersion(v string) *ResourceSharePermissionDetail
SetVersion sets the Version field's value.
func (ResourceSharePermissionDetail) String ¶ added in v1.25.42
func (s ResourceSharePermissionDetail) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceSharePermissionSummary ¶ added in v1.25.42
type ResourceSharePermissionSummary struct { // of the permission you want information about. Arn *string `locationName:"arn" type:"string"` CreationTime *time.Time `locationName:"creationTime" type:"timestamp"` // is the default version for this permission. DefaultVersion *bool `locationName:"defaultVersion" type:"boolean"` // is the default version for all resources of this resource type. IsResourceTypeDefault *bool `locationName:"isResourceTypeDefault" type:"boolean"` LastUpdatedTime *time.Time `locationName:"lastUpdatedTime" type:"timestamp"` Name *string `locationName:"name" type:"string"` ResourceType *string `locationName:"resourceType" type:"string"` Status *string `locationName:"status" type:"string"` Version *string `locationName:"version" type:"string"` // contains filtered or unexported fields }
Information about an RAM permission that is associated with a resource share and any of its resources of a specified type.
func (ResourceSharePermissionSummary) GoString ¶ added in v1.25.42
func (s ResourceSharePermissionSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceSharePermissionSummary) SetArn ¶ added in v1.25.42
func (s *ResourceSharePermissionSummary) SetArn(v string) *ResourceSharePermissionSummary
SetArn sets the Arn field's value.
func (*ResourceSharePermissionSummary) SetCreationTime ¶ added in v1.25.42
func (s *ResourceSharePermissionSummary) SetCreationTime(v time.Time) *ResourceSharePermissionSummary
SetCreationTime sets the CreationTime field's value.
func (*ResourceSharePermissionSummary) SetDefaultVersion ¶ added in v1.25.42
func (s *ResourceSharePermissionSummary) SetDefaultVersion(v bool) *ResourceSharePermissionSummary
SetDefaultVersion sets the DefaultVersion field's value.
func (*ResourceSharePermissionSummary) SetIsResourceTypeDefault ¶ added in v1.38.59
func (s *ResourceSharePermissionSummary) SetIsResourceTypeDefault(v bool) *ResourceSharePermissionSummary
SetIsResourceTypeDefault sets the IsResourceTypeDefault field's value.
func (*ResourceSharePermissionSummary) SetLastUpdatedTime ¶ added in v1.25.42
func (s *ResourceSharePermissionSummary) SetLastUpdatedTime(v time.Time) *ResourceSharePermissionSummary
SetLastUpdatedTime sets the LastUpdatedTime field's value.
func (*ResourceSharePermissionSummary) SetName ¶ added in v1.25.42
func (s *ResourceSharePermissionSummary) SetName(v string) *ResourceSharePermissionSummary
SetName sets the Name field's value.
func (*ResourceSharePermissionSummary) SetResourceType ¶ added in v1.25.42
func (s *ResourceSharePermissionSummary) SetResourceType(v string) *ResourceSharePermissionSummary
SetResourceType sets the ResourceType field's value.
func (*ResourceSharePermissionSummary) SetStatus ¶ added in v1.25.42
func (s *ResourceSharePermissionSummary) SetStatus(v string) *ResourceSharePermissionSummary
SetStatus sets the Status field's value.
func (*ResourceSharePermissionSummary) SetVersion ¶ added in v1.25.42
func (s *ResourceSharePermissionSummary) SetVersion(v string) *ResourceSharePermissionSummary
SetVersion sets the Version field's value.
func (ResourceSharePermissionSummary) String ¶ added in v1.25.42
func (s ResourceSharePermissionSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ServerInternalException ¶ added in v1.28.0
type ServerInternalException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The service could not respond to the request due to an internal problem.
func (*ServerInternalException) Code ¶ added in v1.28.0
func (s *ServerInternalException) Code() string
Code returns the exception type name.
func (*ServerInternalException) Error ¶ added in v1.28.0
func (s *ServerInternalException) Error() string
func (ServerInternalException) GoString ¶ added in v1.28.0
func (s ServerInternalException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ServerInternalException) Message ¶ added in v1.28.0
func (s *ServerInternalException) Message() string
Message returns the exception's message.
func (*ServerInternalException) OrigErr ¶ added in v1.28.0
func (s *ServerInternalException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ServerInternalException) RequestID ¶ added in v1.28.0
func (s *ServerInternalException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ServerInternalException) StatusCode ¶ added in v1.28.0
func (s *ServerInternalException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ServerInternalException) String ¶ added in v1.28.0
func (s ServerInternalException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ServiceNameAndResourceType ¶ added in v1.30.13
type ServiceNameAndResourceType struct { // Specifies the scope of visibility of resources of this type: // // * REGIONAL – The resource can be accessed only by using requests that // target the Amazon Web Services Region in which the resource exists. // // * GLOBAL – The resource can be accessed from any Amazon Web Services // Region. ResourceRegionScope *string `locationName:"resourceRegionScope" type:"string" enum:"ResourceRegionScope"` // The type of the resource. ResourceType *string `locationName:"resourceType" type:"string"` // The name of the Amazon Web Services service to which resources of this type // belong. ServiceName *string `locationName:"serviceName" type:"string"` // contains filtered or unexported fields }
Information about a shareable resource type and the Amazon Web Services service to which resources of that type belong.
func (ServiceNameAndResourceType) GoString ¶ added in v1.30.13
func (s ServiceNameAndResourceType) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ServiceNameAndResourceType) SetResourceRegionScope ¶ added in v1.42.18
func (s *ServiceNameAndResourceType) SetResourceRegionScope(v string) *ServiceNameAndResourceType
SetResourceRegionScope sets the ResourceRegionScope field's value.
func (*ServiceNameAndResourceType) SetResourceType ¶ added in v1.30.13
func (s *ServiceNameAndResourceType) SetResourceType(v string) *ServiceNameAndResourceType
SetResourceType sets the ResourceType field's value.
func (*ServiceNameAndResourceType) SetServiceName ¶ added in v1.30.13
func (s *ServiceNameAndResourceType) SetServiceName(v string) *ServiceNameAndResourceType
SetServiceName sets the ServiceName field's value.
func (ServiceNameAndResourceType) String ¶ added in v1.30.13
func (s ServiceNameAndResourceType) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ServiceUnavailableException ¶ added in v1.28.0
type ServiceUnavailableException struct { // contains filtered or unexported fields }
The service is not available.
func (*ServiceUnavailableException) Code ¶ added in v1.28.0
func (s *ServiceUnavailableException) Code() string
Code returns the exception type name.
func (*ServiceUnavailableException) Error ¶ added in v1.28.0
func (s *ServiceUnavailableException) Error() string
func (ServiceUnavailableException) GoString ¶ added in v1.28.0
func (s ServiceUnavailableException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ServiceUnavailableException) Message ¶ added in v1.28.0
func (s *ServiceUnavailableException) Message() string
Message returns the exception's message.
func (*ServiceUnavailableException) OrigErr ¶ added in v1.28.0
func (s *ServiceUnavailableException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ServiceUnavailableException) RequestID ¶ added in v1.28.0
func (s *ServiceUnavailableException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ServiceUnavailableException) StatusCode ¶ added in v1.28.0
func (s *ServiceUnavailableException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ServiceUnavailableException) String ¶ added in v1.28.0
func (s ServiceUnavailableException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Tag ¶
type Tag struct { // The key, or name, attached to the tag. Every tag must have a key. Key names // are case sensitive. Key *string `locationName:"key" type:"string"` // The string value attached to the tag. The value can be an empty string. Key // values are case sensitive. Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
A structure containing a tag. A tag is metadata that you can attach to your resources to help organize and categorize them. You can also use them to help you secure your resources. For more information, see Controlling access to Amazon Web Services resources using tags (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html).
For more information about tags, see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) in the Amazon Web Services General Reference Guide.
type TagFilter ¶
type TagFilter struct { // The tag key. This must have a valid string value and can't be empty. TagKey *string `locationName:"tagKey" type:"string"` // A list of zero or more tag values. If no values are provided, then the filter // matches any tag with the specified key, regardless of its value. TagValues []*string `locationName:"tagValues" type:"list"` // contains filtered or unexported fields }
A tag key and optional list of possible values that you can use to filter results for tagged resources.
func (TagFilter) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagFilter) SetTagValues ¶
SetTagValues sets the TagValues field's value.
type TagLimitExceededException ¶ added in v1.28.0
type TagLimitExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This request would exceed the limit for tags for your account.
func (*TagLimitExceededException) Code ¶ added in v1.28.0
func (s *TagLimitExceededException) Code() string
Code returns the exception type name.
func (*TagLimitExceededException) Error ¶ added in v1.28.0
func (s *TagLimitExceededException) Error() string
func (TagLimitExceededException) GoString ¶ added in v1.28.0
func (s TagLimitExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagLimitExceededException) Message ¶ added in v1.28.0
func (s *TagLimitExceededException) Message() string
Message returns the exception's message.
func (*TagLimitExceededException) OrigErr ¶ added in v1.28.0
func (s *TagLimitExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*TagLimitExceededException) RequestID ¶ added in v1.28.0
func (s *TagLimitExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*TagLimitExceededException) StatusCode ¶ added in v1.28.0
func (s *TagLimitExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (TagLimitExceededException) String ¶ added in v1.28.0
func (s TagLimitExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TagPolicyViolationException ¶ added in v1.28.0
type TagPolicyViolationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
The specified tag key is a reserved word and can't be used.
func (*TagPolicyViolationException) Code ¶ added in v1.28.0
func (s *TagPolicyViolationException) Code() string
Code returns the exception type name.
func (*TagPolicyViolationException) Error ¶ added in v1.28.0
func (s *TagPolicyViolationException) Error() string
func (TagPolicyViolationException) GoString ¶ added in v1.28.0
func (s TagPolicyViolationException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagPolicyViolationException) Message ¶ added in v1.28.0
func (s *TagPolicyViolationException) Message() string
Message returns the exception's message.
func (*TagPolicyViolationException) OrigErr ¶ added in v1.28.0
func (s *TagPolicyViolationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*TagPolicyViolationException) RequestID ¶ added in v1.28.0
func (s *TagPolicyViolationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*TagPolicyViolationException) StatusCode ¶ added in v1.28.0
func (s *TagPolicyViolationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (TagPolicyViolationException) String ¶ added in v1.28.0
func (s TagPolicyViolationException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TagResourceInput ¶
type TagResourceInput struct { // of the resource share that you want to add tags to. // // ResourceShareArn is a required field ResourceShareArn *string `locationName:"resourceShareArn" type:"string" required:"true"` // A list of one or more tag key and value pairs. The tag key must be present // and not be an empty string. The tag value must be present but can be an empty // string. // // Tags is a required field Tags []*Tag `locationName:"tags" type:"list" required:"true"` // contains filtered or unexported fields }
func (TagResourceInput) GoString ¶
func (s TagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagResourceInput) SetResourceShareArn ¶
func (s *TagResourceInput) SetResourceShareArn(v string) *TagResourceInput
SetResourceShareArn sets the ResourceShareArn field's value.
func (*TagResourceInput) SetTags ¶
func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput
SetTags sets the Tags field's value.
func (TagResourceInput) String ¶
func (s TagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagResourceInput) Validate ¶
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) GoString ¶
func (s TagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (TagResourceOutput) String ¶
func (s TagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ThrottlingException ¶ added in v1.42.18
type ThrottlingException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
You exceeded the rate at which you are allowed to perform this operation. Please try again later.
func (*ThrottlingException) Code ¶ added in v1.42.18
func (s *ThrottlingException) Code() string
Code returns the exception type name.
func (*ThrottlingException) Error ¶ added in v1.42.18
func (s *ThrottlingException) Error() string
func (ThrottlingException) GoString ¶ added in v1.42.18
func (s ThrottlingException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ThrottlingException) Message ¶ added in v1.42.18
func (s *ThrottlingException) Message() string
Message returns the exception's message.
func (*ThrottlingException) OrigErr ¶ added in v1.42.18
func (s *ThrottlingException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ThrottlingException) RequestID ¶ added in v1.42.18
func (s *ThrottlingException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ThrottlingException) StatusCode ¶ added in v1.42.18
func (s *ThrottlingException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ThrottlingException) String ¶ added in v1.42.18
func (s ThrottlingException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UnknownResourceException ¶ added in v1.28.0
type UnknownResourceException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
A specified resource was not found.
func (*UnknownResourceException) Code ¶ added in v1.28.0
func (s *UnknownResourceException) Code() string
Code returns the exception type name.
func (*UnknownResourceException) Error ¶ added in v1.28.0
func (s *UnknownResourceException) Error() string
func (UnknownResourceException) GoString ¶ added in v1.28.0
func (s UnknownResourceException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UnknownResourceException) Message ¶ added in v1.28.0
func (s *UnknownResourceException) Message() string
Message returns the exception's message.
func (*UnknownResourceException) OrigErr ¶ added in v1.28.0
func (s *UnknownResourceException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*UnknownResourceException) RequestID ¶ added in v1.28.0
func (s *UnknownResourceException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*UnknownResourceException) StatusCode ¶ added in v1.28.0
func (s *UnknownResourceException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (UnknownResourceException) String ¶ added in v1.28.0
func (s UnknownResourceException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UntagResourceInput ¶
type UntagResourceInput struct { // of the resource share that you want to remove tags from. The tags are removed // from the resource share, not the resources in the resource share. // // ResourceShareArn is a required field ResourceShareArn *string `locationName:"resourceShareArn" type:"string" required:"true"` // Specifies a list of one or more tag keys that you want to remove. // // TagKeys is a required field TagKeys []*string `locationName:"tagKeys" type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) GoString ¶
func (s UntagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UntagResourceInput) SetResourceShareArn ¶
func (s *UntagResourceInput) SetResourceShareArn(v string) *UntagResourceInput
SetResourceShareArn sets the ResourceShareArn field's value.
func (*UntagResourceInput) SetTagKeys ¶
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (UntagResourceInput) String ¶
func (s UntagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UntagResourceInput) Validate ¶
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) GoString ¶
func (s UntagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (UntagResourceOutput) String ¶
func (s UntagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateResourceShareInput ¶
type UpdateResourceShareInput struct { // be associated with a resource share. AllowExternalPrincipals *bool `locationName:"allowExternalPrincipals" type:"boolean"` // the idempotency of the request. This lets you safely retry the request without // accidentally performing the same operation a second time. Passing the same // value to a later call to an operation requires that you also pass the same // value for all other parameters. We recommend that you use a UUID type of // value. (https://wikipedia.org/wiki/Universally_unique_identifier). // // If you don't provide this value, then Amazon Web Services generates a random // one for you. ClientToken *string `locationName:"clientToken" type:"string"` Name *string `locationName:"name" type:"string"` // of the resource share that you want to modify. // // ResourceShareArn is a required field ResourceShareArn *string `locationName:"resourceShareArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateResourceShareInput) GoString ¶
func (s UpdateResourceShareInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateResourceShareInput) SetAllowExternalPrincipals ¶
func (s *UpdateResourceShareInput) SetAllowExternalPrincipals(v bool) *UpdateResourceShareInput
SetAllowExternalPrincipals sets the AllowExternalPrincipals field's value.
func (*UpdateResourceShareInput) SetClientToken ¶
func (s *UpdateResourceShareInput) SetClientToken(v string) *UpdateResourceShareInput
SetClientToken sets the ClientToken field's value.
func (*UpdateResourceShareInput) SetName ¶
func (s *UpdateResourceShareInput) SetName(v string) *UpdateResourceShareInput
SetName sets the Name field's value.
func (*UpdateResourceShareInput) SetResourceShareArn ¶
func (s *UpdateResourceShareInput) SetResourceShareArn(v string) *UpdateResourceShareInput
SetResourceShareArn sets the ResourceShareArn field's value.
func (UpdateResourceShareInput) String ¶
func (s UpdateResourceShareInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateResourceShareInput) Validate ¶
func (s *UpdateResourceShareInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateResourceShareOutput ¶
type UpdateResourceShareOutput struct { // the same operation in an idempotent manner then you must include this value // in the clientToken request parameter of that later call. All other parameters // must also have the same values that you used in the first call. ClientToken *string `locationName:"clientToken" type:"string"` ResourceShare *ResourceShare `locationName:"resourceShare" type:"structure"` // contains filtered or unexported fields }
func (UpdateResourceShareOutput) GoString ¶
func (s UpdateResourceShareOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateResourceShareOutput) SetClientToken ¶
func (s *UpdateResourceShareOutput) SetClientToken(v string) *UpdateResourceShareOutput
SetClientToken sets the ClientToken field's value.
func (*UpdateResourceShareOutput) SetResourceShare ¶
func (s *UpdateResourceShareOutput) SetResourceShare(v *ResourceShare) *UpdateResourceShareOutput
SetResourceShare sets the ResourceShare field's value.
func (UpdateResourceShareOutput) String ¶
func (s UpdateResourceShareOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".