ram

package
v0.0.0-...-93f74c0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2024 License: Apache-2.0, Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

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

This is the Resource Access Manager API Reference. This documentation provides descriptions and syntax for each of the actions and data types in RAM. RAM is a service that helps you securely share your Amazon Web Services resources to other Amazon Web Services accounts. If you use Organizations to manage your accounts, then you can share your resources with your entire organization or to organizational units (OUs). For supported resource types, you can also share resources with individual Identity and Access Management (IAM) roles and users.

To learn more about RAM, see the following resources:

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 (
	// PermissionFeatureSetCreatedFromPolicy is a PermissionFeatureSet enum value
	PermissionFeatureSetCreatedFromPolicy = "CREATED_FROM_POLICY"

	// PermissionFeatureSetPromotingToStandard is a PermissionFeatureSet enum value
	PermissionFeatureSetPromotingToStandard = "PROMOTING_TO_STANDARD"

	// PermissionFeatureSetStandard is a PermissionFeatureSet enum value
	PermissionFeatureSetStandard = "STANDARD"
)
View Source
const (
	// PermissionStatusAttachable is a PermissionStatus enum value
	PermissionStatusAttachable = "ATTACHABLE"

	// PermissionStatusUnattachable is a PermissionStatus enum value
	PermissionStatusUnattachable = "UNATTACHABLE"

	// PermissionStatusDeleting is a PermissionStatus enum value
	PermissionStatusDeleting = "DELETING"

	// PermissionStatusDeleted is a PermissionStatus enum value
	PermissionStatusDeleted = "DELETED"
)
View Source
const (
	// PermissionTypeCustomerManaged is a PermissionType enum value
	PermissionTypeCustomerManaged = "CUSTOMER_MANAGED"

	// PermissionTypeAwsManaged is a PermissionType enum value
	PermissionTypeAwsManaged = "AWS_MANAGED"
)
View Source
const (
	// PermissionTypeFilterAll is a PermissionTypeFilter enum value
	PermissionTypeFilterAll = "ALL"

	// PermissionTypeFilterAwsManaged is a PermissionTypeFilter enum value
	PermissionTypeFilterAwsManaged = "AWS_MANAGED"

	// PermissionTypeFilterCustomerManaged is a PermissionTypeFilter enum value
	PermissionTypeFilterCustomerManaged = "CUSTOMER_MANAGED"
)
View Source
const (
	// ReplacePermissionAssociationsWorkStatusInProgress is a ReplacePermissionAssociationsWorkStatus enum value
	ReplacePermissionAssociationsWorkStatusInProgress = "IN_PROGRESS"

	// ReplacePermissionAssociationsWorkStatusCompleted is a ReplacePermissionAssociationsWorkStatus enum value
	ReplacePermissionAssociationsWorkStatusCompleted = "COMPLETED"

	// ReplacePermissionAssociationsWorkStatusFailed is a ReplacePermissionAssociationsWorkStatus enum value
	ReplacePermissionAssociationsWorkStatusFailed = "FAILED"
)
View Source
const (
	// ResourceOwnerSelf is a ResourceOwner enum value
	ResourceOwnerSelf = "SELF"

	// ResourceOwnerOtherAccounts is a ResourceOwner enum value
	ResourceOwnerOtherAccounts = "OTHER-ACCOUNTS"
)
View Source
const (
	// ResourceRegionScopeRegional is a ResourceRegionScope enum value
	ResourceRegionScopeRegional = "REGIONAL"

	// ResourceRegionScopeGlobal is a ResourceRegionScope enum value
	ResourceRegionScopeGlobal = "GLOBAL"
)
View Source
const (
	// ResourceRegionScopeFilterAll is a ResourceRegionScopeFilter enum value
	ResourceRegionScopeFilterAll = "ALL"

	// ResourceRegionScopeFilterRegional is a ResourceRegionScopeFilter enum value
	ResourceRegionScopeFilterRegional = "REGIONAL"

	// ResourceRegionScopeFilterGlobal is a ResourceRegionScopeFilter enum value
	ResourceRegionScopeFilterGlobal = "GLOBAL"
)
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".
	//
	// The operation failed because the client token input parameter matched one
	// that was used with a previous call to the operation, but at least one of
	// the other input parameters is different from the previous call.
	ErrCodeIdempotentParameterMismatchException = "IdempotentParameterMismatchException"

	// ErrCodeInvalidClientTokenException for service response error code
	// "InvalidClientTokenException".
	//
	// The operation failed because the specified client token isn't valid.
	ErrCodeInvalidClientTokenException = "InvalidClientTokenException"

	// ErrCodeInvalidMaxResultsException for service response error code
	// "InvalidMaxResultsException".
	//
	// The operation failed because the specified value for MaxResults isn't valid.
	ErrCodeInvalidMaxResultsException = "InvalidMaxResultsException"

	// ErrCodeInvalidNextTokenException for service response error code
	// "InvalidNextTokenException".
	//
	// The operation failed because the specified value for NextToken isn't valid.
	// You must specify a value you received in the NextToken response of a previous
	// call to this operation.
	ErrCodeInvalidNextTokenException = "InvalidNextTokenException"

	// ErrCodeInvalidParameterException for service response error code
	// "InvalidParameterException".
	//
	// The operation failed because a parameter you specified isn't valid.
	ErrCodeInvalidParameterException = "InvalidParameterException"

	// ErrCodeInvalidPolicyException for service response error code
	// "InvalidPolicyException".
	//
	// The operation failed because a policy you specified isn't valid.
	ErrCodeInvalidPolicyException = "InvalidPolicyException"

	// ErrCodeInvalidResourceTypeException for service response error code
	// "InvalidResourceTypeException".
	//
	// The operation failed because the specified resource type isn't valid.
	ErrCodeInvalidResourceTypeException = "InvalidResourceTypeException"

	// ErrCodeInvalidStateTransitionException for service response error code
	// "InvalidStateTransitionException".
	//
	// The operation failed because the requested operation isn't valid for the
	// resource share in its current state.
	ErrCodeInvalidStateTransitionException = "InvalidStateTransitionException"

	// ErrCodeMalformedArnException for service response error code
	// "MalformedArnException".
	//
	// The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// has a format that isn't valid.
	ErrCodeMalformedArnException = "MalformedArnException"

	// ErrCodeMalformedPolicyTemplateException for service response error code
	// "MalformedPolicyTemplateException".
	//
	// The operation failed because the policy template that you provided isn't
	// valid.
	ErrCodeMalformedPolicyTemplateException = "MalformedPolicyTemplateException"

	// ErrCodeMissingRequiredParameterException for service response error code
	// "MissingRequiredParameterException".
	//
	// The operation failed because a required input parameter is missing.
	ErrCodeMissingRequiredParameterException = "MissingRequiredParameterException"

	// ErrCodeOperationNotPermittedException for service response error code
	// "OperationNotPermittedException".
	//
	// The operation failed because the requested operation isn't permitted.
	ErrCodeOperationNotPermittedException = "OperationNotPermittedException"

	// ErrCodePermissionAlreadyExistsException for service response error code
	// "PermissionAlreadyExistsException".
	//
	// The operation failed because a permission with the specified name already
	// exists in the requested Amazon Web Services Region. Choose a different name.
	ErrCodePermissionAlreadyExistsException = "PermissionAlreadyExistsException"

	// ErrCodePermissionLimitExceededException for service response error code
	// "PermissionLimitExceededException".
	//
	// The operation failed because it would exceed the maximum number of permissions
	// you can create in each Amazon Web Services Region. To view the limits for
	// your Amazon Web Services account, see the RAM page in the Service Quotas
	// console (https://console.aws.amazon.com/servicequotas/home/services/ram/quotas).
	ErrCodePermissionLimitExceededException = "PermissionLimitExceededException"

	// ErrCodePermissionVersionsLimitExceededException for service response error code
	// "PermissionVersionsLimitExceededException".
	//
	// The operation failed because it would exceed the limit for the number of
	// versions you can have for a permission. To view the limits for your Amazon
	// Web Services account, see the RAM page in the Service Quotas console (https://console.aws.amazon.com/servicequotas/home/services/ram/quotas).
	ErrCodePermissionVersionsLimitExceededException = "PermissionVersionsLimitExceededException"

	// ErrCodeResourceArnNotFoundException for service response error code
	// "ResourceArnNotFoundException".
	//
	// The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// was not found.
	ErrCodeResourceArnNotFoundException = "ResourceArnNotFoundException"

	// ErrCodeResourceShareInvitationAlreadyAcceptedException for service response error code
	// "ResourceShareInvitationAlreadyAcceptedException".
	//
	// The operation failed because the specified invitation was already accepted.
	ErrCodeResourceShareInvitationAlreadyAcceptedException = "ResourceShareInvitationAlreadyAcceptedException"

	// ErrCodeResourceShareInvitationAlreadyRejectedException for service response error code
	// "ResourceShareInvitationAlreadyRejectedException".
	//
	// The operation failed because the specified invitation was already rejected.
	ErrCodeResourceShareInvitationAlreadyRejectedException = "ResourceShareInvitationAlreadyRejectedException"

	// ErrCodeResourceShareInvitationArnNotFoundException for service response error code
	// "ResourceShareInvitationArnNotFoundException".
	//
	// The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// for an invitation was not found.
	ErrCodeResourceShareInvitationArnNotFoundException = "ResourceShareInvitationArnNotFoundException"

	// ErrCodeResourceShareInvitationExpiredException for service response error code
	// "ResourceShareInvitationExpiredException".
	//
	// The operation failed because the specified invitation is past its expiration
	// date and time.
	ErrCodeResourceShareInvitationExpiredException = "ResourceShareInvitationExpiredException"

	// ErrCodeResourceShareLimitExceededException for service response error code
	// "ResourceShareLimitExceededException".
	//
	// The operation failed because it would exceed the limit for resource shares
	// for your account. To view the limits for your Amazon Web Services account,
	// see the RAM page in the Service Quotas console (https://console.aws.amazon.com/servicequotas/home/services/ram/quotas).
	ErrCodeResourceShareLimitExceededException = "ResourceShareLimitExceededException"

	// ErrCodeServerInternalException for service response error code
	// "ServerInternalException".
	//
	// The operation failed because the service could not respond to the request
	// due to an internal problem. Try again later.
	ErrCodeServerInternalException = "ServerInternalException"

	// ErrCodeServiceUnavailableException for service response error code
	// "ServiceUnavailableException".
	//
	// The operation failed because the service isn't available. Try again later.
	ErrCodeServiceUnavailableException = "ServiceUnavailableException"

	// ErrCodeTagLimitExceededException for service response error code
	// "TagLimitExceededException".
	//
	// The operation failed because it would exceed the limit for tags for your
	// Amazon Web Services account.
	ErrCodeTagLimitExceededException = "TagLimitExceededException"

	// ErrCodeTagPolicyViolationException for service response error code
	// "TagPolicyViolationException".
	//
	// The operation failed because the specified tag key is a reserved word and
	// can't be used.
	ErrCodeTagPolicyViolationException = "TagPolicyViolationException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// The operation failed because it exceeded the rate at which you are allowed
	// to perform this operation. Please try again later.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeUnknownResourceException for service response error code
	// "UnknownResourceException".
	//
	// The operation failed because a specified resource couldn't be found.
	ErrCodeUnknownResourceException = "UnknownResourceException"

	// ErrCodeUnmatchedPolicyPermissionException for service response error code
	// "UnmatchedPolicyPermissionException".
	//
	// There isn't an existing managed permission defined in RAM that has the same
	// IAM permissions as the resource-based policy attached to the resource. You
	// should first run PromotePermissionCreatedFromPolicy to create that managed
	// permission.
	ErrCodeUnmatchedPolicyPermissionException = "UnmatchedPolicyPermissionException"
)
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 PermissionFeatureSet_Values

func PermissionFeatureSet_Values() []string

PermissionFeatureSet_Values returns all elements of the PermissionFeatureSet enum

func PermissionStatus_Values

func PermissionStatus_Values() []string

PermissionStatus_Values returns all elements of the PermissionStatus enum

func PermissionTypeFilter_Values

func PermissionTypeFilter_Values() []string

PermissionTypeFilter_Values returns all elements of the PermissionTypeFilter enum

func PermissionType_Values

func PermissionType_Values() []string

PermissionType_Values returns all elements of the PermissionType enum

func ReplacePermissionAssociationsWorkStatus_Values

func ReplacePermissionAssociationsWorkStatus_Values() []string

ReplacePermissionAssociationsWorkStatus_Values returns all elements of the ReplacePermissionAssociationsWorkStatus enum

func ResourceOwner_Values

func ResourceOwner_Values() []string

ResourceOwner_Values returns all elements of the ResourceOwner enum

func ResourceRegionScopeFilter_Values

func ResourceRegionScopeFilter_Values() []string

ResourceRegionScopeFilter_Values returns all elements of the ResourceRegionScopeFilter enum

func ResourceRegionScope_Values

func ResourceRegionScope_Values() []string

ResourceRegionScope_Values returns all elements of the ResourceRegionScope 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 {

	// Specifies a unique, case-sensitive identifier that you provide to ensure
	// the idempotency of the request. This lets you safely retry the request without
	// accidentally performing the same operation a second time. Passing the same
	// value to a later call to an operation requires that you also pass the same
	// value for all other parameters. We recommend that you use a UUID type of
	// value. (https://wikipedia.org/wiki/Universally_unique_identifier).
	//
	// If you don't provide this value, then Amazon Web Services generates a random
	// one for you.
	//
	// If you retry the operation with the same ClientToken, but with different
	// parameters, the retry fails with an IdempotentParameterMismatch error.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// The Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the invitation that you want to accept.
	//
	// ResourceShareInvitationArn is a required field
	ResourceShareInvitationArn *string `locationName:"resourceShareInvitationArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AcceptResourceShareInvitationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AcceptResourceShareInvitationInput) SetClientToken

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AcceptResourceShareInvitationInput) Validate

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

type AcceptResourceShareInvitationOutput

type AcceptResourceShareInvitationOutput struct {

	// The idempotency identifier associated with this request. If you want to repeat
	// the same operation in an idempotent manner then you must include this value
	// in the clientToken request parameter of that later call. All other parameters
	// must also have the same values that you used in the first call.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// An object that contains information about the specified invitation.
	ResourceShareInvitation *ResourceShareInvitation `locationName:"resourceShareInvitation" type:"structure"`
	// contains filtered or unexported fields
}

func (AcceptResourceShareInvitationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AssociateResourceShareInput

type AssociateResourceShareInput struct {

	// Specifies a unique, case-sensitive identifier that you provide to ensure
	// the idempotency of the request. This lets you safely retry the request without
	// accidentally performing the same operation a second time. Passing the same
	// value to a later call to an operation requires that you also pass the same
	// value for all other parameters. We recommend that you use a UUID type of
	// value. (https://wikipedia.org/wiki/Universally_unique_identifier).
	//
	// If you don't provide this value, then Amazon Web Services generates a random
	// one for you.
	//
	// If you retry the operation with the same ClientToken, but with different
	// parameters, the retry fails with an IdempotentParameterMismatch error.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// Specifies a list of principals to whom you want to the resource share. This
	// can be null if you want to add only resources.
	//
	// What the principals can do with the resources in the share is determined
	// by the RAM permissions that you associate with the resource share. See AssociateResourceSharePermission.
	//
	// You can include the following values:
	//
	//    * An Amazon Web Services account ID, for example: 123456789012
	//
	//    * An Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	//    of an organization in Organizations, for example: organizations::123456789012:organization/o-exampleorgid
	//
	//    * An ARN of an organizational unit (OU) in Organizations, for example:
	//    organizations::123456789012:ou/o-exampleorgid/ou-examplerootid-exampleouid123
	//
	//    * An ARN of an IAM role, for example: iam::123456789012:role/rolename
	//
	//    * An ARN of an IAM user, for example: iam::123456789012user/username
	//
	// Not all resource types can be shared with IAM roles and users. For more information,
	// see Sharing with IAM roles and users (https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types)
	// in the Resource Access Manager User Guide.
	Principals []*string `locationName:"principals" type:"list"`

	// Specifies a list of Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the resources that you want to share. This can be null if you want to
	// add only principals.
	ResourceArns []*string `locationName:"resourceArns" type:"list"`

	// Specifies the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the resource share that you want to add principals or resources to.
	//
	// ResourceShareArn is a required field
	ResourceShareArn *string `locationName:"resourceShareArn" type:"string" required:"true"`

	// Specifies from which source accounts the service principal has access to
	// the resources in this resource share.
	Sources []*string `locationName:"sources" type:"list"`
	// contains filtered or unexported fields
}

func (AssociateResourceShareInput) GoString

func (s AssociateResourceShareInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateResourceShareInput) SetClientToken

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

SetSources sets the Sources field's value.

func (AssociateResourceShareInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateResourceShareInput) Validate

func (s *AssociateResourceShareInput) Validate() error

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

type AssociateResourceShareOutput

type AssociateResourceShareOutput struct {

	// The idempotency identifier associated with this request. If you want to repeat
	// the same operation in an idempotent manner then you must include this value
	// in the clientToken request parameter of that later call. All other parameters
	// must also have the same values that you used in the first call.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// An array of objects that contain 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateResourceShareOutput) SetClientToken

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AssociateResourceSharePermissionInput

type AssociateResourceSharePermissionInput struct {

	// Specifies a unique, case-sensitive identifier that you provide to ensure
	// the idempotency of the request. This lets you safely retry the request without
	// accidentally performing the same operation a second time. Passing the same
	// value to a later call to an operation requires that you also pass the same
	// value for all other parameters. We recommend that you use a UUID type of
	// value. (https://wikipedia.org/wiki/Universally_unique_identifier).
	//
	// If you don't provide this value, then Amazon Web Services generates a random
	// one for you.
	//
	// If you retry the operation with the same ClientToken, but with different
	// parameters, the retry fails with an IdempotentParameterMismatch error.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// Specifies the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the RAM permission to associate with the resource share. To find the ARN
	// for a permission, use either the ListPermissions operation or go to the Permissions
	// library (https://console.aws.amazon.com/ram/home#Permissions:) page in the
	// RAM console and then choose the name of the permission. The ARN is displayed
	// on the detail page.
	//
	// PermissionArn is a required field
	PermissionArn *string `locationName:"permissionArn" type:"string" required:"true"`

	// Specifies the version of the RAM permission to associate with the resource
	// share. You can specify only the version that is currently set as the default
	// version for the permission. If you also set the replace pararameter to true,
	// then this operation updates an outdated version of the permission to the
	// current default version.
	//
	// You don't need to specify this parameter because the default behavior is
	// to use the version that is currently set as the default version for the permission.
	// This parameter is supported for backwards compatibility.
	PermissionVersion *int64 `locationName:"permissionVersion" type:"integer"`

	// Specifies whether the specified permission should replace the existing permission
	// associated with the resource share. Use true to replace the current permissions.
	// Use false to add the permission to a resource share that currently doesn't
	// have a permission. The default value is false.
	//
	// A resource share can have only one permission per resource type. If a resource
	// share already has a permission for the specified resource type and you don't
	// set replace to true then the operation returns an error. This helps prevent
	// accidental overwriting of a permission.
	Replace *bool `locationName:"replace" type:"boolean"`

	// Specifies the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the resource share to which you want to add or replace permissions.
	//
	// ResourceShareArn is a required field
	ResourceShareArn *string `locationName:"resourceShareArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AssociateResourceSharePermissionInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateResourceSharePermissionInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*AssociateResourceSharePermissionInput) SetPermissionArn

SetPermissionArn sets the PermissionArn field's value.

func (*AssociateResourceSharePermissionInput) SetPermissionVersion

SetPermissionVersion sets the PermissionVersion 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateResourceSharePermissionInput) Validate

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

type AssociateResourceSharePermissionOutput

type AssociateResourceSharePermissionOutput struct {

	// The idempotency identifier associated with this request. If you want to repeat
	// the same operation in an idempotent manner then you must include this value
	// in the clientToken request parameter of that later call. All other parameters
	// must also have the same values that you used in the first call.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// A return value of true indicates that the request succeeded. A value of false
	// indicates that the request failed.
	ReturnValue *bool `locationName:"returnValue" type:"boolean"`
	// contains filtered or unexported fields
}

func (AssociateResourceSharePermissionOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AssociatedPermission

type AssociatedPermission struct {

	// The Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the associated managed permission.
	Arn *string `locationName:"arn" type:"string"`

	// Indicates whether the associated resource share is using the default version
	// of the permission.
	DefaultVersion *bool `locationName:"defaultVersion" type:"boolean"`

	// Indicates what features are available for this resource share. This parameter
	// can have one of the following values:
	//
	//    * STANDARD – A resource share that supports all functionality. These
	//    resource shares are visible to all principals you share the resource share
	//    with. You can modify these resource shares in RAM using the console or
	//    APIs. This resource share might have been created by RAM, or it might
	//    have been CREATED_FROM_POLICY and then promoted.
	//
	//    * CREATED_FROM_POLICY – The customer manually shared a resource by attaching
	//    a resource-based policy. That policy did not match any existing managed
	//    permissions, so RAM created this customer managed permission automatically
	//    on the customer's behalf based on the attached policy document. This type
	//    of resource share is visible only to the Amazon Web Services account that
	//    created it. You can't modify it in RAM unless you promote it. For more
	//    information, see PromoteResourceShareCreatedFromPolicy.
	//
	//    * PROMOTING_TO_STANDARD – This resource share was originally CREATED_FROM_POLICY,
	//    but the customer ran the PromoteResourceShareCreatedFromPolicy and that
	//    operation is still in progress. This value changes to STANDARD when complete.
	FeatureSet *string `locationName:"featureSet" type:"string" enum:"PermissionFeatureSet"`

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

	// The version of the permission currently associated with the resource share.
	PermissionVersion *string `locationName:"permissionVersion" type:"string"`

	// The Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of a resource share associated with this permission.
	ResourceShareArn *string `locationName:"resourceShareArn" type:"string"`

	// The resource type to which this permission applies.
	ResourceType *string `locationName:"resourceType" type:"string"`

	// The current status of the association between the permission and the resource
	// share. The following are the possible values:
	//
	//    * ATTACHABLE – This permission or version can be associated with resource
	//    shares.
	//
	//    * UNATTACHABLE – This permission or version can't currently be associated
	//    with resource shares.
	//
	//    * DELETING – This permission or version is in the process of being deleted.
	//
	//    * DELETED – This permission or version is deleted.
	Status *string `locationName:"status" type:"string"`
	// contains filtered or unexported fields
}

An object that describes a managed permission associated with a resource share.

func (AssociatedPermission) GoString

func (s AssociatedPermission) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociatedPermission) SetArn

SetArn sets the Arn field's value.

func (*AssociatedPermission) SetDefaultVersion

func (s *AssociatedPermission) SetDefaultVersion(v bool) *AssociatedPermission

SetDefaultVersion sets the DefaultVersion field's value.

func (*AssociatedPermission) SetFeatureSet

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

SetFeatureSet sets the FeatureSet field's value.

func (*AssociatedPermission) SetLastUpdatedTime

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

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*AssociatedPermission) SetPermissionVersion

func (s *AssociatedPermission) SetPermissionVersion(v string) *AssociatedPermission

SetPermissionVersion sets the PermissionVersion field's value.

func (*AssociatedPermission) SetResourceShareArn

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

SetResourceShareArn sets the ResourceShareArn field's value.

func (*AssociatedPermission) SetResourceType

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

SetResourceType sets the ResourceType field's value.

func (*AssociatedPermission) SetStatus

SetStatus sets the Status field's value.

func (AssociatedPermission) String

func (s AssociatedPermission) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreatePermissionInput

type CreatePermissionInput struct {

	// Specifies a unique, case-sensitive identifier that you provide to ensure
	// the idempotency of the request. This lets you safely retry the request without
	// accidentally performing the same operation a second time. Passing the same
	// value to a later call to an operation requires that you also pass the same
	// value for all other parameters. We recommend that you use a UUID type of
	// value. (https://wikipedia.org/wiki/Universally_unique_identifier).
	//
	// If you don't provide this value, then Amazon Web Services generates a random
	// one for you.
	//
	// If you retry the operation with the same ClientToken, but with different
	// parameters, the retry fails with an IdempotentParameterMismatch error.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// Specifies the name of the customer managed permission. The name must be unique
	// within the Amazon Web Services Region.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true"`

	// A string in JSON format string that contains the following elements of a
	// resource-based policy:
	//
	//    * Effect: must be set to ALLOW.
	//
	//    * Action: specifies the actions that are allowed by this customer managed
	//    permission. The list must contain only actions that are supported by the
	//    specified resource type. For a list of all actions supported by each resource
	//    type, see Actions, resources, and condition keys for Amazon Web Services
	//    services (https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html)
	//    in the Identity and Access Management User Guide.
	//
	//    * Condition: (optional) specifies conditional parameters that must evaluate
	//    to true when a user attempts an action for that action to be allowed.
	//    For more information about the Condition element, see IAM policies: Condition
	//    element (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition.html)
	//    in the Identity and Access Management User Guide.
	//
	// This template can't include either the Resource or Principal elements. Those
	// are both filled in by RAM when it instantiates the resource-based policy
	// on each resource shared using this managed permission. The Resource comes
	// from the ARN of the specific resource that you are sharing. The Principal
	// comes from the list of identities added to the resource share.
	//
	// PolicyTemplate is a required field
	PolicyTemplate *string `locationName:"policyTemplate" type:"string" required:"true"`

	// Specifies the name of the resource type that this customer managed permission
	// applies to.
	//
	// The format is <service-code>:<resource-type> and is not case sensitive. For
	// example, to specify an Amazon EC2 Subnet, you can use the string ec2:subnet.
	// To see the list of valid values for this parameter, query the ListResourceTypes
	// operation.
	//
	// ResourceType is a required field
	ResourceType *string `locationName:"resourceType" type:"string" required:"true"`

	// Specifies a list of one or more tag key and value pairs to attach to the
	// permission.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (CreatePermissionInput) GoString

func (s CreatePermissionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePermissionInput) SetClientToken

func (s *CreatePermissionInput) SetClientToken(v string) *CreatePermissionInput

SetClientToken sets the ClientToken field's value.

func (*CreatePermissionInput) SetName

SetName sets the Name field's value.

func (*CreatePermissionInput) SetPolicyTemplate

func (s *CreatePermissionInput) SetPolicyTemplate(v string) *CreatePermissionInput

SetPolicyTemplate sets the PolicyTemplate field's value.

func (*CreatePermissionInput) SetResourceType

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

SetResourceType sets the ResourceType field's value.

func (*CreatePermissionInput) SetTags

SetTags sets the Tags field's value.

func (CreatePermissionInput) String

func (s CreatePermissionInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePermissionInput) Validate

func (s *CreatePermissionInput) Validate() error

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

type CreatePermissionOutput

type CreatePermissionOutput struct {

	// The idempotency identifier associated with this request. If you want to repeat
	// the same operation in an idempotent manner then you must include this value
	// in the clientToken request parameter of that later call. All other parameters
	// must also have the same values that you used in the first call.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// A structure with information about this customer managed permission.
	Permission *ResourceSharePermissionSummary `locationName:"permission" type:"structure"`
	// contains filtered or unexported fields
}

func (CreatePermissionOutput) GoString

func (s CreatePermissionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePermissionOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreatePermissionOutput) SetPermission

SetPermission sets the Permission field's value.

func (CreatePermissionOutput) String

func (s CreatePermissionOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreatePermissionVersionInput

type CreatePermissionVersionInput struct {

	// Specifies a unique, case-sensitive identifier that you provide to ensure
	// the idempotency of the request. This lets you safely retry the request without
	// accidentally performing the same operation a second time. Passing the same
	// value to a later call to an operation requires that you also pass the same
	// value for all other parameters. We recommend that you use a UUID type of
	// value. (https://wikipedia.org/wiki/Universally_unique_identifier).
	//
	// If you don't provide this value, then Amazon Web Services generates a random
	// one for you.
	//
	// If you retry the operation with the same ClientToken, but with different
	// parameters, the retry fails with an IdempotentParameterMismatch error.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// Specifies the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the customer managed permission you're creating a new version for.
	//
	// PermissionArn is a required field
	PermissionArn *string `locationName:"permissionArn" type:"string" required:"true"`

	// A string in JSON format string that contains the following elements of a
	// resource-based policy:
	//
	//    * Effect: must be set to ALLOW.
	//
	//    * Action: specifies the actions that are allowed by this customer managed
	//    permission. The list must contain only actions that are supported by the
	//    specified resource type. For a list of all actions supported by each resource
	//    type, see Actions, resources, and condition keys for Amazon Web Services
	//    services (https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html)
	//    in the Identity and Access Management User Guide.
	//
	//    * Condition: (optional) specifies conditional parameters that must evaluate
	//    to true when a user attempts an action for that action to be allowed.
	//    For more information about the Condition element, see IAM policies: Condition
	//    element (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition.html)
	//    in the Identity and Access Management User Guide.
	//
	// This template can't include either the Resource or Principal elements. Those
	// are both filled in by RAM when it instantiates the resource-based policy
	// on each resource shared using this managed permission. The Resource comes
	// from the ARN of the specific resource that you are sharing. The Principal
	// comes from the list of identities added to the resource share.
	//
	// PolicyTemplate is a required field
	PolicyTemplate *string `locationName:"policyTemplate" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreatePermissionVersionInput) GoString

func (s CreatePermissionVersionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePermissionVersionInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreatePermissionVersionInput) SetPermissionArn

SetPermissionArn sets the PermissionArn field's value.

func (*CreatePermissionVersionInput) SetPolicyTemplate

SetPolicyTemplate sets the PolicyTemplate field's value.

func (CreatePermissionVersionInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePermissionVersionInput) Validate

func (s *CreatePermissionVersionInput) Validate() error

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

type CreatePermissionVersionOutput

type CreatePermissionVersionOutput struct {

	// The idempotency identifier associated with this request. If you want to repeat
	// the same operation in an idempotent manner then you must include this value
	// in the clientToken request parameter of that later call. All other parameters
	// must also have the same values that you used in the first call.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// Information about a RAM managed permission.
	Permission *ResourceSharePermissionDetail `locationName:"permission" type:"structure"`
	// contains filtered or unexported fields
}

func (CreatePermissionVersionOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePermissionVersionOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreatePermissionVersionOutput) SetPermission

SetPermission sets the Permission field's value.

func (CreatePermissionVersionOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateResourceShareInput

type CreateResourceShareInput struct {

	// Specifies whether principals outside your organization in Organizations can
	// be associated with a resource share. A value of true lets you share with
	// individual Amazon Web Services accounts that are not in your organization.
	// A value of false only has meaning if your account is a member of an Amazon
	// Web Services Organization. The default value is true.
	AllowExternalPrincipals *bool `locationName:"allowExternalPrincipals" type:"boolean"`

	// Specifies a unique, case-sensitive identifier that you provide to ensure
	// the idempotency of the request. This lets you safely retry the request without
	// accidentally performing the same operation a second time. Passing the same
	// value to a later call to an operation requires that you also pass the same
	// value for all other parameters. We recommend that you use a UUID type of
	// value. (https://wikipedia.org/wiki/Universally_unique_identifier).
	//
	// If you don't provide this value, then Amazon Web Services generates a random
	// one for you.
	//
	// If you retry the operation with the same ClientToken, but with different
	// parameters, the retry fails with an IdempotentParameterMismatch error.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// Specifies the name of the resource share.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// Specifies the Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the RAM permission to associate with the resource share. If you do not
	// specify an ARN for the permission, RAM automatically attaches the default
	// version of the permission for each resource type. You can associate only
	// one permission with each resource type included in the resource share.
	PermissionArns []*string `locationName:"permissionArns" type:"list"`

	// Specifies a list of one or more principals to associate with the resource
	// share.
	//
	// You can include the following values:
	//
	//    * An Amazon Web Services account ID, for example: 123456789012
	//
	//    * An Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	//    of an organization in Organizations, for example: organizations::123456789012:organization/o-exampleorgid
	//
	//    * An ARN of an organizational unit (OU) in Organizations, for example:
	//    organizations::123456789012:ou/o-exampleorgid/ou-examplerootid-exampleouid123
	//
	//    * An ARN of an IAM role, for example: iam::123456789012:role/rolename
	//
	//    * An ARN of an IAM user, for example: iam::123456789012user/username
	//
	// Not all resource types can be shared with IAM roles and users. For more information,
	// see Sharing with IAM roles and users (https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types)
	// in the Resource Access Manager User Guide.
	Principals []*string `locationName:"principals" type:"list"`

	// Specifies a list of one or more ARNs of the resources to associate with the
	// resource share.
	ResourceArns []*string `locationName:"resourceArns" type:"list"`

	// Specifies from which source accounts the service principal has access to
	// the resources in this resource share.
	Sources []*string `locationName:"sources" type:"list"`

	// Specifies one or more tags to attach to the resource share itself. It doesn't
	// attach the tags to the resources associated with the resource share.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

func (CreateResourceShareInput) GoString

func (s CreateResourceShareInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateResourceShareInput) SetAllowExternalPrincipals

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

SetAllowExternalPrincipals sets the AllowExternalPrincipals field's value.

func (*CreateResourceShareInput) SetClientToken

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

SetSources sets the Sources 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateResourceShareInput) Validate

func (s *CreateResourceShareInput) Validate() error

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

type CreateResourceShareOutput

type CreateResourceShareOutput struct {

	// The idempotency identifier associated with this request. If you want to repeat
	// the same operation in an idempotent manner then you must include this value
	// in the clientToken request parameter of that later call. All other parameters
	// must also have the same values that you used in the first call.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// An object with information about the new 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateResourceShareOutput) SetClientToken

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeletePermissionInput

type DeletePermissionInput struct {

	// Specifies a unique, case-sensitive identifier that you provide to ensure
	// the idempotency of the request. This lets you safely retry the request without
	// accidentally performing the same operation a second time. Passing the same
	// value to a later call to an operation requires that you also pass the same
	// value for all other parameters. We recommend that you use a UUID type of
	// value. (https://wikipedia.org/wiki/Universally_unique_identifier).
	//
	// If you don't provide this value, then Amazon Web Services generates a random
	// one for you.
	//
	// If you retry the operation with the same ClientToken, but with different
	// parameters, the retry fails with an IdempotentParameterMismatch error.
	ClientToken *string `location:"querystring" locationName:"clientToken" type:"string"`

	// Specifies the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the customer managed permission that you want to delete.
	//
	// PermissionArn is a required field
	PermissionArn *string `location:"querystring" locationName:"permissionArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeletePermissionInput) GoString

func (s DeletePermissionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePermissionInput) SetClientToken

func (s *DeletePermissionInput) SetClientToken(v string) *DeletePermissionInput

SetClientToken sets the ClientToken field's value.

func (*DeletePermissionInput) SetPermissionArn

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

SetPermissionArn sets the PermissionArn field's value.

func (DeletePermissionInput) String

func (s DeletePermissionInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePermissionInput) Validate

func (s *DeletePermissionInput) Validate() error

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

type DeletePermissionOutput

type DeletePermissionOutput struct {

	// The idempotency identifier associated with this request. If you want to repeat
	// the same operation in an idempotent manner then you must include this value
	// in the clientToken request parameter of that later call. All other parameters
	// must also have the same values that you used in the first call.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// This operation is performed asynchronously, and this response parameter indicates
	// the current status.
	PermissionStatus *string `locationName:"permissionStatus" type:"string" enum:"PermissionStatus"`

	// A boolean that indicates whether the delete operations succeeded.
	ReturnValue *bool `locationName:"returnValue" type:"boolean"`
	// contains filtered or unexported fields
}

func (DeletePermissionOutput) GoString

func (s DeletePermissionOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePermissionOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*DeletePermissionOutput) SetPermissionStatus

func (s *DeletePermissionOutput) SetPermissionStatus(v string) *DeletePermissionOutput

SetPermissionStatus sets the PermissionStatus field's value.

func (*DeletePermissionOutput) SetReturnValue

func (s *DeletePermissionOutput) SetReturnValue(v bool) *DeletePermissionOutput

SetReturnValue sets the ReturnValue field's value.

func (DeletePermissionOutput) String

func (s DeletePermissionOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeletePermissionVersionInput

type DeletePermissionVersionInput struct {

	// Specifies a unique, case-sensitive identifier that you provide to ensure
	// the idempotency of the request. This lets you safely retry the request without
	// accidentally performing the same operation a second time. Passing the same
	// value to a later call to an operation requires that you also pass the same
	// value for all other parameters. We recommend that you use a UUID type of
	// value. (https://wikipedia.org/wiki/Universally_unique_identifier).
	//
	// If you don't provide this value, then Amazon Web Services generates a random
	// one for you.
	//
	// If you retry the operation with the same ClientToken, but with different
	// parameters, the retry fails with an IdempotentParameterMismatch error.
	ClientToken *string `location:"querystring" locationName:"clientToken" type:"string"`

	// Specifies the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the permission with the version you want to delete.
	//
	// PermissionArn is a required field
	PermissionArn *string `location:"querystring" locationName:"permissionArn" type:"string" required:"true"`

	// Specifies the version number to delete.
	//
	// You can't delete the default version for a customer managed permission.
	//
	// You can't delete a version if it's the only version of the permission. You
	// must either first create another version, or delete the permission completely.
	//
	// You can't delete a version if it is attached to any resource shares. If the
	// version is the default, you must first use SetDefaultPermissionVersion to
	// set a different version as the default for the customer managed permission,
	// and then use AssociateResourceSharePermission to update your resource shares
	// to use the new default version.
	//
	// PermissionVersion is a required field
	PermissionVersion *int64 `location:"querystring" locationName:"permissionVersion" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

func (DeletePermissionVersionInput) GoString

func (s DeletePermissionVersionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePermissionVersionInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*DeletePermissionVersionInput) SetPermissionArn

SetPermissionArn sets the PermissionArn field's value.

func (*DeletePermissionVersionInput) SetPermissionVersion

SetPermissionVersion sets the PermissionVersion field's value.

func (DeletePermissionVersionInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePermissionVersionInput) Validate

func (s *DeletePermissionVersionInput) Validate() error

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

type DeletePermissionVersionOutput

type DeletePermissionVersionOutput struct {

	// The idempotency identifier associated with this request. If you want to repeat
	// the same operation in an idempotent manner then you must include this value
	// in the clientToken request parameter of that later call. All other parameters
	// must also have the same values that you used in the first call.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// This operation is performed asynchronously, and this response parameter indicates
	// the current status.
	PermissionStatus *string `locationName:"permissionStatus" type:"string" enum:"PermissionStatus"`

	// A boolean value that indicates whether the operation is successful.
	ReturnValue *bool `locationName:"returnValue" type:"boolean"`
	// contains filtered or unexported fields
}

func (DeletePermissionVersionOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePermissionVersionOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*DeletePermissionVersionOutput) SetPermissionStatus

SetPermissionStatus sets the PermissionStatus field's value.

func (*DeletePermissionVersionOutput) SetReturnValue

SetReturnValue sets the ReturnValue field's value.

func (DeletePermissionVersionOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteResourceShareInput

type DeleteResourceShareInput struct {

	// Specifies a unique, case-sensitive identifier that you provide to ensure
	// the idempotency of the request. This lets you safely retry the request without
	// accidentally performing the same operation a second time. Passing the same
	// value to a later call to an operation requires that you also pass the same
	// value for all other parameters. We recommend that you use a UUID type of
	// value. (https://wikipedia.org/wiki/Universally_unique_identifier).
	//
	// If you don't provide this value, then Amazon Web Services generates a random
	// one for you.
	//
	// If you retry the operation with the same ClientToken, but with different
	// parameters, the retry fails with an IdempotentParameterMismatch error.
	ClientToken *string `location:"querystring" locationName:"clientToken" type:"string"`

	// Specifies the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the resource share to delete.
	//
	// ResourceShareArn is a required field
	ResourceShareArn *string `location:"querystring" locationName:"resourceShareArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteResourceShareInput) GoString

func (s DeleteResourceShareInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteResourceShareInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*DeleteResourceShareInput) SetResourceShareArn

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

SetResourceShareArn sets the ResourceShareArn field's value.

func (DeleteResourceShareInput) String

func (s DeleteResourceShareInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteResourceShareInput) Validate

func (s *DeleteResourceShareInput) Validate() error

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

type DeleteResourceShareOutput

type DeleteResourceShareOutput struct {

	// The idempotency identifier associated with this request. If you want to repeat
	// the same operation in an idempotent manner then you must include this value
	// in the clientToken request parameter of that later call. All other parameters
	// must also have the same values that you used in the first call.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// A return value of true indicates that the request succeeded. A value of false
	// indicates that the request failed.
	ReturnValue *bool `locationName:"returnValue" type:"boolean"`
	// contains filtered or unexported fields
}

func (DeleteResourceShareOutput) GoString

func (s DeleteResourceShareOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteResourceShareOutput) SetClientToken

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DisassociateResourceShareInput

type DisassociateResourceShareInput struct {

	// Specifies a unique, case-sensitive identifier that you provide to ensure
	// the idempotency of the request. This lets you safely retry the request without
	// accidentally performing the same operation a second time. Passing the same
	// value to a later call to an operation requires that you also pass the same
	// value for all other parameters. We recommend that you use a UUID type of
	// value. (https://wikipedia.org/wiki/Universally_unique_identifier).
	//
	// If you don't provide this value, then Amazon Web Services generates a random
	// one for you.
	//
	// If you retry the operation with the same ClientToken, but with different
	// parameters, the retry fails with an IdempotentParameterMismatch error.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// Specifies a list of one or more principals that no longer are to have access
	// to the resources in this resource share.
	//
	// You can include the following values:
	//
	//    * An Amazon Web Services account ID, for example: 123456789012
	//
	//    * An Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	//    of an organization in Organizations, for example: organizations::123456789012:organization/o-exampleorgid
	//
	//    * An ARN of an organizational unit (OU) in Organizations, for example:
	//    organizations::123456789012:ou/o-exampleorgid/ou-examplerootid-exampleouid123
	//
	//    * An ARN of an IAM role, for example: iam::123456789012:role/rolename
	//
	//    * An ARN of an IAM user, for example: iam::123456789012user/username
	//
	// Not all resource types can be shared with IAM roles and users. For more information,
	// see Sharing with IAM roles and users (https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types)
	// in the Resource Access Manager User Guide.
	Principals []*string `locationName:"principals" type:"list"`

	// Specifies a list of Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// for one or more resources that you want to remove from the resource share.
	// After the operation runs, these resources are no longer shared with principals
	// associated with the resource share.
	ResourceArns []*string `locationName:"resourceArns" type:"list"`

	// Specifies Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the resource share that you want to remove resources or principals from.
	//
	// ResourceShareArn is a required field
	ResourceShareArn *string `locationName:"resourceShareArn" type:"string" required:"true"`

	// Specifies from which source accounts the service principal no longer has
	// access to the resources in this resource share.
	Sources []*string `locationName:"sources" type:"list"`
	// contains filtered or unexported fields
}

func (DisassociateResourceShareInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*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) SetSources

SetSources sets the Sources field's value.

func (DisassociateResourceShareInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateResourceShareInput) Validate

func (s *DisassociateResourceShareInput) Validate() error

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

type DisassociateResourceShareOutput

type DisassociateResourceShareOutput struct {

	// The idempotency identifier associated with this request. If you want to repeat
	// the same operation in an idempotent manner then you must include this value
	// in the clientToken request parameter of that later call. All other parameters
	// must also have the same values that you used in the first call.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// An array of objects with information about the updated associations for this
	// resource share.
	ResourceShareAssociations []*ResourceShareAssociation `locationName:"resourceShareAssociations" type:"list"`
	// contains filtered or unexported fields
}

func (DisassociateResourceShareOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DisassociateResourceSharePermissionInput

type DisassociateResourceSharePermissionInput struct {

	// Specifies a unique, case-sensitive identifier that you provide to ensure
	// the idempotency of the request. This lets you safely retry the request without
	// accidentally performing the same operation a second time. Passing the same
	// value to a later call to an operation requires that you also pass the same
	// value for all other parameters. We recommend that you use a UUID type of
	// value. (https://wikipedia.org/wiki/Universally_unique_identifier).
	//
	// If you don't provide this value, then Amazon Web Services generates a random
	// one for you.
	//
	// If you retry the operation with the same ClientToken, but with different
	// parameters, the retry fails with an IdempotentParameterMismatch error.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// The Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the managed permission to disassociate from the resource share. Changes
	// to permissions take effect immediately.
	//
	// PermissionArn is a required field
	PermissionArn *string `locationName:"permissionArn" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the resource share that you want to remove the managed permission from.
	//
	// 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateResourceSharePermissionInput) SetClientToken

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateResourceSharePermissionInput) Validate

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

type DisassociateResourceSharePermissionOutput

type DisassociateResourceSharePermissionOutput struct {

	// The idempotency identifier associated with this request. If you want to repeat
	// the same operation in an idempotent manner then you must include this value
	// in the clientToken request parameter of that later call. All other parameters
	// must also have the same values that you used in the first call.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// A return value of true indicates that the request succeeded. A value of false
	// indicates that the request failed.
	ReturnValue *bool `locationName:"returnValue" type:"boolean"`
	// contains filtered or unexported fields
}

func (DisassociateResourceSharePermissionOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EnableSharingWithAwsOrganizationInput

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

func (EnableSharingWithAwsOrganizationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (EnableSharingWithAwsOrganizationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type EnableSharingWithAwsOrganizationOutput

type EnableSharingWithAwsOrganizationOutput struct {

	// A return value of true indicates that the request succeeded. A value of false
	// indicates that the request failed.
	ReturnValue *bool `locationName:"returnValue" type:"boolean"`
	// contains filtered or unexported fields
}

func (EnableSharingWithAwsOrganizationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EnableSharingWithAwsOrganizationOutput) SetReturnValue

SetReturnValue sets the ReturnValue field's value.

func (EnableSharingWithAwsOrganizationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetPermissionInput

type GetPermissionInput struct {

	// Specifies the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the permission whose contents you want to retrieve. To find the ARN for
	// a permission, use either the ListPermissions operation or go to the Permissions
	// library (https://console.aws.amazon.com/ram/home#Permissions:) page in the
	// RAM console and then choose the name of the permission. The ARN is displayed
	// on the detail page.
	//
	// PermissionArn is a required field
	PermissionArn *string `locationName:"permissionArn" type:"string" required:"true"`

	// Specifies the version number of the RAM permission to retrieve. If you don't
	// specify this parameter, the operation retrieves the default version.
	//
	// To see the list of available versions, use ListPermissionVersions.
	PermissionVersion *int64 `locationName:"permissionVersion" type:"integer"`
	// contains filtered or unexported fields
}

func (GetPermissionInput) GoString

func (s GetPermissionInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetPermissionInput) SetPermissionArn

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetPermissionInput) Validate

func (s *GetPermissionInput) Validate() error

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

type GetPermissionOutput

type GetPermissionOutput struct {

	// An object with details 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetPermissionOutput) SetPermission

SetPermission sets the Permission field's value.

func (GetPermissionOutput) String

func (s GetPermissionOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetResourcePoliciesInput

type GetResourcePoliciesInput struct {

	// Specifies the total number of results that you want included on each page
	// of the response. If you do not include this parameter, it defaults to a value
	// that is specific to the operation. If additional items exist beyond the number
	// you specify, the NextToken response element is returned with a value (not
	// null). Include the specified value as the NextToken request parameter in
	// the next call to the operation to get the next part of the results. Note
	// that the service might return fewer results than the maximum even when there
	// are more results available. You should check NextToken after every operation
	// to ensure that you receive all of the results.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// Specifies that you want to receive the next page of results. Valid only if
	// you received a NextToken response in the previous request. If you did, it
	// indicates that more output is available. Set this parameter to the value
	// provided by the previous call's NextToken response to request the next page
	// of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Specifies the principal.
	Principal *string `locationName:"principal" type:"string"`

	// Specifies the Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the resources whose policies you want to retrieve.
	//
	// ResourceArns is a required field
	ResourceArns []*string `locationName:"resourceArns" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (GetResourcePoliciesInput) GoString

func (s GetResourcePoliciesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetResourcePoliciesInput) SetMaxResults

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetResourcePoliciesInput) Validate

func (s *GetResourcePoliciesInput) Validate() error

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

type GetResourcePoliciesOutput

type GetResourcePoliciesOutput struct {

	// If present, this value indicates that more output is available than is included
	// in the current response. Use this value in the NextToken request parameter
	// in a subsequent call to the operation to get the next part of the output.
	// You should repeat this until the NextToken response element comes back as
	// null. This indicates that this is the last page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// An array of resource policy documents in JSON format.
	Policies []*string `locationName:"policies" type:"list"`
	// contains filtered or unexported fields
}

func (GetResourcePoliciesOutput) GoString

func (s GetResourcePoliciesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetResourcePoliciesOutput) SetNextToken

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetResourceShareAssociationsInput

type GetResourceShareAssociationsInput struct {

	// Specifies that you want to retrieve only associations that have this status.
	AssociationStatus *string `locationName:"associationStatus" type:"string" enum:"ResourceShareAssociationStatus"`

	// Specifies whether you want to retrieve the associations that involve a specified
	// resource or principal.
	//
	//    * PRINCIPAL – list the principals whose associations you want to see.
	//
	//    * RESOURCE – list the resources whose associations you want to see.
	//
	// AssociationType is a required field
	AssociationType *string `locationName:"associationType" type:"string" required:"true" enum:"ResourceShareAssociationType"`

	// Specifies the total number of results that you want included on each page
	// of the response. If you do not include this parameter, it defaults to a value
	// that is specific to the operation. If additional items exist beyond the number
	// you specify, the NextToken response element is returned with a value (not
	// null). Include the specified value as the NextToken request parameter in
	// the next call to the operation to get the next part of the results. Note
	// that the service might return fewer results than the maximum even when there
	// are more results available. You should check NextToken after every operation
	// to ensure that you receive all of the results.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// Specifies that you want to receive the next page of results. Valid only if
	// you received a NextToken response in the previous request. If you did, it
	// indicates that more output is available. Set this parameter to the value
	// provided by the previous call's NextToken response to request the next page
	// of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Specifies the ID of the principal whose resource shares you want to retrieve.
	// This can be an Amazon Web Services account ID, an organization ID, an organizational
	// unit ID, or the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of an individual IAM role or user.
	//
	// You cannot specify this parameter if the association type is RESOURCE.
	Principal *string `locationName:"principal" type:"string"`

	// Specifies the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of a resource whose resource shares you want to retrieve.
	//
	// You cannot specify this parameter if the association type is PRINCIPAL.
	ResourceArn *string `locationName:"resourceArn" type:"string"`

	// Specifies a list of Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the resource share whose associations you want to retrieve.
	ResourceShareArns []*string `locationName:"resourceShareArns" type:"list"`
	// contains filtered or unexported fields
}

func (GetResourceShareAssociationsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetResourceShareAssociationsInput) Validate

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

type GetResourceShareAssociationsOutput

type GetResourceShareAssociationsOutput struct {

	// If present, this value indicates that more output is available than is included
	// in the current response. Use this value in the NextToken request parameter
	// in a subsequent call to the operation to get the next part of the output.
	// You should repeat this until the NextToken response element comes back as
	// null. This indicates that this is the last page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// An array of objects that contain the details about the associations.
	ResourceShareAssociations []*ResourceShareAssociation `locationName:"resourceShareAssociations" type:"list"`
	// contains filtered or unexported fields
}

func (GetResourceShareAssociationsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetResourceShareInvitationsInput

type GetResourceShareInvitationsInput struct {

	// Specifies the total number of results that you want included on each page
	// of the response. If you do not include this parameter, it defaults to a value
	// that is specific to the operation. If additional items exist beyond the number
	// you specify, the NextToken response element is returned with a value (not
	// null). Include the specified value as the NextToken request parameter in
	// the next call to the operation to get the next part of the results. Note
	// that the service might return fewer results than the maximum even when there
	// are more results available. You should check NextToken after every operation
	// to ensure that you receive all of the results.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// Specifies that you want to receive the next page of results. Valid only if
	// you received a NextToken response in the previous request. If you did, it
	// indicates that more output is available. Set this parameter to the value
	// provided by the previous call's NextToken response to request the next page
	// of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Specifies that you want details about invitations only for the resource shares
	// described by this list of Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	ResourceShareArns []*string `locationName:"resourceShareArns" type:"list"`

	// Specifies the Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the resource share invitations you want information about.
	ResourceShareInvitationArns []*string `locationName:"resourceShareInvitationArns" type:"list"`
	// contains filtered or unexported fields
}

func (GetResourceShareInvitationsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetResourceShareInvitationsInput) Validate

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

type GetResourceShareInvitationsOutput

type GetResourceShareInvitationsOutput struct {

	// If present, this value indicates that more output is available than is included
	// in the current response. Use this value in the NextToken request parameter
	// in a subsequent call to the operation to get the next part of the output.
	// You should repeat this until the NextToken response element comes back as
	// null. This indicates that this is the last page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// An array of objects that contain the details about the invitations.
	ResourceShareInvitations []*ResourceShareInvitation `locationName:"resourceShareInvitations" type:"list"`
	// contains filtered or unexported fields
}

func (GetResourceShareInvitationsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetResourceSharesInput

type GetResourceSharesInput struct {

	// Specifies the total number of results that you want included on each page
	// of the response. If you do not include this parameter, it defaults to a value
	// that is specific to the operation. If additional items exist beyond the number
	// you specify, the NextToken response element is returned with a value (not
	// null). Include the specified value as the NextToken request parameter in
	// the next call to the operation to get the next part of the results. Note
	// that the service might return fewer results than the maximum even when there
	// are more results available. You should check NextToken after every operation
	// to ensure that you receive all of the results.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// Specifies the name of an individual resource share that you want to retrieve
	// details about.
	Name *string `locationName:"name" type:"string"`

	// Specifies that you want to receive the next page of results. Valid only if
	// you received a NextToken response in the previous request. If you did, it
	// indicates that more output is available. Set this parameter to the value
	// provided by the previous call's NextToken response to request the next page
	// of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Specifies that you want to retrieve details of only those resource shares
	// that use the managed permission with this Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
	PermissionArn *string `locationName:"permissionArn" type:"string"`

	// Specifies that you want to retrieve details for only those resource shares
	// that use the specified version of the managed permission.
	PermissionVersion *int64 `locationName:"permissionVersion" type:"integer"`

	// Specifies that you want to retrieve details of only those resource shares
	// that match the following:
	//
	//    * SELF – resource shares that your account shares with other accounts
	//
	//    * OTHER-ACCOUNTS – resource shares that other accounts share with your
	//    account
	//
	// ResourceOwner is a required field
	ResourceOwner *string `locationName:"resourceOwner" type:"string" required:"true" enum:"ResourceOwner"`

	// Specifies the Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of individual resource shares that you want information about.
	ResourceShareArns []*string `locationName:"resourceShareArns" type:"list"`

	// Specifies that you want to retrieve details of only those resource shares
	// that have this status.
	ResourceShareStatus *string `locationName:"resourceShareStatus" type:"string" enum:"ResourceShareStatus"`

	// Specifies that you want to retrieve details of only those resource shares
	// that match the specified tag keys and values.
	TagFilters []*TagFilter `locationName:"tagFilters" type:"list"`
	// contains filtered or unexported fields
}

func (GetResourceSharesInput) GoString

func (s GetResourceSharesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetResourceSharesInput) SetMaxResults

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

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

SetPermissionArn sets the PermissionArn field's value.

func (*GetResourceSharesInput) SetPermissionVersion

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

SetPermissionVersion sets the PermissionVersion 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetResourceSharesInput) Validate

func (s *GetResourceSharesInput) Validate() error

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

type GetResourceSharesOutput

type GetResourceSharesOutput struct {

	// If present, this value indicates that more output is available than is included
	// in the current response. Use this value in the NextToken request parameter
	// in a subsequent call to the operation to get the next part of the output.
	// You should repeat this until the NextToken response element comes back as
	// null. This indicates that this is the last page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// An array of objects that contain the information about the 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetResourceSharesOutput) SetNextToken

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type IdempotentParameterMismatchException

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

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

The operation failed because the client token input parameter matched one that was used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.

func (*IdempotentParameterMismatchException) Code

Code returns the exception type name.

func (*IdempotentParameterMismatchException) Error

func (IdempotentParameterMismatchException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidClientTokenException

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

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

The operation failed because the specified client token isn't 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidClientTokenException) Message

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidMaxResultsException

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

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

The operation failed because the specified value for MaxResults isn't 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidMaxResultsException) Message

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidNextTokenException

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

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

The operation failed because the specified value for NextToken isn't valid. You must specify a value you received in the NextToken response of a previous call to this operation.

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidNextTokenException) Message

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidParameterException

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

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

The operation failed because a parameter you specified isn't 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidParameterException) Message

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidPolicyException

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

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

The operation failed because a policy you specified isn't valid.

func (*InvalidPolicyException) Code

func (s *InvalidPolicyException) Code() string

Code returns the exception type name.

func (*InvalidPolicyException) Error

func (s *InvalidPolicyException) Error() string

func (InvalidPolicyException) GoString

func (s InvalidPolicyException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidPolicyException) Message

func (s *InvalidPolicyException) Message() string

Message returns the exception's message.

func (*InvalidPolicyException) OrigErr

func (s *InvalidPolicyException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidPolicyException) RequestID

func (s *InvalidPolicyException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidPolicyException) StatusCode

func (s *InvalidPolicyException) StatusCode() int

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

func (InvalidPolicyException) String

func (s InvalidPolicyException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidResourceTypeException

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

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

The operation failed because the specified resource type isn't 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidResourceTypeException) Message

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidStateTransitionException

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

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

The operation failed because the requested operation isn't valid for the resource share in its current state.

func (*InvalidStateTransitionException) Code

Code returns the exception type name.

func (*InvalidStateTransitionException) Error

func (InvalidStateTransitionException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListPendingInvitationResourcesInput

type ListPendingInvitationResourcesInput struct {

	// Specifies the total number of results that you want included on each page
	// of the response. If you do not include this parameter, it defaults to a value
	// that is specific to the operation. If additional items exist beyond the number
	// you specify, the NextToken response element is returned with a value (not
	// null). Include the specified value as the NextToken request parameter in
	// the next call to the operation to get the next part of the results. Note
	// that the service might return fewer results than the maximum even when there
	// are more results available. You should check NextToken after every operation
	// to ensure that you receive all of the results.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// Specifies that you want to receive the next page of results. Valid only if
	// you received a NextToken response in the previous request. If you did, it
	// indicates that more output is available. Set this parameter to the value
	// provided by the previous call's NextToken response to request the next page
	// of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Specifies that you want the results to include only resources that have the
	// specified scope.
	//
	//    * ALL – the results include both global and regional resources or resource
	//    types.
	//
	//    * GLOBAL – the results include only global resources or resource types.
	//
	//    * REGIONAL – the results include only regional resources or resource
	//    types.
	//
	// The default value is ALL.
	ResourceRegionScope *string `locationName:"resourceRegionScope" type:"string" enum:"ResourceRegionScopeFilter"`

	// Specifies the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the invitation. You can use GetResourceShareInvitations to find the ARN
	// of the invitation.
	//
	// ResourceShareInvitationArn is a required field
	ResourceShareInvitationArn *string `locationName:"resourceShareInvitationArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListPendingInvitationResourcesInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPendingInvitationResourcesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListPendingInvitationResourcesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPendingInvitationResourcesInput) SetResourceRegionScope

SetResourceRegionScope sets the ResourceRegionScope field's value.

func (*ListPendingInvitationResourcesInput) SetResourceShareInvitationArn

SetResourceShareInvitationArn sets the ResourceShareInvitationArn field's value.

func (ListPendingInvitationResourcesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPendingInvitationResourcesInput) Validate

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

type ListPendingInvitationResourcesOutput

type ListPendingInvitationResourcesOutput struct {

	// If present, this value indicates that more output is available than is included
	// in the current response. Use this value in the NextToken request parameter
	// in a subsequent call to the operation to get the next part of the output.
	// You should repeat this until the NextToken response element comes back as
	// null. This indicates that this is the last page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// An array of objects that contain the information about the resources included
	// the specified resource share.
	Resources []*Resource `locationName:"resources" type:"list"`
	// contains filtered or unexported fields
}

func (ListPendingInvitationResourcesOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPendingInvitationResourcesOutput) SetNextToken

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListPermissionAssociationsInput

type ListPermissionAssociationsInput struct {

	// Specifies that you want to list only those associations with resource shares
	// that match this status.
	AssociationStatus *string `locationName:"associationStatus" type:"string" enum:"ResourceShareAssociationStatus"`

	// When true, specifies that you want to list only those associations with resource
	// shares that use the default version of the specified managed permission.
	//
	// When false (the default value), lists associations with resource shares that
	// use any version of the specified managed permission.
	DefaultVersion *bool `locationName:"defaultVersion" type:"boolean"`

	// Specifies that you want to list only those associations with resource shares
	// that have a featureSet with this value.
	FeatureSet *string `locationName:"featureSet" type:"string" enum:"PermissionFeatureSet"`

	// Specifies the total number of results that you want included on each page
	// of the response. If you do not include this parameter, it defaults to a value
	// that is specific to the operation. If additional items exist beyond the number
	// you specify, the NextToken response element is returned with a value (not
	// null). Include the specified value as the NextToken request parameter in
	// the next call to the operation to get the next part of the results. Note
	// that the service might return fewer results than the maximum even when there
	// are more results available. You should check NextToken after every operation
	// to ensure that you receive all of the results.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// Specifies that you want to receive the next page of results. Valid only if
	// you received a NextToken response in the previous request. If you did, it
	// indicates that more output is available. Set this parameter to the value
	// provided by the previous call's NextToken response to request the next page
	// of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Specifies the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the managed permission.
	PermissionArn *string `locationName:"permissionArn" type:"string"`

	// Specifies that you want to list only those associations with resource shares
	// that use this version of the managed permission. If you don't provide a value
	// for this parameter, then the operation returns information about associations
	// with resource shares that use any version of the managed permission.
	PermissionVersion *int64 `locationName:"permissionVersion" type:"integer"`

	// Specifies that you want to list only those associations with resource shares
	// that include at least one resource of this resource type.
	ResourceType *string `locationName:"resourceType" type:"string"`
	// contains filtered or unexported fields
}

func (ListPermissionAssociationsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPermissionAssociationsInput) SetAssociationStatus

SetAssociationStatus sets the AssociationStatus field's value.

func (*ListPermissionAssociationsInput) SetDefaultVersion

SetDefaultVersion sets the DefaultVersion field's value.

func (*ListPermissionAssociationsInput) SetFeatureSet

SetFeatureSet sets the FeatureSet field's value.

func (*ListPermissionAssociationsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListPermissionAssociationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPermissionAssociationsInput) SetPermissionArn

SetPermissionArn sets the PermissionArn field's value.

func (*ListPermissionAssociationsInput) SetPermissionVersion

SetPermissionVersion sets the PermissionVersion field's value.

func (*ListPermissionAssociationsInput) SetResourceType

SetResourceType sets the ResourceType field's value.

func (ListPermissionAssociationsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPermissionAssociationsInput) Validate

func (s *ListPermissionAssociationsInput) Validate() error

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

type ListPermissionAssociationsOutput

type ListPermissionAssociationsOutput struct {

	// If present, this value indicates that more output is available than is included
	// in the current response. Use this value in the NextToken request parameter
	// in a subsequent call to the operation to get the next part of the output.
	// You should repeat this until the NextToken response element comes back as
	// null. This indicates that this is the last page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// A structure with information about this customer managed permission.
	Permissions []*AssociatedPermission `locationName:"permissions" type:"list"`
	// contains filtered or unexported fields
}

func (ListPermissionAssociationsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPermissionAssociationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPermissionAssociationsOutput) SetPermissions

SetPermissions sets the Permissions field's value.

func (ListPermissionAssociationsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListPermissionVersionsInput

type ListPermissionVersionsInput struct {

	// Specifies the total number of results that you want included on each page
	// of the response. If you do not include this parameter, it defaults to a value
	// that is specific to the operation. If additional items exist beyond the number
	// you specify, the NextToken response element is returned with a value (not
	// null). Include the specified value as the NextToken request parameter in
	// the next call to the operation to get the next part of the results. Note
	// that the service might return fewer results than the maximum even when there
	// are more results available. You should check NextToken after every operation
	// to ensure that you receive all of the results.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// Specifies that you want to receive the next page of results. Valid only if
	// you received a NextToken response in the previous request. If you did, it
	// indicates that more output is available. Set this parameter to the value
	// provided by the previous call's NextToken response to request the next page
	// of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Specifies the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the RAM permission whose versions you want to list. You can use the permissionVersion
	// parameter on the AssociateResourceSharePermission operation to specify a
	// non-default version to attach.
	//
	// PermissionArn is a required field
	PermissionArn *string `locationName:"permissionArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListPermissionVersionsInput) GoString

func (s ListPermissionVersionsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPermissionVersionsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListPermissionVersionsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPermissionVersionsInput) SetPermissionArn

SetPermissionArn sets the PermissionArn field's value.

func (ListPermissionVersionsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPermissionVersionsInput) Validate

func (s *ListPermissionVersionsInput) Validate() error

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

type ListPermissionVersionsOutput

type ListPermissionVersionsOutput struct {

	// If present, this value indicates that more output is available than is included
	// in the current response. Use this value in the NextToken request parameter
	// in a subsequent call to the operation to get the next part of the output.
	// You should repeat this until the NextToken response element comes back as
	// null. This indicates that this is the last page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// An array of objects that contain details for each of the available versions.
	Permissions []*ResourceSharePermissionSummary `locationName:"permissions" type:"list"`
	// contains filtered or unexported fields
}

func (ListPermissionVersionsOutput) GoString

func (s ListPermissionVersionsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPermissionVersionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPermissionVersionsOutput) SetPermissions

SetPermissions sets the Permissions field's value.

func (ListPermissionVersionsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListPermissionsInput

type ListPermissionsInput struct {

	// Specifies the total number of results that you want included on each page
	// of the response. If you do not include this parameter, it defaults to a value
	// that is specific to the operation. If additional items exist beyond the number
	// you specify, the NextToken response element is returned with a value (not
	// null). Include the specified value as the NextToken request parameter in
	// the next call to the operation to get the next part of the results. Note
	// that the service might return fewer results than the maximum even when there
	// are more results available. You should check NextToken after every operation
	// to ensure that you receive all of the results.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// Specifies that you want to receive the next page of results. Valid only if
	// you received a NextToken response in the previous request. If you did, it
	// indicates that more output is available. Set this parameter to the value
	// provided by the previous call's NextToken response to request the next page
	// of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Specifies that you want to list only permissions of this type:
	//
	//    * AWS – returns only Amazon Web Services managed permissions.
	//
	//    * LOCAL – returns only customer managed permissions
	//
	//    * ALL – returns both Amazon Web Services managed permissions and customer
	//    managed permissions.
	//
	// If you don't specify this parameter, the default is All.
	PermissionType *string `locationName:"permissionType" type:"string" enum:"PermissionTypeFilter"`

	// Specifies that you want to list only those permissions that apply to the
	// specified resource type. This parameter is not case sensitive.
	//
	// For example, to list only permissions that apply to Amazon EC2 subnets, specify
	// ec2:subnet. You can use the ListResourceTypes operation to get the specific
	// string required.
	ResourceType *string `locationName:"resourceType" type:"string"`
	// contains filtered or unexported fields
}

func (ListPermissionsInput) GoString

func (s ListPermissionsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPermissionsInput) SetMaxResults

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

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

SetPermissionType sets the PermissionType 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPermissionsInput) Validate

func (s *ListPermissionsInput) Validate() error

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

type ListPermissionsOutput

type ListPermissionsOutput struct {

	// If present, this value indicates that more output is available than is included
	// in the current response. Use this value in the NextToken request parameter
	// in a subsequent call to the operation to get the next part of the output.
	// You should repeat this until the NextToken response element comes back as
	// null. This indicates that this is the last page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// An array of objects with information about the permissions.
	Permissions []*ResourceSharePermissionSummary `locationName:"permissions" type:"list"`
	// contains filtered or unexported fields
}

func (ListPermissionsOutput) GoString

func (s ListPermissionsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPermissionsOutput) SetNextToken

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListPrincipalsInput

type ListPrincipalsInput struct {

	// Specifies the total number of results that you want included on each page
	// of the response. If you do not include this parameter, it defaults to a value
	// that is specific to the operation. If additional items exist beyond the number
	// you specify, the NextToken response element is returned with a value (not
	// null). Include the specified value as the NextToken request parameter in
	// the next call to the operation to get the next part of the results. Note
	// that the service might return fewer results than the maximum even when there
	// are more results available. You should check NextToken after every operation
	// to ensure that you receive all of the results.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// Specifies that you want to receive the next page of results. Valid only if
	// you received a NextToken response in the previous request. If you did, it
	// indicates that more output is available. Set this parameter to the value
	// provided by the previous call's NextToken response to request the next page
	// of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Specifies that you want to list information for only the listed principals.
	//
	// You can include the following values:
	//
	//    * An Amazon Web Services account ID, for example: 123456789012
	//
	//    * An Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	//    of an organization in Organizations, for example: organizations::123456789012:organization/o-exampleorgid
	//
	//    * An ARN of an organizational unit (OU) in Organizations, for example:
	//    organizations::123456789012:ou/o-exampleorgid/ou-examplerootid-exampleouid123
	//
	//    * An ARN of an IAM role, for example: iam::123456789012:role/rolename
	//
	//    * An ARN of an IAM user, for example: iam::123456789012user/username
	//
	// Not all resource types can be shared with IAM roles and users. For more information,
	// see Sharing with IAM roles and users (https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types)
	// in the Resource Access Manager User Guide.
	Principals []*string `locationName:"principals" type:"list"`

	// Specifies that you want to list principal information for the resource share
	// with the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
	ResourceArn *string `locationName:"resourceArn" type:"string"`

	// Specifies that you want to list information for only resource shares that
	// match the following:
	//
	//    * SELF – principals that your account is sharing resources with
	//
	//    * OTHER-ACCOUNTS – principals that are sharing resources with your account
	//
	// ResourceOwner is a required field
	ResourceOwner *string `locationName:"resourceOwner" type:"string" required:"true" enum:"ResourceOwner"`

	// Specifies that you want to list information for only principals associated
	// with the resource shares specified by a list the Amazon Resource Names (ARNs)
	// (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
	ResourceShareArns []*string `locationName:"resourceShareArns" type:"list"`

	// Specifies that you want to list information for only principals associated
	// with resource shares that include the specified resource type.
	//
	// For a list of valid values, query the ListResourceTypes operation.
	ResourceType *string `locationName:"resourceType" type:"string"`
	// contains filtered or unexported fields
}

func (ListPrincipalsInput) GoString

func (s ListPrincipalsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPrincipalsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListPrincipalsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListPrincipalsInput) SetPrincipals

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

SetPrincipals sets the Principals field's value.

func (*ListPrincipalsInput) SetResourceArn

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

SetResourceArn sets the ResourceArn field's value.

func (*ListPrincipalsInput) SetResourceOwner

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

SetResourceOwner sets the ResourceOwner field's value.

func (*ListPrincipalsInput) SetResourceShareArns

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

SetResourceShareArns sets the ResourceShareArns field's value.

func (*ListPrincipalsInput) SetResourceType

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

SetResourceType sets the ResourceType field's value.

func (ListPrincipalsInput) String

func (s ListPrincipalsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPrincipalsInput) Validate

func (s *ListPrincipalsInput) Validate() error

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

type ListPrincipalsOutput

type ListPrincipalsOutput struct {

	// If present, this value indicates that more output is available than is included
	// in the current response. Use this value in the NextToken request parameter
	// in a subsequent call to the operation to get the next part of the output.
	// You should repeat this until the NextToken response element comes back as
	// null. This indicates that this is the last page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// An array of objects that contain the details about the principals.
	Principals []*Principal `locationName:"principals" type:"list"`
	// contains filtered or unexported fields
}

func (ListPrincipalsOutput) GoString

func (s ListPrincipalsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPrincipalsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListPrincipalsOutput) SetPrincipals

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

SetPrincipals sets the Principals field's value.

func (ListPrincipalsOutput) String

func (s ListPrincipalsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListReplacePermissionAssociationsWorkInput

type ListReplacePermissionAssociationsWorkInput struct {

	// Specifies the total number of results that you want included on each page
	// of the response. If you do not include this parameter, it defaults to a value
	// that is specific to the operation. If additional items exist beyond the number
	// you specify, the NextToken response element is returned with a value (not
	// null). Include the specified value as the NextToken request parameter in
	// the next call to the operation to get the next part of the results. Note
	// that the service might return fewer results than the maximum even when there
	// are more results available. You should check NextToken after every operation
	// to ensure that you receive all of the results.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// Specifies that you want to receive the next page of results. Valid only if
	// you received a NextToken response in the previous request. If you did, it
	// indicates that more output is available. Set this parameter to the value
	// provided by the previous call's NextToken response to request the next page
	// of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Specifies that you want to see only the details about requests with a status
	// that matches this value.
	Status *string `locationName:"status" type:"string" enum:"ReplacePermissionAssociationsWorkStatus"`

	// A list of IDs. These values come from the idfield of the replacePermissionAssociationsWorkstructure
	// returned by the ReplacePermissionAssociations operation.
	WorkIds []*string `locationName:"workIds" type:"list"`
	// contains filtered or unexported fields
}

func (ListReplacePermissionAssociationsWorkInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListReplacePermissionAssociationsWorkInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListReplacePermissionAssociationsWorkInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListReplacePermissionAssociationsWorkInput) SetStatus

SetStatus sets the Status field's value.

func (*ListReplacePermissionAssociationsWorkInput) SetWorkIds

SetWorkIds sets the WorkIds field's value.

func (ListReplacePermissionAssociationsWorkInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListReplacePermissionAssociationsWorkInput) Validate

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

type ListReplacePermissionAssociationsWorkOutput

type ListReplacePermissionAssociationsWorkOutput struct {

	// If present, this value indicates that more output is available than is included
	// in the current response. Use this value in the NextToken request parameter
	// in a subsequent call to the operation to get the next part of the output.
	// You should repeat this until the NextToken response element comes back as
	// null. This indicates that this is the last page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// An array of data structures that provide details of the matching work IDs.
	ReplacePermissionAssociationsWorks []*ReplacePermissionAssociationsWork `locationName:"replacePermissionAssociationsWorks" type:"list"`
	// contains filtered or unexported fields
}

func (ListReplacePermissionAssociationsWorkOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListReplacePermissionAssociationsWorkOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListReplacePermissionAssociationsWorkOutput) SetReplacePermissionAssociationsWorks

SetReplacePermissionAssociationsWorks sets the ReplacePermissionAssociationsWorks field's value.

func (ListReplacePermissionAssociationsWorkOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListResourceSharePermissionsInput

type ListResourceSharePermissionsInput struct {

	// Specifies the total number of results that you want included on each page
	// of the response. If you do not include this parameter, it defaults to a value
	// that is specific to the operation. If additional items exist beyond the number
	// you specify, the NextToken response element is returned with a value (not
	// null). Include the specified value as the NextToken request parameter in
	// the next call to the operation to get the next part of the results. Note
	// that the service might return fewer results than the maximum even when there
	// are more results available. You should check NextToken after every operation
	// to ensure that you receive all of the results.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// Specifies that you want to receive the next page of results. Valid only if
	// you received a NextToken response in the previous request. If you did, it
	// indicates that more output is available. Set this parameter to the value
	// provided by the previous call's NextToken response to request the next page
	// of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Specifies the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the resource share for which you want to retrieve the associated permissions.
	//
	// ResourceShareArn is a required field
	ResourceShareArn *string `locationName:"resourceShareArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListResourceSharePermissionsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListResourceSharePermissionsInput) SetMaxResults

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListResourceSharePermissionsInput) Validate

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

type ListResourceSharePermissionsOutput

type ListResourceSharePermissionsOutput struct {

	// If present, this value indicates that more output is available than is included
	// in the current response. Use this value in the NextToken request parameter
	// in a subsequent call to the operation to get the next part of the output.
	// You should repeat this until the NextToken response element comes back as
	// null. This indicates that this is the last page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// An array of objects that describe 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListResourceSharePermissionsOutput) SetNextToken

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListResourceTypesInput

type ListResourceTypesInput struct {

	// Specifies the total number of results that you want included on each page
	// of the response. If you do not include this parameter, it defaults to a value
	// that is specific to the operation. If additional items exist beyond the number
	// you specify, the NextToken response element is returned with a value (not
	// null). Include the specified value as the NextToken request parameter in
	// the next call to the operation to get the next part of the results. Note
	// that the service might return fewer results than the maximum even when there
	// are more results available. You should check NextToken after every operation
	// to ensure that you receive all of the results.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// Specifies that you want to receive the next page of results. Valid only if
	// you received a NextToken response in the previous request. If you did, it
	// indicates that more output is available. Set this parameter to the value
	// provided by the previous call's NextToken response to request the next page
	// of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Specifies that you want the results to include only resources that have the
	// specified scope.
	//
	//    * ALL – the results include both global and regional resources or resource
	//    types.
	//
	//    * GLOBAL – the results include only global resources or resource types.
	//
	//    * REGIONAL – the results include only regional resources or resource
	//    types.
	//
	// The default value is ALL.
	ResourceRegionScope *string `locationName:"resourceRegionScope" type:"string" enum:"ResourceRegionScopeFilter"`
	// contains filtered or unexported fields
}

func (ListResourceTypesInput) GoString

func (s ListResourceTypesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListResourceTypesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListResourceTypesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListResourceTypesInput) SetResourceRegionScope

func (s *ListResourceTypesInput) SetResourceRegionScope(v string) *ListResourceTypesInput

SetResourceRegionScope sets the ResourceRegionScope field's value.

func (ListResourceTypesInput) String

func (s ListResourceTypesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListResourceTypesInput) Validate

func (s *ListResourceTypesInput) Validate() error

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

type ListResourceTypesOutput

type ListResourceTypesOutput struct {

	// If present, this value indicates that more output is available than is included
	// in the current response. Use this value in the NextToken request parameter
	// in a subsequent call to the operation to get the next part of the output.
	// You should repeat this until the NextToken response element comes back as
	// null. This indicates that this is the last page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// An array of objects that contain information about the resource types that
	// can be shared using RAM.
	ResourceTypes []*ServiceNameAndResourceType `locationName:"resourceTypes" type:"list"`
	// contains filtered or unexported fields
}

func (ListResourceTypesOutput) GoString

func (s ListResourceTypesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListResourceTypesOutput) SetNextToken

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListResourcesInput

type ListResourcesInput struct {

	// Specifies the total number of results that you want included on each page
	// of the response. If you do not include this parameter, it defaults to a value
	// that is specific to the operation. If additional items exist beyond the number
	// you specify, the NextToken response element is returned with a value (not
	// null). Include the specified value as the NextToken request parameter in
	// the next call to the operation to get the next part of the results. Note
	// that the service might return fewer results than the maximum even when there
	// are more results available. You should check NextToken after every operation
	// to ensure that you receive all of the results.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// Specifies that you want to receive the next page of results. Valid only if
	// you received a NextToken response in the previous request. If you did, it
	// indicates that more output is available. Set this parameter to the value
	// provided by the previous call's NextToken response to request the next page
	// of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Specifies that you want to list only the resource shares that are associated
	// with the specified principal.
	Principal *string `locationName:"principal" type:"string"`

	// Specifies that you want to list only the resource shares that include resources
	// with the specified Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
	ResourceArns []*string `locationName:"resourceArns" type:"list"`

	// Specifies that you want to list only the resource shares that match the following:
	//
	//    * SELF – resources that your account shares with other accounts
	//
	//    * OTHER-ACCOUNTS – resources that other accounts share with your account
	//
	// ResourceOwner is a required field
	ResourceOwner *string `locationName:"resourceOwner" type:"string" required:"true" enum:"ResourceOwner"`

	// Specifies that you want the results to include only resources that have the
	// specified scope.
	//
	//    * ALL – the results include both global and regional resources or resource
	//    types.
	//
	//    * GLOBAL – the results include only global resources or resource types.
	//
	//    * REGIONAL – the results include only regional resources or resource
	//    types.
	//
	// The default value is ALL.
	ResourceRegionScope *string `locationName:"resourceRegionScope" type:"string" enum:"ResourceRegionScopeFilter"`

	// Specifies that you want to list only resources in the resource shares identified
	// by the specified Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
	ResourceShareArns []*string `locationName:"resourceShareArns" type:"list"`

	// Specifies that you want to list only the resource shares that include resources
	// of the specified resource type.
	//
	// For valid values, query the ListResourceTypes operation.
	ResourceType *string `locationName:"resourceType" type:"string"`
	// contains filtered or unexported fields
}

func (ListResourcesInput) GoString

func (s ListResourcesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListResourcesInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListResourcesInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListResourcesInput) SetPrincipal

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

SetPrincipal sets the Principal field's value.

func (*ListResourcesInput) SetResourceArns

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

SetResourceArns sets the ResourceArns field's value.

func (*ListResourcesInput) SetResourceOwner

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

SetResourceOwner sets the ResourceOwner field's value.

func (*ListResourcesInput) SetResourceRegionScope

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

SetResourceRegionScope sets the ResourceRegionScope field's value.

func (*ListResourcesInput) SetResourceShareArns

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

SetResourceShareArns sets the ResourceShareArns field's value.

func (*ListResourcesInput) SetResourceType

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

SetResourceType sets the ResourceType field's value.

func (ListResourcesInput) String

func (s ListResourcesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListResourcesInput) Validate

func (s *ListResourcesInput) Validate() error

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

type ListResourcesOutput

type ListResourcesOutput struct {

	// If present, this value indicates that more output is available than is included
	// in the current response. Use this value in the NextToken request parameter
	// in a subsequent call to the operation to get the next part of the output.
	// You should repeat this until the NextToken response element comes back as
	// null. This indicates that this is the last page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// An array of objects that contain information about the resources.
	Resources []*Resource `locationName:"resources" type:"list"`
	// contains filtered or unexported fields
}

func (ListResourcesOutput) GoString

func (s ListResourcesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListResourcesOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListResourcesOutput) SetResources

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

SetResources sets the Resources field's value.

func (ListResourcesOutput) String

func (s ListResourcesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MalformedArnException

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

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

The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MalformedArnException) Message

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MalformedPolicyTemplateException

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

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

The operation failed because the policy template that you provided isn't valid.

func (*MalformedPolicyTemplateException) Code

Code returns the exception type name.

func (*MalformedPolicyTemplateException) Error

func (MalformedPolicyTemplateException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MalformedPolicyTemplateException) Message

Message returns the exception's message.

func (*MalformedPolicyTemplateException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*MalformedPolicyTemplateException) RequestID

RequestID returns the service's response RequestID for request.

func (*MalformedPolicyTemplateException) StatusCode

func (s *MalformedPolicyTemplateException) StatusCode() int

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

func (MalformedPolicyTemplateException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type MissingRequiredParameterException

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

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

The operation failed because 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*MissingRequiredParameterException) Message

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type OperationNotPermittedException

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

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

The operation failed because the requested operation isn't permitted.

func (*OperationNotPermittedException) Code

Code returns the exception type name.

func (*OperationNotPermittedException) Error

func (OperationNotPermittedException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PermissionAlreadyExistsException

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

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

The operation failed because a permission with the specified name already exists in the requested Amazon Web Services Region. Choose a different name.

func (*PermissionAlreadyExistsException) Code

Code returns the exception type name.

func (*PermissionAlreadyExistsException) Error

func (PermissionAlreadyExistsException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PermissionAlreadyExistsException) Message

Message returns the exception's message.

func (*PermissionAlreadyExistsException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*PermissionAlreadyExistsException) RequestID

RequestID returns the service's response RequestID for request.

func (*PermissionAlreadyExistsException) StatusCode

func (s *PermissionAlreadyExistsException) StatusCode() int

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

func (PermissionAlreadyExistsException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PermissionLimitExceededException

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

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

The operation failed because it would exceed the maximum number of permissions you can create in each Amazon Web Services Region. To view the limits for your Amazon Web Services account, see the RAM page in the Service Quotas console (https://console.aws.amazon.com/servicequotas/home/services/ram/quotas).

func (*PermissionLimitExceededException) Code

Code returns the exception type name.

func (*PermissionLimitExceededException) Error

func (PermissionLimitExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PermissionLimitExceededException) Message

Message returns the exception's message.

func (*PermissionLimitExceededException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*PermissionLimitExceededException) RequestID

RequestID returns the service's response RequestID for request.

func (*PermissionLimitExceededException) StatusCode

func (s *PermissionLimitExceededException) StatusCode() int

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

func (PermissionLimitExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PermissionVersionsLimitExceededException

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

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

The operation failed because it would exceed the limit for the number of versions you can have for a permission. To view the limits for your Amazon Web Services account, see the RAM page in the Service Quotas console (https://console.aws.amazon.com/servicequotas/home/services/ram/quotas).

func (*PermissionVersionsLimitExceededException) Code

Code returns the exception type name.

func (*PermissionVersionsLimitExceededException) Error

func (PermissionVersionsLimitExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PermissionVersionsLimitExceededException) Message

Message returns the exception's message.

func (*PermissionVersionsLimitExceededException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*PermissionVersionsLimitExceededException) RequestID

RequestID returns the service's response RequestID for request.

func (*PermissionVersionsLimitExceededException) StatusCode

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

func (PermissionVersionsLimitExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Principal

type Principal struct {

	// The date and time when the principal was associated with the resource share.
	CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`

	// Indicates the relationship between the Amazon Web Services account the principal
	// belongs to and the account that owns the resource share:
	//
	//    * True – The two accounts belong to same organization.
	//
	//    * False – The two accounts do not belong to the same organization.
	External *bool `locationName:"external" type:"boolean"`

	// The ID of the principal that can be associated with a resource share.
	Id *string `locationName:"id" type:"string"`

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

	// The Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of a resource share the principal is associated with.
	ResourceShareArn *string `locationName:"resourceShareArn" type:"string"`
	// contains filtered or unexported fields
}

Describes a principal for use with Resource Access Manager.

func (Principal) GoString

func (s Principal) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PromotePermissionCreatedFromPolicyInput

type PromotePermissionCreatedFromPolicyInput struct {

	// Specifies a unique, case-sensitive identifier that you provide to ensure
	// the idempotency of the request. This lets you safely retry the request without
	// accidentally performing the same operation a second time. Passing the same
	// value to a later call to an operation requires that you also pass the same
	// value for all other parameters. We recommend that you use a UUID type of
	// value. (https://wikipedia.org/wiki/Universally_unique_identifier).
	//
	// If you don't provide this value, then Amazon Web Services generates a random
	// one for you.
	//
	// If you retry the operation with the same ClientToken, but with different
	// parameters, the retry fails with an IdempotentParameterMismatch error.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// Specifies a name for the promoted customer managed permission.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`

	// Specifies the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the CREATED_FROM_POLICY permission that you want to promote. You can get
	// this Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// by calling the ListResourceSharePermissions operation.
	//
	// PermissionArn is a required field
	PermissionArn *string `locationName:"permissionArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PromotePermissionCreatedFromPolicyInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PromotePermissionCreatedFromPolicyInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*PromotePermissionCreatedFromPolicyInput) SetName

SetName sets the Name field's value.

func (*PromotePermissionCreatedFromPolicyInput) SetPermissionArn

SetPermissionArn sets the PermissionArn field's value.

func (PromotePermissionCreatedFromPolicyInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PromotePermissionCreatedFromPolicyInput) Validate

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

type PromotePermissionCreatedFromPolicyOutput

type PromotePermissionCreatedFromPolicyOutput struct {

	// The idempotency identifier associated with this request. If you want to repeat
	// the same operation in an idempotent manner then you must include this value
	// in the clientToken request parameter of that later call. All other parameters
	// must also have the same values that you used in the first call.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// Information about an RAM permission.
	Permission *ResourceSharePermissionSummary `locationName:"permission" type:"structure"`
	// contains filtered or unexported fields
}

func (PromotePermissionCreatedFromPolicyOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PromotePermissionCreatedFromPolicyOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*PromotePermissionCreatedFromPolicyOutput) SetPermission

SetPermission sets the Permission field's value.

func (PromotePermissionCreatedFromPolicyOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PromoteResourceShareCreatedFromPolicyInput

type PromoteResourceShareCreatedFromPolicyInput struct {

	// Specifies the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PromoteResourceShareCreatedFromPolicyInput) SetResourceShareArn

SetResourceShareArn sets the ResourceShareArn field's value.

func (PromoteResourceShareCreatedFromPolicyInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PromoteResourceShareCreatedFromPolicyInput) Validate

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

type PromoteResourceShareCreatedFromPolicyOutput

type PromoteResourceShareCreatedFromPolicyOutput struct {

	// A return value of true indicates that the request succeeded. A value of false
	// indicates that the request failed.
	ReturnValue *bool `locationName:"returnValue" type:"boolean"`
	// contains filtered or unexported fields
}

func (PromoteResourceShareCreatedFromPolicyOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PromoteResourceShareCreatedFromPolicyOutput) SetReturnValue

SetReturnValue sets the ReturnValue field's value.

func (PromoteResourceShareCreatedFromPolicyOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RAM

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 Amazon Web Services account. After you accept the invitation, the resources included in the resource share are available to interact with in the relevant Amazon Web Services Management Consoles and tools.

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

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

Returned Error Types:

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • OperationNotPermittedException The operation failed because the requested operation isn't permitted.

  • ResourceShareInvitationArnNotFoundException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) for an invitation was not found.

  • ResourceShareInvitationAlreadyAcceptedException The operation failed because the specified invitation was already accepted.

  • ResourceShareInvitationAlreadyRejectedException The operation failed because the specified invitation was already rejected.

  • ResourceShareInvitationExpiredException The operation failed because the specified invitation is past its expiration date and time.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

  • InvalidClientTokenException The operation failed because the specified client token isn't valid.

  • IdempotentParameterMismatchException The operation failed because the client token input parameter matched one that was used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.

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

func (*RAM) AcceptResourceShareInvitationRequest

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

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

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

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

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

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

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

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

func (*RAM) AcceptResourceShareInvitationWithContext

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

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

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

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

func (*RAM) AssociateResourceShare

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

AssociateResourceShare API operation for AWS Resource Access Manager.

Adds the specified list of principals and list of resources to a resource share. Principals that already have access to this resource share immediately receive access to the added resources. Newly added principals immediately receive access to the resources shared in this resource share.

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

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

Returned Error Types:

  • IdempotentParameterMismatchException The operation failed because the client token input parameter matched one that was used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.

  • UnknownResourceException The operation failed because a specified resource couldn't be found.

  • InvalidStateTransitionException The operation failed because the requested operation isn't valid for the resource share in its current state.

  • ResourceShareLimitExceededException The operation failed because it would exceed the limit for resource shares for your account. To view the limits for your Amazon Web Services account, see the RAM page in the Service Quotas console (https://console.aws.amazon.com/servicequotas/home/services/ram/quotas).

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • InvalidStateTransitionException The operation failed because the requested operation isn't valid for the resource share in its current state.

  • InvalidClientTokenException The operation failed because the specified client token isn't valid.

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • OperationNotPermittedException The operation failed because the requested operation isn't permitted.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

  • UnknownResourceException The operation failed because a specified resource couldn't be found.

  • ThrottlingException The operation failed because it exceeded the rate at which you are allowed to perform this operation. Please try again later.

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

func (*RAM) AssociateResourceSharePermission

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

AssociateResourceSharePermission API operation for AWS Resource Access Manager.

Adds or replaces the RAM permission for a resource type included in a resource share. You can have exactly one permission associated with each resource type in the resource share. You can add a new RAM permission only if there are currently no resources of that resource type currently in the resource share.

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

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

Returned Error Types:

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • UnknownResourceException The operation failed because a specified resource couldn't be found.

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • InvalidClientTokenException The operation failed because the specified client token isn't valid.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

  • OperationNotPermittedException The operation failed because the requested operation isn't 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) CreatePermission

func (c *RAM) CreatePermission(input *CreatePermissionInput) (*CreatePermissionOutput, error)

CreatePermission API operation for AWS Resource Access Manager.

Creates a customer managed permission for a specified resource type that you can attach to resource shares. It is created in the Amazon Web Services Region in which you call the operation.

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 CreatePermission for usage and error information.

Returned Error Types:

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • InvalidPolicyException The operation failed because a policy you specified isn't valid.

  • OperationNotPermittedException The operation failed because the requested operation isn't permitted.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

  • PermissionAlreadyExistsException The operation failed because a permission with the specified name already exists in the requested Amazon Web Services Region. Choose a different name.

  • MalformedPolicyTemplateException The operation failed because the policy template that you provided isn't valid.

  • InvalidClientTokenException The operation failed because the specified client token isn't valid.

  • PermissionLimitExceededException The operation failed because it would exceed the maximum number of permissions you can create in each Amazon Web Services Region. To view the limits for your Amazon Web Services account, see the RAM page in the Service Quotas console (https://console.aws.amazon.com/servicequotas/home/services/ram/quotas).

  • IdempotentParameterMismatchException The operation failed because the client token input parameter matched one that was used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.

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

func (*RAM) CreatePermissionRequest

func (c *RAM) CreatePermissionRequest(input *CreatePermissionInput) (req *request.Request, output *CreatePermissionOutput)

CreatePermissionRequest generates a "aws/request.Request" representing the client's request for the CreatePermission 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 CreatePermission for more information on using the CreatePermission 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 CreatePermissionRequest method.
req, resp := client.CreatePermissionRequest(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/CreatePermission

func (*RAM) CreatePermissionVersion

func (c *RAM) CreatePermissionVersion(input *CreatePermissionVersionInput) (*CreatePermissionVersionOutput, error)

CreatePermissionVersion API operation for AWS Resource Access Manager.

Creates a new version of the specified customer managed permission. The new version is automatically set as the default version of the customer managed permission. New resource shares automatically use the default permission. Existing resource shares continue to use their original permission versions, but you can use ReplacePermissionAssociations to update them.

If the specified customer managed permission already has the maximum of 5 versions, then you must delete one of the existing versions before you can create a new one.

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 CreatePermissionVersion for usage and error information.

Returned Error Types:

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • InvalidPolicyException The operation failed because a policy you specified isn't valid.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

  • UnknownResourceException The operation failed because a specified resource couldn't be found.

  • MalformedPolicyTemplateException The operation failed because the policy template that you provided isn't valid.

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • InvalidClientTokenException The operation failed because the specified client token isn't valid.

  • IdempotentParameterMismatchException The operation failed because the client token input parameter matched one that was used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.

  • PermissionVersionsLimitExceededException The operation failed because it would exceed the limit for the number of versions you can have for a permission. To view the limits for your Amazon Web Services account, see the RAM page in the Service Quotas console (https://console.aws.amazon.com/servicequotas/home/services/ram/quotas).

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

func (*RAM) CreatePermissionVersionRequest

func (c *RAM) CreatePermissionVersionRequest(input *CreatePermissionVersionInput) (req *request.Request, output *CreatePermissionVersionOutput)

CreatePermissionVersionRequest generates a "aws/request.Request" representing the client's request for the CreatePermissionVersion 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 CreatePermissionVersion for more information on using the CreatePermissionVersion 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 CreatePermissionVersionRequest method.
req, resp := client.CreatePermissionVersionRequest(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/CreatePermissionVersion

func (*RAM) CreatePermissionVersionWithContext

func (c *RAM) CreatePermissionVersionWithContext(ctx aws.Context, input *CreatePermissionVersionInput, opts ...request.Option) (*CreatePermissionVersionOutput, error)

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

See CreatePermissionVersion 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) CreatePermissionWithContext

func (c *RAM) CreatePermissionWithContext(ctx aws.Context, input *CreatePermissionInput, opts ...request.Option) (*CreatePermissionOutput, error)

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

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

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

func (*RAM) CreateResourceShare

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

CreateResourceShare API operation for AWS Resource Access Manager.

Creates a resource share. You can provide a list of the Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) for the resources that you want to share, a list of principals you want to share the resources with, and the permissions to grant those principals.

Sharing a resource makes it available for use by principals outside of the Amazon Web Services account that created the resource. Sharing doesn't change any permissions or quotas that apply to the resource in the account that created it.

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

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

Returned Error Types:

  • IdempotentParameterMismatchException The operation failed because the client token input parameter matched one that was used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.

  • InvalidStateTransitionException The operation failed because the requested operation isn't valid for the resource share in its current state.

  • UnknownResourceException The operation failed because a specified resource couldn't be found.

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • InvalidClientTokenException The operation failed because the specified client token isn't valid.

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • OperationNotPermittedException The operation failed because the requested operation isn't permitted.

  • ResourceShareLimitExceededException The operation failed because it would exceed the limit for resource shares for your account. To view the limits for your Amazon Web Services account, see the RAM page in the Service Quotas console (https://console.aws.amazon.com/servicequotas/home/services/ram/quotas).

  • TagPolicyViolationException The operation failed because the specified tag key is a reserved word and can't be used.

  • TagLimitExceededException The operation failed because it would exceed the limit for tags for your Amazon Web Services account.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

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

func (c *RAM) DeletePermission(input *DeletePermissionInput) (*DeletePermissionOutput, error)

DeletePermission API operation for AWS Resource Access Manager.

Deletes the specified customer managed permission in the Amazon Web Services Region in which you call this operation. You can delete a customer managed permission only if it isn't attached to any resource share. The operation deletes all versions associated with the customer managed permission.

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

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

Returned Error Types:

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

  • OperationNotPermittedException The operation failed because the requested operation isn't permitted.

  • UnknownResourceException The operation failed because a specified resource couldn't be found.

  • InvalidClientTokenException The operation failed because the specified client token isn't valid.

  • IdempotentParameterMismatchException The operation failed because the client token input parameter matched one that was used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.

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

func (*RAM) DeletePermissionRequest

func (c *RAM) DeletePermissionRequest(input *DeletePermissionInput) (req *request.Request, output *DeletePermissionOutput)

DeletePermissionRequest generates a "aws/request.Request" representing the client's request for the DeletePermission 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 DeletePermission for more information on using the DeletePermission 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 DeletePermissionRequest method.
req, resp := client.DeletePermissionRequest(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/DeletePermission

func (*RAM) DeletePermissionVersion

func (c *RAM) DeletePermissionVersion(input *DeletePermissionVersionInput) (*DeletePermissionVersionOutput, error)

DeletePermissionVersion API operation for AWS Resource Access Manager.

Deletes one version of a customer managed permission. The version you specify must not be attached to any resource share and must not be the default version for the permission.

If a customer managed permission has the maximum of 5 versions, then you must delete at least one version before you can create another.

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 DeletePermissionVersion for usage and error information.

Returned Error Types:

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

  • OperationNotPermittedException The operation failed because the requested operation isn't permitted.

  • UnknownResourceException The operation failed because a specified resource couldn't be found.

  • InvalidClientTokenException The operation failed because the specified client token isn't valid.

  • IdempotentParameterMismatchException The operation failed because the client token input parameter matched one that was used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.

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

func (*RAM) DeletePermissionVersionRequest

func (c *RAM) DeletePermissionVersionRequest(input *DeletePermissionVersionInput) (req *request.Request, output *DeletePermissionVersionOutput)

DeletePermissionVersionRequest generates a "aws/request.Request" representing the client's request for the DeletePermissionVersion 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 DeletePermissionVersion for more information on using the DeletePermissionVersion 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 DeletePermissionVersionRequest method.
req, resp := client.DeletePermissionVersionRequest(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/DeletePermissionVersion

func (*RAM) DeletePermissionVersionWithContext

func (c *RAM) DeletePermissionVersionWithContext(ctx aws.Context, input *DeletePermissionVersionInput, opts ...request.Option) (*DeletePermissionVersionOutput, error)

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

See DeletePermissionVersion 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) DeletePermissionWithContext

func (c *RAM) DeletePermissionWithContext(ctx aws.Context, input *DeletePermissionInput, opts ...request.Option) (*DeletePermissionOutput, error)

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

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

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

func (*RAM) DeleteResourceShare

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

DeleteResourceShare API operation for AWS Resource Access Manager.

Deletes the specified resource share.

This doesn't delete any of the resources that were associated with the resource share; it only stops the sharing of those resources through this resource share.

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

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

Returned Error Types:

  • OperationNotPermittedException The operation failed because the requested operation isn't permitted.

  • IdempotentParameterMismatchException The operation failed because the client token input parameter matched one that was used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.

  • InvalidStateTransitionException The operation failed because the requested operation isn't valid for the resource share in its current state.

  • UnknownResourceException The operation failed because a specified resource couldn't be found.

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • InvalidClientTokenException The operation failed because the specified client token isn't valid.

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

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.

Removes the specified principals or resources from participating in the specified resource share.

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

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

Returned Error Types:

  • IdempotentParameterMismatchException The operation failed because the client token input parameter matched one that was used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.

  • ResourceShareLimitExceededException The operation failed because it would exceed the limit for resource shares for your account. To view the limits for your Amazon Web Services account, see the RAM page in the Service Quotas console (https://console.aws.amazon.com/servicequotas/home/services/ram/quotas).

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • InvalidStateTransitionException The operation failed because the requested operation isn't valid for the resource share in its current state.

  • InvalidClientTokenException The operation failed because the specified client token isn't valid.

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • OperationNotPermittedException The operation failed because the requested operation isn't permitted.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

  • UnknownResourceException The operation failed because a specified resource couldn't be 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.

Removes a managed permission from a resource share. Permission changes take effect immediately. You can remove a managed permission from a resource share only if there are currently no resources of the relevant resource type currently attached to the resource share.

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

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

Returned Error Types:

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • UnknownResourceException The operation failed because a specified resource couldn't be found.

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • InvalidClientTokenException The operation failed because the specified client token isn't valid.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

  • OperationNotPermittedException The operation failed because the requested operation isn't permitted.

  • InvalidStateTransitionException The operation failed because the requested operation isn't valid for the resource share in its current state.

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 organization in Organizations. This operation creates a service-linked role called AWSServiceRoleForResourceAccessManager that has the IAM managed policy named AWSResourceAccessManagerServiceRolePolicy attached. This role permits RAM to retrieve information about the organization and its structure. This lets you share resources with all of the accounts in the calling account's organization by specifying the organization ID, or all of the accounts in an organizational unit (OU) by specifying the OU ID. Until you enable sharing within the organization, you can specify only individual Amazon Web Services accounts, or for supported resource types, IAM roles and users.

You must call this operation from an IAM role or user in the organization's management account.

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

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

Returned Error Types:

  • OperationNotPermittedException The operation failed because the requested operation isn't permitted.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

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.

Retrieves the contents of a managed 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 The operation failed because a parameter you specified isn't valid.

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • UnknownResourceException The operation failed because a specified resource couldn't be found.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

  • OperationNotPermittedException The operation failed because the requested operation isn't 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.

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

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

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

Returned Error Types:

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • InvalidNextTokenException The operation failed because the specified value for NextToken isn't valid. You must specify a value you received in the NextToken response of a previous call to this operation.

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • ResourceArnNotFoundException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) was not found.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

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

func (*RAM) GetResourcePoliciesPages

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

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

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

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

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

func (*RAM) GetResourcePoliciesPagesWithContext

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

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

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

func (*RAM) GetResourcePoliciesRequest

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

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

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

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

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

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

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

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

func (*RAM) GetResourcePoliciesWithContext

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

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

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

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

func (*RAM) GetResourceShareAssociations

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

GetResourceShareAssociations API operation for AWS Resource Access Manager.

Retrieves the lists of resources and principals that associated for resource shares that you own.

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

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

Returned Error Types:

  • UnknownResourceException The operation failed because a specified resource couldn't be found.

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • InvalidNextTokenException The operation failed because the specified value for NextToken isn't valid. You must specify a value you received in the NextToken response of a previous call to this operation.

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • OperationNotPermittedException The operation failed because the requested operation isn't permitted.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

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

func (*RAM) GetResourceShareAssociationsPages

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

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

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

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

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

func (*RAM) GetResourceShareAssociationsPagesWithContext

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

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

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

func (*RAM) GetResourceShareAssociationsRequest

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

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

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

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

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

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

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

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

func (*RAM) GetResourceShareAssociationsWithContext

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

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

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

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

func (*RAM) GetResourceShareInvitations

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

GetResourceShareInvitations API operation for AWS Resource Access Manager.

Retrieves details about invitations that you have received for resource shares.

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

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

Returned Error Types:

  • ResourceShareInvitationArnNotFoundException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) for an invitation was not found.

  • InvalidMaxResultsException The operation failed because the specified value for MaxResults isn't valid.

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • UnknownResourceException The operation failed because a specified resource couldn't be found.

  • InvalidNextTokenException The operation failed because the specified value for NextToken isn't valid. You must specify a value you received in the NextToken response of a previous call to this operation.

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

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

func (*RAM) GetResourceShareInvitationsPages

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

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

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

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

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

func (*RAM) GetResourceShareInvitationsPagesWithContext

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

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

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

func (*RAM) GetResourceShareInvitationsRequest

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

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

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

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

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

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

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

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

func (*RAM) GetResourceShareInvitationsWithContext

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

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

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

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

func (*RAM) GetResourceShares

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

GetResourceShares API operation for AWS Resource Access Manager.

Retrieves details about the resource shares that you own or that are shared with you.

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

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

Returned Error Types:

  • UnknownResourceException The operation failed because a specified resource couldn't be found.

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • InvalidNextTokenException The operation failed because the specified value for NextToken isn't valid. You must specify a value you received in the NextToken response of a previous call to this operation.

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

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 for which the invitation is still PENDING. That means that you haven't accepted or rejected the invitation and the invitation hasn't expired.

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

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

Returned Error Types:

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • InvalidNextTokenException The operation failed because the specified value for NextToken isn't valid. You must specify a value you received in the NextToken response of a previous call to this operation.

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

  • ResourceShareInvitationArnNotFoundException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) for an invitation was not found.

  • MissingRequiredParameterException The operation failed because a required input parameter is missing.

  • ResourceShareInvitationAlreadyRejectedException The operation failed because the specified invitation was already rejected.

  • ResourceShareInvitationExpiredException The operation failed because the specified invitation is past its expiration date and time.

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

func (c *RAM) ListPermissionAssociations(input *ListPermissionAssociationsInput) (*ListPermissionAssociationsOutput, error)

ListPermissionAssociations API operation for AWS Resource Access Manager.

Lists information about the managed permission and its associations to any resource shares that use this managed permission. This lets you see which resource shares use which versions of the specified managed permission.

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

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

Returned Error Types:

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • InvalidNextTokenException The operation failed because the specified value for NextToken isn't valid. You must specify a value you received in the NextToken response of a previous call to this operation.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

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

func (*RAM) ListPermissionAssociationsPages

func (c *RAM) ListPermissionAssociationsPages(input *ListPermissionAssociationsInput, fn func(*ListPermissionAssociationsOutput, bool) bool) error

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

See ListPermissionAssociations 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 ListPermissionAssociations operation.
pageNum := 0
err := client.ListPermissionAssociationsPages(params,
    func(page *ram.ListPermissionAssociationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*RAM) ListPermissionAssociationsPagesWithContext

func (c *RAM) ListPermissionAssociationsPagesWithContext(ctx aws.Context, input *ListPermissionAssociationsInput, fn func(*ListPermissionAssociationsOutput, bool) bool, opts ...request.Option) error

ListPermissionAssociationsPagesWithContext same as ListPermissionAssociationsPages 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) ListPermissionAssociationsRequest

func (c *RAM) ListPermissionAssociationsRequest(input *ListPermissionAssociationsInput) (req *request.Request, output *ListPermissionAssociationsOutput)

ListPermissionAssociationsRequest generates a "aws/request.Request" representing the client's request for the ListPermissionAssociations 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 ListPermissionAssociations for more information on using the ListPermissionAssociations 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 ListPermissionAssociationsRequest method.
req, resp := client.ListPermissionAssociationsRequest(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/ListPermissionAssociations

func (*RAM) ListPermissionAssociationsWithContext

func (c *RAM) ListPermissionAssociationsWithContext(ctx aws.Context, input *ListPermissionAssociationsInput, opts ...request.Option) (*ListPermissionAssociationsOutput, error)

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

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

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

func (*RAM) ListPermissionVersions

func (c *RAM) ListPermissionVersions(input *ListPermissionVersionsInput) (*ListPermissionVersionsOutput, error)

ListPermissionVersions API operation for AWS Resource Access Manager.

Lists the available versions of the specified RAM permission.

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

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

Returned Error Types:

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • UnknownResourceException The operation failed because a specified resource couldn't be found.

  • InvalidNextTokenException The operation failed because the specified value for NextToken isn't valid. You must specify a value you received in the NextToken response of a previous call to this operation.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

  • OperationNotPermittedException The operation failed because the requested operation isn't permitted.

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

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

func (*RAM) ListPermissionVersionsPages

func (c *RAM) ListPermissionVersionsPages(input *ListPermissionVersionsInput, fn func(*ListPermissionVersionsOutput, bool) bool) error

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

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

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

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

func (*RAM) ListPermissionVersionsPagesWithContext

func (c *RAM) ListPermissionVersionsPagesWithContext(ctx aws.Context, input *ListPermissionVersionsInput, fn func(*ListPermissionVersionsOutput, bool) bool, opts ...request.Option) error

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

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

func (*RAM) ListPermissionVersionsRequest

func (c *RAM) ListPermissionVersionsRequest(input *ListPermissionVersionsInput) (req *request.Request, output *ListPermissionVersionsOutput)

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

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

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

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

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

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

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

func (*RAM) ListPermissionVersionsWithContext

func (c *RAM) ListPermissionVersionsWithContext(ctx aws.Context, input *ListPermissionVersionsInput, opts ...request.Option) (*ListPermissionVersionsOutput, error)

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

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

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

func (*RAM) ListPermissions

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

ListPermissions API operation for AWS Resource Access Manager.

Retrieves a list of available RAM permissions that you can use for the supported resource types.

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

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

Returned Error Types:

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • InvalidNextTokenException The operation failed because the specified value for NextToken isn't valid. You must specify a value you received in the NextToken response of a previous call to this operation.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

  • OperationNotPermittedException The operation failed because the requested operation isn't permitted.

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

func (*RAM) ListPermissionsPages

func (c *RAM) ListPermissionsPages(input *ListPermissionsInput, fn func(*ListPermissionsOutput, bool) bool) error

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

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

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

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

func (*RAM) ListPermissionsPagesWithContext

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

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

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

func (*RAM) ListPermissionsRequest

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 are sharing resources with or that are sharing resources with you.

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

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

Returned Error Types:

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • UnknownResourceException The operation failed because a specified resource couldn't be found.

  • InvalidNextTokenException The operation failed because the specified value for NextToken isn't valid. You must specify a value you received in the NextToken response of a previous call to this operation.

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

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

func (c *RAM) ListReplacePermissionAssociationsWork(input *ListReplacePermissionAssociationsWorkInput) (*ListReplacePermissionAssociationsWorkOutput, error)

ListReplacePermissionAssociationsWork API operation for AWS Resource Access Manager.

Retrieves the current status of the asynchronous tasks performed by RAM when you perform the ReplacePermissionAssociationsWork operation.

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 ListReplacePermissionAssociationsWork for usage and error information.

Returned Error Types:

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

  • InvalidNextTokenException The operation failed because the specified value for NextToken isn't valid. You must specify a value you received in the NextToken response of a previous call to this operation.

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

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

func (*RAM) ListReplacePermissionAssociationsWorkPages

func (c *RAM) ListReplacePermissionAssociationsWorkPages(input *ListReplacePermissionAssociationsWorkInput, fn func(*ListReplacePermissionAssociationsWorkOutput, bool) bool) error

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

See ListReplacePermissionAssociationsWork 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 ListReplacePermissionAssociationsWork operation.
pageNum := 0
err := client.ListReplacePermissionAssociationsWorkPages(params,
    func(page *ram.ListReplacePermissionAssociationsWorkOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*RAM) ListReplacePermissionAssociationsWorkPagesWithContext

func (c *RAM) ListReplacePermissionAssociationsWorkPagesWithContext(ctx aws.Context, input *ListReplacePermissionAssociationsWorkInput, fn func(*ListReplacePermissionAssociationsWorkOutput, bool) bool, opts ...request.Option) error

ListReplacePermissionAssociationsWorkPagesWithContext same as ListReplacePermissionAssociationsWorkPages 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) ListReplacePermissionAssociationsWorkRequest

func (c *RAM) ListReplacePermissionAssociationsWorkRequest(input *ListReplacePermissionAssociationsWorkInput) (req *request.Request, output *ListReplacePermissionAssociationsWorkOutput)

ListReplacePermissionAssociationsWorkRequest generates a "aws/request.Request" representing the client's request for the ListReplacePermissionAssociationsWork 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 ListReplacePermissionAssociationsWork for more information on using the ListReplacePermissionAssociationsWork 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 ListReplacePermissionAssociationsWorkRequest method.
req, resp := client.ListReplacePermissionAssociationsWorkRequest(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/ListReplacePermissionAssociationsWork

func (*RAM) ListReplacePermissionAssociationsWorkWithContext

func (c *RAM) ListReplacePermissionAssociationsWorkWithContext(ctx aws.Context, input *ListReplacePermissionAssociationsWorkInput, opts ...request.Option) (*ListReplacePermissionAssociationsWorkOutput, error)

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

See ListReplacePermissionAssociationsWork 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 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 The operation failed because a parameter you specified isn't valid.

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • UnknownResourceException The operation failed because a specified resource couldn't be found.

  • InvalidNextTokenException The operation failed because the specified value for NextToken isn't valid. You must specify a value you received in the NextToken response of a previous call to this operation.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

  • OperationNotPermittedException The operation failed because the requested operation isn't permitted.

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

func (*RAM) ListResourceSharePermissionsPages

func (c *RAM) ListResourceSharePermissionsPages(input *ListResourceSharePermissionsInput, fn func(*ListResourceSharePermissionsOutput, bool) bool) error

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

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

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

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

func (*RAM) ListResourceSharePermissionsPagesWithContext

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

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

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

func (*RAM) ListResourceSharePermissionsRequest

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 resource types that can be shared by RAM.

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

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

Returned Error Types:

  • InvalidNextTokenException The operation failed because the specified value for NextToken isn't valid. You must specify a value you received in the NextToken response of a previous call to this operation.

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

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

func (*RAM) ListResourceTypesPages

func (c *RAM) ListResourceTypesPages(input *ListResourceTypesInput, fn func(*ListResourceTypesOutput, bool) bool) error

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

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

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

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

func (*RAM) ListResourceTypesPagesWithContext

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

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

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

func (*RAM) ListResourceTypesRequest

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 share or the resources that are shared with you.

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

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

Returned Error Types:

  • InvalidResourceTypeException The operation failed because the specified resource type isn't valid.

  • UnknownResourceException The operation failed because a specified resource couldn't be found.

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • InvalidNextTokenException The operation failed because the specified value for NextToken isn't valid. You must specify a value you received in the NextToken response of a previous call to this operation.

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

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

func (c *RAM) PromotePermissionCreatedFromPolicy(input *PromotePermissionCreatedFromPolicyInput) (*PromotePermissionCreatedFromPolicyOutput, error)

PromotePermissionCreatedFromPolicy API operation for AWS Resource Access Manager.

When you attach a resource-based policy to a resource, RAM automatically creates a resource share of featureSet=CREATED_FROM_POLICY with a managed permission that has the same IAM permissions as the original resource-based policy. However, this type of managed permission is visible to only the resource share owner, and the associated resource share can't be modified by using RAM.

This operation creates a separate, fully manageable customer managed permission that has the same IAM permissions as the original resource-based policy. You can associate this customer managed permission to any resource shares.

Before you use PromoteResourceShareCreatedFromPolicy, you should first run this operation to ensure that you have an appropriate customer managed permission that can be associated with the promoted resource share.

  • The original CREATED_FROM_POLICY policy isn't deleted, and resource shares using that original policy aren't automatically updated.

  • You can't modify a CREATED_FROM_POLICY resource share so you can't associate the new customer managed permission by using ReplacePermsissionAssociations. However, if you use PromoteResourceShareCreatedFromPolicy, that operation automatically associates the fully manageable customer managed permission to the newly promoted STANDARD resource share.

  • After you promote a resource share, if the original CREATED_FROM_POLICY managed permission has no other associations to A resource share, then RAM automatically deletes it.

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

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

Returned Error Types:

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • OperationNotPermittedException The operation failed because the requested operation isn't permitted.

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • MissingRequiredParameterException The operation failed because a required input parameter is missing.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

  • UnknownResourceException The operation failed because a specified resource couldn't be found.

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

func (*RAM) PromotePermissionCreatedFromPolicyRequest

func (c *RAM) PromotePermissionCreatedFromPolicyRequest(input *PromotePermissionCreatedFromPolicyInput) (req *request.Request, output *PromotePermissionCreatedFromPolicyOutput)

PromotePermissionCreatedFromPolicyRequest generates a "aws/request.Request" representing the client's request for the PromotePermissionCreatedFromPolicy 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 PromotePermissionCreatedFromPolicy for more information on using the PromotePermissionCreatedFromPolicy 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 PromotePermissionCreatedFromPolicyRequest method.
req, resp := client.PromotePermissionCreatedFromPolicyRequest(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/PromotePermissionCreatedFromPolicy

func (*RAM) PromotePermissionCreatedFromPolicyWithContext

func (c *RAM) PromotePermissionCreatedFromPolicyWithContext(ctx aws.Context, input *PromotePermissionCreatedFromPolicyInput, opts ...request.Option) (*PromotePermissionCreatedFromPolicyOutput, error)

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

See PromotePermissionCreatedFromPolicy 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.

When you attach a resource-based policy to a resource, RAM automatically creates a resource share of featureSet=CREATED_FROM_POLICY with a managed permission that has the same IAM permissions as the original resource-based policy. However, this type of managed permission is visible to only the resource share owner, and the associated resource share can't be modified by using RAM.

This operation promotes the resource share to a STANDARD resource share that is fully manageable in RAM. When you promote a resource share, you can then manage the resource share in RAM and it becomes visible to all of the principals you shared it with.

Before you perform this operation, you should first run PromotePermissionCreatedFromPolicyto ensure that you have an appropriate customer managed permission that can be associated with this resource share after its is promoted. If this operation can't find a managed permission that exactly matches the existing CREATED_FROM_POLICY permission, then this operation fails.

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 operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • ResourceShareLimitExceededException The operation failed because it would exceed the limit for resource shares for your account. To view the limits for your Amazon Web Services account, see the RAM page in the Service Quotas console (https://console.aws.amazon.com/servicequotas/home/services/ram/quotas).

  • OperationNotPermittedException The operation failed because the requested operation isn't permitted.

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • MissingRequiredParameterException The operation failed because a required input parameter is missing.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

  • UnknownResourceException The operation failed because a specified resource couldn't be found.

  • InvalidStateTransitionException The operation failed because the requested operation isn't valid for the resource share in its current state.

  • UnmatchedPolicyPermissionException There isn't an existing managed permission defined in RAM that has the same IAM permissions as the resource-based policy attached to the resource. You should first run PromotePermissionCreatedFromPolicy to create that managed permission.

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 Amazon Web Services account.

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

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

Returned Error Types:

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • OperationNotPermittedException The operation failed because the requested operation isn't permitted.

  • ResourceShareInvitationArnNotFoundException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) for an invitation was not found.

  • ResourceShareInvitationAlreadyAcceptedException The operation failed because the specified invitation was already accepted.

  • ResourceShareInvitationAlreadyRejectedException The operation failed because the specified invitation was already rejected.

  • ResourceShareInvitationExpiredException The operation failed because the specified invitation is past its expiration date and time.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

  • InvalidClientTokenException The operation failed because the specified client token isn't valid.

  • IdempotentParameterMismatchException The operation failed because the client token input parameter matched one that was used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.

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

func (*RAM) RejectResourceShareInvitationRequest

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

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

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

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

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

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

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

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

func (*RAM) RejectResourceShareInvitationWithContext

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

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

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

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

func (*RAM) ReplacePermissionAssociations

func (c *RAM) ReplacePermissionAssociations(input *ReplacePermissionAssociationsInput) (*ReplacePermissionAssociationsOutput, error)

ReplacePermissionAssociations API operation for AWS Resource Access Manager.

Updates all resource shares that use a managed permission to a different managed permission. This operation always applies the default version of the target managed permission. You can optionally specify that the update applies to only resource shares that currently use a specified version. This enables you to update to the latest version, without changing the which managed permission is used.

You can use this operation to update all of your resource shares to use the current default version of the permission by specifying the same value for the fromPermissionArn and toPermissionArn parameters.

You can use the optional fromPermissionVersion parameter to update only those resources that use a specified version of the managed permission to the new managed permission.

To successfully perform this operation, you must have permission to update the resource-based policy on all affected resource types.

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

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

Returned Error Types:

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

  • OperationNotPermittedException The operation failed because the requested operation isn't permitted.

  • UnknownResourceException The operation failed because a specified resource couldn't be found.

  • InvalidClientTokenException The operation failed because the specified client token isn't valid.

  • IdempotentParameterMismatchException The operation failed because the client token input parameter matched one that was used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.

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

func (*RAM) ReplacePermissionAssociationsRequest

func (c *RAM) ReplacePermissionAssociationsRequest(input *ReplacePermissionAssociationsInput) (req *request.Request, output *ReplacePermissionAssociationsOutput)

ReplacePermissionAssociationsRequest generates a "aws/request.Request" representing the client's request for the ReplacePermissionAssociations 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 ReplacePermissionAssociations for more information on using the ReplacePermissionAssociations 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 ReplacePermissionAssociationsRequest method.
req, resp := client.ReplacePermissionAssociationsRequest(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/ReplacePermissionAssociations

func (*RAM) ReplacePermissionAssociationsWithContext

func (c *RAM) ReplacePermissionAssociationsWithContext(ctx aws.Context, input *ReplacePermissionAssociationsInput, opts ...request.Option) (*ReplacePermissionAssociationsOutput, error)

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

See ReplacePermissionAssociations 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) SetDefaultPermissionVersion

func (c *RAM) SetDefaultPermissionVersion(input *SetDefaultPermissionVersionInput) (*SetDefaultPermissionVersionOutput, error)

SetDefaultPermissionVersion API operation for AWS Resource Access Manager.

Designates the specified version number as the default version for the specified customer managed permission. New resource shares automatically use this new default permission. Existing resource shares continue to use their original permission version, but you can use ReplacePermissionAssociations to update them.

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

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

Returned Error Types:

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

  • UnknownResourceException The operation failed because a specified resource couldn't be found.

  • InvalidClientTokenException The operation failed because the specified client token isn't valid.

  • IdempotentParameterMismatchException The operation failed because the client token input parameter matched one that was used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.

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

func (*RAM) SetDefaultPermissionVersionRequest

func (c *RAM) SetDefaultPermissionVersionRequest(input *SetDefaultPermissionVersionInput) (req *request.Request, output *SetDefaultPermissionVersionOutput)

SetDefaultPermissionVersionRequest generates a "aws/request.Request" representing the client's request for the SetDefaultPermissionVersion 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 SetDefaultPermissionVersion for more information on using the SetDefaultPermissionVersion 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 SetDefaultPermissionVersionRequest method.
req, resp := client.SetDefaultPermissionVersionRequest(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/SetDefaultPermissionVersion

func (*RAM) SetDefaultPermissionVersionWithContext

func (c *RAM) SetDefaultPermissionVersionWithContext(ctx aws.Context, input *SetDefaultPermissionVersionInput, opts ...request.Option) (*SetDefaultPermissionVersionOutput, error)

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

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

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

func (*RAM) TagResource

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

TagResource API operation for AWS Resource Access Manager.

Adds the specified tag keys and values to a resource share or managed permission. If you choose a resource share, the tags are attached to only the resource share, not to the resources that are in the resource share.

The tags on a managed permission are the same for all versions of the managed permission.

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

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

Returned Error Types:

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • UnknownResourceException The operation failed because a specified resource couldn't be found.

  • TagLimitExceededException The operation failed because it would exceed the limit for tags for your Amazon Web Services account.

  • ResourceArnNotFoundException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) was not found.

  • TagPolicyViolationException The operation failed because the specified tag key is a reserved word and can't be used.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

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

func (*RAM) TagResourceRequest

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

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

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

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

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

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

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

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

func (*RAM) TagResourceWithContext

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

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

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

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

func (*RAM) UntagResource

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

UntagResource API operation for AWS Resource Access Manager.

Removes the specified tag key and value pairs from the specified resource share or managed permission.

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

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

Returned Error Types:

  • UnknownResourceException The operation failed because a specified resource couldn't be found.

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

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

func (*RAM) UntagResourceRequest

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

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

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

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

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

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

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

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

func (*RAM) UntagResourceWithContext

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

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

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

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

func (*RAM) UpdateResourceShare

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

UpdateResourceShare API operation for AWS Resource Access Manager.

Modifies some of the properties of the specified resource share.

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

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

Returned Error Types:

  • IdempotentParameterMismatchException The operation failed because the client token input parameter matched one that was used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.

  • MissingRequiredParameterException The operation failed because a required input parameter is missing.

  • UnknownResourceException The operation failed because a specified resource couldn't be found.

  • MalformedArnException The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) has a format that isn't valid.

  • InvalidClientTokenException The operation failed because the specified client token isn't valid.

  • InvalidParameterException The operation failed because a parameter you specified isn't valid.

  • OperationNotPermittedException The operation failed because the requested operation isn't permitted.

  • ServerInternalException The operation failed because the service could not respond to the request due to an internal problem. Try again later.

  • ServiceUnavailableException The operation failed because the service isn't available. Try again later.

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 {

	// Specifies a unique, case-sensitive identifier that you provide to ensure
	// the idempotency of the request. This lets you safely retry the request without
	// accidentally performing the same operation a second time. Passing the same
	// value to a later call to an operation requires that you also pass the same
	// value for all other parameters. We recommend that you use a UUID type of
	// value. (https://wikipedia.org/wiki/Universally_unique_identifier).
	//
	// If you don't provide this value, then Amazon Web Services generates a random
	// one for you.
	//
	// If you retry the operation with the same ClientToken, but with different
	// parameters, the retry fails with an IdempotentParameterMismatch error.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// Specifies the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the invitation that you want to reject.
	//
	// ResourceShareInvitationArn is a required field
	ResourceShareInvitationArn *string `locationName:"resourceShareInvitationArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RejectResourceShareInvitationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RejectResourceShareInvitationInput) SetClientToken

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RejectResourceShareInvitationInput) Validate

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

type RejectResourceShareInvitationOutput

type RejectResourceShareInvitationOutput struct {

	// The idempotency identifier associated with this request. If you want to repeat
	// the same operation in an idempotent manner then you must include this value
	// in the clientToken request parameter of that later call. All other parameters
	// must also have the same values that you used in the first call.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// An object that contains the details about the rejected invitation.
	ResourceShareInvitation *ResourceShareInvitation `locationName:"resourceShareInvitation" type:"structure"`
	// contains filtered or unexported fields
}

func (RejectResourceShareInvitationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ReplacePermissionAssociationsInput

type ReplacePermissionAssociationsInput struct {

	// Specifies a unique, case-sensitive identifier that you provide to ensure
	// the idempotency of the request. This lets you safely retry the request without
	// accidentally performing the same operation a second time. Passing the same
	// value to a later call to an operation requires that you also pass the same
	// value for all other parameters. We recommend that you use a UUID type of
	// value. (https://wikipedia.org/wiki/Universally_unique_identifier).
	//
	// If you don't provide this value, then Amazon Web Services generates a random
	// one for you.
	//
	// If you retry the operation with the same ClientToken, but with different
	// parameters, the retry fails with an IdempotentParameterMismatch error.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// Specifies the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the managed permission that you want to replace.
	//
	// FromPermissionArn is a required field
	FromPermissionArn *string `locationName:"fromPermissionArn" type:"string" required:"true"`

	// Specifies that you want to updated the permissions for only those resource
	// shares that use the specified version of the managed permission.
	FromPermissionVersion *int64 `locationName:"fromPermissionVersion" type:"integer"`

	// Specifies the ARN of the managed permission that you want to associate with
	// resource shares in place of the one specified by fromPerssionArn and fromPermissionVersion.
	//
	// The operation always associates the version that is currently the default
	// for the specified managed permission.
	//
	// ToPermissionArn is a required field
	ToPermissionArn *string `locationName:"toPermissionArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ReplacePermissionAssociationsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReplacePermissionAssociationsInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*ReplacePermissionAssociationsInput) SetFromPermissionArn

SetFromPermissionArn sets the FromPermissionArn field's value.

func (*ReplacePermissionAssociationsInput) SetFromPermissionVersion

SetFromPermissionVersion sets the FromPermissionVersion field's value.

func (*ReplacePermissionAssociationsInput) SetToPermissionArn

SetToPermissionArn sets the ToPermissionArn field's value.

func (ReplacePermissionAssociationsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReplacePermissionAssociationsInput) Validate

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

type ReplacePermissionAssociationsOutput

type ReplacePermissionAssociationsOutput struct {

	// The idempotency identifier associated with this request. If you want to repeat
	// the same operation in an idempotent manner then you must include this value
	// in the clientToken request parameter of that later call. All other parameters
	// must also have the same values that you used in the first call.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// Specifies a data structure that you can use to track the asynchronous tasks
	// that RAM performs to complete this operation. You can use the ListReplacePermissionAssociationsWork
	// operation and pass the id value returned in this structure.
	ReplacePermissionAssociationsWork *ReplacePermissionAssociationsWork `locationName:"replacePermissionAssociationsWork" type:"structure"`
	// contains filtered or unexported fields
}

func (ReplacePermissionAssociationsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReplacePermissionAssociationsOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*ReplacePermissionAssociationsOutput) SetReplacePermissionAssociationsWork

SetReplacePermissionAssociationsWork sets the ReplacePermissionAssociationsWork field's value.

func (ReplacePermissionAssociationsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ReplacePermissionAssociationsWork

type ReplacePermissionAssociationsWork struct {

	// The date and time when this asynchronous background task was created.
	CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`

	// The Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the managed permission that this background task is replacing.
	FromPermissionArn *string `locationName:"fromPermissionArn" type:"string"`

	// The version of the managed permission that this background task is replacing.
	FromPermissionVersion *string `locationName:"fromPermissionVersion" type:"string"`

	// The unique identifier for the background task associated with one ReplacePermissionAssociations
	// request.
	Id *string `locationName:"id" type:"string"`

	// The date and time when the status of this background task was last updated.
	LastUpdatedTime *time.Time `locationName:"lastUpdatedTime" type:"timestamp"`

	// Specifies the current status of the background tasks for the specified ID.
	// The output is one of the following strings:
	//
	//    * IN_PROGRESS
	//
	//    * COMPLETED
	//
	//    * FAILED
	Status *string `locationName:"status" type:"string" enum:"ReplacePermissionAssociationsWorkStatus"`

	// Specifies the reason for a FAILED status. This field is present only when
	// there status is FAILED.
	StatusMessage *string `locationName:"statusMessage" type:"string"`

	// The ARN of the managed permission that this background task is associating
	// with the resource shares in place of the managed permission and version specified
	// in fromPermissionArn and fromPermissionVersion.
	ToPermissionArn *string `locationName:"toPermissionArn" type:"string"`

	// The version of the managed permission that this background task is associating
	// with the resource shares. This is always the version that is currently the
	// default for this managed permission.
	ToPermissionVersion *string `locationName:"toPermissionVersion" type:"string"`
	// contains filtered or unexported fields
}

A structure that represents the background work that RAM performs when you invoke the ReplacePermissionAssociations operation.

func (ReplacePermissionAssociationsWork) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ReplacePermissionAssociationsWork) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*ReplacePermissionAssociationsWork) SetFromPermissionArn

SetFromPermissionArn sets the FromPermissionArn field's value.

func (*ReplacePermissionAssociationsWork) SetFromPermissionVersion

SetFromPermissionVersion sets the FromPermissionVersion field's value.

func (*ReplacePermissionAssociationsWork) SetId

SetId sets the Id field's value.

func (*ReplacePermissionAssociationsWork) SetLastUpdatedTime

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*ReplacePermissionAssociationsWork) SetStatus

SetStatus sets the Status field's value.

func (*ReplacePermissionAssociationsWork) SetStatusMessage

SetStatusMessage sets the StatusMessage field's value.

func (*ReplacePermissionAssociationsWork) SetToPermissionArn

SetToPermissionArn sets the ToPermissionArn field's value.

func (*ReplacePermissionAssociationsWork) SetToPermissionVersion

SetToPermissionVersion sets the ToPermissionVersion field's value.

func (ReplacePermissionAssociationsWork) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Resource

type Resource struct {

	// The Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the resource.
	Arn *string `locationName:"arn" type:"string"`

	// The date and time when the resource was associated with the resource share.
	CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`

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

	// The Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the resource group. This value is available only if the resource is part
	// of a resource group.
	ResourceGroupArn *string `locationName:"resourceGroupArn" type:"string"`

	// Specifies the scope of visibility of this resource:
	//
	//    * REGIONAL – The resource can be accessed only by using requests that
	//    target the Amazon Web Services Region in which the resource exists.
	//
	//    * GLOBAL – The resource can be accessed from any Amazon Web Services
	//    Region.
	ResourceRegionScope *string `locationName:"resourceRegionScope" type:"string" enum:"ResourceRegionScope"`

	// The Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the resource share this resource is associated with.
	ResourceShareArn *string `locationName:"resourceShareArn" type:"string"`

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

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

	// The resource type. This takes the form of: service-code:resource-code, and
	// is case-insensitive. For example, an Amazon EC2 Subnet would be represented
	// by the string ec2:subnet.
	Type *string `locationName:"type" type:"string"`
	// contains filtered or unexported fields
}

Describes a resource associated with a resource share in RAM.

func (Resource) GoString

func (s Resource) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*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) SetResourceRegionScope

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

SetResourceRegionScope sets the ResourceRegionScope 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceArnNotFoundException

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

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

The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) 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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceArnNotFoundException) Message

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceShare

type ResourceShare struct {

	// Indicates whether principals outside your organization in Organizations can
	// be associated with a resource share.
	//
	//    * True – the resource share can be shared with any Amazon Web Services
	//    account.
	//
	//    * False – the resource share can be shared with only accounts in the
	//    same organization as the account that owns the resource share.
	AllowExternalPrincipals *bool `locationName:"allowExternalPrincipals" type:"boolean"`

	// The date and time when the resource share was created.
	CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`

	// Indicates what features are available for this resource share. This parameter
	// can have one of the following values:
	//
	//    * STANDARD – A resource share that supports all functionality. These
	//    resource shares are visible to all principals you share the resource share
	//    with. You can modify these resource shares in RAM using the console or
	//    APIs. This resource share might have been created by RAM, or it might
	//    have been CREATED_FROM_POLICY and then promoted.
	//
	//    * CREATED_FROM_POLICY – The customer manually shared a resource by attaching
	//    a resource-based policy. That policy did not match any existing managed
	//    permissions, so RAM created this customer managed permission automatically
	//    on the customer's behalf based on the attached policy document. This type
	//    of resource share is visible only to the Amazon Web Services account that
	//    created it. You can't modify it in RAM unless you promote it. For more
	//    information, see PromoteResourceShareCreatedFromPolicy.
	//
	//    * PROMOTING_TO_STANDARD – This resource share was originally CREATED_FROM_POLICY,
	//    but the customer ran the PromoteResourceShareCreatedFromPolicy and that
	//    operation is still in progress. This value changes to STANDARD when complete.
	FeatureSet *string `locationName:"featureSet" type:"string" enum:"ResourceShareFeatureSet"`

	// The date and 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 Amazon Web Services account that owns the resource share.
	OwningAccountId *string `locationName:"owningAccountId" type:"string"`

	// The Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the resource share
	ResourceShareArn *string `locationName:"resourceShareArn" type:"string"`

	// The current 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 tag key and value pairs attached to the resource share.
	Tags []*Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Describes a resource share in RAM.

func (ResourceShare) GoString

func (s ResourceShare) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceShare) SetAllowExternalPrincipals

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

SetAllowExternalPrincipals sets the AllowExternalPrincipals field's value.

func (*ResourceShare) SetCreationTime

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

SetCreationTime sets the CreationTime field's value.

func (*ResourceShare) SetFeatureSet

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

SetFeatureSet sets the FeatureSet field's value.

func (*ResourceShare) SetLastUpdatedTime

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

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*ResourceShare) SetName

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

SetName sets the Name field's value.

func (*ResourceShare) SetOwningAccountId

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

SetOwningAccountId sets the OwningAccountId field's value.

func (*ResourceShare) SetResourceShareArn

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

SetResourceShareArn sets the ResourceShareArn field's value.

func (*ResourceShare) SetStatus

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

SetStatus sets the Status field's value.

func (*ResourceShare) SetStatusMessage

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

SetStatusMessage sets the StatusMessage field's value.

func (*ResourceShare) SetTags

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

SetTags sets the Tags field's value.

func (ResourceShare) String

func (s ResourceShare) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceShareAssociation

type ResourceShareAssociation struct {

	// The associated entity. This can be either of the following:
	//
	//    * For a resource association, this is the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	//    of the resource.
	//
	//    * For principal associations, this is one of the following: The ID of
	//    an Amazon Web Services account The Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	//    of an organization in Organizations The ARN of an organizational unit
	//    (OU) in Organizations The ARN of an IAM role The ARN of an IAM user
	AssociatedEntity *string `locationName:"associatedEntity" type:"string"`

	// The type of entity included in this association.
	AssociationType *string `locationName:"associationType" type:"string" enum:"ResourceShareAssociationType"`

	// The date and time when the association was created.
	CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`

	// Indicates whether the principal belongs to the same organization in Organizations
	// as the Amazon Web Services account that owns the resource share.
	External *bool `locationName:"external" type:"boolean"`

	// The date and time when the association was last updated.
	LastUpdatedTime *time.Time `locationName:"lastUpdatedTime" type:"timestamp"`

	// The Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the resource share.
	ResourceShareArn *string `locationName:"resourceShareArn" type:"string"`

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

	// The current 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 between a resource share and either a principal or a resource.

func (ResourceShareAssociation) GoString

func (s ResourceShareAssociation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceShareAssociation) SetAssociatedEntity

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

SetAssociatedEntity sets the AssociatedEntity field's value.

func (*ResourceShareAssociation) SetAssociationType

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

SetAssociationType sets the AssociationType field's value.

func (*ResourceShareAssociation) SetCreationTime

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.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceShareInvitation

type ResourceShareInvitation struct {

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

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

	// The Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the IAM user or role that received the invitation.
	ReceiverArn *string `locationName:"receiverArn" type:"string"`

	// The Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the resource share
	ResourceShareArn *string `locationName:"resourceShareArn" type:"string"`

	// To view the resources associated with a pending resource share invitation,
	// use ListPendingInvitationResources.
	//
	// Deprecated: This member has been deprecated. Use ListPendingInvitationResources.
	ResourceShareAssociations []*ResourceShareAssociation `locationName:"resourceShareAssociations" deprecated:"true" type:"list"`

	// The Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// 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 Amazon Web Services account that sent the invitation.
	SenderAccountId *string `locationName:"senderAccountId" type:"string"`

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

Describes an invitation for an Amazon Web Services account to join a resource share.

func (ResourceShareInvitation) GoString

func (s ResourceShareInvitation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceShareInvitation) SetInvitationTimestamp

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

SetInvitationTimestamp sets the InvitationTimestamp field's value.

func (*ResourceShareInvitation) SetReceiverAccountId

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

SetReceiverAccountId sets the ReceiverAccountId field's value.

func (*ResourceShareInvitation) SetReceiverArn

SetReceiverArn sets the ReceiverArn field's value.

func (*ResourceShareInvitation) SetResourceShareArn

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

SetResourceShareArn sets the ResourceShareArn field's value.

func (*ResourceShareInvitation) SetResourceShareAssociations

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

SetResourceShareAssociations sets the ResourceShareAssociations field's value.

func (*ResourceShareInvitation) SetResourceShareInvitationArn

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

SetResourceShareInvitationArn sets the ResourceShareInvitationArn field's value.

func (*ResourceShareInvitation) SetResourceShareName

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

SetResourceShareName sets the ResourceShareName field's value.

func (*ResourceShareInvitation) SetSenderAccountId

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

SetSenderAccountId sets the SenderAccountId field's value.

func (*ResourceShareInvitation) SetStatus

SetStatus sets the Status field's value.

func (ResourceShareInvitation) String

func (s ResourceShareInvitation) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceShareInvitationAlreadyAcceptedException

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

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

The operation failed because the specified invitation was already accepted.

func (*ResourceShareInvitationAlreadyAcceptedException) Code

Code returns the exception type name.

func (*ResourceShareInvitationAlreadyAcceptedException) Error

func (ResourceShareInvitationAlreadyAcceptedException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceShareInvitationAlreadyRejectedException

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

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

The operation failed because the specified invitation was already rejected.

func (*ResourceShareInvitationAlreadyRejectedException) Code

Code returns the exception type name.

func (*ResourceShareInvitationAlreadyRejectedException) Error

func (ResourceShareInvitationAlreadyRejectedException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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

func (ResourceShareInvitationAlreadyRejectedException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceShareInvitationArnNotFoundException

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

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

The operation failed because the specified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) for an invitation was not found.

func (*ResourceShareInvitationArnNotFoundException) Code

Code returns the exception type name.

func (*ResourceShareInvitationArnNotFoundException) Error

func (ResourceShareInvitationArnNotFoundException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceShareInvitationArnNotFoundException) Message

Message returns the exception's message.

func (*ResourceShareInvitationArnNotFoundException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceShareInvitationArnNotFoundException) RequestID

RequestID returns the service's response RequestID for request.

func (*ResourceShareInvitationArnNotFoundException) StatusCode

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

func (ResourceShareInvitationArnNotFoundException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceShareInvitationExpiredException

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

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

The operation failed because the specified invitation is past its expiration date and time.

func (*ResourceShareInvitationExpiredException) Code

Code returns the exception type name.

func (*ResourceShareInvitationExpiredException) Error

func (ResourceShareInvitationExpiredException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceShareInvitationExpiredException) Message

Message returns the exception's message.

func (*ResourceShareInvitationExpiredException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceShareInvitationExpiredException) RequestID

RequestID returns the service's response RequestID for request.

func (*ResourceShareInvitationExpiredException) StatusCode

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

func (ResourceShareInvitationExpiredException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceShareLimitExceededException

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

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

The operation failed because it would exceed the limit for resource shares for your account. To view the limits for your Amazon Web Services account, see the RAM page in the Service Quotas console (https://console.aws.amazon.com/servicequotas/home/services/ram/quotas).

func (*ResourceShareLimitExceededException) Code

Code returns the exception type name.

func (*ResourceShareLimitExceededException) Error

func (ResourceShareLimitExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceShareLimitExceededException) Message

Message returns the exception's message.

func (*ResourceShareLimitExceededException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceShareLimitExceededException) RequestID

RequestID returns the service's response RequestID for request.

func (*ResourceShareLimitExceededException) StatusCode

func (s *ResourceShareLimitExceededException) StatusCode() int

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

func (ResourceShareLimitExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceSharePermissionDetail

type ResourceSharePermissionDetail struct {

	// The Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of this RAM managed permission.
	Arn *string `locationName:"arn" type:"string"`

	// The date and time when the permission was created.
	CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`

	// Specifies whether the version of the permission represented in this response
	// is the default version for this permission.
	DefaultVersion *bool `locationName:"defaultVersion" type:"boolean"`

	// Indicates what features are available for this resource share. This parameter
	// can have one of the following values:
	//
	//    * STANDARD – A resource share that supports all functionality. These
	//    resource shares are visible to all principals you share the resource share
	//    with. You can modify these resource shares in RAM using the console or
	//    APIs. This resource share might have been created by RAM, or it might
	//    have been CREATED_FROM_POLICY and then promoted.
	//
	//    * CREATED_FROM_POLICY – The customer manually shared a resource by attaching
	//    a resource-based policy. That policy did not match any existing managed
	//    permissions, so RAM created this customer managed permission automatically
	//    on the customer's behalf based on the attached policy document. This type
	//    of resource share is visible only to the Amazon Web Services account that
	//    created it. You can't modify it in RAM unless you promote it. For more
	//    information, see PromoteResourceShareCreatedFromPolicy.
	//
	//    * PROMOTING_TO_STANDARD – This resource share was originally CREATED_FROM_POLICY,
	//    but the customer ran the PromoteResourceShareCreatedFromPolicy and that
	//    operation is still in progress. This value changes to STANDARD when complete.
	FeatureSet *string `locationName:"featureSet" type:"string" enum:"PermissionFeatureSet"`

	// Specifies whether the version of the permission represented in this response
	// is the default version for all resources of this resource type.
	IsResourceTypeDefault *bool `locationName:"isResourceTypeDefault" type:"boolean"`

	// The date and time when the permission was last updated.
	LastUpdatedTime *time.Time `locationName:"lastUpdatedTime" type:"timestamp"`

	// The name of this permission.
	Name *string `locationName:"name" type:"string"`

	// The permission's effect and actions in JSON format. The effect indicates
	// whether the specified actions are allowed or denied. The actions list the
	// operations to which the principal is granted or denied access.
	Permission *string `locationName:"permission" type:"string"`

	// The type of managed permission. This can be one of the following values:
	//
	//    * AWS_MANAGED – Amazon Web Services created and manages this managed
	//    permission. You can associate it with your resource shares, but you can't
	//    modify it.
	//
	//    * CUSTOMER_MANAGED – You, or another principal in your account created
	//    this managed permission. You can associate it with your resource shares
	//    and create new versions that have different permissions.
	PermissionType *string `locationName:"permissionType" type:"string" enum:"PermissionType"`

	// The resource type to which this permission applies.
	ResourceType *string `locationName:"resourceType" type:"string"`

	// The current status of the association between the permission and the resource
	// share. The following are the possible values:
	//
	//    * ATTACHABLE – This permission or version can be associated with resource
	//    shares.
	//
	//    * UNATTACHABLE – This permission or version can't currently be associated
	//    with resource shares.
	//
	//    * DELETING – This permission or version is in the process of being deleted.
	//
	//    * DELETED – This permission or version is deleted.
	Status *string `locationName:"status" type:"string" enum:"PermissionStatus"`

	// The tag key and value pairs attached to the resource share.
	Tags []*Tag `locationName:"tags" type:"list"`

	// The version of the permission described in this response.
	Version *string `locationName:"version" type:"string"`
	// contains filtered or unexported fields
}

Information about a RAM managed permission.

func (ResourceSharePermissionDetail) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceSharePermissionDetail) SetArn

SetArn sets the Arn field's value.

func (*ResourceSharePermissionDetail) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*ResourceSharePermissionDetail) SetDefaultVersion

SetDefaultVersion sets the DefaultVersion field's value.

func (*ResourceSharePermissionDetail) SetFeatureSet

SetFeatureSet sets the FeatureSet field's value.

func (*ResourceSharePermissionDetail) SetIsResourceTypeDefault

func (s *ResourceSharePermissionDetail) SetIsResourceTypeDefault(v bool) *ResourceSharePermissionDetail

SetIsResourceTypeDefault sets the IsResourceTypeDefault field's value.

func (*ResourceSharePermissionDetail) SetLastUpdatedTime

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*ResourceSharePermissionDetail) SetName

SetName sets the Name field's value.

func (*ResourceSharePermissionDetail) SetPermission

SetPermission sets the Permission field's value.

func (*ResourceSharePermissionDetail) SetPermissionType

SetPermissionType sets the PermissionType field's value.

func (*ResourceSharePermissionDetail) SetResourceType

SetResourceType sets the ResourceType field's value.

func (*ResourceSharePermissionDetail) SetStatus

SetStatus sets the Status field's value.

func (*ResourceSharePermissionDetail) SetTags

SetTags sets the Tags field's value.

func (*ResourceSharePermissionDetail) SetVersion

SetVersion sets the Version field's value.

func (ResourceSharePermissionDetail) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceSharePermissionSummary

type ResourceSharePermissionSummary struct {

	// The Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the permission you want information about.
	Arn *string `locationName:"arn" type:"string"`

	// The date and time when the permission was created.
	CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`

	// Specifies whether the version of the managed permission used by this resource
	// share is the default version for this managed permission.
	DefaultVersion *bool `locationName:"defaultVersion" type:"boolean"`

	// Indicates what features are available for this resource share. This parameter
	// can have one of the following values:
	//
	//    * STANDARD – A resource share that supports all functionality. These
	//    resource shares are visible to all principals you share the resource share
	//    with. You can modify these resource shares in RAM using the console or
	//    APIs. This resource share might have been created by RAM, or it might
	//    have been CREATED_FROM_POLICY and then promoted.
	//
	//    * CREATED_FROM_POLICY – The customer manually shared a resource by attaching
	//    a resource-based policy. That policy did not match any existing managed
	//    permissions, so RAM created this customer managed permission automatically
	//    on the customer's behalf based on the attached policy document. This type
	//    of resource share is visible only to the Amazon Web Services account that
	//    created it. You can't modify it in RAM unless you promote it. For more
	//    information, see PromoteResourceShareCreatedFromPolicy.
	//
	//    * PROMOTING_TO_STANDARD – This resource share was originally CREATED_FROM_POLICY,
	//    but the customer ran the PromoteResourceShareCreatedFromPolicy and that
	//    operation is still in progress. This value changes to STANDARD when complete.
	FeatureSet *string `locationName:"featureSet" type:"string" enum:"PermissionFeatureSet"`

	// Specifies whether the managed permission associated with this resource share
	// is the default managed permission for all resources of this resource type.
	IsResourceTypeDefault *bool `locationName:"isResourceTypeDefault" type:"boolean"`

	// The date and time when the permission was last updated.
	LastUpdatedTime *time.Time `locationName:"lastUpdatedTime" type:"timestamp"`

	// The name of this managed permission.
	Name *string `locationName:"name" type:"string"`

	// The type of managed permission. This can be one of the following values:
	//
	//    * AWS_MANAGED – Amazon Web Services created and manages this managed
	//    permission. You can associate it with your resource shares, but you can't
	//    modify it.
	//
	//    * CUSTOMER_MANAGED – You, or another principal in your account created
	//    this managed permission. You can associate it with your resource shares
	//    and create new versions that have different permissions.
	PermissionType *string `locationName:"permissionType" type:"string" enum:"PermissionType"`

	// The type of resource to which this permission applies. This takes the form
	// of: service-code:resource-code, and is case-insensitive. For example, an
	// Amazon EC2 Subnet would be represented by the string ec2:subnet.
	ResourceType *string `locationName:"resourceType" type:"string"`

	// The current status of the permission.
	Status *string `locationName:"status" type:"string"`

	// A list of the tag key value pairs currently attached to the permission.
	Tags []*Tag `locationName:"tags" type:"list"`

	// The version of the permission associated with this resource share.
	Version *string `locationName:"version" type:"string"`
	// contains filtered or unexported fields
}

Information about an RAM permission.

func (ResourceSharePermissionSummary) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceSharePermissionSummary) SetArn

SetArn sets the Arn field's value.

func (*ResourceSharePermissionSummary) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*ResourceSharePermissionSummary) SetDefaultVersion

SetDefaultVersion sets the DefaultVersion field's value.

func (*ResourceSharePermissionSummary) SetFeatureSet

SetFeatureSet sets the FeatureSet field's value.

func (*ResourceSharePermissionSummary) SetIsResourceTypeDefault

func (s *ResourceSharePermissionSummary) SetIsResourceTypeDefault(v bool) *ResourceSharePermissionSummary

SetIsResourceTypeDefault sets the IsResourceTypeDefault field's value.

func (*ResourceSharePermissionSummary) SetLastUpdatedTime

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*ResourceSharePermissionSummary) SetName

SetName sets the Name field's value.

func (*ResourceSharePermissionSummary) SetPermissionType

SetPermissionType sets the PermissionType field's value.

func (*ResourceSharePermissionSummary) SetResourceType

SetResourceType sets the ResourceType field's value.

func (*ResourceSharePermissionSummary) SetStatus

SetStatus sets the Status field's value.

func (*ResourceSharePermissionSummary) SetTags

SetTags sets the Tags field's value.

func (*ResourceSharePermissionSummary) SetVersion

SetVersion sets the Version field's value.

func (ResourceSharePermissionSummary) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServerInternalException

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

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

The operation failed because the service could not respond to the request due to an internal problem. Try again later.

func (*ServerInternalException) Code

func (s *ServerInternalException) Code() string

Code returns the exception type name.

func (*ServerInternalException) Error

func (s *ServerInternalException) Error() string

func (ServerInternalException) GoString

func (s ServerInternalException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServerInternalException) Message

func (s *ServerInternalException) Message() string

Message returns the exception's message.

func (*ServerInternalException) OrigErr

func (s *ServerInternalException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServerInternalException) RequestID

func (s *ServerInternalException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServerInternalException) StatusCode

func (s *ServerInternalException) StatusCode() int

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

func (ServerInternalException) String

func (s ServerInternalException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServiceNameAndResourceType

type ServiceNameAndResourceType struct {

	// Specifies the scope of visibility of resources of this type:
	//
	//    * REGIONAL – The resource can be accessed only by using requests that
	//    target the Amazon Web Services Region in which the resource exists.
	//
	//    * GLOBAL – The resource can be accessed from any Amazon Web Services
	//    Region.
	ResourceRegionScope *string `locationName:"resourceRegionScope" type:"string" enum:"ResourceRegionScope"`

	// The type of the resource. This takes the form of: service-code:resource-code,
	// and is case-insensitive. For example, an Amazon EC2 Subnet would be represented
	// by the string ec2:subnet.
	ResourceType *string `locationName:"resourceType" type:"string"`

	// The name of the Amazon Web Services service to which resources of this type
	// belong.
	ServiceName *string `locationName:"serviceName" type:"string"`
	// contains filtered or unexported fields
}

Information about a shareable resource type and the Amazon Web Services service to which resources of that type belong.

func (ServiceNameAndResourceType) GoString

func (s ServiceNameAndResourceType) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceNameAndResourceType) SetResourceRegionScope

func (s *ServiceNameAndResourceType) SetResourceRegionScope(v string) *ServiceNameAndResourceType

SetResourceRegionScope sets the ResourceRegionScope field's value.

func (*ServiceNameAndResourceType) SetResourceType

SetResourceType sets the ResourceType field's value.

func (*ServiceNameAndResourceType) SetServiceName

SetServiceName sets the ServiceName field's value.

func (ServiceNameAndResourceType) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServiceUnavailableException

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

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

The operation failed because the service isn't available. Try again later.

func (*ServiceUnavailableException) Code

Code returns the exception type name.

func (*ServiceUnavailableException) Error

func (ServiceUnavailableException) GoString

func (s ServiceUnavailableException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceUnavailableException) Message

func (s *ServiceUnavailableException) Message() string

Message returns the exception's message.

func (*ServiceUnavailableException) OrigErr

func (s *ServiceUnavailableException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceUnavailableException) RequestID

func (s *ServiceUnavailableException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceUnavailableException) StatusCode

func (s *ServiceUnavailableException) StatusCode() int

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

func (ServiceUnavailableException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SetDefaultPermissionVersionInput

type SetDefaultPermissionVersionInput struct {

	// Specifies a unique, case-sensitive identifier that you provide to ensure
	// the idempotency of the request. This lets you safely retry the request without
	// accidentally performing the same operation a second time. Passing the same
	// value to a later call to an operation requires that you also pass the same
	// value for all other parameters. We recommend that you use a UUID type of
	// value. (https://wikipedia.org/wiki/Universally_unique_identifier).
	//
	// If you don't provide this value, then Amazon Web Services generates a random
	// one for you.
	//
	// If you retry the operation with the same ClientToken, but with different
	// parameters, the retry fails with an IdempotentParameterMismatch error.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// Specifies the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the customer managed permission whose default version you want to change.
	//
	// PermissionArn is a required field
	PermissionArn *string `locationName:"permissionArn" type:"string" required:"true"`

	// Specifies the version number that you want to designate as the default for
	// customer managed permission. To see a list of all available version numbers,
	// use ListPermissionVersions.
	//
	// PermissionVersion is a required field
	PermissionVersion *int64 `locationName:"permissionVersion" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

func (SetDefaultPermissionVersionInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetDefaultPermissionVersionInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*SetDefaultPermissionVersionInput) SetPermissionArn

SetPermissionArn sets the PermissionArn field's value.

func (*SetDefaultPermissionVersionInput) SetPermissionVersion

SetPermissionVersion sets the PermissionVersion field's value.

func (SetDefaultPermissionVersionInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetDefaultPermissionVersionInput) Validate

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

type SetDefaultPermissionVersionOutput

type SetDefaultPermissionVersionOutput struct {

	// The idempotency identifier associated with this request. If you want to repeat
	// the same operation in an idempotent manner then you must include this value
	// in the clientToken request parameter of that later call. All other parameters
	// must also have the same values that you used in the first call.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// A boolean value that indicates whether the operation was successful.
	ReturnValue *bool `locationName:"returnValue" type:"boolean"`
	// contains filtered or unexported fields
}

func (SetDefaultPermissionVersionOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SetDefaultPermissionVersionOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*SetDefaultPermissionVersionOutput) SetReturnValue

SetReturnValue sets the ReturnValue field's value.

func (SetDefaultPermissionVersionOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Tag

type Tag struct {

	// The key, or name, attached to the tag. Every tag must have a key. Key names
	// are case sensitive.
	Key *string `locationName:"key" type:"string"`

	// The string value attached to the tag. The value can be an empty string. Key
	// values are case sensitive.
	Value *string `locationName:"value" type:"string"`
	// contains filtered or unexported fields
}

A structure containing a tag. A tag is metadata that you can attach to your resources to help organize and categorize them. You can also use them to help you secure your resources. For more information, see Controlling access to Amazon Web Services resources using tags (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html).

For more information about tags, see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) in the Amazon Web Services General Reference Guide.

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Tag) SetKey

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String

func (s Tag) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TagFilter

type TagFilter struct {

	// The tag key. This must have a valid string value and can't be empty.
	TagKey *string `locationName:"tagKey" type:"string"`

	// A list of zero or more tag values. If no values are provided, then the filter
	// matches any tag with the specified key, regardless of its value.
	TagValues []*string `locationName:"tagValues" type:"list"`
	// contains filtered or unexported fields
}

A tag key and optional list of possible values that you can use to filter results for tagged resources.

func (TagFilter) GoString

func (s TagFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagFilter) SetTagKey

func (s *TagFilter) SetTagKey(v string) *TagFilter

SetTagKey sets the TagKey field's value.

func (*TagFilter) SetTagValues

func (s *TagFilter) SetTagValues(v []*string) *TagFilter

SetTagValues sets the TagValues field's value.

func (TagFilter) String

func (s TagFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TagLimitExceededException

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

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

The operation failed because it would exceed the limit for tags for your Amazon Web Services account.

func (*TagLimitExceededException) Code

Code returns the exception type name.

func (*TagLimitExceededException) Error

func (s *TagLimitExceededException) Error() string

func (TagLimitExceededException) GoString

func (s TagLimitExceededException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagLimitExceededException) Message

func (s *TagLimitExceededException) Message() string

Message returns the exception's message.

func (*TagLimitExceededException) OrigErr

func (s *TagLimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TagLimitExceededException) RequestID

func (s *TagLimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TagLimitExceededException) StatusCode

func (s *TagLimitExceededException) StatusCode() int

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

func (TagLimitExceededException) String

func (s TagLimitExceededException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TagPolicyViolationException

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

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

The operation failed because the specified tag key is a reserved word and can't be used.

func (*TagPolicyViolationException) Code

Code returns the exception type name.

func (*TagPolicyViolationException) Error

func (TagPolicyViolationException) GoString

func (s TagPolicyViolationException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagPolicyViolationException) Message

func (s *TagPolicyViolationException) Message() string

Message returns the exception's message.

func (*TagPolicyViolationException) OrigErr

func (s *TagPolicyViolationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TagPolicyViolationException) RequestID

func (s *TagPolicyViolationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TagPolicyViolationException) StatusCode

func (s *TagPolicyViolationException) StatusCode() int

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

func (TagPolicyViolationException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TagResourceInput

type TagResourceInput struct {

	// Specifies the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the managed permission that you want to add tags to. You must specify
	// either resourceArn, or resourceShareArn, but not both.
	ResourceArn *string `locationName:"resourceArn" type:"string"`

	// Specifies the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the resource share that you want to add tags to. You must specify either
	// resourceShareArn, or resourceArn, but not both.
	ResourceShareArn *string `locationName:"resourceShareArn" type:"string"`

	// A list of one or more tag key and value pairs. The tag key must be present
	// and not be an empty string. The tag value must be present but can be an empty
	// string.
	//
	// Tags is a required field
	Tags []*Tag `locationName:"tags" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) SetResourceArn

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

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetResourceShareArn

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

SetResourceShareArn sets the ResourceShareArn field's value.

func (*TagResourceInput) SetTags

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

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput

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

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ThrottlingException

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

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

The operation failed because it exceeded the rate at which you are allowed to perform this operation. Please try again later.

func (*ThrottlingException) Code

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString

func (s ThrottlingException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ThrottlingException) Message

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode

func (s *ThrottlingException) StatusCode() int

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

func (ThrottlingException) String

func (s ThrottlingException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UnknownResourceException

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

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

The operation failed because a specified resource couldn't be found.

func (*UnknownResourceException) Code

func (s *UnknownResourceException) Code() string

Code returns the exception type name.

func (*UnknownResourceException) Error

func (s *UnknownResourceException) Error() string

func (UnknownResourceException) GoString

func (s UnknownResourceException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UnknownResourceException) Message

func (s *UnknownResourceException) Message() string

Message returns the exception's message.

func (*UnknownResourceException) OrigErr

func (s *UnknownResourceException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*UnknownResourceException) RequestID

func (s *UnknownResourceException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*UnknownResourceException) StatusCode

func (s *UnknownResourceException) StatusCode() int

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

func (UnknownResourceException) String

func (s UnknownResourceException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UnmatchedPolicyPermissionException

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

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

There isn't an existing managed permission defined in RAM that has the same IAM permissions as the resource-based policy attached to the resource. You should first run PromotePermissionCreatedFromPolicy to create that managed permission.

func (*UnmatchedPolicyPermissionException) Code

Code returns the exception type name.

func (*UnmatchedPolicyPermissionException) Error

func (UnmatchedPolicyPermissionException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UnmatchedPolicyPermissionException) Message

Message returns the exception's message.

func (*UnmatchedPolicyPermissionException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*UnmatchedPolicyPermissionException) RequestID

RequestID returns the service's response RequestID for request.

func (*UnmatchedPolicyPermissionException) StatusCode

func (s *UnmatchedPolicyPermissionException) StatusCode() int

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

func (UnmatchedPolicyPermissionException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UntagResourceInput

type UntagResourceInput struct {

	// Specifies the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the managed permission that you want to remove tags from. You must specify
	// either resourceArn, or resourceShareArn, but not both.
	ResourceArn *string `locationName:"resourceArn" type:"string"`

	// Specifies the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the resource share that you want to remove tags from. The tags are removed
	// from the resource share, not the resources in the resource share. You must
	// specify either resourceShareArn, or resourceArn, but not both.
	ResourceShareArn *string `locationName:"resourceShareArn" type:"string"`

	// Specifies a list of one or more tag keys that you want to remove.
	//
	// TagKeys is a required field
	TagKeys []*string `locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) SetResourceArn

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

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetResourceShareArn

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

SetResourceShareArn sets the ResourceShareArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput

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

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateResourceShareInput

type UpdateResourceShareInput struct {

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

	// Specifies a unique, case-sensitive identifier that you provide to ensure
	// the idempotency of the request. This lets you safely retry the request without
	// accidentally performing the same operation a second time. Passing the same
	// value to a later call to an operation requires that you also pass the same
	// value for all other parameters. We recommend that you use a UUID type of
	// value. (https://wikipedia.org/wiki/Universally_unique_identifier).
	//
	// If you don't provide this value, then Amazon Web Services generates a random
	// one for you.
	//
	// If you retry the operation with the same ClientToken, but with different
	// parameters, the retry fails with an IdempotentParameterMismatch error.
	ClientToken *string `locationName:"clientToken" type:"string"`

	// If specified, the new name that you want to attach to the resource share.
	Name *string `locationName:"name" type:"string"`

	// Specifies the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the resource share that you want to modify.
	//
	// ResourceShareArn is a required field
	ResourceShareArn *string `locationName:"resourceShareArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateResourceShareInput) GoString

func (s UpdateResourceShareInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateResourceShareInput) SetAllowExternalPrincipals

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

SetAllowExternalPrincipals sets the AllowExternalPrincipals field's value.

func (*UpdateResourceShareInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*UpdateResourceShareInput) SetName

SetName sets the Name field's value.

func (*UpdateResourceShareInput) SetResourceShareArn

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

SetResourceShareArn sets the ResourceShareArn field's value.

func (UpdateResourceShareInput) String

func (s UpdateResourceShareInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateResourceShareInput) Validate

func (s *UpdateResourceShareInput) Validate() error

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

type UpdateResourceShareOutput

type UpdateResourceShareOutput struct {

	// The idempotency identifier associated with this request. If you want to repeat
	// the same operation in an idempotent manner then you must include this value
	// in the clientToken request parameter of that later call. All other parameters
	// must also have the same values that you used in the first call.
	ClientToken *string `locationName:"clientToken" type:"string"`

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

func (UpdateResourceShareOutput) GoString

func (s UpdateResourceShareOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateResourceShareOutput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*UpdateResourceShareOutput) SetResourceShare

SetResourceShare sets the ResourceShare field's value.

func (UpdateResourceShareOutput) String

func (s UpdateResourceShareOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

Directories

Path Synopsis
Package ramiface provides an interface to enable mocking the AWS Resource Access Manager service client for testing your code.
Package ramiface provides an interface to enable mocking the AWS Resource Access Manager service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL