Documentation

Overview

Package ram provides the client and types for making API requests to AWS Resource Access Manager.

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 contact AWS Resource Access Manager with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS Resource Access Manager client RAM for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/ram/#New

Index

Constants

View Source
const (
	// ResourceOwnerSelf is a ResourceOwner enum value
	ResourceOwnerSelf = "SELF"

	// ResourceOwnerOtherAccounts is a ResourceOwner enum value
	ResourceOwnerOtherAccounts = "OTHER-ACCOUNTS"
)
View Source
const (
	// ResourceShareAssociationStatusAssociating is a ResourceShareAssociationStatus enum value
	ResourceShareAssociationStatusAssociating = "ASSOCIATING"

	// ResourceShareAssociationStatusAssociated is a ResourceShareAssociationStatus enum value
	ResourceShareAssociationStatusAssociated = "ASSOCIATED"

	// ResourceShareAssociationStatusFailed is a ResourceShareAssociationStatus enum value
	ResourceShareAssociationStatusFailed = "FAILED"

	// ResourceShareAssociationStatusDisassociating is a ResourceShareAssociationStatus enum value
	ResourceShareAssociationStatusDisassociating = "DISASSOCIATING"

	// ResourceShareAssociationStatusDisassociated is a ResourceShareAssociationStatus enum value
	ResourceShareAssociationStatusDisassociated = "DISASSOCIATED"
)
View Source
const (
	// ResourceShareAssociationTypePrincipal is a ResourceShareAssociationType enum value
	ResourceShareAssociationTypePrincipal = "PRINCIPAL"

	// ResourceShareAssociationTypeResource is a ResourceShareAssociationType enum value
	ResourceShareAssociationTypeResource = "RESOURCE"
)
View Source
const (
	// ResourceShareFeatureSetCreatedFromPolicy is a ResourceShareFeatureSet enum value
	ResourceShareFeatureSetCreatedFromPolicy = "CREATED_FROM_POLICY"

	// ResourceShareFeatureSetPromotingToStandard is a ResourceShareFeatureSet enum value
	ResourceShareFeatureSetPromotingToStandard = "PROMOTING_TO_STANDARD"

	// ResourceShareFeatureSetStandard is a ResourceShareFeatureSet enum value
	ResourceShareFeatureSetStandard = "STANDARD"
)
View Source
const (
	// ResourceShareInvitationStatusPending is a ResourceShareInvitationStatus enum value
	ResourceShareInvitationStatusPending = "PENDING"

	// ResourceShareInvitationStatusAccepted is a ResourceShareInvitationStatus enum value
	ResourceShareInvitationStatusAccepted = "ACCEPTED"

	// ResourceShareInvitationStatusRejected is a ResourceShareInvitationStatus enum value
	ResourceShareInvitationStatusRejected = "REJECTED"

	// ResourceShareInvitationStatusExpired is a ResourceShareInvitationStatus enum value
	ResourceShareInvitationStatusExpired = "EXPIRED"
)
View Source
const (
	// ResourceShareStatusPending is a ResourceShareStatus enum value
	ResourceShareStatusPending = "PENDING"

	// ResourceShareStatusActive is a ResourceShareStatus enum value
	ResourceShareStatusActive = "ACTIVE"

	// ResourceShareStatusFailed is a ResourceShareStatus enum value
	ResourceShareStatusFailed = "FAILED"

	// ResourceShareStatusDeleting is a ResourceShareStatus enum value
	ResourceShareStatusDeleting = "DELETING"

	// ResourceShareStatusDeleted is a ResourceShareStatus enum value
	ResourceShareStatusDeleted = "DELETED"
)
View Source
const (
	// ResourceStatusAvailable is a ResourceStatus enum value
	ResourceStatusAvailable = "AVAILABLE"

	// ResourceStatusZonalResourceInaccessible is a ResourceStatus enum value
	ResourceStatusZonalResourceInaccessible = "ZONAL_RESOURCE_INACCESSIBLE"

	// ResourceStatusLimitExceeded is a ResourceStatus enum value
	ResourceStatusLimitExceeded = "LIMIT_EXCEEDED"

	// ResourceStatusUnavailable is a ResourceStatus enum value
	ResourceStatusUnavailable = "UNAVAILABLE"

	// ResourceStatusPending is a ResourceStatus enum value
	ResourceStatusPending = "PENDING"
)
View Source
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.
	ErrCodeResourceShareInvitationAlreadyAcceptedException = "ResourceShareInvitationAlreadyAcceptedException"

	// ErrCodeResourceShareInvitationAlreadyRejectedException for service response error code
	// "ResourceShareInvitationAlreadyRejectedException".
	//
	// The invitation was already rejected.
	ErrCodeResourceShareInvitationAlreadyRejectedException = "ResourceShareInvitationAlreadyRejectedException"

	// ErrCodeResourceShareInvitationArnNotFoundException for service response error code
	// "ResourceShareInvitationArnNotFoundException".
	//
	// The Amazon Resource Name (ARN) for an invitation was not found.
	ErrCodeResourceShareInvitationArnNotFoundException = "ResourceShareInvitationArnNotFoundException"

	// ErrCodeResourceShareInvitationExpiredException for service response error code
	// "ResourceShareInvitationExpiredException".
	//
	// The invitation is expired.
	ErrCodeResourceShareInvitationExpiredException = "ResourceShareInvitationExpiredException"

	// ErrCodeResourceShareLimitExceededException for service response error code
	// "ResourceShareLimitExceededException".
	//
	// The requested resource share exceeds the limit for your account.
	ErrCodeResourceShareLimitExceededException = "ResourceShareLimitExceededException"

	// ErrCodeServerInternalException for service response error code
	// "ServerInternalException".
	//
	// The service could not respond to the request due to an internal problem.
	ErrCodeServerInternalException = "ServerInternalException"

	// ErrCodeServiceUnavailableException for service response error code
	// "ServiceUnavailableException".
	//
	// The service is not available.
	ErrCodeServiceUnavailableException = "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"
)
View Source
const (
	ServiceName = "RAM" // Name of service.
	EndpointsID = "ram" // ID to lookup a service endpoint with.
	ServiceID   = "RAM" // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

func ResourceOwner_Values

func ResourceOwner_Values() []string

ResourceOwner_Values returns all elements of the ResourceOwner enum

func ResourceShareAssociationStatus_Values

func ResourceShareAssociationStatus_Values() []string

ResourceShareAssociationStatus_Values returns all elements of the ResourceShareAssociationStatus enum

func ResourceShareAssociationType_Values

func ResourceShareAssociationType_Values() []string

ResourceShareAssociationType_Values returns all elements of the ResourceShareAssociationType enum

func ResourceShareFeatureSet_Values

func ResourceShareFeatureSet_Values() []string

ResourceShareFeatureSet_Values returns all elements of the ResourceShareFeatureSet enum

func ResourceShareInvitationStatus_Values

func ResourceShareInvitationStatus_Values() []string

ResourceShareInvitationStatus_Values returns all elements of the ResourceShareInvitationStatus enum

func ResourceShareStatus_Values

func ResourceShareStatus_Values() []string

ResourceShareStatus_Values returns all elements of the ResourceShareStatus enum

func ResourceStatus_Values

func ResourceStatus_Values() []string

ResourceStatus_Values returns all elements of the ResourceStatus enum

Types

type AcceptResourceShareInvitationInput

type AcceptResourceShareInvitationInput struct {

	// A unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// The Amazon Resource Name (ARN) of the invitation.
	//
	// ResourceShareInvitationArn is a required field
	ResourceShareInvitationArn *string `locationName:"resourceShareInvitationArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AcceptResourceShareInvitationInput) GoString

GoString returns the string representation

func (*AcceptResourceShareInvitationInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*AcceptResourceShareInvitationInput) SetResourceShareInvitationArn

SetResourceShareInvitationArn sets the ResourceShareInvitationArn field's value.

func (AcceptResourceShareInvitationInput) String

String returns the string representation

func (*AcceptResourceShareInvitationInput) Validate

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.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// Information about the invitation.
	ResourceShareInvitation *ResourceShareInvitation `locationName:"resourceShareInvitation" type:"structure"`
	// contains filtered or unexported fields
}

func (AcceptResourceShareInvitationOutput) GoString

GoString returns the string representation

func (*AcceptResourceShareInvitationOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*AcceptResourceShareInvitationOutput) SetResourceShareInvitation

SetResourceShareInvitation sets the ResourceShareInvitation field's value.

func (AcceptResourceShareInvitationOutput) String

String returns the string representation

type AssociateResourceShareInput

type AssociateResourceShareInput struct {

	// A unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// The principals to associate with the resource share. The possible values
	// are IDs of AWS accounts, and the ARNs of organizational units (OU) or organizations
	// from AWS Organizations.
	Principals []*string `locationName:"principals" type:"list"`

	// The Amazon Resource Names (ARN) of the resources.
	ResourceArns []*string `locationName:"resourceArns" type:"list"`

	// The Amazon Resource Name (ARN) of the resource share.
	//
	// ResourceShareArn is a required field
	ResourceShareArn *string `locationName:"resourceShareArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AssociateResourceShareInput) GoString

func (s AssociateResourceShareInput) GoString() string

GoString returns the string representation

func (*AssociateResourceShareInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*AssociateResourceShareInput) SetPrincipals

SetPrincipals sets the Principals field's value.

func (*AssociateResourceShareInput) SetResourceArns

SetResourceArns sets the ResourceArns field's value.

func (*AssociateResourceShareInput) SetResourceShareArn

SetResourceShareArn sets the ResourceShareArn field's value.

func (AssociateResourceShareInput) 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.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// Information about the associations.
	ResourceShareAssociations []*ResourceShareAssociation `locationName:"resourceShareAssociations" type:"list"`
	// contains filtered or unexported fields
}

func (AssociateResourceShareOutput) GoString

func (s AssociateResourceShareOutput) GoString() string

GoString returns the string representation

func (*AssociateResourceShareOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*AssociateResourceShareOutput) SetResourceShareAssociations

SetResourceShareAssociations sets the ResourceShareAssociations field's value.

func (AssociateResourceShareOutput) 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.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// The ARN of the AWS RAM permission to associate with the resource share.
	//
	// PermissionArn is a required field
	PermissionArn *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.
	Replace *bool `locationName:"replace" type:"boolean"`

	// The Amazon Resource Name (ARN) of the resource share.
	//
	// ResourceShareArn is a required field
	ResourceShareArn *string `locationName:"resourceShareArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AssociateResourceSharePermissionInput) GoString

GoString returns the string representation

func (*AssociateResourceSharePermissionInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*AssociateResourceSharePermissionInput) SetPermissionArn

SetPermissionArn sets the PermissionArn field's value.

func (*AssociateResourceSharePermissionInput) SetReplace

SetReplace sets the Replace field's value.

func (*AssociateResourceSharePermissionInput) SetResourceShareArn

SetResourceShareArn sets the ResourceShareArn field's value.

func (AssociateResourceSharePermissionInput) String

String returns the string representation

func (*AssociateResourceSharePermissionInput) Validate

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.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// Indicates whether the request succeeded.
	ReturnValue *bool `locationName:"returnValue" type:"boolean"`
	// contains filtered or unexported fields
}

func (AssociateResourceSharePermissionOutput) GoString

GoString returns the string representation

func (*AssociateResourceSharePermissionOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*AssociateResourceSharePermissionOutput) SetReturnValue

SetReturnValue sets the ReturnValue field's value.

func (AssociateResourceSharePermissionOutput) String

String returns the string representation

type CreateResourceShareInput

type CreateResourceShareInput struct {

	// Indicates whether principals outside your AWS organization can be associated
	// with a resource share.
	AllowExternalPrincipals *bool `locationName:"allowExternalPrincipals" type:"boolean"`

	// A unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// The name of the resource share.
	//
	// Name is a required field
	Name *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.
	PermissionArns []*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.
	Principals []*string `locationName:"principals" type:"list"`

	// The Amazon Resource Names (ARN) of the resources to associate with the resource
	// share.
	ResourceArns []*string `locationName:"resourceArns" type:"list"`

	// One or more tags.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (CreateResourceShareInput) GoString

func (s CreateResourceShareInput) GoString() string

GoString returns the string representation

func (*CreateResourceShareInput) SetAllowExternalPrincipals

func (s *CreateResourceShareInput) SetAllowExternalPrincipals(v bool) *CreateResourceShareInput

SetAllowExternalPrincipals sets the AllowExternalPrincipals field's value.

func (*CreateResourceShareInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateResourceShareInput) SetName

SetName sets the Name field's value.

func (*CreateResourceShareInput) SetPermissionArns

func (s *CreateResourceShareInput) SetPermissionArns(v []*string) *CreateResourceShareInput

SetPermissionArns sets the PermissionArns field's value.

func (*CreateResourceShareInput) SetPrincipals

SetPrincipals sets the Principals field's value.

func (*CreateResourceShareInput) SetResourceArns

func (s *CreateResourceShareInput) SetResourceArns(v []*string) *CreateResourceShareInput

SetResourceArns sets the ResourceArns field's value.

func (*CreateResourceShareInput) SetTags

SetTags sets the Tags field's value.

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.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// Information about the resource share.
	ResourceShare *ResourceShare `locationName:"resourceShare" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateResourceShareOutput) GoString

func (s CreateResourceShareOutput) GoString() string

GoString returns the string representation

func (*CreateResourceShareOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateResourceShareOutput) SetResourceShare

SetResourceShare sets the ResourceShare field's value.

func (CreateResourceShareOutput) String

func (s CreateResourceShareOutput) String() string

String returns the string representation

type DeleteResourceShareInput

type DeleteResourceShareInput struct {

	// A unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request.
	ClientToken *string `location:"querystring" locationName:"clientToken" type:"string"`

	// The Amazon Resource Name (ARN) of the resource share.
	//
	// ResourceShareArn is a required field
	ResourceShareArn *string `location:"querystring" locationName:"resourceShareArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteResourceShareInput) GoString

func (s DeleteResourceShareInput) GoString() string

GoString returns the string representation

func (*DeleteResourceShareInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*DeleteResourceShareInput) SetResourceShareArn

func (s *DeleteResourceShareInput) SetResourceShareArn(v string) *DeleteResourceShareInput

SetResourceShareArn sets the ResourceShareArn field's value.

func (DeleteResourceShareInput) String

func (s DeleteResourceShareInput) String() string

String returns the string representation

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.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// Indicates whether the request succeeded.
	ReturnValue *bool `locationName:"returnValue" type:"boolean"`
	// contains filtered or unexported fields
}

func (DeleteResourceShareOutput) GoString

func (s DeleteResourceShareOutput) GoString() string

GoString returns the string representation

func (*DeleteResourceShareOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*DeleteResourceShareOutput) SetReturnValue

SetReturnValue sets the ReturnValue field's value.

func (DeleteResourceShareOutput) String

func (s DeleteResourceShareOutput) String() string

String returns the string representation

type DisassociateResourceShareInput

type DisassociateResourceShareInput struct {

	// A unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// The principals.
	Principals []*string `locationName:"principals" type:"list"`

	// The Amazon Resource Names (ARNs) of the resources.
	ResourceArns []*string `locationName:"resourceArns" type:"list"`

	// The Amazon Resource Name (ARN) of the resource share.
	//
	// ResourceShareArn is a required field
	ResourceShareArn *string `locationName:"resourceShareArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisassociateResourceShareInput) GoString

GoString returns the string representation

func (*DisassociateResourceShareInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*DisassociateResourceShareInput) SetPrincipals

SetPrincipals sets the Principals field's value.

func (*DisassociateResourceShareInput) SetResourceArns

SetResourceArns sets the ResourceArns field's value.

func (*DisassociateResourceShareInput) SetResourceShareArn

SetResourceShareArn sets the ResourceShareArn field's value.

func (DisassociateResourceShareInput) 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.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// Information about the associations.
	ResourceShareAssociations []*ResourceShareAssociation `locationName:"resourceShareAssociations" type:"list"`
	// contains filtered or unexported fields
}

func (DisassociateResourceShareOutput) GoString

GoString returns the string representation

func (*DisassociateResourceShareOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*DisassociateResourceShareOutput) SetResourceShareAssociations

SetResourceShareAssociations sets the ResourceShareAssociations field's value.

func (DisassociateResourceShareOutput) 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.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// The ARN of the permission to disassociate from the resource share.
	//
	// PermissionArn is a required field
	PermissionArn *string `locationName:"permissionArn" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the resource share.
	//
	// ResourceShareArn is a required field
	ResourceShareArn *string `locationName:"resourceShareArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisassociateResourceSharePermissionInput) GoString

GoString returns the string representation

func (*DisassociateResourceSharePermissionInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*DisassociateResourceSharePermissionInput) SetPermissionArn

SetPermissionArn sets the PermissionArn field's value.

func (*DisassociateResourceSharePermissionInput) SetResourceShareArn

SetResourceShareArn sets the ResourceShareArn field's value.

func (DisassociateResourceSharePermissionInput) String

String returns the string representation

func (*DisassociateResourceSharePermissionInput) Validate

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.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// Indicates whether the request succeeded.
	ReturnValue *bool `locationName:"returnValue" type:"boolean"`
	// contains filtered or unexported fields
}

func (DisassociateResourceSharePermissionOutput) GoString

GoString returns the string representation

func (*DisassociateResourceSharePermissionOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*DisassociateResourceSharePermissionOutput) SetReturnValue

SetReturnValue sets the ReturnValue field's value.

func (DisassociateResourceSharePermissionOutput) String

String returns the string representation

type EnableSharingWithAwsOrganizationInput

type EnableSharingWithAwsOrganizationInput struct {
	// contains filtered or unexported fields
}

func (EnableSharingWithAwsOrganizationInput) GoString

GoString returns the string representation

func (EnableSharingWithAwsOrganizationInput) 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) GoString

GoString returns the string representation

func (*EnableSharingWithAwsOrganizationOutput) SetReturnValue

SetReturnValue sets the ReturnValue field's value.

func (EnableSharingWithAwsOrganizationOutput) String

String returns the string representation

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) GoString

func (s GetPermissionInput) GoString() string

GoString returns the string representation

func (*GetPermissionInput) SetPermissionArn

func (s *GetPermissionInput) SetPermissionArn(v string) *GetPermissionInput

SetPermissionArn sets the PermissionArn field's value.

func (*GetPermissionInput) SetPermissionVersion

func (s *GetPermissionInput) SetPermissionVersion(v int64) *GetPermissionInput

SetPermissionVersion sets the PermissionVersion field's value.

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) GoString

func (s GetPermissionOutput) GoString() string

GoString returns the string representation

func (*GetPermissionOutput) SetPermission

SetPermission sets the Permission field's value.

func (GetPermissionOutput) String

func (s GetPermissionOutput) String() string

String returns the string representation

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) GoString

func (s GetResourcePoliciesInput) GoString() string

GoString returns the string representation

func (*GetResourcePoliciesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*GetResourcePoliciesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetResourcePoliciesInput) SetPrincipal

SetPrincipal sets the Principal field's value.

func (*GetResourcePoliciesInput) SetResourceArns

func (s *GetResourcePoliciesInput) SetResourceArns(v []*string) *GetResourcePoliciesInput

SetResourceArns sets the ResourceArns field's value.

func (GetResourcePoliciesInput) String

func (s GetResourcePoliciesInput) String() string

String returns the string representation

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) GoString

func (s GetResourcePoliciesOutput) GoString() string

GoString returns the string representation

func (*GetResourcePoliciesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetResourcePoliciesOutput) SetPolicies

SetPolicies sets the Policies field's value.

func (GetResourcePoliciesOutput) String

func (s GetResourcePoliciesOutput) String() string

String returns the string representation

type GetResourceShareAssociationsInput

type GetResourceShareAssociationsInput struct {

	// The association status.
	AssociationStatus *string `locationName:"associationStatus" type:"string" enum:"ResourceShareAssociationStatus"`

	// 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
	AssociationType *string `locationName:"associationType" type:"string" required:"true" enum:"ResourceShareAssociationType"`

	// 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. You cannot specify this parameter if the association type
	// is RESOURCE.
	Principal *string `locationName:"principal" type:"string"`

	// The Amazon Resource Name (ARN) of the resource. You cannot specify this parameter
	// if the association type is PRINCIPAL.
	ResourceArn *string `locationName:"resourceArn" type:"string"`

	// The Amazon Resource Names (ARN) of the resource shares.
	ResourceShareArns []*string `locationName:"resourceShareArns" type:"list"`
	// contains filtered or unexported fields
}

func (GetResourceShareAssociationsInput) GoString

GoString returns the string representation

func (*GetResourceShareAssociationsInput) SetAssociationStatus

SetAssociationStatus sets the AssociationStatus field's value.

func (*GetResourceShareAssociationsInput) SetAssociationType

SetAssociationType sets the AssociationType field's value.

func (*GetResourceShareAssociationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*GetResourceShareAssociationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetResourceShareAssociationsInput) SetPrincipal

SetPrincipal sets the Principal field's value.

func (*GetResourceShareAssociationsInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (*GetResourceShareAssociationsInput) SetResourceShareArns

SetResourceShareArns sets the ResourceShareArns field's value.

func (GetResourceShareAssociationsInput) String

String returns the string representation

func (*GetResourceShareAssociationsInput) Validate

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.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Information about the associations.
	ResourceShareAssociations []*ResourceShareAssociation `locationName:"resourceShareAssociations" type:"list"`
	// contains filtered or unexported fields
}

func (GetResourceShareAssociationsOutput) GoString

GoString returns the string representation

func (*GetResourceShareAssociationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetResourceShareAssociationsOutput) SetResourceShareAssociations

SetResourceShareAssociations sets the ResourceShareAssociations field's value.

func (GetResourceShareAssociationsOutput) String

String returns the string representation

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.
	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 Names (ARN) of the resource shares.
	ResourceShareArns []*string `locationName:"resourceShareArns" type:"list"`

	// The Amazon Resource Names (ARN) of the invitations.
	ResourceShareInvitationArns []*string `locationName:"resourceShareInvitationArns" type:"list"`
	// contains filtered or unexported fields
}

func (GetResourceShareInvitationsInput) GoString

GoString returns the string representation

func (*GetResourceShareInvitationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*GetResourceShareInvitationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetResourceShareInvitationsInput) SetResourceShareArns

SetResourceShareArns sets the ResourceShareArns field's value.

func (*GetResourceShareInvitationsInput) SetResourceShareInvitationArns

func (s *GetResourceShareInvitationsInput) SetResourceShareInvitationArns(v []*string) *GetResourceShareInvitationsInput

SetResourceShareInvitationArns sets the ResourceShareInvitationArns field's value.

func (GetResourceShareInvitationsInput) String

String returns the string representation

func (*GetResourceShareInvitationsInput) Validate

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.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Information about the invitations.
	ResourceShareInvitations []*ResourceShareInvitation `locationName:"resourceShareInvitations" type:"list"`
	// contains filtered or unexported fields
}

func (GetResourceShareInvitationsOutput) GoString

GoString returns the string representation

func (*GetResourceShareInvitationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetResourceShareInvitationsOutput) SetResourceShareInvitations

SetResourceShareInvitations sets the ResourceShareInvitations field's value.

func (GetResourceShareInvitationsOutput) String

String returns the string representation

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.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// The name of the resource share.
	Name *string `locationName:"name" type:"string"`

	// The token for the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The type of owner.
	//
	// ResourceOwner is a required field
	ResourceOwner *string `locationName:"resourceOwner" type:"string" required:"true" enum:"ResourceOwner"`

	// The Amazon Resource Names (ARN) of the resource shares.
	ResourceShareArns []*string `locationName:"resourceShareArns" type:"list"`

	// The status of the resource share.
	ResourceShareStatus *string `locationName:"resourceShareStatus" type:"string" enum:"ResourceShareStatus"`

	// One or more tag filters.
	TagFilters []*TagFilter `locationName:"tagFilters" type:"list"`
	// contains filtered or unexported fields
}

func (GetResourceSharesInput) GoString

func (s GetResourceSharesInput) GoString() string

GoString returns the string representation

func (*GetResourceSharesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*GetResourceSharesInput) SetName

SetName sets the Name field's value.

func (*GetResourceSharesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetResourceSharesInput) SetResourceOwner

func (s *GetResourceSharesInput) SetResourceOwner(v string) *GetResourceSharesInput

SetResourceOwner sets the ResourceOwner field's value.

func (*GetResourceSharesInput) SetResourceShareArns

func (s *GetResourceSharesInput) SetResourceShareArns(v []*string) *GetResourceSharesInput

SetResourceShareArns sets the ResourceShareArns field's value.

func (*GetResourceSharesInput) SetResourceShareStatus

func (s *GetResourceSharesInput) SetResourceShareStatus(v string) *GetResourceSharesInput

SetResourceShareStatus sets the ResourceShareStatus field's value.

func (*GetResourceSharesInput) SetTagFilters

SetTagFilters sets the TagFilters field's value.

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.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Information about the resource shares.
	ResourceShares []*ResourceShare `locationName:"resourceShares" type:"list"`
	// contains filtered or unexported fields
}

func (GetResourceSharesOutput) GoString

func (s GetResourceSharesOutput) GoString() string

GoString returns the string representation

func (*GetResourceSharesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*GetResourceSharesOutput) SetResourceShares

SetResourceShares sets the ResourceShares field's value.

func (GetResourceSharesOutput) String

func (s GetResourceSharesOutput) String() string

String returns the string representation

type IdempotentParameterMismatchException

type IdempotentParameterMismatchException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

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.

func (*IdempotentParameterMismatchException) Code

Code returns the exception type name.

func (*IdempotentParameterMismatchException) Error

func (IdempotentParameterMismatchException) GoString

GoString returns the string representation

func (*IdempotentParameterMismatchException) Message

Message returns the exception's message.

func (*IdempotentParameterMismatchException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*IdempotentParameterMismatchException) RequestID

RequestID returns the service's response RequestID for request.

func (*IdempotentParameterMismatchException) StatusCode

func (s *IdempotentParameterMismatchException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (IdempotentParameterMismatchException) String

String returns the string representation

type InvalidClientTokenException

type InvalidClientTokenException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

A client token is not valid.

func (*InvalidClientTokenException) Code

Code returns the exception type name.

func (*InvalidClientTokenException) Error

func (InvalidClientTokenException) GoString

func (s InvalidClientTokenException) GoString() string

GoString returns the string representation

func (*InvalidClientTokenException) Message

func (s *InvalidClientTokenException) Message() string

Message returns the exception's message.

func (*InvalidClientTokenException) OrigErr

func (s *InvalidClientTokenException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidClientTokenException) RequestID

func (s *InvalidClientTokenException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidClientTokenException) StatusCode

func (s *InvalidClientTokenException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidClientTokenException) String

String returns the string representation

type InvalidMaxResultsException

type InvalidMaxResultsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified value for MaxResults is not valid.

func (*InvalidMaxResultsException) Code

Code returns the exception type name.

func (*InvalidMaxResultsException) Error

func (InvalidMaxResultsException) GoString

func (s InvalidMaxResultsException) GoString() string

GoString returns the string representation

func (*InvalidMaxResultsException) Message

func (s *InvalidMaxResultsException) Message() string

Message returns the exception's message.

func (*InvalidMaxResultsException) OrigErr

func (s *InvalidMaxResultsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidMaxResultsException) RequestID

func (s *InvalidMaxResultsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidMaxResultsException) StatusCode

func (s *InvalidMaxResultsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidMaxResultsException) String

String returns the string representation

type InvalidNextTokenException

type InvalidNextTokenException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified value for NextToken is not valid.

func (*InvalidNextTokenException) Code

Code returns the exception type name.

func (*InvalidNextTokenException) Error

func (s *InvalidNextTokenException) Error() string

func (InvalidNextTokenException) GoString

func (s InvalidNextTokenException) GoString() string

GoString returns the string representation

func (*InvalidNextTokenException) Message

func (s *InvalidNextTokenException) Message() string

Message returns the exception's message.

func (*InvalidNextTokenException) OrigErr

func (s *InvalidNextTokenException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidNextTokenException) RequestID

func (s *InvalidNextTokenException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidNextTokenException) StatusCode

func (s *InvalidNextTokenException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidNextTokenException) String

func (s InvalidNextTokenException) String() string

String returns the string representation

type InvalidParameterException

type InvalidParameterException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

A parameter is not valid.

func (*InvalidParameterException) Code

Code returns the exception type name.

func (*InvalidParameterException) Error

func (s *InvalidParameterException) Error() string

func (InvalidParameterException) GoString

func (s InvalidParameterException) GoString() string

GoString returns the string representation

func (*InvalidParameterException) Message

func (s *InvalidParameterException) Message() string

Message returns the exception's message.

func (*InvalidParameterException) OrigErr

func (s *InvalidParameterException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidParameterException) RequestID

func (s *InvalidParameterException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidParameterException) StatusCode

func (s *InvalidParameterException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidParameterException) String

func (s InvalidParameterException) String() string

String returns the string representation

type InvalidResourceTypeException

type InvalidResourceTypeException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified resource type is not valid.

func (*InvalidResourceTypeException) Code

Code returns the exception type name.

func (*InvalidResourceTypeException) Error

func (InvalidResourceTypeException) GoString

func (s InvalidResourceTypeException) GoString() string

GoString returns the string representation

func (*InvalidResourceTypeException) Message

func (s *InvalidResourceTypeException) Message() string

Message returns the exception's message.

func (*InvalidResourceTypeException) OrigErr

func (s *InvalidResourceTypeException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidResourceTypeException) RequestID

func (s *InvalidResourceTypeException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidResourceTypeException) StatusCode

func (s *InvalidResourceTypeException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidResourceTypeException) String

String returns the string representation

type InvalidStateTransitionException

type InvalidStateTransitionException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The requested state transition is not valid.

func (*InvalidStateTransitionException) Code

Code returns the exception type name.

func (*InvalidStateTransitionException) Error

func (InvalidStateTransitionException) GoString

GoString returns the string representation

func (*InvalidStateTransitionException) Message

Message returns the exception's message.

func (*InvalidStateTransitionException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidStateTransitionException) RequestID

func (s *InvalidStateTransitionException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidStateTransitionException) StatusCode

func (s *InvalidStateTransitionException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidStateTransitionException) String

String returns the string representation

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
	ResourceShareInvitationArn *string `locationName:"resourceShareInvitationArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListPendingInvitationResourcesInput) GoString

GoString returns the string representation

func (*ListPendingInvitationResourcesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListPendingInvitationResourcesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPendingInvitationResourcesInput) SetResourceShareInvitationArn

SetResourceShareInvitationArn sets the ResourceShareInvitationArn field's value.

func (ListPendingInvitationResourcesInput) String

String returns the string representation

func (*ListPendingInvitationResourcesInput) Validate

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) GoString

GoString returns the string representation

func (*ListPendingInvitationResourcesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPendingInvitationResourcesOutput) SetResources

SetResources sets the Resources field's value.

func (ListPendingInvitationResourcesOutput) String

String returns the string representation

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) GoString

func (s ListPermissionsInput) GoString() string

GoString returns the string representation

func (*ListPermissionsInput) SetMaxResults

func (s *ListPermissionsInput) SetMaxResults(v int64) *ListPermissionsInput

SetMaxResults sets the MaxResults field's value.

func (*ListPermissionsInput) SetNextToken

func (s *ListPermissionsInput) SetNextToken(v string) *ListPermissionsInput

SetNextToken sets the NextToken field's value.

func (*ListPermissionsInput) SetResourceType

func (s *ListPermissionsInput) SetResourceType(v string) *ListPermissionsInput

SetResourceType sets the ResourceType field's value.

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) GoString

func (s ListPermissionsOutput) GoString() string

GoString returns the string representation

func (*ListPermissionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPermissionsOutput) SetPermissions

SetPermissions sets the Permissions field's value.

func (ListPermissionsOutput) String

func (s ListPermissionsOutput) String() string

String returns the string representation

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 *string `locationName:"resourceOwner" type:"string" required:"true" enum:"ResourceOwner"`

	// The Amazon Resource Names (ARN) of the resource shares.
	ResourceShareArns []*string `locationName:"resourceShareArns" type:"list"`

	// The resource type.
	//
	// Valid values: acm-pca:CertificateAuthority | appmesh:Mesh | codebuild:Project
	// | codebuild:ReportGroup | ec2:CapacityReservation | ec2:DedicatedHost | ec2:LocalGatewayRouteTable
	// | ec2:PrefixList | ec2:Subnet | ec2:TrafficMirrorTarget | ec2:TransitGateway
	// | imagebuilder:Component | imagebuilder:Image | imagebuilder:ImageRecipe
	// | imagebuilder:ContainerRecipe | glue:Catalog | glue:Database | glue:Table
	// | license-manager:LicenseConfiguration I network-firewall:FirewallPolicy
	// | network-firewall:StatefulRuleGroup | network-firewall:StatelessRuleGroup
	// | outposts:Outpost | resource-groups:Group | rds:Cluster | route53resolver:FirewallRuleGroup
	// |route53resolver:ResolverQueryLogConfig | route53resolver:ResolverRule
	ResourceType *string `locationName:"resourceType" type:"string"`
	// contains filtered or unexported fields
}

func (ListPrincipalsInput) GoString

func (s ListPrincipalsInput) GoString() string

GoString returns the string representation

func (*ListPrincipalsInput) SetMaxResults

func (s *ListPrincipalsInput) SetMaxResults(v int64) *ListPrincipalsInput

SetMaxResults sets the MaxResults field's value.

func (*ListPrincipalsInput) SetNextToken

func (s *ListPrincipalsInput) SetNextToken(v string) *ListPrincipalsInput

SetNextToken sets the NextToken field's value.

func (*ListPrincipalsInput) SetPrincipals

func (s *ListPrincipalsInput) SetPrincipals(v []*string) *ListPrincipalsInput

SetPrincipals sets the Principals field's value.

func (*ListPrincipalsInput) SetResourceArn

func (s *ListPrincipalsInput) SetResourceArn(v string) *ListPrincipalsInput

SetResourceArn sets the ResourceArn field's value.

func (*ListPrincipalsInput) SetResourceOwner

func (s *ListPrincipalsInput) SetResourceOwner(v string) *ListPrincipalsInput

SetResourceOwner sets the ResourceOwner field's value.

func (*ListPrincipalsInput) SetResourceShareArns

func (s *ListPrincipalsInput) SetResourceShareArns(v []*string) *ListPrincipalsInput

SetResourceShareArns sets the ResourceShareArns field's value.

func (*ListPrincipalsInput) SetResourceType

func (s *ListPrincipalsInput) SetResourceType(v string) *ListPrincipalsInput

SetResourceType sets the ResourceType field's value.

func (ListPrincipalsInput) String

func (s ListPrincipalsInput) String() string

String returns the string representation

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) GoString

func (s ListPrincipalsOutput) GoString() string

GoString returns the string representation

func (*ListPrincipalsOutput) SetNextToken

func (s *ListPrincipalsOutput) SetNextToken(v string) *ListPrincipalsOutput

SetNextToken sets the NextToken field's value.

func (*ListPrincipalsOutput) SetPrincipals

func (s *ListPrincipalsOutput) SetPrincipals(v []*Principal) *ListPrincipalsOutput

SetPrincipals sets the Principals field's value.

func (ListPrincipalsOutput) String

func (s ListPrincipalsOutput) String() string

String returns the string representation

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.
	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 resource share.
	//
	// ResourceShareArn is a required field
	ResourceShareArn *string `locationName:"resourceShareArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListResourceSharePermissionsInput) GoString

GoString returns the string representation

func (*ListResourceSharePermissionsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListResourceSharePermissionsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListResourceSharePermissionsInput) SetResourceShareArn

SetResourceShareArn sets the ResourceShareArn field's value.

func (ListResourceSharePermissionsInput) String

String returns the string representation

func (*ListResourceSharePermissionsInput) Validate

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.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The permissions associated with the resource share.
	Permissions []*ResourceSharePermissionSummary `locationName:"permissions" type:"list"`
	// contains filtered or unexported fields
}

func (ListResourceSharePermissionsOutput) GoString

GoString returns the string representation

func (*ListResourceSharePermissionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListResourceSharePermissionsOutput) SetPermissions

SetPermissions sets the Permissions field's value.

func (ListResourceSharePermissionsOutput) String

String returns the string representation

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) GoString

func (s ListResourceTypesInput) GoString() string

GoString returns the string representation

func (*ListResourceTypesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListResourceTypesInput) SetNextToken

SetNextToken sets the NextToken field's value.

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) GoString

func (s ListResourceTypesOutput) GoString() string

GoString returns the string representation

func (*ListResourceTypesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListResourceTypesOutput) SetResourceTypes

SetResourceTypes sets the ResourceTypes field's value.

func (ListResourceTypesOutput) String

func (s ListResourceTypesOutput) String() string

String returns the string representation

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 *string `locationName:"resourceOwner" type:"string" required:"true" enum:"ResourceOwner"`

	// The Amazon Resource Names (ARN) of the resource shares.
	ResourceShareArns []*string `locationName:"resourceShareArns" type:"list"`

	// The resource type.
	//
	// Valid values: acm-pca:CertificateAuthority | appmesh:Mesh | codebuild:Project
	// | codebuild:ReportGroup | ec2:CapacityReservation | ec2:DedicatedHost | ec2:LocalGatewayRouteTable
	// | ec2:PrefixList | ec2:Subnet | ec2:TrafficMirrorTarget | ec2:TransitGateway
	// | imagebuilder:Component | imagebuilder:Image | imagebuilder:ImageRecipe
	// | imagebuilder:ContainerRecipe | glue:Catalog | glue:Database | glue:Table
	// | license-manager:LicenseConfiguration I network-firewall:FirewallPolicy
	// | network-firewall:StatefulRuleGroup | network-firewall:StatelessRuleGroup
	// | outposts:Outpost | resource-groups:Group | rds:Cluster | route53resolver:FirewallRuleGroup
	// |route53resolver:ResolverQueryLogConfig | route53resolver:ResolverRule
	ResourceType *string `locationName:"resourceType" type:"string"`
	// contains filtered or unexported fields
}

func (ListResourcesInput) GoString

func (s ListResourcesInput) GoString() string

GoString returns the string representation

func (*ListResourcesInput) SetMaxResults

func (s *ListResourcesInput) SetMaxResults(v int64) *ListResourcesInput

SetMaxResults sets the MaxResults field's value.

func (*ListResourcesInput) SetNextToken

func (s *ListResourcesInput) SetNextToken(v string) *ListResourcesInput

SetNextToken sets the NextToken field's value.

func (*ListResourcesInput) SetPrincipal

func (s *ListResourcesInput) SetPrincipal(v string) *ListResourcesInput

SetPrincipal sets the Principal field's value.

func (*ListResourcesInput) SetResourceArns

func (s *ListResourcesInput) SetResourceArns(v []*string) *ListResourcesInput

SetResourceArns sets the ResourceArns field's value.

func (*ListResourcesInput) SetResourceOwner

func (s *ListResourcesInput) SetResourceOwner(v string) *ListResourcesInput

SetResourceOwner sets the ResourceOwner field's value.

func (*ListResourcesInput) SetResourceShareArns

func (s *ListResourcesInput) SetResourceShareArns(v []*string) *ListResourcesInput

SetResourceShareArns sets the ResourceShareArns field's value.

func (*ListResourcesInput) SetResourceType

func (s *ListResourcesInput) SetResourceType(v string) *ListResourcesInput

SetResourceType sets the ResourceType field's value.

func (ListResourcesInput) String

func (s ListResourcesInput) String() string

String returns the string representation

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) GoString

func (s ListResourcesOutput) GoString() string

GoString returns the string representation

func (*ListResourcesOutput) SetNextToken

func (s *ListResourcesOutput) SetNextToken(v string) *ListResourcesOutput

SetNextToken sets the NextToken field's value.

func (*ListResourcesOutput) SetResources

func (s *ListResourcesOutput) SetResources(v []*Resource) *ListResourcesOutput

SetResources sets the Resources field's value.

func (ListResourcesOutput) String

func (s ListResourcesOutput) String() string

String returns the string representation

type MalformedArnException

type MalformedArnException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The format of an Amazon Resource Name (ARN) is not valid.

func (*MalformedArnException) Code

func (s *MalformedArnException) Code() string

Code returns the exception type name.

func (*MalformedArnException) Error

func (s *MalformedArnException) Error() string

func (MalformedArnException) GoString

func (s MalformedArnException) GoString() string

GoString returns the string representation

func (*MalformedArnException) Message

func (s *MalformedArnException) Message() string

Message returns the exception's message.

func (*MalformedArnException) OrigErr

func (s *MalformedArnException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*MalformedArnException) RequestID

func (s *MalformedArnException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*MalformedArnException) StatusCode

func (s *MalformedArnException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (MalformedArnException) String

func (s MalformedArnException) String() string

String returns the string representation

type MissingRequiredParameterException

type MissingRequiredParameterException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

A required input parameter is missing.

func (*MissingRequiredParameterException) Code

Code returns the exception type name.

func (*MissingRequiredParameterException) Error

func (MissingRequiredParameterException) GoString

GoString returns the string representation

func (*MissingRequiredParameterException) Message

Message returns the exception's message.

func (*MissingRequiredParameterException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*MissingRequiredParameterException) RequestID

RequestID returns the service's response RequestID for request.

func (*MissingRequiredParameterException) StatusCode

func (s *MissingRequiredParameterException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (MissingRequiredParameterException) String

String returns the string representation

type OperationNotPermittedException

type OperationNotPermittedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The requested operation is not permitted.

func (*OperationNotPermittedException) Code

Code returns the exception type name.

func (*OperationNotPermittedException) Error

func (OperationNotPermittedException) GoString

GoString returns the string representation

func (*OperationNotPermittedException) Message

Message returns the exception's message.

func (*OperationNotPermittedException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*OperationNotPermittedException) RequestID

func (s *OperationNotPermittedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*OperationNotPermittedException) StatusCode

func (s *OperationNotPermittedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (OperationNotPermittedException) String

String returns the string representation

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.
	ResourceShareArn *string `locationName:"resourceShareArn" type:"string"`
	// contains filtered or unexported fields
}

Describes a principal for use with AWS Resource Access Manager.

func (Principal) GoString

func (s Principal) GoString() string

GoString returns the string representation

func (*Principal) SetCreationTime

func (s *Principal) SetCreationTime(v time.Time) *Principal

SetCreationTime sets the CreationTime field's value.

func (*Principal) SetExternal

func (s *Principal) SetExternal(v bool) *Principal

SetExternal sets the External field's value.

func (*Principal) SetId

func (s *Principal) SetId(v string) *Principal

SetId sets the Id field's value.

func (*Principal) SetLastUpdatedTime

func (s *Principal) SetLastUpdatedTime(v time.Time) *Principal

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*Principal) SetResourceShareArn

func (s *Principal) SetResourceShareArn(v string) *Principal

SetResourceShareArn sets the ResourceShareArn field's value.

func (Principal) String

func (s Principal) String() string

String returns the string representation

type PromoteResourceShareCreatedFromPolicyInput

type PromoteResourceShareCreatedFromPolicyInput struct {

	// The ARN of the resource share to promote.
	//
	// ResourceShareArn is a required field
	ResourceShareArn *string `location:"querystring" locationName:"resourceShareArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PromoteResourceShareCreatedFromPolicyInput) GoString

GoString returns the string representation

func (*PromoteResourceShareCreatedFromPolicyInput) SetResourceShareArn

SetResourceShareArn sets the ResourceShareArn field's value.

func (PromoteResourceShareCreatedFromPolicyInput) String

String returns the string representation

func (*PromoteResourceShareCreatedFromPolicyInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type PromoteResourceShareCreatedFromPolicyOutput

type PromoteResourceShareCreatedFromPolicyOutput struct {

	// Indicates whether the request succeeded.
	ReturnValue *bool `locationName:"returnValue" type:"boolean"`
	// contains filtered or unexported fields
}

func (PromoteResourceShareCreatedFromPolicyOutput) GoString

GoString returns the string representation

func (*PromoteResourceShareCreatedFromPolicyOutput) SetReturnValue

SetReturnValue sets the ReturnValue field's value.

func (PromoteResourceShareCreatedFromPolicyOutput) String

String returns the string representation

type RAM

type RAM struct {
	*client.Client
}

RAM provides the API operation methods for making requests to AWS Resource Access Manager. See this package's package overview docs for details on the service.

RAM methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *RAM

New creates a new instance of the RAM client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a RAM client from just a session.
svc := ram.New(mySession)

// Create a RAM client with additional configuration
svc := ram.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*RAM) AcceptResourceShareInvitation

func (c *RAM) AcceptResourceShareInvitation(input *AcceptResourceShareInvitationInput) (*AcceptResourceShareInvitationOutput, error)

AcceptResourceShareInvitation API operation for AWS Resource Access Manager.

Accepts an invitation to a resource share from another AWS account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Resource Access Manager's API operation AcceptResourceShareInvitation for usage and error information.

Returned Error Types:

* MalformedArnException
The format of an Amazon Resource Name (ARN) is not valid.

* OperationNotPermittedException
The requested operation is not permitted.

* ResourceShareInvitationArnNotFoundException
The Amazon Resource Name (ARN) for an invitation was not found.

* ResourceShareInvitationAlreadyAcceptedException
The invitation was already accepted.

* ResourceShareInvitationAlreadyRejectedException
The invitation was already rejected.

* ResourceShareInvitationExpiredException
The invitation is expired.

* ServerInternalException
The service could not respond to the request due to an internal problem.

* ServiceUnavailableException
The service is not available.

* InvalidClientTokenException
A client token is not valid.

* 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.

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AcceptResourceShareInvitation

func (*RAM) AcceptResourceShareInvitationRequest

func (c *RAM) AcceptResourceShareInvitationRequest(input *AcceptResourceShareInvitationInput) (req *request.Request, output *AcceptResourceShareInvitationOutput)

AcceptResourceShareInvitationRequest generates a "aws/request.Request" representing the client's request for the AcceptResourceShareInvitation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AcceptResourceShareInvitation for more information on using the AcceptResourceShareInvitation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AcceptResourceShareInvitationRequest method.
req, resp := client.AcceptResourceShareInvitationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AcceptResourceShareInvitation

func (*RAM) AcceptResourceShareInvitationWithContext

func (c *RAM) AcceptResourceShareInvitationWithContext(ctx aws.Context, input *AcceptResourceShareInvitationInput, opts ...request.Option) (*AcceptResourceShareInvitationOutput, error)

AcceptResourceShareInvitationWithContext is the same as AcceptResourceShareInvitation with the addition of the ability to pass a context and additional request options.

See AcceptResourceShareInvitation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) AssociateResourceShare

func (c *RAM) AssociateResourceShare(input *AssociateResourceShareInput) (*AssociateResourceShareOutput, error)

AssociateResourceShare API operation for AWS Resource Access Manager.

Associates the specified resource share with the specified principals and resources.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Resource Access Manager's API operation AssociateResourceShare for usage and error information.

Returned Error Types:

* IdempotentParameterMismatchException
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.

* UnknownResourceException
A specified resource was not found.

* InvalidStateTransitionException
The requested state transition is not valid.

* ResourceShareLimitExceededException
The requested resource share exceeds the limit for your account.

* MalformedArnException
The format of an Amazon Resource Name (ARN) is not valid.

* InvalidStateTransitionException
The requested state transition is not valid.

* InvalidClientTokenException
A client token is not valid.

* InvalidParameterException
A parameter is not valid.

* OperationNotPermittedException
The requested operation is not permitted.

* ServerInternalException
The service could not respond to the request due to an internal problem.

* ServiceUnavailableException
The service is not available.

* UnknownResourceException
A specified resource was not found.

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AssociateResourceShare

func (*RAM) AssociateResourceSharePermission

func (c *RAM) AssociateResourceSharePermission(input *AssociateResourceSharePermissionInput) (*AssociateResourceSharePermissionOutput, error)

AssociateResourceSharePermission API operation for AWS Resource Access Manager.

Associates a permission with a resource share.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Resource Access Manager's API operation AssociateResourceSharePermission for usage and error information.

Returned Error Types:

* MalformedArnException
The format of an Amazon Resource Name (ARN) is not valid.

* UnknownResourceException
A specified resource was not found.

* InvalidParameterException
A parameter is not valid.

* InvalidClientTokenException
A client token is not valid.

* ServerInternalException
The service could not respond to the request due to an internal problem.

* ServiceUnavailableException
The service is not available.

* OperationNotPermittedException
The requested operation is not permitted.

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AssociateResourceSharePermission

func (*RAM) AssociateResourceSharePermissionRequest

func (c *RAM) AssociateResourceSharePermissionRequest(input *AssociateResourceSharePermissionInput) (req *request.Request, output *AssociateResourceSharePermissionOutput)

AssociateResourceSharePermissionRequest generates a "aws/request.Request" representing the client's request for the AssociateResourceSharePermission operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateResourceSharePermission for more information on using the AssociateResourceSharePermission API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateResourceSharePermissionRequest method.
req, resp := client.AssociateResourceSharePermissionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AssociateResourceSharePermission

func (*RAM) AssociateResourceSharePermissionWithContext

func (c *RAM) AssociateResourceSharePermissionWithContext(ctx aws.Context, input *AssociateResourceSharePermissionInput, opts ...request.Option) (*AssociateResourceSharePermissionOutput, error)

AssociateResourceSharePermissionWithContext is the same as AssociateResourceSharePermission with the addition of the ability to pass a context and additional request options.

See AssociateResourceSharePermission for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) AssociateResourceShareRequest

func (c *RAM) AssociateResourceShareRequest(input *AssociateResourceShareInput) (req *request.Request, output *AssociateResourceShareOutput)

AssociateResourceShareRequest generates a "aws/request.Request" representing the client's request for the AssociateResourceShare operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateResourceShare for more information on using the AssociateResourceShare API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateResourceShareRequest method.
req, resp := client.AssociateResourceShareRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AssociateResourceShare

func (*RAM) AssociateResourceShareWithContext

func (c *RAM) AssociateResourceShareWithContext(ctx aws.Context, input *AssociateResourceShareInput, opts ...request.Option) (*AssociateResourceShareOutput, error)

AssociateResourceShareWithContext is the same as AssociateResourceShare with the addition of the ability to pass a context and additional request options.

See AssociateResourceShare for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) CreateResourceShare

func (c *RAM) CreateResourceShare(input *CreateResourceShareInput) (*CreateResourceShareOutput, error)

CreateResourceShare API operation for AWS Resource Access Manager.

Creates a resource share.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Resource Access Manager's API operation CreateResourceShare for usage and error information.

Returned Error Types:

* IdempotentParameterMismatchException
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.

* InvalidStateTransitionException
The requested state transition is not valid.

* UnknownResourceException
A specified resource was not found.

* MalformedArnException
The format of an Amazon Resource Name (ARN) is not valid.

* InvalidClientTokenException
A client token is not valid.

* InvalidParameterException
A parameter is not valid.

* OperationNotPermittedException
The requested operation is not permitted.

* ResourceShareLimitExceededException
The requested resource share exceeds the limit for your account.

* TagPolicyViolationException
The specified tag is a reserved word and cannot be used.

* ServerInternalException
The service could not respond to the request due to an internal problem.

* ServiceUnavailableException
The service is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/CreateResourceShare

func (*RAM) CreateResourceShareRequest

func (c *RAM) CreateResourceShareRequest(input *CreateResourceShareInput) (req *request.Request, output *CreateResourceShareOutput)

CreateResourceShareRequest generates a "aws/request.Request" representing the client's request for the CreateResourceShare operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateResourceShare for more information on using the CreateResourceShare API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateResourceShareRequest method.
req, resp := client.CreateResourceShareRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/CreateResourceShare

func (*RAM) CreateResourceShareWithContext

func (c *RAM) CreateResourceShareWithContext(ctx aws.Context, input *CreateResourceShareInput, opts ...request.Option) (*CreateResourceShareOutput, error)

CreateResourceShareWithContext is the same as CreateResourceShare with the addition of the ability to pass a context and additional request options.

See CreateResourceShare for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) DeleteResourceShare

func (c *RAM) DeleteResourceShare(input *DeleteResourceShareInput) (*DeleteResourceShareOutput, error)

DeleteResourceShare API operation for AWS Resource Access Manager.

Deletes the specified resource share.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Resource Access Manager's API operation DeleteResourceShare for usage and error information.

Returned Error Types:

* OperationNotPermittedException
The requested operation is not permitted.

* IdempotentParameterMismatchException
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.

* InvalidStateTransitionException
The requested state transition is not valid.

* UnknownResourceException
A specified resource was not found.

* MalformedArnException
The format of an Amazon Resource Name (ARN) is not valid.

* InvalidClientTokenException
A client token is not valid.

* InvalidParameterException
A parameter is not valid.

* ServerInternalException
The service could not respond to the request due to an internal problem.

* ServiceUnavailableException
The service is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DeleteResourceShare

func (*RAM) DeleteResourceShareRequest

func (c *RAM) DeleteResourceShareRequest(input *DeleteResourceShareInput) (req *request.Request, output *DeleteResourceShareOutput)

DeleteResourceShareRequest generates a "aws/request.Request" representing the client's request for the DeleteResourceShare operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteResourceShare for more information on using the DeleteResourceShare API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteResourceShareRequest method.
req, resp := client.DeleteResourceShareRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DeleteResourceShare

func (*RAM) DeleteResourceShareWithContext

func (c *RAM) DeleteResourceShareWithContext(ctx aws.Context, input *DeleteResourceShareInput, opts ...request.Option) (*DeleteResourceShareOutput, error)

DeleteResourceShareWithContext is the same as DeleteResourceShare with the addition of the ability to pass a context and additional request options.

See DeleteResourceShare for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) DisassociateResourceShare

func (c *RAM) DisassociateResourceShare(input *DisassociateResourceShareInput) (*DisassociateResourceShareOutput, error)

DisassociateResourceShare API operation for AWS Resource Access Manager.

Disassociates the specified principals or resources from the specified resource share.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Resource Access Manager's API operation DisassociateResourceShare for usage and error information.

Returned Error Types:

* IdempotentParameterMismatchException
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.

* ResourceShareLimitExceededException
The requested resource share exceeds the limit for your account.

* MalformedArnException
The format of an Amazon Resource Name (ARN) is not valid.

* InvalidStateTransitionException
The requested state transition is not valid.

* InvalidClientTokenException
A client token is not valid.

* InvalidParameterException
A parameter is not valid.

* OperationNotPermittedException
The requested operation is not permitted.

* ServerInternalException
The service could not respond to the request due to an internal problem.

* ServiceUnavailableException
The service is not available.

* UnknownResourceException
A specified resource was not found.

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DisassociateResourceShare

func (*RAM) DisassociateResourceSharePermission

func (c *RAM) DisassociateResourceSharePermission(input *DisassociateResourceSharePermissionInput) (*DisassociateResourceSharePermissionOutput, error)

DisassociateResourceSharePermission API operation for AWS Resource Access Manager.

Disassociates an AWS RAM permission from a resource share.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Resource Access Manager's API operation DisassociateResourceSharePermission for usage and error information.

Returned Error Types:

* MalformedArnException
The format of an Amazon Resource Name (ARN) is not valid.

* UnknownResourceException
A specified resource was not found.

* InvalidParameterException
A parameter is not valid.

* InvalidClientTokenException
A client token is not valid.

* ServerInternalException
The service could not respond to the request due to an internal problem.

* ServiceUnavailableException
The service is not available.

* OperationNotPermittedException
The requested operation is not permitted.

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DisassociateResourceSharePermission

func (*RAM) DisassociateResourceSharePermissionRequest

func (c *RAM) DisassociateResourceSharePermissionRequest(input *DisassociateResourceSharePermissionInput) (req *request.Request, output *DisassociateResourceSharePermissionOutput)

DisassociateResourceSharePermissionRequest generates a "aws/request.Request" representing the client's request for the DisassociateResourceSharePermission operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateResourceSharePermission for more information on using the DisassociateResourceSharePermission API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateResourceSharePermissionRequest method.
req, resp := client.DisassociateResourceSharePermissionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DisassociateResourceSharePermission

func (*RAM) DisassociateResourceSharePermissionWithContext

func (c *RAM) DisassociateResourceSharePermissionWithContext(ctx aws.Context, input *DisassociateResourceSharePermissionInput, opts ...request.Option) (*DisassociateResourceSharePermissionOutput, error)

DisassociateResourceSharePermissionWithContext is the same as DisassociateResourceSharePermission with the addition of the ability to pass a context and additional request options.

See DisassociateResourceSharePermission for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) DisassociateResourceShareRequest

func (c *RAM) DisassociateResourceShareRequest(input *DisassociateResourceShareInput) (req *request.Request, output *DisassociateResourceShareOutput)

DisassociateResourceShareRequest generates a "aws/request.Request" representing the client's request for the DisassociateResourceShare operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateResourceShare for more information on using the DisassociateResourceShare API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateResourceShareRequest method.
req, resp := client.DisassociateResourceShareRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DisassociateResourceShare

func (*RAM) DisassociateResourceShareWithContext

func (c *RAM) DisassociateResourceShareWithContext(ctx aws.Context, input *DisassociateResourceShareInput, opts ...request.Option) (*DisassociateResourceShareOutput, error)

DisassociateResourceShareWithContext is the same as DisassociateResourceShare with the addition of the ability to pass a context and additional request options.

See DisassociateResourceShare for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) EnableSharingWithAwsOrganization

func (c *RAM) EnableSharingWithAwsOrganization(input *EnableSharingWithAwsOrganizationInput) (*EnableSharingWithAwsOrganizationOutput, error)

EnableSharingWithAwsOrganization API operation for AWS Resource Access Manager.

Enables resource sharing within your AWS Organization.

The caller must be the master account for the AWS Organization.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Resource Access Manager's API operation EnableSharingWithAwsOrganization for usage and error information.

Returned Error Types:

* OperationNotPermittedException
The requested operation is not permitted.

* ServerInternalException
The service could not respond to the request due to an internal problem.

* ServiceUnavailableException
The service is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/EnableSharingWithAwsOrganization

func (*RAM) EnableSharingWithAwsOrganizationRequest

func (c *RAM) EnableSharingWithAwsOrganizationRequest(input *EnableSharingWithAwsOrganizationInput) (req *request.Request, output *EnableSharingWithAwsOrganizationOutput)

EnableSharingWithAwsOrganizationRequest generates a "aws/request.Request" representing the client's request for the EnableSharingWithAwsOrganization operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See EnableSharingWithAwsOrganization for more information on using the EnableSharingWithAwsOrganization API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the EnableSharingWithAwsOrganizationRequest method.
req, resp := client.EnableSharingWithAwsOrganizationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/EnableSharingWithAwsOrganization

func (*RAM) EnableSharingWithAwsOrganizationWithContext

func (c *RAM) EnableSharingWithAwsOrganizationWithContext(ctx aws.Context, input *EnableSharingWithAwsOrganizationInput, opts ...request.Option) (*EnableSharingWithAwsOrganizationOutput, error)

EnableSharingWithAwsOrganizationWithContext is the same as EnableSharingWithAwsOrganization with the addition of the ability to pass a context and additional request options.

See EnableSharingWithAwsOrganization for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) GetPermission

func (c *RAM) GetPermission(input *GetPermissionInput) (*GetPermissionOutput, error)

GetPermission API operation for AWS Resource Access Manager.

Gets the contents of an AWS RAM permission in JSON format.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Resource Access Manager's API operation GetPermission for usage and error information.

Returned Error Types:

* InvalidParameterException
A parameter is not valid.

* MalformedArnException
The format of an Amazon Resource Name (ARN) is not valid.

* UnknownResourceException
A specified resource was not found.

* ServerInternalException
The service could not respond to the request due to an internal problem.

* ServiceUnavailableException
The service is not available.

* OperationNotPermittedException
The requested operation is not permitted.

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetPermission

func (*RAM) GetPermissionRequest

func (c *RAM) GetPermissionRequest(input *GetPermissionInput) (req *request.Request, output *GetPermissionOutput)

GetPermissionRequest generates a "aws/request.Request" representing the client's request for the GetPermission operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetPermission for more information on using the GetPermission API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetPermissionRequest method.
req, resp := client.GetPermissionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetPermission

func (*RAM) GetPermissionWithContext

func (c *RAM) GetPermissionWithContext(ctx aws.Context, input *GetPermissionInput, opts ...request.Option) (*GetPermissionOutput, error)

GetPermissionWithContext is the same as GetPermission with the addition of the ability to pass a context and additional request options.

See GetPermission for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) GetResourcePolicies

func (c *RAM) GetResourcePolicies(input *GetResourcePoliciesInput) (*GetResourcePoliciesOutput, error)

GetResourcePolicies API operation for AWS Resource Access Manager.

Gets the policies for the specified resources that you own and have shared.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Resource Access Manager's API operation GetResourcePolicies for usage and error information.

Returned Error Types:

* MalformedArnException
The format of an Amazon Resource Name (ARN) is not valid.

* InvalidNextTokenException
The specified value for NextToken is not valid.

* InvalidParameterException
A parameter is not valid.

* ResourceArnNotFoundException
An Amazon Resource Name (ARN) was not found.

* ServerInternalException
The service could not respond to the request due to an internal problem.

* ServiceUnavailableException
The service is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourcePolicies

func (*RAM) GetResourcePoliciesPages

func (c *RAM) GetResourcePoliciesPages(input *GetResourcePoliciesInput, fn func(*GetResourcePoliciesOutput, bool) bool) error

GetResourcePoliciesPages iterates over the pages of a GetResourcePolicies operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetResourcePolicies method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetResourcePolicies operation.
pageNum := 0
err := client.GetResourcePoliciesPages(params,
    func(page *ram.GetResourcePoliciesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*RAM) GetResourcePoliciesPagesWithContext

func (c *RAM) GetResourcePoliciesPagesWithContext(ctx aws.Context, input *GetResourcePoliciesInput, fn func(*GetResourcePoliciesOutput, bool) bool, opts ...request.Option) error

GetResourcePoliciesPagesWithContext same as GetResourcePoliciesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) GetResourcePoliciesRequest

func (c *RAM) GetResourcePoliciesRequest(input *GetResourcePoliciesInput) (req *request.Request, output *GetResourcePoliciesOutput)

GetResourcePoliciesRequest generates a "aws/request.Request" representing the client's request for the GetResourcePolicies operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetResourcePolicies for more information on using the GetResourcePolicies API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetResourcePoliciesRequest method.
req, resp := client.GetResourcePoliciesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourcePolicies

func (*RAM) GetResourcePoliciesWithContext

func (c *RAM) GetResourcePoliciesWithContext(ctx aws.Context, input *GetResourcePoliciesInput, opts ...request.Option) (*GetResourcePoliciesOutput, error)

GetResourcePoliciesWithContext is the same as GetResourcePolicies with the addition of the ability to pass a context and additional request options.

See GetResourcePolicies for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) GetResourceShareAssociations

func (c *RAM) GetResourceShareAssociations(input *GetResourceShareAssociationsInput) (*GetResourceShareAssociationsOutput, error)

GetResourceShareAssociations API operation for AWS Resource Access Manager.

Gets the resources or principals for the resource shares that you own.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Resource Access Manager's API operation GetResourceShareAssociations for usage and error information.

Returned Error Types:

* UnknownResourceException
A specified resource was not found.

* MalformedArnException
The format of an Amazon Resource Name (ARN) is not valid.

* InvalidNextTokenException
The specified value for NextToken is not valid.

* InvalidParameterException
A parameter is not valid.

* OperationNotPermittedException
The requested operation is not permitted.

* ServerInternalException
The service could not respond to the request due to an internal problem.

* ServiceUnavailableException
The service is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShareAssociations

func (*RAM) GetResourceShareAssociationsPages

func (c *RAM) GetResourceShareAssociationsPages(input *GetResourceShareAssociationsInput, fn func(*GetResourceShareAssociationsOutput, bool) bool) error

GetResourceShareAssociationsPages iterates over the pages of a GetResourceShareAssociations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetResourceShareAssociations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetResourceShareAssociations operation.
pageNum := 0
err := client.GetResourceShareAssociationsPages(params,
    func(page *ram.GetResourceShareAssociationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*RAM) GetResourceShareAssociationsPagesWithContext

func (c *RAM) GetResourceShareAssociationsPagesWithContext(ctx aws.Context, input *GetResourceShareAssociationsInput, fn func(*GetResourceShareAssociationsOutput, bool) bool, opts ...request.Option) error

GetResourceShareAssociationsPagesWithContext same as GetResourceShareAssociationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) GetResourceShareAssociationsRequest

func (c *RAM) GetResourceShareAssociationsRequest(input *GetResourceShareAssociationsInput) (req *request.Request, output *GetResourceShareAssociationsOutput)

GetResourceShareAssociationsRequest generates a "aws/request.Request" representing the client's request for the GetResourceShareAssociations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetResourceShareAssociations for more information on using the GetResourceShareAssociations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetResourceShareAssociationsRequest method.
req, resp := client.GetResourceShareAssociationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShareAssociations

func (*RAM) GetResourceShareAssociationsWithContext

func (c *RAM) GetResourceShareAssociationsWithContext(ctx aws.Context, input *GetResourceShareAssociationsInput, opts ...request.Option) (*GetResourceShareAssociationsOutput, error)

GetResourceShareAssociationsWithContext is the same as GetResourceShareAssociations with the addition of the ability to pass a context and additional request options.

See GetResourceShareAssociations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) GetResourceShareInvitations

func (c *RAM) GetResourceShareInvitations(input *GetResourceShareInvitationsInput) (*GetResourceShareInvitationsOutput, error)

GetResourceShareInvitations API operation for AWS Resource Access Manager.

Gets the invitations for resource sharing that you've received.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Resource Access Manager's API operation GetResourceShareInvitations for usage and error information.

Returned Error Types:

* ResourceShareInvitationArnNotFoundException
The Amazon Resource Name (ARN) for an invitation was not found.

* InvalidMaxResultsException
The specified value for MaxResults is not valid.

* MalformedArnException
The format of an Amazon Resource Name (ARN) is not valid.

* UnknownResourceException
A specified resource was not found.

* InvalidNextTokenException
The specified value for NextToken is not valid.

* InvalidParameterException
A parameter is not valid.

* ServerInternalException
The service could not respond to the request due to an internal problem.

* ServiceUnavailableException
The service is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShareInvitations

func (*RAM) GetResourceShareInvitationsPages

func (c *RAM) GetResourceShareInvitationsPages(input *GetResourceShareInvitationsInput, fn func(*GetResourceShareInvitationsOutput, bool) bool) error

GetResourceShareInvitationsPages iterates over the pages of a GetResourceShareInvitations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetResourceShareInvitations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetResourceShareInvitations operation.
pageNum := 0
err := client.GetResourceShareInvitationsPages(params,
    func(page *ram.GetResourceShareInvitationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*RAM) GetResourceShareInvitationsPagesWithContext

func (c *RAM) GetResourceShareInvitationsPagesWithContext(ctx aws.Context, input *GetResourceShareInvitationsInput, fn func(*GetResourceShareInvitationsOutput, bool) bool, opts ...request.Option) error

GetResourceShareInvitationsPagesWithContext same as GetResourceShareInvitationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) GetResourceShareInvitationsRequest

func (c *RAM) GetResourceShareInvitationsRequest(input *GetResourceShareInvitationsInput) (req *request.Request, output *GetResourceShareInvitationsOutput)

GetResourceShareInvitationsRequest generates a "aws/request.Request" representing the client's request for the GetResourceShareInvitations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetResourceShareInvitations for more information on using the GetResourceShareInvitations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetResourceShareInvitationsRequest method.
req, resp := client.GetResourceShareInvitationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShareInvitations

func (*RAM) GetResourceShareInvitationsWithContext

func (c *RAM) GetResourceShareInvitationsWithContext(ctx aws.Context, input *GetResourceShareInvitationsInput, opts ...request.Option) (*GetResourceShareInvitationsOutput, error)

GetResourceShareInvitationsWithContext is the same as GetResourceShareInvitations with the addition of the ability to pass a context and additional request options.

See GetResourceShareInvitations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) GetResourceShares

func (c *RAM) GetResourceShares(input *GetResourceSharesInput) (*GetResourceSharesOutput, error)

GetResourceShares API operation for AWS Resource Access Manager.

Gets the resource shares that you own or the resource shares that are shared with you.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Resource Access Manager's API operation GetResourceShares for usage and error information.

Returned Error Types:

* UnknownResourceException
A specified resource was not found.

* MalformedArnException
The format of an Amazon Resource Name (ARN) is not valid.

* InvalidNextTokenException
The specified value for NextToken is not valid.

* InvalidParameterException
A parameter is not valid.

* ServerInternalException
The service could not respond to the request due to an internal problem.

* ServiceUnavailableException
The service is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShares

func (*RAM) GetResourceSharesPages

func (c *RAM) GetResourceSharesPages(input *GetResourceSharesInput, fn func(*GetResourceSharesOutput, bool) bool) error

GetResourceSharesPages iterates over the pages of a GetResourceShares operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetResourceShares method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetResourceShares operation.
pageNum := 0
err := client.GetResourceSharesPages(params,
    func(page *ram.GetResourceSharesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*RAM) GetResourceSharesPagesWithContext

func (c *RAM) GetResourceSharesPagesWithContext(ctx aws.Context, input *GetResourceSharesInput, fn func(*GetResourceSharesOutput, bool) bool, opts ...request.Option) error

GetResourceSharesPagesWithContext same as GetResourceSharesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) GetResourceSharesRequest

func (c *RAM) GetResourceSharesRequest(input *GetResourceSharesInput) (req *request.Request, output *GetResourceSharesOutput)

GetResourceSharesRequest generates a "aws/request.Request" representing the client's request for the GetResourceShares operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetResourceShares for more information on using the GetResourceShares API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetResourceSharesRequest method.
req, resp := client.GetResourceSharesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShares

func (*RAM) GetResourceSharesWithContext

func (c *RAM) GetResourceSharesWithContext(ctx aws.Context, input *GetResourceSharesInput, opts ...request.Option) (*GetResourceSharesOutput, error)

GetResourceSharesWithContext is the same as GetResourceShares with the addition of the ability to pass a context and additional request options.

See GetResourceShares for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) ListPendingInvitationResources

func (c *RAM) ListPendingInvitationResources(input *ListPendingInvitationResourcesInput) (*ListPendingInvitationResourcesOutput, error)

ListPendingInvitationResources API operation for AWS Resource Access Manager.

Lists the resources in a resource share that is shared with you but that the invitation is still pending for.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Resource Access Manager's API operation ListPendingInvitationResources for usage and error information.

Returned Error Types:

* MalformedArnException
The format of an Amazon Resource Name (ARN) is not valid.

* InvalidNextTokenException
The specified value for NextToken is not valid.

* InvalidParameterException
A parameter is not valid.

* ServerInternalException
The service could not respond to the request due to an internal problem.

* ServiceUnavailableException
The service is not available.

* ResourceShareInvitationArnNotFoundException
The Amazon Resource Name (ARN) for an invitation was not found.

* MissingRequiredParameterException
A required input parameter is missing.

* ResourceShareInvitationAlreadyRejectedException
The invitation was already rejected.

* ResourceShareInvitationExpiredException
The invitation is expired.

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPendingInvitationResources

func (*RAM) ListPendingInvitationResourcesPages

func (c *RAM) ListPendingInvitationResourcesPages(input *ListPendingInvitationResourcesInput, fn func(*ListPendingInvitationResourcesOutput, bool) bool) error

ListPendingInvitationResourcesPages iterates over the pages of a ListPendingInvitationResources operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListPendingInvitationResources method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListPendingInvitationResources operation.
pageNum := 0
err := client.ListPendingInvitationResourcesPages(params,
    func(page *ram.ListPendingInvitationResourcesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*RAM) ListPendingInvitationResourcesPagesWithContext

func (c *RAM) ListPendingInvitationResourcesPagesWithContext(ctx aws.Context, input *ListPendingInvitationResourcesInput, fn func(*ListPendingInvitationResourcesOutput, bool) bool, opts ...request.Option) error

ListPendingInvitationResourcesPagesWithContext same as ListPendingInvitationResourcesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) ListPendingInvitationResourcesRequest

func (c *RAM) ListPendingInvitationResourcesRequest(input *ListPendingInvitationResourcesInput) (req *request.Request, output *ListPendingInvitationResourcesOutput)

ListPendingInvitationResourcesRequest generates a "aws/request.Request" representing the client's request for the ListPendingInvitationResources operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListPendingInvitationResources for more information on using the ListPendingInvitationResources API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListPendingInvitationResourcesRequest method.
req, resp := client.ListPendingInvitationResourcesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPendingInvitationResources

func (*RAM) ListPendingInvitationResourcesWithContext

func (c *RAM) ListPendingInvitationResourcesWithContext(ctx aws.Context, input *ListPendingInvitationResourcesInput, opts ...request.Option) (*ListPendingInvitationResourcesOutput, error)

ListPendingInvitationResourcesWithContext is the same as ListPendingInvitationResources with the addition of the ability to pass a context and additional request options.

See ListPendingInvitationResources for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) ListPermissions

func (c *RAM) ListPermissions(input *ListPermissionsInput) (*ListPermissionsOutput, error)

ListPermissions API operation for AWS Resource Access Manager.

Lists the AWS RAM permissions.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Resource Access Manager's API operation ListPermissions for usage and error information.

Returned Error Types:

* InvalidParameterException
A parameter is not valid.

* InvalidNextTokenException
The specified value for NextToken is not valid.

* ServerInternalException
The service could not respond to the request due to an internal problem.

* ServiceUnavailableException
The service is not available.

* OperationNotPermittedException
The requested operation is not permitted.

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPermissions

func (*RAM) ListPermissionsRequest

func (c *RAM) ListPermissionsRequest(input *ListPermissionsInput) (req *request.Request, output *ListPermissionsOutput)

ListPermissionsRequest generates a "aws/request.Request" representing the client's request for the ListPermissions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListPermissions for more information on using the ListPermissions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListPermissionsRequest method.
req, resp := client.ListPermissionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPermissions

func (*RAM) ListPermissionsWithContext

func (c *RAM) ListPermissionsWithContext(ctx aws.Context, input *ListPermissionsInput, opts ...request.Option) (*ListPermissionsOutput, error)

ListPermissionsWithContext is the same as ListPermissions with the addition of the ability to pass a context and additional request options.

See ListPermissions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) ListPrincipals

func (c *RAM) ListPrincipals(input *ListPrincipalsInput) (*ListPrincipalsOutput, error)

ListPrincipals API operation for AWS Resource Access Manager.

Lists the principals that you have shared resources with or that have shared resources with you.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Resource Access Manager's API operation ListPrincipals for usage and error information.

Returned Error Types:

* MalformedArnException
The format of an Amazon Resource Name (ARN) is not valid.

* UnknownResourceException
A specified resource was not found.

* InvalidNextTokenException
The specified value for NextToken is not valid.

* InvalidParameterException
A parameter is not valid.

* ServerInternalException
The service could not respond to the request due to an internal problem.

* ServiceUnavailableException
The service is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPrincipals

func (*RAM) ListPrincipalsPages

func (c *RAM) ListPrincipalsPages(input *ListPrincipalsInput, fn func(*ListPrincipalsOutput, bool) bool) error

ListPrincipalsPages iterates over the pages of a ListPrincipals operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListPrincipals method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListPrincipals operation.
pageNum := 0
err := client.ListPrincipalsPages(params,
    func(page *ram.ListPrincipalsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*RAM) ListPrincipalsPagesWithContext

func (c *RAM) ListPrincipalsPagesWithContext(ctx aws.Context, input *ListPrincipalsInput, fn func(*ListPrincipalsOutput, bool) bool, opts ...request.Option) error

ListPrincipalsPagesWithContext same as ListPrincipalsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) ListPrincipalsRequest

func (c *RAM) ListPrincipalsRequest(input *ListPrincipalsInput) (req *request.Request, output *ListPrincipalsOutput)

ListPrincipalsRequest generates a "aws/request.Request" representing the client's request for the ListPrincipals operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListPrincipals for more information on using the ListPrincipals API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListPrincipalsRequest method.
req, resp := client.ListPrincipalsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPrincipals

func (*RAM) ListPrincipalsWithContext

func (c *RAM) ListPrincipalsWithContext(ctx aws.Context, input *ListPrincipalsInput, opts ...request.Option) (*ListPrincipalsOutput, error)

ListPrincipalsWithContext is the same as ListPrincipals with the addition of the ability to pass a context and additional request options.

See ListPrincipals for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) ListResourceSharePermissions

func (c *RAM) ListResourceSharePermissions(input *ListResourceSharePermissionsInput) (*ListResourceSharePermissionsOutput, error)

ListResourceSharePermissions API operation for AWS Resource Access Manager.

Lists the AWS RAM permissions that are associated with a resource share.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Resource Access Manager's API operation ListResourceSharePermissions for usage and error information.

Returned Error Types:

* InvalidParameterException
A parameter is not valid.

* MalformedArnException
The format of an Amazon Resource Name (ARN) is not valid.

* UnknownResourceException
A specified resource was not found.

* InvalidNextTokenException
The specified value for NextToken is not valid.

* ServerInternalException
The service could not respond to the request due to an internal problem.

* ServiceUnavailableException
The service is not available.

* OperationNotPermittedException
The requested operation is not permitted.

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceSharePermissions

func (*RAM) ListResourceSharePermissionsRequest

func (c *RAM) ListResourceSharePermissionsRequest(input *ListResourceSharePermissionsInput) (req *request.Request, output *ListResourceSharePermissionsOutput)

ListResourceSharePermissionsRequest generates a "aws/request.Request" representing the client's request for the ListResourceSharePermissions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListResourceSharePermissions for more information on using the ListResourceSharePermissions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListResourceSharePermissionsRequest method.
req, resp := client.ListResourceSharePermissionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceSharePermissions

func (*RAM) ListResourceSharePermissionsWithContext

func (c *RAM) ListResourceSharePermissionsWithContext(ctx aws.Context, input *ListResourceSharePermissionsInput, opts ...request.Option) (*ListResourceSharePermissionsOutput, error)

ListResourceSharePermissionsWithContext is the same as ListResourceSharePermissions with the addition of the ability to pass a context and additional request options.

See ListResourceSharePermissions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) ListResourceTypes

func (c *RAM) ListResourceTypes(input *ListResourceTypesInput) (*ListResourceTypesOutput, error)

ListResourceTypes API operation for AWS Resource Access Manager.

Lists the shareable resource types supported by AWS RAM.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Resource Access Manager's API operation ListResourceTypes for usage and error information.

Returned Error Types:

* InvalidNextTokenException
The specified value for NextToken is not valid.

* InvalidParameterException
A parameter is not valid.

* ServerInternalException
The service could not respond to the request due to an internal problem.

* ServiceUnavailableException
The service is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceTypes

func (*RAM) ListResourceTypesRequest

func (c *RAM) ListResourceTypesRequest(input *ListResourceTypesInput) (req *request.Request, output *ListResourceTypesOutput)

ListResourceTypesRequest generates a "aws/request.Request" representing the client's request for the ListResourceTypes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListResourceTypes for more information on using the ListResourceTypes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListResourceTypesRequest method.
req, resp := client.ListResourceTypesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceTypes

func (*RAM) ListResourceTypesWithContext

func (c *RAM) ListResourceTypesWithContext(ctx aws.Context, input *ListResourceTypesInput, opts ...request.Option) (*ListResourceTypesOutput, error)

ListResourceTypesWithContext is the same as ListResourceTypes with the addition of the ability to pass a context and additional request options.

See ListResourceTypes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) ListResources

func (c *RAM) ListResources(input *ListResourcesInput) (*ListResourcesOutput, error)

ListResources API operation for AWS Resource Access Manager.

Lists the resources that you added to a resource shares or the resources that are shared with you.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Resource Access Manager's API operation ListResources for usage and error information.

Returned Error Types:

* InvalidResourceTypeException
The specified resource type is not valid.

* UnknownResourceException
A specified resource was not found.

* MalformedArnException
The format of an Amazon Resource Name (ARN) is not valid.

* InvalidNextTokenException
The specified value for NextToken is not valid.

* InvalidParameterException
A parameter is not valid.

* ServerInternalException
The service could not respond to the request due to an internal problem.

* ServiceUnavailableException
The service is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResources

func (*RAM) ListResourcesPages

func (c *RAM) ListResourcesPages(input *ListResourcesInput, fn func(*ListResourcesOutput, bool) bool) error

ListResourcesPages iterates over the pages of a ListResources operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListResources method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListResources operation.
pageNum := 0
err := client.ListResourcesPages(params,
    func(page *ram.ListResourcesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*RAM) ListResourcesPagesWithContext

func (c *RAM) ListResourcesPagesWithContext(ctx aws.Context, input *ListResourcesInput, fn func(*ListResourcesOutput, bool) bool, opts ...request.Option) error

ListResourcesPagesWithContext same as ListResourcesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) ListResourcesRequest

func (c *RAM) ListResourcesRequest(input *ListResourcesInput) (req *request.Request, output *ListResourcesOutput)

ListResourcesRequest generates a "aws/request.Request" representing the client's request for the ListResources operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListResources for more information on using the ListResources API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListResourcesRequest method.
req, resp := client.ListResourcesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResources

func (*RAM) ListResourcesWithContext

func (c *RAM) ListResourcesWithContext(ctx aws.Context, input *ListResourcesInput, opts ...request.Option) (*ListResourcesOutput, error)

ListResourcesWithContext is the same as ListResources with the addition of the ability to pass a context and additional request options.

See ListResources for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) PromoteResourceShareCreatedFromPolicy

func (c *RAM) PromoteResourceShareCreatedFromPolicy(input *PromoteResourceShareCreatedFromPolicyInput) (*PromoteResourceShareCreatedFromPolicyOutput, error)

PromoteResourceShareCreatedFromPolicy 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Resource Access Manager's API operation PromoteResourceShareCreatedFromPolicy for usage and error information.

Returned Error Types:

* MalformedArnException
The format of an Amazon Resource Name (ARN) is not valid.

* OperationNotPermittedException
The requested operation is not permitted.

* InvalidParameterException
A parameter is not valid.

* MissingRequiredParameterException
A required input parameter is missing.

* ServerInternalException
The service could not respond to the request due to an internal problem.

* ServiceUnavailableException
The service is not available.

* UnknownResourceException
A specified resource was not found.

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/PromoteResourceShareCreatedFromPolicy

func (*RAM) PromoteResourceShareCreatedFromPolicyRequest

func (c *RAM) PromoteResourceShareCreatedFromPolicyRequest(input *PromoteResourceShareCreatedFromPolicyInput) (req *request.Request, output *PromoteResourceShareCreatedFromPolicyOutput)

PromoteResourceShareCreatedFromPolicyRequest generates a "aws/request.Request" representing the client's request for the PromoteResourceShareCreatedFromPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PromoteResourceShareCreatedFromPolicy for more information on using the PromoteResourceShareCreatedFromPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PromoteResourceShareCreatedFromPolicyRequest method.
req, resp := client.PromoteResourceShareCreatedFromPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/PromoteResourceShareCreatedFromPolicy

func (*RAM) PromoteResourceShareCreatedFromPolicyWithContext

func (c *RAM) PromoteResourceShareCreatedFromPolicyWithContext(ctx aws.Context, input *PromoteResourceShareCreatedFromPolicyInput, opts ...request.Option) (*PromoteResourceShareCreatedFromPolicyOutput, error)

PromoteResourceShareCreatedFromPolicyWithContext is the same as PromoteResourceShareCreatedFromPolicy with the addition of the ability to pass a context and additional request options.

See PromoteResourceShareCreatedFromPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) RejectResourceShareInvitation

func (c *RAM) RejectResourceShareInvitation(input *RejectResourceShareInvitationInput) (*RejectResourceShareInvitationOutput, error)

RejectResourceShareInvitation API operation for AWS Resource Access Manager.

Rejects an invitation to a resource share from another AWS account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Resource Access Manager's API operation RejectResourceShareInvitation for usage and error information.

Returned Error Types:

* MalformedArnException
The format of an Amazon Resource Name (ARN) is not valid.

* OperationNotPermittedException
The requested operation is not permitted.

* ResourceShareInvitationArnNotFoundException
The Amazon Resource Name (ARN) for an invitation was not found.

* ResourceShareInvitationAlreadyAcceptedException
The invitation was already accepted.

* ResourceShareInvitationAlreadyRejectedException
The invitation was already rejected.

* ResourceShareInvitationExpiredException
The invitation is expired.

* ServerInternalException
The service could not respond to the request due to an internal problem.

* ServiceUnavailableException
The service is not available.

* InvalidClientTokenException
A client token is not valid.

* 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.

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/RejectResourceShareInvitation

func (*RAM) RejectResourceShareInvitationRequest

func (c *RAM) RejectResourceShareInvitationRequest(input *RejectResourceShareInvitationInput) (req *request.Request, output *RejectResourceShareInvitationOutput)

RejectResourceShareInvitationRequest generates a "aws/request.Request" representing the client's request for the RejectResourceShareInvitation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RejectResourceShareInvitation for more information on using the RejectResourceShareInvitation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RejectResourceShareInvitationRequest method.
req, resp := client.RejectResourceShareInvitationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/RejectResourceShareInvitation

func (*RAM) RejectResourceShareInvitationWithContext

func (c *RAM) RejectResourceShareInvitationWithContext(ctx aws.Context, input *RejectResourceShareInvitationInput, opts ...request.Option) (*RejectResourceShareInvitationOutput, error)

RejectResourceShareInvitationWithContext is the same as RejectResourceShareInvitation with the addition of the ability to pass a context and additional request options.

See RejectResourceShareInvitation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) TagResource

func (c *RAM) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for AWS Resource Access Manager.

Adds the specified tags to the specified resource share that you own.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Resource Access Manager's API operation TagResource for usage and error information.

Returned Error Types:

* InvalidParameterException
A parameter is not valid.

* MalformedArnException
The format of an Amazon Resource Name (ARN) is not valid.

* TagLimitExceededException
The requested tags exceed the limit for your account.

* ResourceArnNotFoundException
An Amazon Resource Name (ARN) was not found.

* TagPolicyViolationException
The specified tag is a reserved word and cannot be used.

* ServerInternalException
The service could not respond to the request due to an internal problem.

* ServiceUnavailableException
The service is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/TagResource

func (*RAM) TagResourceRequest

func (c *RAM) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/TagResource

func (*RAM) TagResourceWithContext

func (c *RAM) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) UntagResource

func (c *RAM) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for AWS Resource Access Manager.

Removes the specified tags from the specified resource share that you own.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Resource Access Manager's API operation UntagResource for usage and error information.

Returned Error Types:

* InvalidParameterException
A parameter is not valid.

* ServerInternalException
The service could not respond to the request due to an internal problem.

* ServiceUnavailableException
The service is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/UntagResource

func (*RAM) UntagResourceRequest

func (c *RAM) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/UntagResource

func (*RAM) UntagResourceWithContext

func (c *RAM) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*RAM) UpdateResourceShare

func (c *RAM) UpdateResourceShare(input *UpdateResourceShareInput) (*UpdateResourceShareOutput, error)

UpdateResourceShare API operation for AWS Resource Access Manager.

Updates the specified resource share that you own.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Resource Access Manager's API operation UpdateResourceShare for usage and error information.

Returned Error Types:

* 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.

* MissingRequiredParameterException
A required input parameter is missing.

* UnknownResourceException
A specified resource was not found.

* MalformedArnException
The format of an Amazon Resource Name (ARN) is not valid.

* InvalidClientTokenException
A client token is not valid.

* InvalidParameterException
A parameter is not valid.

* OperationNotPermittedException
The requested operation is not permitted.

* ServerInternalException
The service could not respond to the request due to an internal problem.

* ServiceUnavailableException
The service is not available.

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/UpdateResourceShare

func (*RAM) UpdateResourceShareRequest

func (c *RAM) UpdateResourceShareRequest(input *UpdateResourceShareInput) (req *request.Request, output *UpdateResourceShareOutput)

UpdateResourceShareRequest generates a "aws/request.Request" representing the client's request for the UpdateResourceShare operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateResourceShare for more information on using the UpdateResourceShare API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateResourceShareRequest method.
req, resp := client.UpdateResourceShareRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/UpdateResourceShare

func (*RAM) UpdateResourceShareWithContext

func (c *RAM) UpdateResourceShareWithContext(ctx aws.Context, input *UpdateResourceShareInput, opts ...request.Option) (*UpdateResourceShareOutput, error)

UpdateResourceShareWithContext is the same as UpdateResourceShare with the addition of the ability to pass a context and additional request options.

See UpdateResourceShare for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type RejectResourceShareInvitationInput

type RejectResourceShareInvitationInput struct {

	// A unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// The Amazon Resource Name (ARN) of the invitation.
	//
	// ResourceShareInvitationArn is a required field
	ResourceShareInvitationArn *string `locationName:"resourceShareInvitationArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RejectResourceShareInvitationInput) GoString

GoString returns the string representation

func (*RejectResourceShareInvitationInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*RejectResourceShareInvitationInput) SetResourceShareInvitationArn

SetResourceShareInvitationArn sets the ResourceShareInvitationArn field's value.

func (RejectResourceShareInvitationInput) String

String returns the string representation

func (*RejectResourceShareInvitationInput) Validate

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.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// Information about the invitation.
	ResourceShareInvitation *ResourceShareInvitation `locationName:"resourceShareInvitation" type:"structure"`
	// contains filtered or unexported fields
}

func (RejectResourceShareInvitationOutput) GoString

GoString returns the string representation

func (*RejectResourceShareInvitationOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*RejectResourceShareInvitationOutput) SetResourceShareInvitation

SetResourceShareInvitation sets the ResourceShareInvitation field's value.

func (RejectResourceShareInvitationOutput) String

String returns the string representation

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.
	ResourceShareArn *string `locationName:"resourceShareArn" type:"string"`

	// The status of the resource.
	Status *string `locationName:"status" type:"string" enum:"ResourceStatus"`

	// A message about the status of the resource.
	StatusMessage *string `locationName:"statusMessage" type:"string"`

	// The resource type.
	Type *string `locationName:"type" type:"string"`
	// contains filtered or unexported fields
}

Describes a resource associated with a resource share.

func (Resource) GoString

func (s Resource) GoString() string

GoString returns the string representation

func (*Resource) SetArn

func (s *Resource) SetArn(v string) *Resource

SetArn sets the Arn field's value.

func (*Resource) SetCreationTime

func (s *Resource) SetCreationTime(v time.Time) *Resource

SetCreationTime sets the CreationTime field's value.

func (*Resource) SetLastUpdatedTime

func (s *Resource) SetLastUpdatedTime(v time.Time) *Resource

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*Resource) SetResourceGroupArn

func (s *Resource) SetResourceGroupArn(v string) *Resource

SetResourceGroupArn sets the ResourceGroupArn field's value.

func (*Resource) SetResourceShareArn

func (s *Resource) SetResourceShareArn(v string) *Resource

SetResourceShareArn sets the ResourceShareArn field's value.

func (*Resource) SetStatus

func (s *Resource) SetStatus(v string) *Resource

SetStatus sets the Status field's value.

func (*Resource) SetStatusMessage

func (s *Resource) SetStatusMessage(v string) *Resource

SetStatusMessage sets the StatusMessage field's value.

func (*Resource) SetType

func (s *Resource) SetType(v string) *Resource

SetType sets the Type field's value.

func (Resource) String

func (s Resource) String() string

String returns the string representation

type ResourceArnNotFoundException

type ResourceArnNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

An Amazon Resource Name (ARN) was not found.

func (*ResourceArnNotFoundException) Code

Code returns the exception type name.

func (*ResourceArnNotFoundException) Error

func (ResourceArnNotFoundException) GoString

func (s ResourceArnNotFoundException) GoString() string

GoString returns the string representation

func (*ResourceArnNotFoundException) Message

func (s *ResourceArnNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceArnNotFoundException) OrigErr

func (s *ResourceArnNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceArnNotFoundException) RequestID

func (s *ResourceArnNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceArnNotFoundException) StatusCode

func (s *ResourceArnNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceArnNotFoundException) String

String returns the string representation

type ResourceShare

type ResourceShare struct {

	// Indicates whether principals outside your AWS organization can be associated
	// with a resource share.
	AllowExternalPrincipals *bool `locationName:"allowExternalPrincipals" type:"boolean"`

	// The time when the resource share was created.
	CreationTime *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.
	FeatureSet *string `locationName:"featureSet" type:"string" enum:"ResourceShareFeatureSet"`

	// The time when the resource share was last updated.
	LastUpdatedTime *time.Time `locationName:"lastUpdatedTime" type:"timestamp"`

	// The name of the resource share.
	Name *string `locationName:"name" type:"string"`

	// The ID of the AWS account that owns the resource share.
	OwningAccountId *string `locationName:"owningAccountId" type:"string"`

	// The Amazon Resource Name (ARN) of the resource share.
	ResourceShareArn *string `locationName:"resourceShareArn" type:"string"`

	// The status of the resource share.
	Status *string `locationName:"status" type:"string" enum:"ResourceShareStatus"`

	// A message about the status of the resource share.
	StatusMessage *string `locationName:"statusMessage" type:"string"`

	// The tags for the resource share.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Describes a resource share.

func (ResourceShare) GoString

func (s ResourceShare) GoString() string

GoString returns the string representation

func (*ResourceShare) SetAllowExternalPrincipals

func (s *ResourceShare) SetAllowExternalPrincipals(v bool) *ResourceShare

SetAllowExternalPrincipals sets the AllowExternalPrincipals field's value.

func (*ResourceShare) SetCreationTime

func (s *ResourceShare) SetCreationTime(v time.Time) *ResourceShare

SetCreationTime sets the CreationTime field's value.

func (*ResourceShare) SetFeatureSet

func (s *ResourceShare) SetFeatureSet(v string) *ResourceShare

SetFeatureSet sets the FeatureSet field's value.

func (*ResourceShare) SetLastUpdatedTime

func (s *ResourceShare) SetLastUpdatedTime(v time.Time) *ResourceShare

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*ResourceShare) SetName

func (s *ResourceShare) SetName(v string) *ResourceShare

SetName sets the Name field's value.

func (*ResourceShare) SetOwningAccountId

func (s *ResourceShare) SetOwningAccountId(v string) *ResourceShare

SetOwningAccountId sets the OwningAccountId field's value.

func (*ResourceShare) SetResourceShareArn

func (s *ResourceShare) SetResourceShareArn(v string) *ResourceShare

SetResourceShareArn sets the ResourceShareArn field's value.

func (*ResourceShare) SetStatus

func (s *ResourceShare) SetStatus(v string) *ResourceShare

SetStatus sets the Status field's value.

func (*ResourceShare) SetStatusMessage

func (s *ResourceShare) SetStatusMessage(v string) *ResourceShare

SetStatusMessage sets the StatusMessage field's value.

func (*ResourceShare) SetTags

func (s *ResourceShare) SetTags(v []*Tag) *ResourceShare

SetTags sets the Tags field's value.

func (ResourceShare) String

func (s ResourceShare) String() string

String returns the string representation

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.
	AssociatedEntity *string `locationName:"associatedEntity" type:"string"`

	// The association type.
	AssociationType *string `locationName:"associationType" type:"string" enum:"ResourceShareAssociationType"`

	// The time when the association was created.
	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 time when the association was last updated.
	LastUpdatedTime *time.Time `locationName:"lastUpdatedTime" type:"timestamp"`

	// The Amazon Resource Name (ARN) of the resource share.
	ResourceShareArn *string `locationName:"resourceShareArn" type:"string"`

	// The name of the resource share.
	ResourceShareName *string `locationName:"resourceShareName" type:"string"`

	// The status of the association.
	Status *string `locationName:"status" type:"string" enum:"ResourceShareAssociationStatus"`

	// A message about the status of the association.
	StatusMessage *string `locationName:"statusMessage" type:"string"`
	// contains filtered or unexported fields
}

Describes an association with a resource share.

func (ResourceShareAssociation) GoString

func (s ResourceShareAssociation) GoString() string

GoString returns the string representation

func (*ResourceShareAssociation) SetAssociatedEntity

func (s *ResourceShareAssociation) SetAssociatedEntity(v string) *ResourceShareAssociation

SetAssociatedEntity sets the AssociatedEntity field's value.

func (*ResourceShareAssociation) SetAssociationType

func (s *ResourceShareAssociation) SetAssociationType(v string) *ResourceShareAssociation

SetAssociationType sets the AssociationType field's value.

func (*ResourceShareAssociation) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*ResourceShareAssociation) SetExternal

SetExternal sets the External field's value.

func (*ResourceShareAssociation) SetLastUpdatedTime

func (s *ResourceShareAssociation) SetLastUpdatedTime(v time.Time) *ResourceShareAssociation

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*ResourceShareAssociation) SetResourceShareArn

func (s *ResourceShareAssociation) SetResourceShareArn(v string) *ResourceShareAssociation

SetResourceShareArn sets the ResourceShareArn field's value.

func (*ResourceShareAssociation) SetResourceShareName

func (s *ResourceShareAssociation) SetResourceShareName(v string) *ResourceShareAssociation

SetResourceShareName sets the ResourceShareName field's value.

func (*ResourceShareAssociation) SetStatus

SetStatus sets the Status field's value.

func (*ResourceShareAssociation) SetStatusMessage

SetStatusMessage sets the StatusMessage field's value.

func (ResourceShareAssociation) String

func (s ResourceShareAssociation) String() string

String returns the string representation

type ResourceShareInvitation

type ResourceShareInvitation struct {

	// The date and time when the invitation was sent.
	InvitationTimestamp *time.Time `locationName:"invitationTimestamp" type:"timestamp"`

	// The ID of the AWS account that received the invitation.
	ReceiverAccountId *string `locationName:"receiverAccountId" type:"string"`

	// The Amazon Resource Name (ARN) of the resource share.
	ResourceShareArn *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).
	//
	// Deprecated: This member has been deprecated. Use ListPendingInvitationResources.
	ResourceShareAssociations []*ResourceShareAssociation `locationName:"resourceShareAssociations" deprecated:"true" type:"list"`

	// The Amazon Resource Name (ARN) of the invitation.
	ResourceShareInvitationArn *string `locationName:"resourceShareInvitationArn" type:"string"`

	// The name of the resource share.
	ResourceShareName *string `locationName:"resourceShareName" type:"string"`

	// The ID of the AWS account that sent the invitation.
	SenderAccountId *string `locationName:"senderAccountId" type:"string"`

	// The status of the invitation.
	Status *string `locationName:"status" type:"string" enum:"ResourceShareInvitationStatus"`
	// contains filtered or unexported fields
}

Describes an invitation to join a resource share.

func (ResourceShareInvitation) GoString

func (s ResourceShareInvitation) GoString() string

GoString returns the string representation

func (*ResourceShareInvitation) SetInvitationTimestamp

func (s *ResourceShareInvitation) SetInvitationTimestamp(v time.Time) *ResourceShareInvitation

SetInvitationTimestamp sets the InvitationTimestamp field's value.

func (*ResourceShareInvitation) SetReceiverAccountId

func (s *ResourceShareInvitation) SetReceiverAccountId(v string) *ResourceShareInvitation

SetReceiverAccountId sets the ReceiverAccountId field's value.

func (*ResourceShareInvitation) SetResourceShareArn

func (s *ResourceShareInvitation) SetResourceShareArn(v string) *ResourceShareInvitation

SetResourceShareArn sets the ResourceShareArn field's value.

func (*ResourceShareInvitation) SetResourceShareAssociations

func (s *ResourceShareInvitation) SetResourceShareAssociations(v []*ResourceShareAssociation) *ResourceShareInvitation

SetResourceShareAssociations sets the ResourceShareAssociations field's value.

func (*ResourceShareInvitation) SetResourceShareInvitationArn

func (s *ResourceShareInvitation) SetResourceShareInvitationArn(v string) *ResourceShareInvitation

SetResourceShareInvitationArn sets the ResourceShareInvitationArn field's value.

func (*ResourceShareInvitation) SetResourceShareName

func (s *ResourceShareInvitation) SetResourceShareName(v string) *ResourceShareInvitation

SetResourceShareName sets the ResourceShareName field's value.

func (*ResourceShareInvitation) SetSenderAccountId

func (s *ResourceShareInvitation) SetSenderAccountId(v string) *ResourceShareInvitation

SetSenderAccountId sets the SenderAccountId field's value.

func (*ResourceShareInvitation) SetStatus

SetStatus sets the Status field's value.

func (ResourceShareInvitation) String

func (s ResourceShareInvitation) String() string

String returns the string representation

type ResourceShareInvitationAlreadyAcceptedException

type ResourceShareInvitationAlreadyAcceptedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The invitation was already accepted.

func (*ResourceShareInvitationAlreadyAcceptedException) Code

Code returns the exception type name.

func (*ResourceShareInvitationAlreadyAcceptedException) Error

func (ResourceShareInvitationAlreadyAcceptedException) GoString

GoString returns the string representation

func (*ResourceShareInvitationAlreadyAcceptedException) Message

Message returns the exception's message.

func (*ResourceShareInvitationAlreadyAcceptedException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceShareInvitationAlreadyAcceptedException) RequestID

RequestID returns the service's response RequestID for request.

func (*ResourceShareInvitationAlreadyAcceptedException) StatusCode

Status code returns the HTTP status code for the request's response error.

func (ResourceShareInvitationAlreadyAcceptedException) String

String returns the string representation

type ResourceShareInvitationAlreadyRejectedException

type ResourceShareInvitationAlreadyRejectedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The invitation was already rejected.

func (*ResourceShareInvitationAlreadyRejectedException) Code

Code returns the exception type name.

func (*ResourceShareInvitationAlreadyRejectedException) Error

func (ResourceShareInvitationAlreadyRejectedException) GoString

GoString returns the string representation

func (*ResourceShareInvitationAlreadyRejectedException) Message

Message returns the exception's message.

func (*ResourceShareInvitationAlreadyRejectedException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceShareInvitationAlreadyRejectedException) RequestID

RequestID returns the service's response RequestID for request.

func (*ResourceShareInvitationAlreadyRejectedException) StatusCode

Status code returns the HTTP status code for the request's response error.