package ram
import "github.com/aws/aws-sdk-go-v2/service/ram"
Package ram provides the client and types for making API requests to RAM.
Use AWS Resource Access Manager to share AWS resources between AWS accounts. To share a resource, you create a resource share, associate the resource with the resource share, and specify the principals that can access the resources associated with the resource share. The following principals are supported: AWS accounts, organizational units (OU) from AWS Organizations, and organizations from AWS Organizations.
For more information, see the AWS 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 use RAM 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 RAM client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/ram/#New
Index ¶
- Constants
- type AcceptResourceShareInvitationInput
- func (s AcceptResourceShareInvitationInput) MarshalFields(e protocol.FieldEncoder) error
- func (s AcceptResourceShareInvitationInput) String() string
- func (s *AcceptResourceShareInvitationInput) Validate() error
- type AcceptResourceShareInvitationOutput
- func (s AcceptResourceShareInvitationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s AcceptResourceShareInvitationOutput) String() string
- type AcceptResourceShareInvitationRequest
- type AcceptResourceShareInvitationResponse
- type AssociateResourceShareInput
- func (s AssociateResourceShareInput) MarshalFields(e protocol.FieldEncoder) error
- func (s AssociateResourceShareInput) String() string
- func (s *AssociateResourceShareInput) Validate() error
- type AssociateResourceShareOutput
- func (s AssociateResourceShareOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s AssociateResourceShareOutput) String() string
- type AssociateResourceSharePermissionInput
- func (s AssociateResourceSharePermissionInput) MarshalFields(e protocol.FieldEncoder) error
- func (s AssociateResourceSharePermissionInput) String() string
- func (s *AssociateResourceSharePermissionInput) Validate() error
- type AssociateResourceSharePermissionOutput
- func (s AssociateResourceSharePermissionOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s AssociateResourceSharePermissionOutput) String() string
- type AssociateResourceSharePermissionRequest
- type AssociateResourceSharePermissionResponse
- type AssociateResourceShareRequest
- type AssociateResourceShareResponse
- type Client
- func New(config aws.Config) *Client
- func (c *Client) AcceptResourceShareInvitationRequest(input *AcceptResourceShareInvitationInput) AcceptResourceShareInvitationRequest
- func (c *Client) AssociateResourceSharePermissionRequest(input *AssociateResourceSharePermissionInput) AssociateResourceSharePermissionRequest
- func (c *Client) AssociateResourceShareRequest(input *AssociateResourceShareInput) AssociateResourceShareRequest
- func (c *Client) CreateResourceShareRequest(input *CreateResourceShareInput) CreateResourceShareRequest
- func (c *Client) DeleteResourceShareRequest(input *DeleteResourceShareInput) DeleteResourceShareRequest
- func (c *Client) DisassociateResourceSharePermissionRequest(input *DisassociateResourceSharePermissionInput) DisassociateResourceSharePermissionRequest
- func (c *Client) DisassociateResourceShareRequest(input *DisassociateResourceShareInput) DisassociateResourceShareRequest
- func (c *Client) EnableSharingWithAwsOrganizationRequest(input *EnableSharingWithAwsOrganizationInput) EnableSharingWithAwsOrganizationRequest
- func (c *Client) GetPermissionRequest(input *GetPermissionInput) GetPermissionRequest
- func (c *Client) GetResourcePoliciesRequest(input *GetResourcePoliciesInput) GetResourcePoliciesRequest
- func (c *Client) GetResourceShareAssociationsRequest(input *GetResourceShareAssociationsInput) GetResourceShareAssociationsRequest
- func (c *Client) GetResourceShareInvitationsRequest(input *GetResourceShareInvitationsInput) GetResourceShareInvitationsRequest
- func (c *Client) GetResourceSharesRequest(input *GetResourceSharesInput) GetResourceSharesRequest
- func (c *Client) ListPendingInvitationResourcesRequest(input *ListPendingInvitationResourcesInput) ListPendingInvitationResourcesRequest
- func (c *Client) ListPermissionsRequest(input *ListPermissionsInput) ListPermissionsRequest
- func (c *Client) ListPrincipalsRequest(input *ListPrincipalsInput) ListPrincipalsRequest
- func (c *Client) ListResourceSharePermissionsRequest(input *ListResourceSharePermissionsInput) ListResourceSharePermissionsRequest
- func (c *Client) ListResourceTypesRequest(input *ListResourceTypesInput) ListResourceTypesRequest
- func (c *Client) ListResourcesRequest(input *ListResourcesInput) ListResourcesRequest
- func (c *Client) PromoteResourceShareCreatedFromPolicyRequest(input *PromoteResourceShareCreatedFromPolicyInput) PromoteResourceShareCreatedFromPolicyRequest
- func (c *Client) RejectResourceShareInvitationRequest(input *RejectResourceShareInvitationInput) RejectResourceShareInvitationRequest
- func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
- func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
- func (c *Client) UpdateResourceShareRequest(input *UpdateResourceShareInput) UpdateResourceShareRequest
- type CreateResourceShareInput
- func (s CreateResourceShareInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateResourceShareInput) String() string
- func (s *CreateResourceShareInput) Validate() error
- type CreateResourceShareOutput
- func (s CreateResourceShareOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateResourceShareOutput) String() string
- type CreateResourceShareRequest
- type CreateResourceShareResponse
- type DeleteResourceShareInput
- func (s DeleteResourceShareInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteResourceShareInput) String() string
- func (s *DeleteResourceShareInput) Validate() error
- type DeleteResourceShareOutput
- func (s DeleteResourceShareOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteResourceShareOutput) String() string
- type DeleteResourceShareRequest
- type DeleteResourceShareResponse
- type DisassociateResourceShareInput
- func (s DisassociateResourceShareInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DisassociateResourceShareInput) String() string
- func (s *DisassociateResourceShareInput) Validate() error
- type DisassociateResourceShareOutput
- func (s DisassociateResourceShareOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DisassociateResourceShareOutput) String() string
- type DisassociateResourceSharePermissionInput
- func (s DisassociateResourceSharePermissionInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DisassociateResourceSharePermissionInput) String() string
- func (s *DisassociateResourceSharePermissionInput) Validate() error
- type DisassociateResourceSharePermissionOutput
- func (s DisassociateResourceSharePermissionOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DisassociateResourceSharePermissionOutput) String() string
- type DisassociateResourceSharePermissionRequest
- type DisassociateResourceSharePermissionResponse
- type DisassociateResourceShareRequest
- type DisassociateResourceShareResponse
- type EnableSharingWithAwsOrganizationInput
- func (s EnableSharingWithAwsOrganizationInput) MarshalFields(e protocol.FieldEncoder) error
- func (s EnableSharingWithAwsOrganizationInput) String() string
- type EnableSharingWithAwsOrganizationOutput
- func (s EnableSharingWithAwsOrganizationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s EnableSharingWithAwsOrganizationOutput) String() string
- type EnableSharingWithAwsOrganizationRequest
- type EnableSharingWithAwsOrganizationResponse
- type GetPermissionInput
- func (s GetPermissionInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetPermissionInput) String() string
- func (s *GetPermissionInput) Validate() error
- type GetPermissionOutput
- func (s GetPermissionOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetPermissionOutput) String() string
- type GetPermissionRequest
- type GetPermissionResponse
- type GetResourcePoliciesInput
- func (s GetResourcePoliciesInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetResourcePoliciesInput) String() string
- func (s *GetResourcePoliciesInput) Validate() error
- type GetResourcePoliciesOutput
- func (s GetResourcePoliciesOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetResourcePoliciesOutput) String() string
- type GetResourcePoliciesPaginator
- func NewGetResourcePoliciesPaginator(req GetResourcePoliciesRequest) GetResourcePoliciesPaginator
- func (p *GetResourcePoliciesPaginator) CurrentPage() *GetResourcePoliciesOutput
- type GetResourcePoliciesRequest
- type GetResourcePoliciesResponse
- type GetResourceShareAssociationsInput
- func (s GetResourceShareAssociationsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetResourceShareAssociationsInput) String() string
- func (s *GetResourceShareAssociationsInput) Validate() error
- type GetResourceShareAssociationsOutput
- func (s GetResourceShareAssociationsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetResourceShareAssociationsOutput) String() string
- type GetResourceShareAssociationsPaginator
- func NewGetResourceShareAssociationsPaginator(req GetResourceShareAssociationsRequest) GetResourceShareAssociationsPaginator
- func (p *GetResourceShareAssociationsPaginator) CurrentPage() *GetResourceShareAssociationsOutput
- type GetResourceShareAssociationsRequest
- type GetResourceShareAssociationsResponse
- type GetResourceShareInvitationsInput
- func (s GetResourceShareInvitationsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetResourceShareInvitationsInput) String() string
- func (s *GetResourceShareInvitationsInput) Validate() error
- type GetResourceShareInvitationsOutput
- func (s GetResourceShareInvitationsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetResourceShareInvitationsOutput) String() string
- type GetResourceShareInvitationsPaginator
- func NewGetResourceShareInvitationsPaginator(req GetResourceShareInvitationsRequest) GetResourceShareInvitationsPaginator
- func (p *GetResourceShareInvitationsPaginator) CurrentPage() *GetResourceShareInvitationsOutput
- type GetResourceShareInvitationsRequest
- type GetResourceShareInvitationsResponse
- type GetResourceSharesInput
- func (s GetResourceSharesInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetResourceSharesInput) String() string
- func (s *GetResourceSharesInput) Validate() error
- type GetResourceSharesOutput
- func (s GetResourceSharesOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetResourceSharesOutput) String() string
- type GetResourceSharesPaginator
- func NewGetResourceSharesPaginator(req GetResourceSharesRequest) GetResourceSharesPaginator
- func (p *GetResourceSharesPaginator) CurrentPage() *GetResourceSharesOutput
- type GetResourceSharesRequest
- type GetResourceSharesResponse
- type ListPendingInvitationResourcesInput
- func (s ListPendingInvitationResourcesInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListPendingInvitationResourcesInput) String() string
- func (s *ListPendingInvitationResourcesInput) Validate() error
- type ListPendingInvitationResourcesOutput
- func (s ListPendingInvitationResourcesOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListPendingInvitationResourcesOutput) String() string
- type ListPendingInvitationResourcesPaginator
- func NewListPendingInvitationResourcesPaginator(req ListPendingInvitationResourcesRequest) ListPendingInvitationResourcesPaginator
- func (p *ListPendingInvitationResourcesPaginator) CurrentPage() *ListPendingInvitationResourcesOutput
- type ListPendingInvitationResourcesRequest
- type ListPendingInvitationResourcesResponse
- type ListPermissionsInput
- func (s ListPermissionsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListPermissionsInput) String() string
- func (s *ListPermissionsInput) Validate() error
- type ListPermissionsOutput
- func (s ListPermissionsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListPermissionsOutput) String() string
- type ListPermissionsRequest
- type ListPermissionsResponse
- type ListPrincipalsInput
- func (s ListPrincipalsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListPrincipalsInput) String() string
- func (s *ListPrincipalsInput) Validate() error
- type ListPrincipalsOutput
- func (s ListPrincipalsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListPrincipalsOutput) String() string
- type ListPrincipalsPaginator
- func NewListPrincipalsPaginator(req ListPrincipalsRequest) ListPrincipalsPaginator
- func (p *ListPrincipalsPaginator) CurrentPage() *ListPrincipalsOutput
- type ListPrincipalsRequest
- type ListPrincipalsResponse
- type ListResourceSharePermissionsInput
- func (s ListResourceSharePermissionsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListResourceSharePermissionsInput) String() string
- func (s *ListResourceSharePermissionsInput) Validate() error
- type ListResourceSharePermissionsOutput
- func (s ListResourceSharePermissionsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListResourceSharePermissionsOutput) String() string
- type ListResourceSharePermissionsRequest
- type ListResourceSharePermissionsResponse
- type ListResourceTypesInput
- func (s ListResourceTypesInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListResourceTypesInput) String() string
- func (s *ListResourceTypesInput) Validate() error
- type ListResourceTypesOutput
- func (s ListResourceTypesOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListResourceTypesOutput) String() string
- type ListResourceTypesRequest
- type ListResourceTypesResponse
- type ListResourcesInput
- func (s ListResourcesInput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListResourcesInput) String() string
- func (s *ListResourcesInput) Validate() error
- type ListResourcesOutput
- func (s ListResourcesOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s ListResourcesOutput) String() string
- type ListResourcesPaginator
- func NewListResourcesPaginator(req ListResourcesRequest) ListResourcesPaginator
- func (p *ListResourcesPaginator) CurrentPage() *ListResourcesOutput
- type ListResourcesRequest
- type ListResourcesResponse
- type Principal
- type PromoteResourceShareCreatedFromPolicyInput
- func (s PromoteResourceShareCreatedFromPolicyInput) MarshalFields(e protocol.FieldEncoder) error
- func (s PromoteResourceShareCreatedFromPolicyInput) String() string
- func (s *PromoteResourceShareCreatedFromPolicyInput) Validate() error
- type PromoteResourceShareCreatedFromPolicyOutput
- func (s PromoteResourceShareCreatedFromPolicyOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s PromoteResourceShareCreatedFromPolicyOutput) String() string
- type PromoteResourceShareCreatedFromPolicyRequest
- type PromoteResourceShareCreatedFromPolicyResponse
- type RejectResourceShareInvitationInput
- func (s RejectResourceShareInvitationInput) MarshalFields(e protocol.FieldEncoder) error
- func (s RejectResourceShareInvitationInput) String() string
- func (s *RejectResourceShareInvitationInput) Validate() error
- type RejectResourceShareInvitationOutput
- func (s RejectResourceShareInvitationOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s RejectResourceShareInvitationOutput) String() string
- type RejectResourceShareInvitationRequest
- type RejectResourceShareInvitationResponse
- type Resource
- type ResourceOwner
- func (enum ResourceOwner) MarshalValue() (string, error)
- func (enum ResourceOwner) MarshalValueBuf(b []byte) ([]byte, error)
- type ResourceShare
- func (s ResourceShare) MarshalFields(e protocol.FieldEncoder) error
- func (s ResourceShare) String() string
- type ResourceShareAssociation
- func (s ResourceShareAssociation) MarshalFields(e protocol.FieldEncoder) error
- func (s ResourceShareAssociation) String() string
- type ResourceShareAssociationStatus
- func (enum ResourceShareAssociationStatus) MarshalValue() (string, error)
- func (enum ResourceShareAssociationStatus) MarshalValueBuf(b []byte) ([]byte, error)
- type ResourceShareAssociationType
- func (enum ResourceShareAssociationType) MarshalValue() (string, error)
- func (enum ResourceShareAssociationType) MarshalValueBuf(b []byte) ([]byte, error)
- type ResourceShareFeatureSet
- func (enum ResourceShareFeatureSet) MarshalValue() (string, error)
- func (enum ResourceShareFeatureSet) MarshalValueBuf(b []byte) ([]byte, error)
- type ResourceShareInvitation
- func (s ResourceShareInvitation) MarshalFields(e protocol.FieldEncoder) error
- func (s ResourceShareInvitation) String() string
- type ResourceShareInvitationStatus
- func (enum ResourceShareInvitationStatus) MarshalValue() (string, error)
- func (enum ResourceShareInvitationStatus) MarshalValueBuf(b []byte) ([]byte, error)
- type ResourceSharePermissionDetail
- func (s ResourceSharePermissionDetail) MarshalFields(e protocol.FieldEncoder) error
- func (s ResourceSharePermissionDetail) String() string
- type ResourceSharePermissionSummary
- func (s ResourceSharePermissionSummary) MarshalFields(e protocol.FieldEncoder) error
- func (s ResourceSharePermissionSummary) String() string
- type ResourceShareStatus
- func (enum ResourceShareStatus) MarshalValue() (string, error)
- func (enum ResourceShareStatus) MarshalValueBuf(b []byte) ([]byte, error)
- type ResourceStatus
- func (enum ResourceStatus) MarshalValue() (string, error)
- func (enum ResourceStatus) MarshalValueBuf(b []byte) ([]byte, error)
- type ServiceNameAndResourceType
- func (s ServiceNameAndResourceType) MarshalFields(e protocol.FieldEncoder) error
- func (s ServiceNameAndResourceType) String() string
- type Tag
- type TagFilter
- type TagResourceInput
- func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s TagResourceInput) String() string
- func (s *TagResourceInput) Validate() error
- type TagResourceOutput
- func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s TagResourceOutput) String() string
- type TagResourceRequest
- type TagResourceResponse
- type UntagResourceInput
- func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UntagResourceInput) String() string
- func (s *UntagResourceInput) Validate() error
- type UntagResourceOutput
- func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UntagResourceOutput) String() string
- type UntagResourceRequest
- type UntagResourceResponse
- type UpdateResourceShareInput
- func (s UpdateResourceShareInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateResourceShareInput) String() string
- func (s *UpdateResourceShareInput) Validate() error
- type UpdateResourceShareOutput
- func (s UpdateResourceShareOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateResourceShareOutput) String() string
- type UpdateResourceShareRequest
- type UpdateResourceShareResponse
Constants ¶
const ( ServiceName = "RAM" // Service's name ServiceID = "RAM" // Service's identifier EndpointsID = "ram" // Service's Endpoint identifier )
const ( // ErrCodeIdempotentParameterMismatchException for service response error code // "IdempotentParameterMismatchException". // // A client token input parameter was reused with an operation, but at least // one of the other input parameters is different from the previous call to // the operation. ErrCodeIdempotentParameterMismatchException = "IdempotentParameterMismatchException" // ErrCodeInvalidClientTokenException for service response error code // "InvalidClientTokenException". // // A 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". // // An Amazon Resource Name (ARN) was not found. ErrCodeResourceArnNotFoundException = "ResourceArnNotFoundException" // ErrCodeResourceShareInvitationAlreadyAcceptedException for service response error code // "ResourceShareInvitationAlreadyAcceptedException". // // The invitation was already accepted. = "ResourceShareInvitationAlreadyAcceptedException" // ErrCodeResourceShareInvitationAlreadyRejectedException for service response error code // "ResourceShareInvitationAlreadyRejectedException". // // The invitation was already rejected. = "ResourceShareInvitationAlreadyRejectedException" // ErrCodeResourceShareInvitationArnNotFoundException for service response error code // "ResourceShareInvitationArnNotFoundException". // // The Amazon Resource Name (ARN) for an invitation was not found. = "ResourceShareInvitationArnNotFoundException" // ErrCodeResourceShareInvitationExpiredException for service response error code // "ResourceShareInvitationExpiredException". // // The invitation is expired. = "ResourceShareInvitationExpiredException" // ErrCodeResourceShareLimitExceededException for service response error code // "ResourceShareLimitExceededException". // // The requested resource share exceeds the limit for your account. = "ResourceShareLimitExceededException" // ErrCodeServerInternalException for service response error code // "ServerInternalException". // // The service could not respond to the request due to an internal problem. ErrCodeServerInternalException = "ServerInternalException" // ErrCodeServiceUnavailableException for service response error code // "ServiceUnavailableException". // // The service is not available. = "ServiceUnavailableException" // ErrCodeTagLimitExceededException for service response error code // "TagLimitExceededException". // // The requested tags exceed the limit for your account. ErrCodeTagLimitExceededException = "TagLimitExceededException" // ErrCodeTagPolicyViolationException for service response error code // "TagPolicyViolationException". // // The specified tag is a reserved word and cannot be used. ErrCodeTagPolicyViolationException = "TagPolicyViolationException" // ErrCodeUnknownResourceException for service response error code // "UnknownResourceException". // // A specified resource was not found. ErrCodeUnknownResourceException = "UnknownResourceException" )
Types ¶
type AcceptResourceShareInvitationInput ¶
type AcceptResourceShareInvitationInput struct { // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. *string `locationName:"clientToken" type:"string"` // The Amazon Resource Name (ARN) of the invitation. // // ResourceShareInvitationArn is a required field *string `locationName:"resourceShareInvitationArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (AcceptResourceShareInvitationInput) MarshalFields ¶
func (s AcceptResourceShareInvitationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AcceptResourceShareInvitationInput) String ¶
func (s AcceptResourceShareInvitationInput) String() string
String returns the string representation
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 { // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. *string `locationName:"clientToken" type:"string"` // Information about the invitation. *ResourceShareInvitation `locationName:"resourceShareInvitation" type:"structure"` // contains filtered or unexported fields }
func (AcceptResourceShareInvitationOutput) MarshalFields ¶
func (s AcceptResourceShareInvitationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AcceptResourceShareInvitationOutput) String ¶
func (s AcceptResourceShareInvitationOutput) String() string
String returns the string representation
type AcceptResourceShareInvitationRequest ¶
type AcceptResourceShareInvitationRequest struct { *aws.Request *AcceptResourceShareInvitationInput func(*AcceptResourceShareInvitationInput) AcceptResourceShareInvitationRequest }
AcceptResourceShareInvitationRequest is the request type for the AcceptResourceShareInvitation API operation.
func (AcceptResourceShareInvitationRequest) Send ¶
func (r AcceptResourceShareInvitationRequest) Send(ctx context.Context) (*AcceptResourceShareInvitationResponse, error)
Send marshals and sends the AcceptResourceShareInvitation API request.
type AcceptResourceShareInvitationResponse ¶
type AcceptResourceShareInvitationResponse struct { *AcceptResourceShareInvitationOutput // contains filtered or unexported fields }
AcceptResourceShareInvitationResponse is the response type for the AcceptResourceShareInvitation API operation.
func (*AcceptResourceShareInvitationResponse) SDKResponseMetdata ¶
func (r *AcceptResourceShareInvitationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AcceptResourceShareInvitation request.
type AssociateResourceShareInput ¶
type AssociateResourceShareInput struct { // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. *string `locationName:"clientToken" type:"string"` // The principals. []string `locationName:"principals" type:"list"` // The Amazon Resource Names (ARN) of the resources. []string `locationName:"resourceArns" type:"list"` // The Amazon Resource Name (ARN) of the resource share. // // ResourceShareArn is a required field *string `locationName:"resourceShareArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (AssociateResourceShareInput) MarshalFields ¶
func (s AssociateResourceShareInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AssociateResourceShareInput) String ¶
func (s AssociateResourceShareInput) String() string
String returns the string representation
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 { // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. *string `locationName:"clientToken" type:"string"` // Information about the associations. []ResourceShareAssociation `locationName:"resourceShareAssociations" type:"list"` // contains filtered or unexported fields }
func (AssociateResourceShareOutput) MarshalFields ¶
func (s AssociateResourceShareOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AssociateResourceShareOutput) String ¶
func (s AssociateResourceShareOutput) String() string
String returns the string representation
type AssociateResourceSharePermissionInput ¶
type AssociateResourceSharePermissionInput struct { // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. *string `locationName:"clientToken" type:"string"` // The ARN of the AWS RAM permission to associate with the resource share. // // PermissionArn is a required field *string `locationName:"permissionArn" type:"string" required:"true"` // Indicates whether the permission should replace the permissions that are // currently associated with the resource share. Use true to replace the current // permissions. Use false to add the permission to the current permission. *bool `locationName:"replace" type:"boolean"` // The Amazon Resource Name (ARN) of the resource share. // // ResourceShareArn is a required field *string `locationName:"resourceShareArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (AssociateResourceSharePermissionInput) MarshalFields ¶
func (s AssociateResourceSharePermissionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AssociateResourceSharePermissionInput) String ¶
func (s AssociateResourceSharePermissionInput) String() string
String returns the string representation
func (*AssociateResourceSharePermissionInput) Validate ¶
func (s *AssociateResourceSharePermissionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateResourceSharePermissionOutput ¶
type AssociateResourceSharePermissionOutput struct { // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. *string `locationName:"clientToken" type:"string"` // Indicates whether the request succeeded. *bool `locationName:"returnValue" type:"boolean"` // contains filtered or unexported fields }
func (AssociateResourceSharePermissionOutput) MarshalFields ¶
func (s AssociateResourceSharePermissionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AssociateResourceSharePermissionOutput) String ¶
func (s AssociateResourceSharePermissionOutput) String() string
String returns the string representation
type AssociateResourceSharePermissionRequest ¶
type AssociateResourceSharePermissionRequest struct { *aws.Request *AssociateResourceSharePermissionInput func(*AssociateResourceSharePermissionInput) AssociateResourceSharePermissionRequest }
AssociateResourceSharePermissionRequest is the request type for the AssociateResourceSharePermission API operation.
func (AssociateResourceSharePermissionRequest) Send ¶
func (r AssociateResourceSharePermissionRequest) Send(ctx context.Context) (*AssociateResourceSharePermissionResponse, error)
Send marshals and sends the AssociateResourceSharePermission API request.
type AssociateResourceSharePermissionResponse ¶
type AssociateResourceSharePermissionResponse struct { *AssociateResourceSharePermissionOutput // contains filtered or unexported fields }
AssociateResourceSharePermissionResponse is the response type for the AssociateResourceSharePermission API operation.
func (*AssociateResourceSharePermissionResponse) SDKResponseMetdata ¶
func (r *AssociateResourceSharePermissionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AssociateResourceSharePermission request.
type AssociateResourceShareRequest ¶
type AssociateResourceShareRequest struct { *aws.Request *AssociateResourceShareInput func(*AssociateResourceShareInput) AssociateResourceShareRequest }
AssociateResourceShareRequest is the request type for the AssociateResourceShare API operation.
func (AssociateResourceShareRequest) Send ¶
func (r AssociateResourceShareRequest) Send(ctx context.Context) (*AssociateResourceShareResponse, error)
Send marshals and sends the AssociateResourceShare API request.
type AssociateResourceShareResponse ¶
type AssociateResourceShareResponse struct { *AssociateResourceShareOutput // contains filtered or unexported fields }
AssociateResourceShareResponse is the response type for the AssociateResourceShare API operation.
func (*AssociateResourceShareResponse) SDKResponseMetdata ¶
func (r *AssociateResourceShareResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the AssociateResourceShare request.
type Client ¶
Client provides the API operation methods for making requests to RAM. See this package's package overview docs for details on the service.
The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
New creates a new instance of the client from the provided Config.
Example:
// Create a client from just a config. svc := ram.New(myConfig)
func (*Client) AcceptResourceShareInvitationRequest ¶
func (c *Client) AcceptResourceShareInvitationRequest(input *AcceptResourceShareInvitationInput) AcceptResourceShareInvitationRequest
AcceptResourceShareInvitationRequest returns a request value for making API operation for AWS Resource Access Manager.
Accepts an invitation to a resource share from another AWS account.
// Example sending a request using AcceptResourceShareInvitationRequest. req := client.AcceptResourceShareInvitationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AcceptResourceShareInvitation
func (*Client) AssociateResourceSharePermissionRequest ¶
func (c *Client) AssociateResourceSharePermissionRequest(input *AssociateResourceSharePermissionInput) AssociateResourceSharePermissionRequest
AssociateResourceSharePermissionRequest returns a request value for making API operation for AWS Resource Access Manager.
Associates a permission with a resource share.
// Example sending a request using AssociateResourceSharePermissionRequest. req := client.AssociateResourceSharePermissionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AssociateResourceSharePermission
func (*Client) AssociateResourceShareRequest ¶
func (c *Client) AssociateResourceShareRequest(input *AssociateResourceShareInput) AssociateResourceShareRequest
AssociateResourceShareRequest returns a request value for making API operation for AWS Resource Access Manager.
Associates the specified resource share with the specified principals and resources.
// Example sending a request using AssociateResourceShareRequest. req := client.AssociateResourceShareRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AssociateResourceShare
func (*Client) CreateResourceShareRequest ¶
func (c *Client) CreateResourceShareRequest(input *CreateResourceShareInput) CreateResourceShareRequest
CreateResourceShareRequest returns a request value for making API operation for AWS Resource Access Manager.
Creates a resource share.
// Example sending a request using CreateResourceShareRequest. req := client.CreateResourceShareRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/CreateResourceShare
func (*Client) DeleteResourceShareRequest ¶
func (c *Client) DeleteResourceShareRequest(input *DeleteResourceShareInput) DeleteResourceShareRequest
DeleteResourceShareRequest returns a request value for making API operation for AWS Resource Access Manager.
Deletes the specified resource share.
// Example sending a request using DeleteResourceShareRequest. req := client.DeleteResourceShareRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DeleteResourceShare
func (*Client) DisassociateResourceSharePermissionRequest ¶
func (c *Client) DisassociateResourceSharePermissionRequest(input *DisassociateResourceSharePermissionInput) DisassociateResourceSharePermissionRequest
DisassociateResourceSharePermissionRequest returns a request value for making API operation for AWS Resource Access Manager.
Disassociates an AWS RAM permission from a resource share.
// Example sending a request using DisassociateResourceSharePermissionRequest. req := client.DisassociateResourceSharePermissionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DisassociateResourceSharePermission
func (*Client) DisassociateResourceShareRequest ¶
func (c *Client) DisassociateResourceShareRequest(input *DisassociateResourceShareInput) DisassociateResourceShareRequest
DisassociateResourceShareRequest returns a request value for making API operation for AWS Resource Access Manager.
Disassociates the specified principals or resources from the specified resource share.
// Example sending a request using DisassociateResourceShareRequest. req := client.DisassociateResourceShareRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DisassociateResourceShare
func (*Client) EnableSharingWithAwsOrganizationRequest ¶
func (c *Client) EnableSharingWithAwsOrganizationRequest(input *EnableSharingWithAwsOrganizationInput) EnableSharingWithAwsOrganizationRequest
EnableSharingWithAwsOrganizationRequest returns a request value for making API operation for AWS Resource Access Manager.
Enables resource sharing within your AWS Organization.
The caller must be the master account for the AWS Organization.
// Example sending a request using EnableSharingWithAwsOrganizationRequest. req := client.EnableSharingWithAwsOrganizationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/EnableSharingWithAwsOrganization
func (*Client) GetPermissionRequest ¶
func (c *Client) GetPermissionRequest(input *GetPermissionInput) GetPermissionRequest
GetPermissionRequest returns a request value for making API operation for AWS Resource Access Manager.
Gets the contents of an AWS RAM permission in JSON format.
// Example sending a request using GetPermissionRequest. req := client.GetPermissionRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetPermission
func (*Client) GetResourcePoliciesRequest ¶
func (c *Client) GetResourcePoliciesRequest(input *GetResourcePoliciesInput) GetResourcePoliciesRequest
GetResourcePoliciesRequest returns a request value for making API operation for AWS Resource Access Manager.
Gets the policies for the specified resources that you own and have shared.
// Example sending a request using GetResourcePoliciesRequest. req := client.GetResourcePoliciesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourcePolicies
func (*Client) GetResourceShareAssociationsRequest ¶
func (c *Client) GetResourceShareAssociationsRequest(input *GetResourceShareAssociationsInput) GetResourceShareAssociationsRequest
GetResourceShareAssociationsRequest returns a request value for making API operation for AWS Resource Access Manager.
Gets the resources or principals for the resource shares that you own.
// Example sending a request using GetResourceShareAssociationsRequest. req := client.GetResourceShareAssociationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShareAssociations
func (*Client) GetResourceShareInvitationsRequest ¶
func (c *Client) GetResourceShareInvitationsRequest(input *GetResourceShareInvitationsInput) GetResourceShareInvitationsRequest
GetResourceShareInvitationsRequest returns a request value for making API operation for AWS Resource Access Manager.
Gets the invitations for resource sharing that you've received.
// Example sending a request using GetResourceShareInvitationsRequest. req := client.GetResourceShareInvitationsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShareInvitations
func (*Client) GetResourceSharesRequest ¶
func (c *Client) GetResourceSharesRequest(input *GetResourceSharesInput) GetResourceSharesRequest
GetResourceSharesRequest returns a request value for making API operation for AWS Resource Access Manager.
Gets the resource shares that you own or the resource shares that are shared with you.
// Example sending a request using GetResourceSharesRequest. req := client.GetResourceSharesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShares
func (*Client) ListPendingInvitationResourcesRequest ¶
func (c *Client) ListPendingInvitationResourcesRequest(input *ListPendingInvitationResourcesInput) ListPendingInvitationResourcesRequest
ListPendingInvitationResourcesRequest returns a request value for making API operation for AWS Resource Access Manager.
Lists the resources in a resource share that is shared with you but that the invitation is still pending for.
// Example sending a request using ListPendingInvitationResourcesRequest. req := client.ListPendingInvitationResourcesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPendingInvitationResources
func (*Client) ListPermissionsRequest ¶
func (c *Client) ListPermissionsRequest(input *ListPermissionsInput) ListPermissionsRequest
ListPermissionsRequest returns a request value for making API operation for AWS Resource Access Manager.
Lists the AWS RAM permissions.
// Example sending a request using ListPermissionsRequest. req := client.ListPermissionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPermissions
func (*Client) ListPrincipalsRequest ¶
func (c *Client) ListPrincipalsRequest(input *ListPrincipalsInput) ListPrincipalsRequest
ListPrincipalsRequest returns a request value for making API operation for AWS Resource Access Manager.
Lists the principals that you have shared resources with or that have shared resources with you.
// Example sending a request using ListPrincipalsRequest. req := client.ListPrincipalsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPrincipals
func (*Client) ListResourceSharePermissionsRequest ¶
func (c *Client) ListResourceSharePermissionsRequest(input *ListResourceSharePermissionsInput) ListResourceSharePermissionsRequest
ListResourceSharePermissionsRequest returns a request value for making API operation for AWS Resource Access Manager.
Lists the AWS RAM permissions that are associated with a resource share.
// Example sending a request using ListResourceSharePermissionsRequest. req := client.ListResourceSharePermissionsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceSharePermissions
func (*Client) ListResourceTypesRequest ¶
func (c *Client) ListResourceTypesRequest(input *ListResourceTypesInput) ListResourceTypesRequest
ListResourceTypesRequest returns a request value for making API operation for AWS Resource Access Manager.
Lists the shareable resource types supported by AWS RAM.
// Example sending a request using ListResourceTypesRequest. req := client.ListResourceTypesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceTypes
func (*Client) ListResourcesRequest ¶
func (c *Client) ListResourcesRequest(input *ListResourcesInput) ListResourcesRequest
ListResourcesRequest returns a request value for making API operation for AWS Resource Access Manager.
Lists the resources that you added to a resource shares or the resources that are shared with you.
// Example sending a request using ListResourcesRequest. req := client.ListResourcesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResources
func (*Client) PromoteResourceShareCreatedFromPolicyRequest ¶
func (c *Client) PromoteResourceShareCreatedFromPolicyRequest(input *PromoteResourceShareCreatedFromPolicyInput) PromoteResourceShareCreatedFromPolicyRequest
PromoteResourceShareCreatedFromPolicyRequest returns a request value for making API operation for AWS Resource Access Manager.
Resource shares that were created by attaching a policy to a resource are visible only to the resource share owner, and the resource share cannot be modified in AWS RAM.
Use this API action to promote the resource share. When you promote the resource share, it becomes:
Visible to all principals that it is shared with.
Modifiable in AWS RAM.
// Example sending a request using PromoteResourceShareCreatedFromPolicyRequest. req := client.PromoteResourceShareCreatedFromPolicyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/PromoteResourceShareCreatedFromPolicy
func (*Client) RejectResourceShareInvitationRequest ¶
func (c *Client) RejectResourceShareInvitationRequest(input *RejectResourceShareInvitationInput) RejectResourceShareInvitationRequest
RejectResourceShareInvitationRequest returns a request value for making API operation for AWS Resource Access Manager.
Rejects an invitation to a resource share from another AWS account.
// Example sending a request using RejectResourceShareInvitationRequest. req := client.RejectResourceShareInvitationRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/RejectResourceShareInvitation
func (*Client) TagResourceRequest ¶
func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest
TagResourceRequest returns a request value for making API operation for AWS Resource Access Manager.
Adds the specified tags to the specified resource share that you own.
// Example sending a request using TagResourceRequest. req := client.TagResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/TagResource
func (*Client) UntagResourceRequest ¶
func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
UntagResourceRequest returns a request value for making API operation for AWS Resource Access Manager.
Removes the specified tags from the specified resource share that you own.
// Example sending a request using UntagResourceRequest. req := client.UntagResourceRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/UntagResource
func (*Client) UpdateResourceShareRequest ¶
func (c *Client) UpdateResourceShareRequest(input *UpdateResourceShareInput) UpdateResourceShareRequest
UpdateResourceShareRequest returns a request value for making API operation for AWS Resource Access Manager.
Updates the specified resource share that you own.
// Example sending a request using UpdateResourceShareRequest. req := client.UpdateResourceShareRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/UpdateResourceShare
type CreateResourceShareInput ¶
type CreateResourceShareInput struct { // Indicates whether principals outside your AWS organization can be associated // with a resource share. *bool `locationName:"allowExternalPrincipals" type:"boolean"` // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. *string `locationName:"clientToken" type:"string"` // The name of the resource share. // // Name is a required field *string `locationName:"name" type:"string" required:"true"` // The ARNs of the permissions to associate with the resource share. If you // do not specify an ARN for the permission, AWS RAM automatically attaches // the default version of the permission for each resource type. []string `locationName:"permissionArns" type:"list"` // The principals to associate with the resource share. The possible values // are IDs of AWS accounts, the ARN of an OU or organization from AWS Organizations. []string `locationName:"principals" type:"list"` // The Amazon Resource Names (ARN) of the resources to associate with the resource // share. []string `locationName:"resourceArns" type:"list"` // One or more tags. []Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
func (CreateResourceShareInput) MarshalFields ¶
func (s CreateResourceShareInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateResourceShareInput) String ¶
func (s CreateResourceShareInput) String() string
String returns the string representation
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 { // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. *string `locationName:"clientToken" type:"string"` // Information about the resource share. *ResourceShare `locationName:"resourceShare" type:"structure"` // contains filtered or unexported fields }
func (CreateResourceShareOutput) MarshalFields ¶
func (s CreateResourceShareOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateResourceShareOutput) String ¶
func (s CreateResourceShareOutput) String() string
String returns the string representation
type CreateResourceShareRequest ¶
type CreateResourceShareRequest struct { *aws.Request *CreateResourceShareInput func(*CreateResourceShareInput) CreateResourceShareRequest }
CreateResourceShareRequest is the request type for the CreateResourceShare API operation.
func (CreateResourceShareRequest) Send ¶
func (r CreateResourceShareRequest) Send(ctx context.Context) (*CreateResourceShareResponse, error)
Send marshals and sends the CreateResourceShare API request.
type CreateResourceShareResponse ¶
type CreateResourceShareResponse struct { *CreateResourceShareOutput // contains filtered or unexported fields }
CreateResourceShareResponse is the response type for the CreateResourceShare API operation.
func (*CreateResourceShareResponse) SDKResponseMetdata ¶
func (r *CreateResourceShareResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the CreateResourceShare request.
type DeleteResourceShareInput ¶
type DeleteResourceShareInput struct { // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. *string `location:"querystring" locationName:"clientToken" type:"string"` // The Amazon Resource Name (ARN) of the resource share. // // ResourceShareArn is a required field *string `location:"querystring" locationName:"resourceShareArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteResourceShareInput) MarshalFields ¶
func (s DeleteResourceShareInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteResourceShareInput) String ¶
func (s DeleteResourceShareInput) String() string
String returns the string representation
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 { // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. *string `locationName:"clientToken" type:"string"` // Indicates whether the request succeeded. *bool `locationName:"returnValue" type:"boolean"` // contains filtered or unexported fields }
func (DeleteResourceShareOutput) MarshalFields ¶
func (s DeleteResourceShareOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteResourceShareOutput) String ¶
func (s DeleteResourceShareOutput) String() string
String returns the string representation
type DeleteResourceShareRequest ¶
type DeleteResourceShareRequest struct { *aws.Request *DeleteResourceShareInput func(*DeleteResourceShareInput) DeleteResourceShareRequest }
DeleteResourceShareRequest is the request type for the DeleteResourceShare API operation.
func (DeleteResourceShareRequest) Send ¶
func (r DeleteResourceShareRequest) Send(ctx context.Context) (*DeleteResourceShareResponse, error)
Send marshals and sends the DeleteResourceShare API request.
type DeleteResourceShareResponse ¶
type DeleteResourceShareResponse struct { *DeleteResourceShareOutput // contains filtered or unexported fields }
DeleteResourceShareResponse is the response type for the DeleteResourceShare API operation.
func (*DeleteResourceShareResponse) SDKResponseMetdata ¶
func (r *DeleteResourceShareResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DeleteResourceShare request.
type DisassociateResourceShareInput ¶
type DisassociateResourceShareInput struct { // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. *string `locationName:"clientToken" type:"string"` // The principals. []string `locationName:"principals" type:"list"` // The Amazon Resource Names (ARNs) of the resources. []string `locationName:"resourceArns" type:"list"` // The Amazon Resource Name (ARN) of the resource share. // // ResourceShareArn is a required field *string `locationName:"resourceShareArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (DisassociateResourceShareInput) MarshalFields ¶
func (s DisassociateResourceShareInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DisassociateResourceShareInput) String ¶
func (s DisassociateResourceShareInput) String() string
String returns the string representation
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 { // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. *string `locationName:"clientToken" type:"string"` // Information about the associations. []ResourceShareAssociation `locationName:"resourceShareAssociations" type:"list"` // contains filtered or unexported fields }
func (DisassociateResourceShareOutput) MarshalFields ¶
func (s DisassociateResourceShareOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DisassociateResourceShareOutput) String ¶
func (s DisassociateResourceShareOutput) String() string
String returns the string representation
type DisassociateResourceSharePermissionInput ¶
type DisassociateResourceSharePermissionInput struct { // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. *string `locationName:"clientToken" type:"string"` // The ARN of the permission to disassociate from the resource share. // // PermissionArn is a required field *string `locationName:"permissionArn" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the resource share. // // ResourceShareArn is a required field *string `locationName:"resourceShareArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (DisassociateResourceSharePermissionInput) MarshalFields ¶
func (s DisassociateResourceSharePermissionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DisassociateResourceSharePermissionInput) String ¶
func (s DisassociateResourceSharePermissionInput) String() string
String returns the string representation
func (*DisassociateResourceSharePermissionInput) Validate ¶
func (s *DisassociateResourceSharePermissionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateResourceSharePermissionOutput ¶
type DisassociateResourceSharePermissionOutput struct { // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. *string `locationName:"clientToken" type:"string"` // Indicates whether the request succeeded. *bool `locationName:"returnValue" type:"boolean"` // contains filtered or unexported fields }
func (DisassociateResourceSharePermissionOutput) MarshalFields ¶
func (s DisassociateResourceSharePermissionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DisassociateResourceSharePermissionOutput) String ¶
func (s DisassociateResourceSharePermissionOutput) String() string
String returns the string representation
type DisassociateResourceSharePermissionRequest ¶
type DisassociateResourceSharePermissionRequest struct { *aws.Request *DisassociateResourceSharePermissionInput func(*DisassociateResourceSharePermissionInput) DisassociateResourceSharePermissionRequest }
DisassociateResourceSharePermissionRequest is the request type for the DisassociateResourceSharePermission API operation.
func (DisassociateResourceSharePermissionRequest) Send ¶
func (r DisassociateResourceSharePermissionRequest) Send(ctx context.Context) (*DisassociateResourceSharePermissionResponse, error)
Send marshals and sends the DisassociateResourceSharePermission API request.
type DisassociateResourceSharePermissionResponse ¶
type DisassociateResourceSharePermissionResponse struct { *DisassociateResourceSharePermissionOutput // contains filtered or unexported fields }
DisassociateResourceSharePermissionResponse is the response type for the DisassociateResourceSharePermission API operation.
func (*DisassociateResourceSharePermissionResponse) SDKResponseMetdata ¶
func (r *DisassociateResourceSharePermissionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DisassociateResourceSharePermission request.
type DisassociateResourceShareRequest ¶
type DisassociateResourceShareRequest struct { *aws.Request *DisassociateResourceShareInput func(*DisassociateResourceShareInput) DisassociateResourceShareRequest }
DisassociateResourceShareRequest is the request type for the DisassociateResourceShare API operation.
func (DisassociateResourceShareRequest) Send ¶
func (r DisassociateResourceShareRequest) Send(ctx context.Context) (*DisassociateResourceShareResponse, error)
Send marshals and sends the DisassociateResourceShare API request.
type DisassociateResourceShareResponse ¶
type DisassociateResourceShareResponse struct { *DisassociateResourceShareOutput // contains filtered or unexported fields }
DisassociateResourceShareResponse is the response type for the DisassociateResourceShare API operation.
func (*DisassociateResourceShareResponse) SDKResponseMetdata ¶
func (r *DisassociateResourceShareResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the DisassociateResourceShare request.
type EnableSharingWithAwsOrganizationInput ¶
type EnableSharingWithAwsOrganizationInput struct {
// contains filtered or unexported fields
}
func (EnableSharingWithAwsOrganizationInput) MarshalFields ¶
func (s EnableSharingWithAwsOrganizationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (EnableSharingWithAwsOrganizationInput) String ¶
func (s EnableSharingWithAwsOrganizationInput) String() string
String returns the string representation
type EnableSharingWithAwsOrganizationOutput ¶
type EnableSharingWithAwsOrganizationOutput struct { // Indicates whether the request succeeded. ReturnValue *bool `locationName:"returnValue" type:"boolean"` // contains filtered or unexported fields }
func (EnableSharingWithAwsOrganizationOutput) MarshalFields ¶
func (s EnableSharingWithAwsOrganizationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (EnableSharingWithAwsOrganizationOutput) String ¶
func (s EnableSharingWithAwsOrganizationOutput) String() string
String returns the string representation
type EnableSharingWithAwsOrganizationRequest ¶
type EnableSharingWithAwsOrganizationRequest struct { *aws.Request Input *EnableSharingWithAwsOrganizationInput Copy func(*EnableSharingWithAwsOrganizationInput) EnableSharingWithAwsOrganizationRequest }
EnableSharingWithAwsOrganizationRequest is the request type for the EnableSharingWithAwsOrganization API operation.
func (EnableSharingWithAwsOrganizationRequest) Send ¶
func (r EnableSharingWithAwsOrganizationRequest) Send(ctx context.Context) (*EnableSharingWithAwsOrganizationResponse, error)
Send marshals and sends the EnableSharingWithAwsOrganization API request.
type EnableSharingWithAwsOrganizationResponse ¶
type EnableSharingWithAwsOrganizationResponse struct { *EnableSharingWithAwsOrganizationOutput // contains filtered or unexported fields }
EnableSharingWithAwsOrganizationResponse is the response type for the EnableSharingWithAwsOrganization API operation.
func (*EnableSharingWithAwsOrganizationResponse) SDKResponseMetdata ¶
func (r *EnableSharingWithAwsOrganizationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the EnableSharingWithAwsOrganization request.
type GetPermissionInput ¶
type GetPermissionInput struct { // The ARN of the permission. // // PermissionArn is a required field PermissionArn *string `locationName:"permissionArn" type:"string" required:"true"` // The identifier for the version of the permission. PermissionVersion *int64 `locationName:"permissionVersion" type:"integer"` // contains filtered or unexported fields }
func (GetPermissionInput) MarshalFields ¶
func (s GetPermissionInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetPermissionInput) String ¶
func (s GetPermissionInput) String() string
String returns the string representation
func (*GetPermissionInput) Validate ¶
func (s *GetPermissionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetPermissionOutput ¶
type GetPermissionOutput struct { // Information about the permission. Permission *ResourceSharePermissionDetail `locationName:"permission" type:"structure"` // contains filtered or unexported fields }
func (GetPermissionOutput) MarshalFields ¶
func (s GetPermissionOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetPermissionOutput) String ¶
func (s GetPermissionOutput) String() string
String returns the string representation
type GetPermissionRequest ¶
type GetPermissionRequest struct { *aws.Request Input *GetPermissionInput Copy func(*GetPermissionInput) GetPermissionRequest }
GetPermissionRequest is the request type for the GetPermission API operation.
func (GetPermissionRequest) Send ¶
func (r GetPermissionRequest) Send(ctx context.Context) (*GetPermissionResponse, error)
Send marshals and sends the GetPermission API request.
type GetPermissionResponse ¶
type GetPermissionResponse struct { *GetPermissionOutput // contains filtered or unexported fields }
GetPermissionResponse is the response type for the GetPermission API operation.
func (*GetPermissionResponse) SDKResponseMetdata ¶
func (r *GetPermissionResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetPermission request.
type GetResourcePoliciesInput ¶
type GetResourcePoliciesInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The token for the next page of results. NextToken *string `locationName:"nextToken" type:"string"` // The principal. Principal *string `locationName:"principal" type:"string"` // The Amazon Resource Names (ARN) of the resources. // // ResourceArns is a required field ResourceArns []string `locationName:"resourceArns" type:"list" required:"true"` // contains filtered or unexported fields }
func (GetResourcePoliciesInput) MarshalFields ¶
func (s GetResourcePoliciesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetResourcePoliciesInput) String ¶
func (s GetResourcePoliciesInput) String() string
String returns the string representation
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 { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // A key policy document, in JSON format. Policies []string `locationName:"policies" type:"list"` // contains filtered or unexported fields }
func (GetResourcePoliciesOutput) MarshalFields ¶
func (s GetResourcePoliciesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetResourcePoliciesOutput) String ¶
func (s GetResourcePoliciesOutput) String() string
String returns the string representation
type GetResourcePoliciesPaginator ¶
GetResourcePoliciesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewGetResourcePoliciesPaginator ¶
func NewGetResourcePoliciesPaginator(req GetResourcePoliciesRequest) GetResourcePoliciesPaginator
NewGetResourcePoliciesRequestPaginator returns a paginator for GetResourcePolicies. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.GetResourcePoliciesRequest(input) p := ram.NewGetResourcePoliciesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*GetResourcePoliciesPaginator) CurrentPage ¶
func (p *GetResourcePoliciesPaginator) CurrentPage() *GetResourcePoliciesOutput
type GetResourcePoliciesRequest ¶
type GetResourcePoliciesRequest struct { *aws.Request Input *GetResourcePoliciesInput Copy func(*GetResourcePoliciesInput) GetResourcePoliciesRequest }
GetResourcePoliciesRequest is the request type for the GetResourcePolicies API operation.
func (GetResourcePoliciesRequest) Send ¶
func (r GetResourcePoliciesRequest) Send(ctx context.Context) (*GetResourcePoliciesResponse, error)
Send marshals and sends the GetResourcePolicies API request.
type GetResourcePoliciesResponse ¶
type GetResourcePoliciesResponse struct { *GetResourcePoliciesOutput // contains filtered or unexported fields }
GetResourcePoliciesResponse is the response type for the GetResourcePolicies API operation.
func (*GetResourcePoliciesResponse) SDKResponseMetdata ¶
func (r *GetResourcePoliciesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetResourcePolicies request.
type GetResourceShareAssociationsInput ¶
type GetResourceShareAssociationsInput struct { // The association status. ResourceShareAssociationStatus `locationName:"associationStatus" type:"string" enum:"true"` // The association type. Specify PRINCIPAL to list the principals that are associated // with the specified resource share. Specify RESOURCE to list the resources // that are associated with the specified resource share. // // AssociationType is a required field ResourceShareAssociationType `locationName:"associationType" type:"string" required:"true" enum:"true"` // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. *int64 `locationName:"maxResults" min:"1" type:"integer"` // The token for the next page of results. *string `locationName:"nextToken" type:"string"` // The principal. You cannot specify this parameter if the association type // is RESOURCE. *string `locationName:"principal" type:"string"` // The Amazon Resource Name (ARN) of the resource. You cannot specify this parameter // if the association type is PRINCIPAL. *string `locationName:"resourceArn" type:"string"` // The Amazon Resource Names (ARN) of the resource shares. []string `locationName:"resourceShareArns" type:"list"` // contains filtered or unexported fields }
func (GetResourceShareAssociationsInput) MarshalFields ¶
func (s GetResourceShareAssociationsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetResourceShareAssociationsInput) String ¶
func (s GetResourceShareAssociationsInput) String() string
String returns the string representation
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 { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. *string `locationName:"nextToken" type:"string"` // Information about the associations. []ResourceShareAssociation `locationName:"resourceShareAssociations" type:"list"` // contains filtered or unexported fields }
func (GetResourceShareAssociationsOutput) MarshalFields ¶
func (s GetResourceShareAssociationsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetResourceShareAssociationsOutput) String ¶
func (s GetResourceShareAssociationsOutput) String() string
String returns the string representation
type GetResourceShareAssociationsPaginator ¶
GetResourceShareAssociationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewGetResourceShareAssociationsPaginator ¶
func NewGetResourceShareAssociationsPaginator(req GetResourceShareAssociationsRequest) GetResourceShareAssociationsPaginator
NewGetResourceShareAssociationsRequestPaginator returns a paginator for GetResourceShareAssociations. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.GetResourceShareAssociationsRequest(input) p := ram.NewGetResourceShareAssociationsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*GetResourceShareAssociationsPaginator) CurrentPage ¶
func (p *GetResourceShareAssociationsPaginator) CurrentPage() *GetResourceShareAssociationsOutput
type GetResourceShareAssociationsRequest ¶
type GetResourceShareAssociationsRequest struct { *aws.Request *GetResourceShareAssociationsInput func(*GetResourceShareAssociationsInput) GetResourceShareAssociationsRequest }
GetResourceShareAssociationsRequest is the request type for the GetResourceShareAssociations API operation.
func (GetResourceShareAssociationsRequest) Send ¶
func (r GetResourceShareAssociationsRequest) Send(ctx context.Context) (*GetResourceShareAssociationsResponse, error)
Send marshals and sends the GetResourceShareAssociations API request.
type GetResourceShareAssociationsResponse ¶
type GetResourceShareAssociationsResponse struct { *GetResourceShareAssociationsOutput // contains filtered or unexported fields }
GetResourceShareAssociationsResponse is the response type for the GetResourceShareAssociations API operation.
func (*GetResourceShareAssociationsResponse) SDKResponseMetdata ¶
func (r *GetResourceShareAssociationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetResourceShareAssociations request.
type GetResourceShareInvitationsInput ¶
type GetResourceShareInvitationsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. *int64 `locationName:"maxResults" min:"1" type:"integer"` // The token for the next page of results. *string `locationName:"nextToken" type:"string"` // The Amazon Resource Names (ARN) of the resource shares. []string `locationName:"resourceShareArns" type:"list"` // The Amazon Resource Names (ARN) of the invitations. []string `locationName:"resourceShareInvitationArns" type:"list"` // contains filtered or unexported fields }
func (GetResourceShareInvitationsInput) MarshalFields ¶
func (s GetResourceShareInvitationsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetResourceShareInvitationsInput) String ¶
func (s GetResourceShareInvitationsInput) String() string
String returns the string representation
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 { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. *string `locationName:"nextToken" type:"string"` // Information about the invitations. []ResourceShareInvitation `locationName:"resourceShareInvitations" type:"list"` // contains filtered or unexported fields }
func (GetResourceShareInvitationsOutput) MarshalFields ¶
func (s GetResourceShareInvitationsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetResourceShareInvitationsOutput) String ¶
func (s GetResourceShareInvitationsOutput) String() string
String returns the string representation
type GetResourceShareInvitationsPaginator ¶
GetResourceShareInvitationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewGetResourceShareInvitationsPaginator ¶
func NewGetResourceShareInvitationsPaginator(req GetResourceShareInvitationsRequest) GetResourceShareInvitationsPaginator
NewGetResourceShareInvitationsRequestPaginator returns a paginator for GetResourceShareInvitations. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.GetResourceShareInvitationsRequest(input) p := ram.NewGetResourceShareInvitationsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*GetResourceShareInvitationsPaginator) CurrentPage ¶
func (p *GetResourceShareInvitationsPaginator) CurrentPage() *GetResourceShareInvitationsOutput
type GetResourceShareInvitationsRequest ¶
type GetResourceShareInvitationsRequest struct { *aws.Request *GetResourceShareInvitationsInput func(*GetResourceShareInvitationsInput) GetResourceShareInvitationsRequest }
GetResourceShareInvitationsRequest is the request type for the GetResourceShareInvitations API operation.
func (GetResourceShareInvitationsRequest) Send ¶
func (r GetResourceShareInvitationsRequest) Send(ctx context.Context) (*GetResourceShareInvitationsResponse, error)
Send marshals and sends the GetResourceShareInvitations API request.
type GetResourceShareInvitationsResponse ¶
type GetResourceShareInvitationsResponse struct { *GetResourceShareInvitationsOutput // contains filtered or unexported fields }
GetResourceShareInvitationsResponse is the response type for the GetResourceShareInvitations API operation.
func (*GetResourceShareInvitationsResponse) SDKResponseMetdata ¶
func (r *GetResourceShareInvitationsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetResourceShareInvitations request.
type GetResourceSharesInput ¶
type GetResourceSharesInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. *int64 `locationName:"maxResults" min:"1" type:"integer"` // The name of the resource share. *string `locationName:"name" type:"string"` // The token for the next page of results. *string `locationName:"nextToken" type:"string"` // The type of owner. // // ResourceOwner is a required field ResourceOwner `locationName:"resourceOwner" type:"string" required:"true" enum:"true"` // The Amazon Resource Names (ARN) of the resource shares. []string `locationName:"resourceShareArns" type:"list"` // The status of the resource share. ResourceShareStatus `locationName:"resourceShareStatus" type:"string" enum:"true"` // One or more tag filters. []TagFilter `locationName:"tagFilters" type:"list"` // contains filtered or unexported fields }
func (GetResourceSharesInput) MarshalFields ¶
func (s GetResourceSharesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetResourceSharesInput) String ¶
func (s GetResourceSharesInput) String() string
String returns the string representation
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 { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. *string `locationName:"nextToken" type:"string"` // Information about the resource shares. []ResourceShare `locationName:"resourceShares" type:"list"` // contains filtered or unexported fields }
func (GetResourceSharesOutput) MarshalFields ¶
func (s GetResourceSharesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetResourceSharesOutput) String ¶
func (s GetResourceSharesOutput) String() string
String returns the string representation
type GetResourceSharesPaginator ¶
GetResourceSharesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewGetResourceSharesPaginator ¶
func NewGetResourceSharesPaginator(req GetResourceSharesRequest) GetResourceSharesPaginator
NewGetResourceSharesRequestPaginator returns a paginator for GetResourceShares. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.GetResourceSharesRequest(input) p := ram.NewGetResourceSharesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*GetResourceSharesPaginator) CurrentPage ¶
func (p *GetResourceSharesPaginator) CurrentPage() *GetResourceSharesOutput
type GetResourceSharesRequest ¶
type GetResourceSharesRequest struct { *aws.Request *GetResourceSharesInput func(*GetResourceSharesInput) GetResourceSharesRequest }
GetResourceSharesRequest is the request type for the GetResourceShares API operation.
func (GetResourceSharesRequest) Send ¶
func (r GetResourceSharesRequest) Send(ctx context.Context) (*GetResourceSharesResponse, error)
Send marshals and sends the GetResourceShares API request.
type GetResourceSharesResponse ¶
type GetResourceSharesResponse struct { *GetResourceSharesOutput // contains filtered or unexported fields }
GetResourceSharesResponse is the response type for the GetResourceShares API operation.
func (*GetResourceSharesResponse) SDKResponseMetdata ¶
func (r *GetResourceSharesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the GetResourceShares request.
type ListPendingInvitationResourcesInput ¶
type ListPendingInvitationResourcesInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The token for the next page of results. NextToken *string `locationName:"nextToken" type:"string"` // The Amazon Resource Name (ARN) of the invitation. // // ResourceShareInvitationArn is a required field *string `locationName:"resourceShareInvitationArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListPendingInvitationResourcesInput) MarshalFields ¶
func (s ListPendingInvitationResourcesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListPendingInvitationResourcesInput) String ¶
func (s ListPendingInvitationResourcesInput) String() string
String returns the string representation
func (*ListPendingInvitationResourcesInput) Validate ¶
func (s *ListPendingInvitationResourcesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListPendingInvitationResourcesOutput ¶
type ListPendingInvitationResourcesOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about the resources included the resource share. Resources []Resource `locationName:"resources" type:"list"` // contains filtered or unexported fields }
func (ListPendingInvitationResourcesOutput) MarshalFields ¶
func (s ListPendingInvitationResourcesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListPendingInvitationResourcesOutput) String ¶
func (s ListPendingInvitationResourcesOutput) String() string
String returns the string representation
type ListPendingInvitationResourcesPaginator ¶
ListPendingInvitationResourcesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListPendingInvitationResourcesPaginator ¶
func NewListPendingInvitationResourcesPaginator(req ListPendingInvitationResourcesRequest) ListPendingInvitationResourcesPaginator
NewListPendingInvitationResourcesRequestPaginator returns a paginator for ListPendingInvitationResources. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListPendingInvitationResourcesRequest(input) p := ram.NewListPendingInvitationResourcesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListPendingInvitationResourcesPaginator) CurrentPage ¶
func (p *ListPendingInvitationResourcesPaginator) CurrentPage() *ListPendingInvitationResourcesOutput
type ListPendingInvitationResourcesRequest ¶
type ListPendingInvitationResourcesRequest struct { *aws.Request Input *ListPendingInvitationResourcesInput Copy func(*ListPendingInvitationResourcesInput) ListPendingInvitationResourcesRequest }
ListPendingInvitationResourcesRequest is the request type for the ListPendingInvitationResources API operation.
func (ListPendingInvitationResourcesRequest) Send ¶
func (r ListPendingInvitationResourcesRequest) Send(ctx context.Context) (*ListPendingInvitationResourcesResponse, error)
Send marshals and sends the ListPendingInvitationResources API request.
type ListPendingInvitationResourcesResponse ¶
type ListPendingInvitationResourcesResponse struct { *ListPendingInvitationResourcesOutput // contains filtered or unexported fields }
ListPendingInvitationResourcesResponse is the response type for the ListPendingInvitationResources API operation.
func (*ListPendingInvitationResourcesResponse) SDKResponseMetdata ¶
func (r *ListPendingInvitationResourcesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListPendingInvitationResources request.
type ListPermissionsInput ¶
type ListPermissionsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The token for the next page of results. NextToken *string `locationName:"nextToken" type:"string"` // Specifies the resource type for which to list permissions. For example, to // list only permissions that apply to EC2 subnets, specify ec2:Subnet. ResourceType *string `locationName:"resourceType" type:"string"` // contains filtered or unexported fields }
func (ListPermissionsInput) MarshalFields ¶
func (s ListPermissionsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListPermissionsInput) String ¶
func (s ListPermissionsInput) String() string
String returns the string representation
func (*ListPermissionsInput) Validate ¶
func (s *ListPermissionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListPermissionsOutput ¶
type ListPermissionsOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about the permissions. Permissions []ResourceSharePermissionSummary `locationName:"permissions" type:"list"` // contains filtered or unexported fields }
func (ListPermissionsOutput) MarshalFields ¶
func (s ListPermissionsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListPermissionsOutput) String ¶
func (s ListPermissionsOutput) String() string
String returns the string representation
type ListPermissionsRequest ¶
type ListPermissionsRequest struct { *aws.Request Input *ListPermissionsInput Copy func(*ListPermissionsInput) ListPermissionsRequest }
ListPermissionsRequest is the request type for the ListPermissions API operation.
func (ListPermissionsRequest) Send ¶
func (r ListPermissionsRequest) Send(ctx context.Context) (*ListPermissionsResponse, error)
Send marshals and sends the ListPermissions API request.
type ListPermissionsResponse ¶
type ListPermissionsResponse struct { *ListPermissionsOutput // contains filtered or unexported fields }
ListPermissionsResponse is the response type for the ListPermissions API operation.
func (*ListPermissionsResponse) SDKResponseMetdata ¶
func (r *ListPermissionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListPermissions request.
type ListPrincipalsInput ¶
type ListPrincipalsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The token for the next page of results. NextToken *string `locationName:"nextToken" type:"string"` // The principals. Principals []string `locationName:"principals" type:"list"` // The Amazon Resource Name (ARN) of the resource. ResourceArn *string `locationName:"resourceArn" type:"string"` // The type of owner. // // ResourceOwner is a required field ResourceOwner ResourceOwner `locationName:"resourceOwner" type:"string" required:"true" enum:"true"` // The Amazon Resource Names (ARN) of the resource shares. []string `locationName:"resourceShareArns" type:"list"` // The resource type. // // Valid values: codebuild:Project | codebuild:ReportGroup | ec2:CapacityReservation // | ec2:DedicatedHost | ec2:Subnet | ec2:TrafficMirrorTarget | ec2:TransitGateway // | imagebuilder:Component | imagebuilder:Image | imagebuilder:ImageRecipe // | license-manager:LicenseConfiguration I resource-groups:Group | rds:Cluster // | route53resolver:ResolverRule ResourceType *string `locationName:"resourceType" type:"string"` // contains filtered or unexported fields }
func (ListPrincipalsInput) MarshalFields ¶
func (s ListPrincipalsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListPrincipalsInput) String ¶
func (s ListPrincipalsInput) String() string
String returns the string representation
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 { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // The principals. Principals []Principal `locationName:"principals" type:"list"` // contains filtered or unexported fields }
func (ListPrincipalsOutput) MarshalFields ¶
func (s ListPrincipalsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListPrincipalsOutput) String ¶
func (s ListPrincipalsOutput) String() string
String returns the string representation
type ListPrincipalsPaginator ¶
ListPrincipalsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListPrincipalsPaginator ¶
func NewListPrincipalsPaginator(req ListPrincipalsRequest) ListPrincipalsPaginator
NewListPrincipalsRequestPaginator returns a paginator for ListPrincipals. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListPrincipalsRequest(input) p := ram.NewListPrincipalsRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListPrincipalsPaginator) CurrentPage ¶
func (p *ListPrincipalsPaginator) CurrentPage() *ListPrincipalsOutput
type ListPrincipalsRequest ¶
type ListPrincipalsRequest struct { *aws.Request Input *ListPrincipalsInput Copy func(*ListPrincipalsInput) ListPrincipalsRequest }
ListPrincipalsRequest is the request type for the ListPrincipals API operation.
func (ListPrincipalsRequest) Send ¶
func (r ListPrincipalsRequest) Send(ctx context.Context) (*ListPrincipalsResponse, error)
Send marshals and sends the ListPrincipals API request.
type ListPrincipalsResponse ¶
type ListPrincipalsResponse struct { *ListPrincipalsOutput // contains filtered or unexported fields }
ListPrincipalsResponse is the response type for the ListPrincipals API operation.
func (*ListPrincipalsResponse) SDKResponseMetdata ¶
func (r *ListPrincipalsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListPrincipals request.
type ListResourceSharePermissionsInput ¶
type ListResourceSharePermissionsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. *int64 `locationName:"maxResults" min:"1" type:"integer"` // The token for the next page of results. *string `locationName:"nextToken" type:"string"` // The Amazon Resource Name (ARN) of the resource share. // // ResourceShareArn is a required field *string `locationName:"resourceShareArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListResourceSharePermissionsInput) MarshalFields ¶
func (s ListResourceSharePermissionsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListResourceSharePermissionsInput) String ¶
func (s ListResourceSharePermissionsInput) String() string
String returns the string representation
func (*ListResourceSharePermissionsInput) Validate ¶
func (s *ListResourceSharePermissionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListResourceSharePermissionsOutput ¶
type ListResourceSharePermissionsOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. *string `locationName:"nextToken" type:"string"` // The permissions associated with the resource share. []ResourceSharePermissionSummary `locationName:"permissions" type:"list"` // contains filtered or unexported fields }
func (ListResourceSharePermissionsOutput) MarshalFields ¶
func (s ListResourceSharePermissionsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListResourceSharePermissionsOutput) String ¶
func (s ListResourceSharePermissionsOutput) String() string
String returns the string representation
type ListResourceSharePermissionsRequest ¶
type ListResourceSharePermissionsRequest struct { *aws.Request *ListResourceSharePermissionsInput func(*ListResourceSharePermissionsInput) ListResourceSharePermissionsRequest }
ListResourceSharePermissionsRequest is the request type for the ListResourceSharePermissions API operation.
func (ListResourceSharePermissionsRequest) Send ¶
func (r ListResourceSharePermissionsRequest) Send(ctx context.Context) (*ListResourceSharePermissionsResponse, error)
Send marshals and sends the ListResourceSharePermissions API request.
type ListResourceSharePermissionsResponse ¶
type ListResourceSharePermissionsResponse struct { *ListResourceSharePermissionsOutput // contains filtered or unexported fields }
ListResourceSharePermissionsResponse is the response type for the ListResourceSharePermissions API operation.
func (*ListResourceSharePermissionsResponse) SDKResponseMetdata ¶
func (r *ListResourceSharePermissionsResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListResourceSharePermissions request.
type ListResourceTypesInput ¶
type ListResourceTypesInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The token for the next page of results. NextToken *string `locationName:"nextToken" type:"string"` // contains filtered or unexported fields }
func (ListResourceTypesInput) MarshalFields ¶
func (s ListResourceTypesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListResourceTypesInput) String ¶
func (s ListResourceTypesInput) String() string
String returns the string representation
func (*ListResourceTypesInput) Validate ¶
func (s *ListResourceTypesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListResourceTypesOutput ¶
type ListResourceTypesOutput struct { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // The shareable resource types supported by AWS RAM. ResourceTypes []ServiceNameAndResourceType `locationName:"resourceTypes" type:"list"` // contains filtered or unexported fields }
func (ListResourceTypesOutput) MarshalFields ¶
func (s ListResourceTypesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListResourceTypesOutput) String ¶
func (s ListResourceTypesOutput) String() string
String returns the string representation
type ListResourceTypesRequest ¶
type ListResourceTypesRequest struct { *aws.Request Input *ListResourceTypesInput Copy func(*ListResourceTypesInput) ListResourceTypesRequest }
ListResourceTypesRequest is the request type for the ListResourceTypes API operation.
func (ListResourceTypesRequest) Send ¶
func (r ListResourceTypesRequest) Send(ctx context.Context) (*ListResourceTypesResponse, error)
Send marshals and sends the ListResourceTypes API request.
type ListResourceTypesResponse ¶
type ListResourceTypesResponse struct { *ListResourceTypesOutput // contains filtered or unexported fields }
ListResourceTypesResponse is the response type for the ListResourceTypes API operation.
func (*ListResourceTypesResponse) SDKResponseMetdata ¶
func (r *ListResourceTypesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListResourceTypes request.
type ListResourcesInput ¶
type ListResourcesInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The token for the next page of results. NextToken *string `locationName:"nextToken" type:"string"` // The principal. Principal *string `locationName:"principal" type:"string"` // The Amazon Resource Names (ARN) of the resources. ResourceArns []string `locationName:"resourceArns" type:"list"` // The type of owner. // // ResourceOwner is a required field ResourceOwner ResourceOwner `locationName:"resourceOwner" type:"string" required:"true" enum:"true"` // The Amazon Resource Names (ARN) of the resource shares. []string `locationName:"resourceShareArns" type:"list"` // The resource type. // // Valid values: codebuild:Project | codebuild:ReportGroup | ec2:CapacityReservation // | ec2:DedicatedHost | ec2:Subnet | ec2:TrafficMirrorTarget | ec2:TransitGateway // | imagebuilder:Component | imagebuilder:Image | imagebuilder:ImageRecipe // | license-manager:LicenseConfiguration I resource-groups:Group | rds:Cluster // | route53resolver:ResolverRule ResourceType *string `locationName:"resourceType" type:"string"` // contains filtered or unexported fields }
func (ListResourcesInput) MarshalFields ¶
func (s ListResourcesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListResourcesInput) String ¶
func (s ListResourcesInput) String() string
String returns the string representation
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 { // The token to use to retrieve the next page of results. This value is null // when there are no more results to return. NextToken *string `locationName:"nextToken" type:"string"` // Information about the resources. Resources []Resource `locationName:"resources" type:"list"` // contains filtered or unexported fields }
func (ListResourcesOutput) MarshalFields ¶
func (s ListResourcesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ListResourcesOutput) String ¶
func (s ListResourcesOutput) String() string
String returns the string representation
type ListResourcesPaginator ¶
ListResourcesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.
func NewListResourcesPaginator ¶
func NewListResourcesPaginator(req ListResourcesRequest) ListResourcesPaginator
NewListResourcesRequestPaginator returns a paginator for ListResources. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.
Note: This operation can generate multiple requests to a service.
// Example iterating over pages. req := client.ListResourcesRequest(input) p := ram.NewListResourcesRequestPaginator(req) for p.Next(context.TODO()) { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (*ListResourcesPaginator) CurrentPage ¶
func (p *ListResourcesPaginator) CurrentPage() *ListResourcesOutput
type ListResourcesRequest ¶
type ListResourcesRequest struct { *aws.Request Input *ListResourcesInput Copy func(*ListResourcesInput) ListResourcesRequest }
ListResourcesRequest is the request type for the ListResources API operation.
func (ListResourcesRequest) Send ¶
func (r ListResourcesRequest) Send(ctx context.Context) (*ListResourcesResponse, error)
Send marshals and sends the ListResources API request.
type ListResourcesResponse ¶
type ListResourcesResponse struct { *ListResourcesOutput // contains filtered or unexported fields }
ListResourcesResponse is the response type for the ListResources API operation.
func (*ListResourcesResponse) SDKResponseMetdata ¶
func (r *ListResourcesResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the ListResources request.
type Principal ¶
type Principal struct { // The 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 AWS organization as the // AWS account that owns the resource share. External *bool `locationName:"external" type:"boolean"` // The ID of the principal. Id *string `locationName:"id" type:"string"` // The time when the association was last updated. LastUpdatedTime *time.Time `locationName:"lastUpdatedTime" type:"timestamp"` // The Amazon Resource Name (ARN) of the resource share. *string `locationName:"resourceShareArn" type:"string"` // contains filtered or unexported fields }
Describes a principal for use with AWS Resource Access Manager.
func (Principal) MarshalFields ¶
func (s Principal) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Principal) String ¶
String returns the string representation
type PromoteResourceShareCreatedFromPolicyInput ¶
type PromoteResourceShareCreatedFromPolicyInput struct { // The ARN of the resource share to promote. // // ResourceShareArn is a required field *string `location:"querystring" locationName:"resourceShareArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (PromoteResourceShareCreatedFromPolicyInput) MarshalFields ¶
func (s PromoteResourceShareCreatedFromPolicyInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PromoteResourceShareCreatedFromPolicyInput) String ¶
func (s PromoteResourceShareCreatedFromPolicyInput) String() string
String returns the string representation
func (*PromoteResourceShareCreatedFromPolicyInput) Validate ¶
func (s *PromoteResourceShareCreatedFromPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PromoteResourceShareCreatedFromPolicyOutput ¶
type PromoteResourceShareCreatedFromPolicyOutput struct { // Indicates whether the request succeeded. *bool `locationName:"returnValue" type:"boolean"` // contains filtered or unexported fields }
func (PromoteResourceShareCreatedFromPolicyOutput) MarshalFields ¶
func (s PromoteResourceShareCreatedFromPolicyOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PromoteResourceShareCreatedFromPolicyOutput) String ¶
func (s PromoteResourceShareCreatedFromPolicyOutput) String() string
String returns the string representation
type PromoteResourceShareCreatedFromPolicyRequest ¶
type PromoteResourceShareCreatedFromPolicyRequest struct { *aws.Request *PromoteResourceShareCreatedFromPolicyInput func(*PromoteResourceShareCreatedFromPolicyInput) PromoteResourceShareCreatedFromPolicyRequest }
PromoteResourceShareCreatedFromPolicyRequest is the request type for the PromoteResourceShareCreatedFromPolicy API operation.
func (PromoteResourceShareCreatedFromPolicyRequest) Send ¶
func (r PromoteResourceShareCreatedFromPolicyRequest) Send(ctx context.Context) (*PromoteResourceShareCreatedFromPolicyResponse, error)
Send marshals and sends the PromoteResourceShareCreatedFromPolicy API request.
type PromoteResourceShareCreatedFromPolicyResponse ¶
type PromoteResourceShareCreatedFromPolicyResponse struct { *PromoteResourceShareCreatedFromPolicyOutput // contains filtered or unexported fields }
PromoteResourceShareCreatedFromPolicyResponse is the response type for the PromoteResourceShareCreatedFromPolicy API operation.
func (*PromoteResourceShareCreatedFromPolicyResponse) SDKResponseMetdata ¶
func (r *PromoteResourceShareCreatedFromPolicyResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the PromoteResourceShareCreatedFromPolicy request.
type RejectResourceShareInvitationInput ¶
type RejectResourceShareInvitationInput struct { // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. *string `locationName:"clientToken" type:"string"` // The Amazon Resource Name (ARN) of the invitation. // // ResourceShareInvitationArn is a required field *string `locationName:"resourceShareInvitationArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (RejectResourceShareInvitationInput) MarshalFields ¶
func (s RejectResourceShareInvitationInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RejectResourceShareInvitationInput) String ¶
func (s RejectResourceShareInvitationInput) String() string
String returns the string representation
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 { // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. *string `locationName:"clientToken" type:"string"` // Information about the invitation. *ResourceShareInvitation `locationName:"resourceShareInvitation" type:"structure"` // contains filtered or unexported fields }
func (RejectResourceShareInvitationOutput) MarshalFields ¶
func (s RejectResourceShareInvitationOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RejectResourceShareInvitationOutput) String ¶
func (s RejectResourceShareInvitationOutput) String() string
String returns the string representation
type RejectResourceShareInvitationRequest ¶
type RejectResourceShareInvitationRequest struct { *aws.Request *RejectResourceShareInvitationInput func(*RejectResourceShareInvitationInput) RejectResourceShareInvitationRequest }
RejectResourceShareInvitationRequest is the request type for the RejectResourceShareInvitation API operation.
func (RejectResourceShareInvitationRequest) Send ¶
func (r RejectResourceShareInvitationRequest) Send(ctx context.Context) (*RejectResourceShareInvitationResponse, error)
Send marshals and sends the RejectResourceShareInvitation API request.
type RejectResourceShareInvitationResponse ¶
type RejectResourceShareInvitationResponse struct { *RejectResourceShareInvitationOutput // contains filtered or unexported fields }
RejectResourceShareInvitationResponse is the response type for the RejectResourceShareInvitation API operation.
func (*RejectResourceShareInvitationResponse) SDKResponseMetdata ¶
func (r *RejectResourceShareInvitationResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the RejectResourceShareInvitation request.
type Resource ¶
type Resource struct { // The Amazon Resource Name (ARN) of the resource. Arn *string `locationName:"arn" type:"string"` // The time when the resource was associated with the resource share. CreationTime *time.Time `locationName:"creationTime" type:"timestamp"` // The time when the association was last updated. LastUpdatedTime *time.Time `locationName:"lastUpdatedTime" type:"timestamp"` // The ARN of the resource group. This value is returned only if the resource // is a resource group. ResourceGroupArn *string `locationName:"resourceGroupArn" type:"string"` // The Amazon Resource Name (ARN) of the resource share. *string `locationName:"resourceShareArn" type:"string"` // The status of the resource. Status ResourceStatus `locationName:"status" type:"string" enum:"true"` // A message about the status of the resource. StatusMessage *string `locationName:"statusMessage" type:"string"` // The resource type. Type *string `locationName:"type" type:"string"` // contains filtered or unexported fields }
Describes a resource associated with a resource share.
func (Resource) MarshalFields ¶
func (s Resource) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Resource) String ¶
String returns the string representation
type ResourceOwner ¶
type ResourceOwner string
const ( ResourceOwnerSelf ResourceOwner = "SELF" ResourceOwnerOtherAccounts ResourceOwner = "OTHER-ACCOUNTS" )
Enum values for ResourceOwner
func (ResourceOwner) MarshalValue ¶
func (enum ResourceOwner) MarshalValue() (string, error)
func (ResourceOwner) MarshalValueBuf ¶
func (enum ResourceOwner) MarshalValueBuf(b []byte) ([]byte, error)
type ResourceShare ¶
type ResourceShare struct { // Indicates whether principals outside your AWS organization can be associated // with a resource share. *bool `locationName:"allowExternalPrincipals" type:"boolean"` // The time when the resource share was created. *time.Time `locationName:"creationTime" type:"timestamp"` // Indicates how the resource share was created. Possible values include: // // * CREATED_FROM_POLICY - Indicates that the resource share was created // from an AWS Identity and Access Management (AWS IAM) policy attached to // a resource. These resource shares are visible only to the AWS account // that created it. They cannot be modified in AWS RAM. // // * 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 AWS RAM // using the console or APIs. These resource shares are visible to all principals. // They can be modified in AWS RAM. ResourceShareFeatureSet `locationName:"featureSet" type:"string" enum:"true"` // The time when the resource share was last updated. *time.Time `locationName:"lastUpdatedTime" type:"timestamp"` // The name of the resource share. *string `locationName:"name" type:"string"` // The ID of the AWS account that owns the resource share. *string `locationName:"owningAccountId" type:"string"` // The Amazon Resource Name (ARN) of the resource share. *string `locationName:"resourceShareArn" type:"string"` // The status of the resource share. ResourceShareStatus `locationName:"status" type:"string" enum:"true"` // A message about the status of the resource share. *string `locationName:"statusMessage" type:"string"` // The tags for the resource share. []Tag `locationName:"tags" type:"list"` // contains filtered or unexported fields }
Describes a resource share.
func (ResourceShare) MarshalFields ¶
func (s ResourceShare) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ResourceShare) String ¶
func (s ResourceShare) String() string
String returns the string representation
type ResourceShareAssociation ¶
type ResourceShareAssociation struct { // The associated entity. For resource associations, this is the ARN of the // resource. For principal associations, this is the ID of an AWS account or // the ARN of an OU or organization from AWS Organizations. *string `locationName:"associatedEntity" type:"string"` // The association type. ResourceShareAssociationType `locationName:"associationType" type:"string" enum:"true"` // The time when the association was created. *time.Time `locationName:"creationTime" type:"timestamp"` // Indicates whether the principal belongs to the same AWS organization as the // AWS account that owns the resource share. *bool `locationName:"external" type:"boolean"` // The time when the association was last updated. *time.Time `locationName:"lastUpdatedTime" type:"timestamp"` // The Amazon Resource Name (ARN) of the resource share. *string `locationName:"resourceShareArn" type:"string"` // The name of the resource share. *string `locationName:"resourceShareName" type:"string"` // The status of the association. ResourceShareAssociationStatus `locationName:"status" type:"string" enum:"true"` // A message about the status of the association. *string `locationName:"statusMessage" type:"string"` // contains filtered or unexported fields }
Describes an association with a resource share.
func (ResourceShareAssociation) MarshalFields ¶
func (s ResourceShareAssociation) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ResourceShareAssociation) String ¶
func (s ResourceShareAssociation) String() string
String returns the string representation
type ResourceShareAssociationStatus ¶
type ResourceShareAssociationStatus string
const ( ResourceShareAssociationStatus = "ASSOCIATING" ResourceShareAssociationStatus = "ASSOCIATED" ResourceShareAssociationStatus = "FAILED" ResourceShareAssociationStatus = "DISASSOCIATING" ResourceShareAssociationStatus = "DISASSOCIATED" )
Enum values for ResourceShareAssociationStatus
func (ResourceShareAssociationStatus) MarshalValue ¶
func (enum ResourceShareAssociationStatus) MarshalValue() (string, error)
func (ResourceShareAssociationStatus) MarshalValueBuf ¶
func (enum ResourceShareAssociationStatus) MarshalValueBuf(b []byte) ([]byte, error)
type ResourceShareAssociationType ¶
type ResourceShareAssociationType string
const ( ResourceShareAssociationType = "PRINCIPAL" ResourceShareAssociationType = "RESOURCE" )
Enum values for ResourceShareAssociationType
func (ResourceShareAssociationType) MarshalValue ¶
func (enum ResourceShareAssociationType) MarshalValue() (string, error)
func (ResourceShareAssociationType) MarshalValueBuf ¶
func (enum ResourceShareAssociationType) MarshalValueBuf(b []byte) ([]byte, error)
type ResourceShareFeatureSet ¶
type ResourceShareFeatureSet string
const ( ResourceShareFeatureSet = "CREATED_FROM_POLICY" ResourceShareFeatureSet = "PROMOTING_TO_STANDARD" ResourceShareFeatureSet = "STANDARD" )
Enum values for ResourceShareFeatureSet
func (ResourceShareFeatureSet) MarshalValue ¶
func (enum ResourceShareFeatureSet) MarshalValue() (string, error)
func (ResourceShareFeatureSet) MarshalValueBuf ¶
func (enum ResourceShareFeatureSet) MarshalValueBuf(b []byte) ([]byte, error)
type ResourceShareInvitation ¶
type ResourceShareInvitation struct { // The date and time when the invitation was sent. *time.Time `locationName:"invitationTimestamp" type:"timestamp"` // The ID of the AWS account that received the invitation. *string `locationName:"receiverAccountId" type:"string"` // The Amazon Resource Name (ARN) of the resource share. *string `locationName:"resourceShareArn" type:"string"` // To view the resources associated with a pending resource share invitation, // use ListPendingInvitationResources (https://docs.aws.amazon.com/ram/latest/APIReference/API_ListPendingInvitationResources.html). []ResourceShareAssociation `locationName:"resourceShareAssociations" deprecated:"true" type:"list"` // The Amazon Resource Name (ARN) of the invitation. *string `locationName:"resourceShareInvitationArn" type:"string"` // The name of the resource share. *string `locationName:"resourceShareName" type:"string"` // The ID of the AWS account that sent the invitation. *string `locationName:"senderAccountId" type:"string"` // The status of the invitation. ResourceShareInvitationStatus `locationName:"status" type:"string" enum:"true"` // contains filtered or unexported fields }
Describes an invitation to join a resource share.
func (ResourceShareInvitation) MarshalFields ¶
func (s ResourceShareInvitation) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ResourceShareInvitation) String ¶
func (s ResourceShareInvitation) String() string
String returns the string representation
type ResourceShareInvitationStatus ¶
type ResourceShareInvitationStatus string
const ( ResourceShareInvitationStatus = "PENDING" ResourceShareInvitationStatus = "ACCEPTED" ResourceShareInvitationStatus = "REJECTED" ResourceShareInvitationStatus = "EXPIRED" )
Enum values for ResourceShareInvitationStatus
func (ResourceShareInvitationStatus) MarshalValue ¶
func (enum ResourceShareInvitationStatus) MarshalValue() (string, error)
func (ResourceShareInvitationStatus) MarshalValueBuf ¶
func (enum ResourceShareInvitationStatus) MarshalValueBuf(b []byte) ([]byte, error)
type ResourceSharePermissionDetail ¶
type ResourceSharePermissionDetail struct { // The ARN of the permission. *string `locationName:"arn" type:"string"` // The date and time when the permission was created. *time.Time `locationName:"creationTime" type:"timestamp"` // The identifier for the version of the permission that is set as the default // version. *bool `locationName:"defaultVersion" type:"boolean"` // The date and time when the permission was last updated. *time.Time `locationName:"lastUpdatedTime" type:"timestamp"` // The name of the permission. *string `locationName:"name" type:"string"` // The permission's effect and actions in JSON format. The effect indicates // whether the actions are allowed or denied. The actions list the API actions // to which the principal is granted or denied access. *string `locationName:"permission" type:"string"` // The resource type to which the permission applies. *string `locationName:"resourceType" type:"string"` // The identifier for the version of the permission. *string `locationName:"version" type:"string"` // contains filtered or unexported fields }
Information about an AWS RAM permission.
func (ResourceSharePermissionDetail) MarshalFields ¶
func (s ResourceSharePermissionDetail) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ResourceSharePermissionDetail) String ¶
func (s ResourceSharePermissionDetail) String() string
String returns the string representation
type ResourceSharePermissionSummary ¶
type ResourceSharePermissionSummary struct { // The ARN of the permission. *string `locationName:"arn" type:"string"` // The date and time when the permission was created. *time.Time `locationName:"creationTime" type:"timestamp"` // The identifier for the version of the permission that is set as the default // version. *bool `locationName:"defaultVersion" type:"boolean"` // The date and time when the permission was last updated. *time.Time `locationName:"lastUpdatedTime" type:"timestamp"` // The name of the permission. *string `locationName:"name" type:"string"` // The type of resource to which the permission applies. *string `locationName:"resourceType" type:"string"` // The current status of the permission. *string `locationName:"status" type:"string"` // The identifier for the version of the permission. *string `locationName:"version" type:"string"` // contains filtered or unexported fields }
Information about a permission that is associated with a resource share.
func (ResourceSharePermissionSummary) MarshalFields ¶
func (s ResourceSharePermissionSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ResourceSharePermissionSummary) String ¶
func (s ResourceSharePermissionSummary) String() string
String returns the string representation
type ResourceShareStatus ¶
type ResourceShareStatus string
const ( ResourceShareStatus = "PENDING" ResourceShareStatus = "ACTIVE" ResourceShareStatus = "FAILED" ResourceShareStatus = "DELETING" ResourceShareStatus = "DELETED" )
Enum values for ResourceShareStatus
func (ResourceShareStatus) MarshalValue ¶
func (enum ResourceShareStatus) MarshalValue() (string, error)
func (ResourceShareStatus) MarshalValueBuf ¶
func (enum ResourceShareStatus) MarshalValueBuf(b []byte) ([]byte, error)
type ResourceStatus ¶
type ResourceStatus string
const ( ResourceStatusAvailable ResourceStatus = "AVAILABLE" ResourceStatusZonalResourceInaccessible ResourceStatus = "ZONAL_RESOURCE_INACCESSIBLE" ResourceStatusLimitExceeded ResourceStatus = "LIMIT_EXCEEDED" ResourceStatus = "UNAVAILABLE" ResourceStatusPending ResourceStatus = "PENDING" )
Enum values for ResourceStatus
func (ResourceStatus) MarshalValue ¶
func (enum ResourceStatus) MarshalValue() (string, error)
func (ResourceStatus) MarshalValueBuf ¶
func (enum ResourceStatus) MarshalValueBuf(b []byte) ([]byte, error)
type ServiceNameAndResourceType ¶
type ServiceNameAndResourceType struct { // The shareable resource types. ResourceType *string `locationName:"resourceType" type:"string"` // The name of the AWS services to which the resources belong. ServiceName *string `locationName:"serviceName" type:"string"` // contains filtered or unexported fields }
Information about the shareable resource types and the AWS services to which they belong.
func (ServiceNameAndResourceType) MarshalFields ¶
func (s ServiceNameAndResourceType) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ServiceNameAndResourceType) String ¶
func (s ServiceNameAndResourceType) String() string
String returns the string representation
type Tag ¶
type Tag struct { // The key of the tag. Key *string `locationName:"key" type:"string"` // The value of the tag. Value *string `locationName:"value" type:"string"` // contains filtered or unexported fields }
Information about a tag.
func (Tag) MarshalFields ¶
func (s Tag) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Tag) String ¶
String returns the string representation
type TagFilter ¶
type TagFilter struct { // The tag key. TagKey *string `locationName:"tagKey" type:"string"` // The tag values. TagValues []string `locationName:"tagValues" type:"list"` // contains filtered or unexported fields }
Used to filter information based on tags.
func (TagFilter) MarshalFields ¶
func (s TagFilter) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagFilter) String ¶
String returns the string representation
type TagResourceInput ¶
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the resource share. // // ResourceShareArn is a required field *string `locationName:"resourceShareArn" type:"string" required:"true"` // One or more tags. // // Tags is a required field Tags []Tag `locationName:"tags" type:"list" required:"true"` // contains filtered or unexported fields }
func (TagResourceInput) MarshalFields ¶
func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagResourceInput) String ¶
func (s TagResourceInput) String() string
String returns the string representation
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) MarshalFields ¶
func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TagResourceOutput) String ¶
func (s TagResourceOutput) String() string
String returns the string representation
type TagResourceRequest ¶
type TagResourceRequest struct { *aws.Request Input *TagResourceInput Copy func(*TagResourceInput) TagResourceRequest }
TagResourceRequest is the request type for the TagResource API operation.
func (TagResourceRequest) Send ¶
func (r TagResourceRequest) Send(ctx context.Context) (*TagResourceResponse, error)
Send marshals and sends the TagResource API request.
type TagResourceResponse ¶
type TagResourceResponse struct { *TagResourceOutput // contains filtered or unexported fields }
TagResourceResponse is the response type for the TagResource API operation.
func (*TagResourceResponse) SDKResponseMetdata ¶
func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the TagResource request.
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the resource share. // // ResourceShareArn is a required field *string `locationName:"resourceShareArn" type:"string" required:"true"` // The tag keys of the tags to remove. // // TagKeys is a required field TagKeys []string `locationName:"tagKeys" type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) MarshalFields ¶
func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagResourceInput) String ¶
func (s UntagResourceInput) String() string
String returns the string representation
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) MarshalFields ¶
func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UntagResourceOutput) String ¶
func (s UntagResourceOutput) String() string
String returns the string representation
type UntagResourceRequest ¶
type UntagResourceRequest struct { *aws.Request Input *UntagResourceInput Copy func(*UntagResourceInput) UntagResourceRequest }
UntagResourceRequest is the request type for the UntagResource API operation.
func (UntagResourceRequest) Send ¶
func (r UntagResourceRequest) Send(ctx context.Context) (*UntagResourceResponse, error)
Send marshals and sends the UntagResource API request.
type UntagResourceResponse ¶
type UntagResourceResponse struct { *UntagResourceOutput // contains filtered or unexported fields }
UntagResourceResponse is the response type for the UntagResource API operation.
func (*UntagResourceResponse) SDKResponseMetdata ¶
func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UntagResource request.
type UpdateResourceShareInput ¶
type UpdateResourceShareInput struct { // Indicates whether principals outside your AWS organization can be associated // with a resource share. *bool `locationName:"allowExternalPrincipals" type:"boolean"` // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. *string `locationName:"clientToken" type:"string"` // The name of the resource share. *string `locationName:"name" type:"string"` // The Amazon Resource Name (ARN) of the resource share. // // ResourceShareArn is a required field *string `locationName:"resourceShareArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateResourceShareInput) MarshalFields ¶
func (s UpdateResourceShareInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateResourceShareInput) String ¶
func (s UpdateResourceShareInput) String() string
String returns the string representation
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 { // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. *string `locationName:"clientToken" type:"string"` // Information about the resource share. *ResourceShare `locationName:"resourceShare" type:"structure"` // contains filtered or unexported fields }
func (UpdateResourceShareOutput) MarshalFields ¶
func (s UpdateResourceShareOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateResourceShareOutput) String ¶
func (s UpdateResourceShareOutput) String() string
String returns the string representation
type UpdateResourceShareRequest ¶
type UpdateResourceShareRequest struct { *aws.Request *UpdateResourceShareInput func(*UpdateResourceShareInput) UpdateResourceShareRequest }
UpdateResourceShareRequest is the request type for the UpdateResourceShare API operation.
func (UpdateResourceShareRequest) Send ¶
func (r UpdateResourceShareRequest) Send(ctx context.Context) (*UpdateResourceShareResponse, error)
Send marshals and sends the UpdateResourceShare API request.
type UpdateResourceShareResponse ¶
type UpdateResourceShareResponse struct { *UpdateResourceShareOutput // contains filtered or unexported fields }
UpdateResourceShareResponse is the response type for the UpdateResourceShare API operation.
func (*UpdateResourceShareResponse) SDKResponseMetdata ¶
func (r *UpdateResourceShareResponse) SDKResponseMetdata() *aws.Response
SDKResponseMetdata returns the response metadata for the UpdateResourceShare request.
Source Files ¶
api_client.go api_doc.go api_enums.go api_errors.go api_op_AcceptResourceShareInvitation.go api_op_AssociateResourceShare.go api_op_AssociateResourceSharePermission.go api_op_CreateResourceShare.go api_op_DeleteResourceShare.go api_op_DisassociateResourceShare.go api_op_DisassociateResourceSharePermission.go api_op_EnableSharingWithAwsOrganization.go api_op_GetPermission.go api_op_GetResourcePolicies.go api_op_GetResourceShareAssociations.go api_op_GetResourceShareInvitations.go api_op_GetResourceShares.go api_op_ListPendingInvitationResources.go api_op_ListPermissions.go api_op_ListPrincipals.go api_op_ListResourceSharePermissions.go api_op_ListResourceTypes.go api_op_ListResources.go api_op_PromoteResourceShareCreatedFromPolicy.go api_op_RejectResourceShareInvitation.go api_op_TagResource.go api_op_UntagResource.go api_op_UpdateResourceShare.go api_types.go
Directories ¶
Path | Synopsis |
---|---|
service/ram/ramiface | Package ramiface provides an interface to enable mocking the AWS Resource Access Manager service client for testing your code. |
- Version
- v0.23.0
- Published
- May 28, 2020
- Platform
- darwin/amd64
- Imports
- 8 packages
- Last checked
- 1 minute ago –
Tools for package owners.