Documentation ¶
Index ¶
- type AssociatedPermission
- type IdempotentParameterMismatchException
- type InvalidClientTokenException
- type InvalidMaxResultsException
- type InvalidNextTokenException
- type InvalidParameterException
- type InvalidPolicyException
- type InvalidResourceTypeException
- type InvalidStateTransitionException
- type MalformedArnException
- type MalformedPolicyTemplateException
- type MissingRequiredParameterException
- type OperationNotPermittedException
- type PermissionAlreadyExistsException
- type PermissionFeatureSet
- type PermissionLimitExceededException
- type PermissionStatus
- type PermissionType
- type PermissionTypeFilter
- type PermissionVersionsLimitExceededException
- type Principal
- type ReplacePermissionAssociationsWork
- type ReplacePermissionAssociationsWorkStatus
- type Resource
- type ResourceArnNotFoundException
- type ResourceOwner
- type ResourceRegionScope
- type ResourceRegionScopeFilter
- type ResourceShare
- type ResourceShareAssociation
- type ResourceShareAssociationStatus
- type ResourceShareAssociationType
- type ResourceShareFeatureSet
- type ResourceShareInvitation
- type ResourceShareInvitationAlreadyAcceptedException
- func (e *ResourceShareInvitationAlreadyAcceptedException) Error() string
- func (e *ResourceShareInvitationAlreadyAcceptedException) ErrorCode() string
- func (e *ResourceShareInvitationAlreadyAcceptedException) ErrorFault() smithy.ErrorFault
- func (e *ResourceShareInvitationAlreadyAcceptedException) ErrorMessage() string
- type ResourceShareInvitationAlreadyRejectedException
- func (e *ResourceShareInvitationAlreadyRejectedException) Error() string
- func (e *ResourceShareInvitationAlreadyRejectedException) ErrorCode() string
- func (e *ResourceShareInvitationAlreadyRejectedException) ErrorFault() smithy.ErrorFault
- func (e *ResourceShareInvitationAlreadyRejectedException) ErrorMessage() string
- type ResourceShareInvitationArnNotFoundException
- func (e *ResourceShareInvitationArnNotFoundException) Error() string
- func (e *ResourceShareInvitationArnNotFoundException) ErrorCode() string
- func (e *ResourceShareInvitationArnNotFoundException) ErrorFault() smithy.ErrorFault
- func (e *ResourceShareInvitationArnNotFoundException) ErrorMessage() string
- type ResourceShareInvitationExpiredException
- type ResourceShareInvitationStatus
- type ResourceShareLimitExceededException
- type ResourceSharePermissionDetail
- type ResourceSharePermissionSummary
- type ResourceShareStatus
- type ResourceStatus
- type ServerInternalException
- type ServiceNameAndResourceType
- type ServiceUnavailableException
- type Tag
- type TagFilter
- type TagLimitExceededException
- type TagPolicyViolationException
- type ThrottlingException
- type UnknownResourceException
- type UnmatchedPolicyPermissionException
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssociatedPermission ¶ added in v1.18.0
type AssociatedPermission struct { // The [Amazon Resource Name (ARN)] of the associated managed permission. // // [Amazon Resource Name (ARN)]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Arn *string // Indicates whether the associated resource share is using the default version of // the permission. DefaultVersion *bool // 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 PromoteResourceShareCreatedFromPolicyand that operation is still in // progress. This value changes to STANDARD when complete. FeatureSet PermissionFeatureSet // The date and time when the association between the permission and the resource // share was last updated. LastUpdatedTime *time.Time // The version of the permission currently associated with the resource share. PermissionVersion *string // // [Amazon Resource Name (ARN)]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html ResourceShareArn *string // The resource type to which this permission applies. ResourceType *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 // contains filtered or unexported fields }
An object that describes a managed permission associated with a resource share.
type IdempotentParameterMismatchException ¶
type IdempotentParameterMismatchException struct { Message *string ErrorCodeOverride *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) Error ¶
func (e *IdempotentParameterMismatchException) Error() string
func (*IdempotentParameterMismatchException) ErrorCode ¶
func (e *IdempotentParameterMismatchException) ErrorCode() string
func (*IdempotentParameterMismatchException) ErrorFault ¶
func (e *IdempotentParameterMismatchException) ErrorFault() smithy.ErrorFault
func (*IdempotentParameterMismatchException) ErrorMessage ¶
func (e *IdempotentParameterMismatchException) ErrorMessage() string
type InvalidClientTokenException ¶
type InvalidClientTokenException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The operation failed because the specified client token isn't valid.
func (*InvalidClientTokenException) Error ¶
func (e *InvalidClientTokenException) Error() string
func (*InvalidClientTokenException) ErrorCode ¶
func (e *InvalidClientTokenException) ErrorCode() string
func (*InvalidClientTokenException) ErrorFault ¶
func (e *InvalidClientTokenException) ErrorFault() smithy.ErrorFault
func (*InvalidClientTokenException) ErrorMessage ¶
func (e *InvalidClientTokenException) ErrorMessage() string
type InvalidMaxResultsException ¶
type InvalidMaxResultsException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The operation failed because the specified value for MaxResults isn't valid.
func (*InvalidMaxResultsException) Error ¶
func (e *InvalidMaxResultsException) Error() string
func (*InvalidMaxResultsException) ErrorCode ¶
func (e *InvalidMaxResultsException) ErrorCode() string
func (*InvalidMaxResultsException) ErrorFault ¶
func (e *InvalidMaxResultsException) ErrorFault() smithy.ErrorFault
func (*InvalidMaxResultsException) ErrorMessage ¶
func (e *InvalidMaxResultsException) ErrorMessage() string
type InvalidNextTokenException ¶
type InvalidNextTokenException struct { Message *string ErrorCodeOverride *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) Error ¶
func (e *InvalidNextTokenException) Error() string
func (*InvalidNextTokenException) ErrorCode ¶
func (e *InvalidNextTokenException) ErrorCode() string
func (*InvalidNextTokenException) ErrorFault ¶
func (e *InvalidNextTokenException) ErrorFault() smithy.ErrorFault
func (*InvalidNextTokenException) ErrorMessage ¶
func (e *InvalidNextTokenException) ErrorMessage() string
type InvalidParameterException ¶
type InvalidParameterException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The operation failed because a parameter you specified isn't valid.
func (*InvalidParameterException) Error ¶
func (e *InvalidParameterException) Error() string
func (*InvalidParameterException) ErrorCode ¶
func (e *InvalidParameterException) ErrorCode() string
func (*InvalidParameterException) ErrorFault ¶
func (e *InvalidParameterException) ErrorFault() smithy.ErrorFault
func (*InvalidParameterException) ErrorMessage ¶
func (e *InvalidParameterException) ErrorMessage() string
type InvalidPolicyException ¶ added in v1.18.0
type InvalidPolicyException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The operation failed because a policy you specified isn't valid.
func (*InvalidPolicyException) Error ¶ added in v1.18.0
func (e *InvalidPolicyException) Error() string
func (*InvalidPolicyException) ErrorCode ¶ added in v1.18.0
func (e *InvalidPolicyException) ErrorCode() string
func (*InvalidPolicyException) ErrorFault ¶ added in v1.18.0
func (e *InvalidPolicyException) ErrorFault() smithy.ErrorFault
func (*InvalidPolicyException) ErrorMessage ¶ added in v1.18.0
func (e *InvalidPolicyException) ErrorMessage() string
type InvalidResourceTypeException ¶
type InvalidResourceTypeException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The operation failed because the specified resource type isn't valid.
func (*InvalidResourceTypeException) Error ¶
func (e *InvalidResourceTypeException) Error() string
func (*InvalidResourceTypeException) ErrorCode ¶
func (e *InvalidResourceTypeException) ErrorCode() string
func (*InvalidResourceTypeException) ErrorFault ¶
func (e *InvalidResourceTypeException) ErrorFault() smithy.ErrorFault
func (*InvalidResourceTypeException) ErrorMessage ¶
func (e *InvalidResourceTypeException) ErrorMessage() string
type InvalidStateTransitionException ¶
type InvalidStateTransitionException struct { Message *string ErrorCodeOverride *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) Error ¶
func (e *InvalidStateTransitionException) Error() string
func (*InvalidStateTransitionException) ErrorCode ¶
func (e *InvalidStateTransitionException) ErrorCode() string
func (*InvalidStateTransitionException) ErrorFault ¶
func (e *InvalidStateTransitionException) ErrorFault() smithy.ErrorFault
func (*InvalidStateTransitionException) ErrorMessage ¶
func (e *InvalidStateTransitionException) ErrorMessage() string
type MalformedArnException ¶
type MalformedArnException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The operation failed because the specified Amazon Resource Name (ARN) has a format that isn't valid.
func (*MalformedArnException) Error ¶
func (e *MalformedArnException) Error() string
func (*MalformedArnException) ErrorCode ¶
func (e *MalformedArnException) ErrorCode() string
func (*MalformedArnException) ErrorFault ¶
func (e *MalformedArnException) ErrorFault() smithy.ErrorFault
func (*MalformedArnException) ErrorMessage ¶
func (e *MalformedArnException) ErrorMessage() string
type MalformedPolicyTemplateException ¶ added in v1.18.0
type MalformedPolicyTemplateException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The operation failed because the policy template that you provided isn't valid.
func (*MalformedPolicyTemplateException) Error ¶ added in v1.18.0
func (e *MalformedPolicyTemplateException) Error() string
func (*MalformedPolicyTemplateException) ErrorCode ¶ added in v1.18.0
func (e *MalformedPolicyTemplateException) ErrorCode() string
func (*MalformedPolicyTemplateException) ErrorFault ¶ added in v1.18.0
func (e *MalformedPolicyTemplateException) ErrorFault() smithy.ErrorFault
func (*MalformedPolicyTemplateException) ErrorMessage ¶ added in v1.18.0
func (e *MalformedPolicyTemplateException) ErrorMessage() string
type MissingRequiredParameterException ¶
type MissingRequiredParameterException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The operation failed because a required input parameter is missing.
func (*MissingRequiredParameterException) Error ¶
func (e *MissingRequiredParameterException) Error() string
func (*MissingRequiredParameterException) ErrorCode ¶
func (e *MissingRequiredParameterException) ErrorCode() string
func (*MissingRequiredParameterException) ErrorFault ¶
func (e *MissingRequiredParameterException) ErrorFault() smithy.ErrorFault
func (*MissingRequiredParameterException) ErrorMessage ¶
func (e *MissingRequiredParameterException) ErrorMessage() string
type OperationNotPermittedException ¶
type OperationNotPermittedException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The operation failed because the requested operation isn't permitted.
func (*OperationNotPermittedException) Error ¶
func (e *OperationNotPermittedException) Error() string
func (*OperationNotPermittedException) ErrorCode ¶
func (e *OperationNotPermittedException) ErrorCode() string
func (*OperationNotPermittedException) ErrorFault ¶
func (e *OperationNotPermittedException) ErrorFault() smithy.ErrorFault
func (*OperationNotPermittedException) ErrorMessage ¶
func (e *OperationNotPermittedException) ErrorMessage() string
type PermissionAlreadyExistsException ¶ added in v1.18.0
type PermissionAlreadyExistsException struct { Message *string ErrorCodeOverride *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) Error ¶ added in v1.18.0
func (e *PermissionAlreadyExistsException) Error() string
func (*PermissionAlreadyExistsException) ErrorCode ¶ added in v1.18.0
func (e *PermissionAlreadyExistsException) ErrorCode() string
func (*PermissionAlreadyExistsException) ErrorFault ¶ added in v1.18.0
func (e *PermissionAlreadyExistsException) ErrorFault() smithy.ErrorFault
func (*PermissionAlreadyExistsException) ErrorMessage ¶ added in v1.18.0
func (e *PermissionAlreadyExistsException) ErrorMessage() string
type PermissionFeatureSet ¶ added in v1.18.0
type PermissionFeatureSet string
const ( PermissionFeatureSetCreatedFromPolicy PermissionFeatureSet = "CREATED_FROM_POLICY" PermissionFeatureSetPromotingToStandard PermissionFeatureSet = "PROMOTING_TO_STANDARD" PermissionFeatureSetStandard PermissionFeatureSet = "STANDARD" )
Enum values for PermissionFeatureSet
func (PermissionFeatureSet) Values ¶ added in v1.18.0
func (PermissionFeatureSet) Values() []PermissionFeatureSet
Values returns all known values for PermissionFeatureSet. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type PermissionLimitExceededException ¶ added in v1.18.0
type PermissionLimitExceededException struct { Message *string ErrorCodeOverride *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.
func (*PermissionLimitExceededException) Error ¶ added in v1.18.0
func (e *PermissionLimitExceededException) Error() string
func (*PermissionLimitExceededException) ErrorCode ¶ added in v1.18.0
func (e *PermissionLimitExceededException) ErrorCode() string
func (*PermissionLimitExceededException) ErrorFault ¶ added in v1.18.0
func (e *PermissionLimitExceededException) ErrorFault() smithy.ErrorFault
func (*PermissionLimitExceededException) ErrorMessage ¶ added in v1.18.0
func (e *PermissionLimitExceededException) ErrorMessage() string
type PermissionStatus ¶ added in v1.18.0
type PermissionStatus string
const ( PermissionStatusAttachable PermissionStatus = "ATTACHABLE" PermissionStatusUnattachable PermissionStatus = "UNATTACHABLE" PermissionStatusDeleting PermissionStatus = "DELETING" PermissionStatusDeleted PermissionStatus = "DELETED" )
Enum values for PermissionStatus
func (PermissionStatus) Values ¶ added in v1.18.0
func (PermissionStatus) Values() []PermissionStatus
Values returns all known values for PermissionStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type PermissionType ¶ added in v1.18.0
type PermissionType string
const ( PermissionTypeCustomerManaged PermissionType = "CUSTOMER_MANAGED" PermissionTypeAwsManaged PermissionType = "AWS_MANAGED" )
Enum values for PermissionType
func (PermissionType) Values ¶ added in v1.18.0
func (PermissionType) Values() []PermissionType
Values returns all known values for PermissionType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type PermissionTypeFilter ¶ added in v1.18.0
type PermissionTypeFilter string
const ( PermissionTypeFilterAll PermissionTypeFilter = "ALL" PermissionTypeFilterAwsManaged PermissionTypeFilter = "AWS_MANAGED" PermissionTypeFilterCustomerManaged PermissionTypeFilter = "CUSTOMER_MANAGED" )
Enum values for PermissionTypeFilter
func (PermissionTypeFilter) Values ¶ added in v1.18.0
func (PermissionTypeFilter) Values() []PermissionTypeFilter
Values returns all known values for PermissionTypeFilter. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type PermissionVersionsLimitExceededException ¶ added in v1.18.0
type PermissionVersionsLimitExceededException struct { Message *string ErrorCodeOverride *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.
func (*PermissionVersionsLimitExceededException) Error ¶ added in v1.18.0
func (e *PermissionVersionsLimitExceededException) Error() string
func (*PermissionVersionsLimitExceededException) ErrorCode ¶ added in v1.18.0
func (e *PermissionVersionsLimitExceededException) ErrorCode() string
func (*PermissionVersionsLimitExceededException) ErrorFault ¶ added in v1.18.0
func (e *PermissionVersionsLimitExceededException) ErrorFault() smithy.ErrorFault
func (*PermissionVersionsLimitExceededException) ErrorMessage ¶ added in v1.18.0
func (e *PermissionVersionsLimitExceededException) ErrorMessage() string
type Principal ¶
type Principal struct { // The date and time when the principal was associated with the resource share. CreationTime *time.Time // 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 // The ID of the principal that can be associated with a resource share. Id *string // The date and time when the association between the resource share and the // principal was last updated. LastUpdatedTime *time.Time // // [Amazon Resource Name (ARN)]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html ResourceShareArn *string // contains filtered or unexported fields }
Describes a principal for use with Resource Access Manager.
type ReplacePermissionAssociationsWork ¶ added in v1.18.0
type ReplacePermissionAssociationsWork struct { // The date and time when this asynchronous background task was created. CreationTime *time.Time // The [Amazon Resource Name (ARN)] of the managed permission that this background task is replacing. // // [Amazon Resource Name (ARN)]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html FromPermissionArn *string // The version of the managed permission that this background task is replacing. FromPermissionVersion *string // The unique identifier for the background task associated with one ReplacePermissionAssociations request. Id *string // The date and time when the status of this background task was last updated. LastUpdatedTime *time.Time // 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 ReplacePermissionAssociationsWorkStatus // Specifies the reason for a FAILED status. This field is present only when there // status is FAILED . StatusMessage *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 // 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 // contains filtered or unexported fields }
A structure that represents the background work that RAM performs when you invoke the ReplacePermissionAssociationsoperation.
type ReplacePermissionAssociationsWorkStatus ¶ added in v1.18.0
type ReplacePermissionAssociationsWorkStatus string
const ( ReplacePermissionAssociationsWorkStatusInProgress ReplacePermissionAssociationsWorkStatus = "IN_PROGRESS" ReplacePermissionAssociationsWorkStatusCompleted ReplacePermissionAssociationsWorkStatus = "COMPLETED" ReplacePermissionAssociationsWorkStatusFailed ReplacePermissionAssociationsWorkStatus = "FAILED" )
Enum values for ReplacePermissionAssociationsWorkStatus
func (ReplacePermissionAssociationsWorkStatus) Values ¶ added in v1.18.0
Values returns all known values for ReplacePermissionAssociationsWorkStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type Resource ¶
type Resource struct { // The [Amazon Resource Name (ARN)] of the resource. // // [Amazon Resource Name (ARN)]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Arn *string // The date and time when the resource was associated with the resource share. CreationTime *time.Time // The date an time when the association between the resource and the resource // share was last updated. LastUpdatedTime *time.Time // The [Amazon Resource Name (ARN)] of the resource group. This value is available only if the resource is // part of a resource group. // // [Amazon Resource Name (ARN)]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html ResourceGroupArn *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 ResourceRegionScope // // [Amazon Resource Name (ARN)]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html ResourceShareArn *string // The current status of the resource. Status ResourceStatus // A message about the status of the resource. StatusMessage *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 // contains filtered or unexported fields }
Describes a resource associated with a resource share in RAM.
type ResourceArnNotFoundException ¶
type ResourceArnNotFoundException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The operation failed because the specified Amazon Resource Name (ARN) was not found.
func (*ResourceArnNotFoundException) Error ¶
func (e *ResourceArnNotFoundException) Error() string
func (*ResourceArnNotFoundException) ErrorCode ¶
func (e *ResourceArnNotFoundException) ErrorCode() string
func (*ResourceArnNotFoundException) ErrorFault ¶
func (e *ResourceArnNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceArnNotFoundException) ErrorMessage ¶
func (e *ResourceArnNotFoundException) ErrorMessage() string
type ResourceOwner ¶
type ResourceOwner string
const ( ResourceOwnerSelf ResourceOwner = "SELF" ResourceOwnerOtherAccounts ResourceOwner = "OTHER-ACCOUNTS" )
Enum values for ResourceOwner
func (ResourceOwner) Values ¶ added in v0.29.0
func (ResourceOwner) Values() []ResourceOwner
Values returns all known values for ResourceOwner. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ResourceRegionScope ¶ added in v1.10.0
type ResourceRegionScope string
const ( ResourceRegionScopeRegional ResourceRegionScope = "REGIONAL" ResourceRegionScopeGlobal ResourceRegionScope = "GLOBAL" )
Enum values for ResourceRegionScope
func (ResourceRegionScope) Values ¶ added in v1.10.0
func (ResourceRegionScope) Values() []ResourceRegionScope
Values returns all known values for ResourceRegionScope. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ResourceRegionScopeFilter ¶ added in v1.10.0
type ResourceRegionScopeFilter string
const ( ResourceRegionScopeFilterAll ResourceRegionScopeFilter = "ALL" ResourceRegionScopeFilterRegional ResourceRegionScopeFilter = "REGIONAL" ResourceRegionScopeFilterGlobal ResourceRegionScopeFilter = "GLOBAL" )
Enum values for ResourceRegionScopeFilter
func (ResourceRegionScopeFilter) Values ¶ added in v1.10.0
func (ResourceRegionScopeFilter) Values() []ResourceRegionScopeFilter
Values returns all known values for ResourceRegionScopeFilter. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ResourceShare ¶
type ResourceShare struct { // 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 CreationTime *time.Time // 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 PromoteResourceShareCreatedFromPolicyand that operation is still in // progress. This value changes to STANDARD when complete. FeatureSet ResourceShareFeatureSet LastUpdatedTime *time.Time Name *string OwningAccountId *string // // [Amazon Resource Name (ARN)]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html ResourceShareArn *string Status ResourceShareStatus StatusMessage *string Tags []Tag // contains filtered or unexported fields }
Describes a resource share in RAM.
type ResourceShareAssociation ¶
type ResourceShareAssociation struct { // // - For a resource association, this is the [Amazon Resource Name (ARN)]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)]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 // // [Amazon Resource Name (ARN)]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html AssociatedEntity *string AssociationType ResourceShareAssociationType CreationTime *time.Time // Organizations as the Amazon Web Services account that owns the resource share. External *bool LastUpdatedTime *time.Time // // [Amazon Resource Name (ARN)]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html ResourceShareArn *string ResourceShareName *string Status ResourceShareAssociationStatus StatusMessage *string // contains filtered or unexported fields }
Describes an association between a resource share and either a principal or a resource.
type ResourceShareAssociationStatus ¶
type ResourceShareAssociationStatus string
const ()
Enum values for ResourceShareAssociationStatus
func (ResourceShareAssociationStatus) Values ¶ added in v0.29.0
func (ResourceShareAssociationStatus) Values() []ResourceShareAssociationStatus
Values returns all known values for ResourceShareAssociationStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ResourceShareAssociationType ¶
type ResourceShareAssociationType string
const ()
Enum values for ResourceShareAssociationType
func (ResourceShareAssociationType) Values ¶ added in v0.29.0
func (ResourceShareAssociationType) Values() []ResourceShareAssociationType
Values returns all known values for ResourceShareAssociationType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ResourceShareFeatureSet ¶
type ResourceShareFeatureSet string
const ()
Enum values for ResourceShareFeatureSet
func (ResourceShareFeatureSet) Values ¶ added in v0.29.0
func (ResourceShareFeatureSet) Values() []ResourceShareFeatureSet
Values returns all known values for ResourceShareFeatureSet. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ResourceShareInvitation ¶
type ResourceShareInvitation struct { time.Time ReceiverAccountId *string // // [Amazon Resource Name (ARN)]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html ReceiverArn *string // // [Amazon Resource Name (ARN)]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html ResourceShareArn *string // // Deprecated: This member has been deprecated. Use ListPendingInvitationResources. ResourceShareAssociations []ResourceShareAssociation // // [Amazon Resource Name (ARN)]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html ResourceShareInvitationArn *string ResourceShareName *string SenderAccountId *string Status ResourceShareInvitationStatus // contains filtered or unexported fields }InvitationTimestamp *
Describes an invitation for an Amazon Web Services account to join a resource share.
type ResourceShareInvitationAlreadyAcceptedException ¶
type ResourceShareInvitationAlreadyAcceptedException struct { // contains filtered or unexported fields }
The operation failed because the specified invitation was already accepted.
func (*ResourceShareInvitationAlreadyAcceptedException) Error ¶
func (e *ResourceShareInvitationAlreadyAcceptedException) Error() string
func (*ResourceShareInvitationAlreadyAcceptedException) ErrorCode ¶
func (e *ResourceShareInvitationAlreadyAcceptedException) ErrorCode() string
func (*ResourceShareInvitationAlreadyAcceptedException) ErrorFault ¶
func (e *ResourceShareInvitationAlreadyAcceptedException) ErrorFault() smithy.ErrorFault
func (*ResourceShareInvitationAlreadyAcceptedException) ErrorMessage ¶
func (e *ResourceShareInvitationAlreadyAcceptedException) ErrorMessage() string
type ResourceShareInvitationAlreadyRejectedException ¶
type ResourceShareInvitationAlreadyRejectedException struct { // contains filtered or unexported fields }
The operation failed because the specified invitation was already rejected.
func (*ResourceShareInvitationAlreadyRejectedException) Error ¶
func (e *ResourceShareInvitationAlreadyRejectedException) Error() string
func (*ResourceShareInvitationAlreadyRejectedException) ErrorCode ¶
func (e *ResourceShareInvitationAlreadyRejectedException) ErrorCode() string
func (*ResourceShareInvitationAlreadyRejectedException) ErrorFault ¶
func (e *ResourceShareInvitationAlreadyRejectedException) ErrorFault() smithy.ErrorFault
func (*ResourceShareInvitationAlreadyRejectedException) ErrorMessage ¶
func (e *ResourceShareInvitationAlreadyRejectedException) ErrorMessage() string
type ResourceShareInvitationArnNotFoundException ¶
type ResourceShareInvitationArnNotFoundException struct { // contains filtered or unexported fields }
The operation failed because the specified Amazon Resource Name (ARN) for an invitation was not found.
func (*ResourceShareInvitationArnNotFoundException) Error ¶
func (e *ResourceShareInvitationArnNotFoundException) Error() string
func (*ResourceShareInvitationArnNotFoundException) ErrorCode ¶
func (e *ResourceShareInvitationArnNotFoundException) ErrorCode() string
func (*ResourceShareInvitationArnNotFoundException) ErrorFault ¶
func (e *ResourceShareInvitationArnNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceShareInvitationArnNotFoundException) ErrorMessage ¶
func (e *ResourceShareInvitationArnNotFoundException) ErrorMessage() string
type ResourceShareInvitationExpiredException ¶
type ResourceShareInvitationExpiredException struct { // contains filtered or unexported fields }
The operation failed because the specified invitation is past its expiration date and time.
func (*ResourceShareInvitationExpiredException) Error ¶
func (e *ResourceShareInvitationExpiredException) Error() string
func (*ResourceShareInvitationExpiredException) ErrorCode ¶
func (e *ResourceShareInvitationExpiredException) ErrorCode() string
func (*ResourceShareInvitationExpiredException) ErrorFault ¶
func (e *ResourceShareInvitationExpiredException) ErrorFault() smithy.ErrorFault
func (*ResourceShareInvitationExpiredException) ErrorMessage ¶
func (e *ResourceShareInvitationExpiredException) ErrorMessage() string
type ResourceShareInvitationStatus ¶
type ResourceShareInvitationStatus string
const ()
Enum values for ResourceShareInvitationStatus
func (ResourceShareInvitationStatus) Values ¶ added in v0.29.0
func (ResourceShareInvitationStatus) Values() []ResourceShareInvitationStatus
Values returns all known values for ResourceShareInvitationStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ResourceShareLimitExceededException ¶
type ResourceShareLimitExceededException struct { // 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.
func (*ResourceShareLimitExceededException) Error ¶
func (e *ResourceShareLimitExceededException) Error() string
func (*ResourceShareLimitExceededException) ErrorCode ¶
func (e *ResourceShareLimitExceededException) ErrorCode() string
func (*ResourceShareLimitExceededException) ErrorFault ¶
func (e *ResourceShareLimitExceededException) ErrorFault() smithy.ErrorFault
func (*ResourceShareLimitExceededException) ErrorMessage ¶
func (e *ResourceShareLimitExceededException) ErrorMessage() string
type ResourceSharePermissionDetail ¶
type ResourceSharePermissionDetail struct { // // [Amazon Resource Name (ARN)]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Arn *string CreationTime *time.Time // the default version for this permission. DefaultVersion *bool // 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 PromoteResourceShareCreatedFromPolicyand that operation is still in // progress. This value changes to STANDARD when complete. FeatureSet PermissionFeatureSet // the default version for all resources of this resource type. IsResourceTypeDefault *bool LastUpdatedTime *time.Time Name *string // whether the specified actions are allowed or denied. The actions list the // operations to which the principal is granted or denied access. Permission *string // // - 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 PermissionType ResourceType *string // 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 PermissionStatus Tags []Tag Version *string // contains filtered or unexported fields }
Information about a RAM managed permission.
type ResourceSharePermissionSummary ¶
type ResourceSharePermissionSummary struct { // // [Amazon Resource Name (ARN)]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Arn *string CreationTime *time.Time // share is the default version for this managed permission. DefaultVersion *bool // 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 PromoteResourceShareCreatedFromPolicyand that operation is still in // progress. This value changes to STANDARD when complete. FeatureSet PermissionFeatureSet // the default managed permission for all resources of this resource type. IsResourceTypeDefault *bool LastUpdatedTime *time.Time Name *string // // - 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 PermissionType // service-code : resource-code , and is case-insensitive. For example, an Amazon // EC2 Subnet would be represented by the string ec2:subnet . ResourceType *string Status *string Tags []Tag Version *string // contains filtered or unexported fields }
Information about an RAM permission.
type ResourceShareStatus ¶
type ResourceShareStatus string
const ()
Enum values for ResourceShareStatus
func (ResourceShareStatus) Values ¶ added in v0.29.0
func (ResourceShareStatus) Values() []ResourceShareStatus
Values returns all known values for ResourceShareStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ResourceStatus ¶
type ResourceStatus string
const ( ResourceStatusAvailable ResourceStatus = "AVAILABLE" ResourceStatusZonalResourceInaccessible ResourceStatus = "ZONAL_RESOURCE_INACCESSIBLE" ResourceStatusLimitExceeded ResourceStatus = "LIMIT_EXCEEDED" ResourceStatusPending ResourceStatus = "PENDING" )
Enum values for ResourceStatus
func (ResourceStatus) Values ¶ added in v0.29.0
func (ResourceStatus) Values() []ResourceStatus
Values returns all known values for ResourceStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ServerInternalException ¶
type ServerInternalException struct { Message *string ErrorCodeOverride *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) Error ¶
func (e *ServerInternalException) Error() string
func (*ServerInternalException) ErrorCode ¶
func (e *ServerInternalException) ErrorCode() string
func (*ServerInternalException) ErrorFault ¶
func (e *ServerInternalException) ErrorFault() smithy.ErrorFault
func (*ServerInternalException) ErrorMessage ¶
func (e *ServerInternalException) ErrorMessage() string
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 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 // The name of the Amazon Web Services service to which resources of this type // belong. ServiceName *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.
type ServiceUnavailableException ¶
type ServiceUnavailableException struct { // contains filtered or unexported fields }
The operation failed because the service isn't available. Try again later.
func (*ServiceUnavailableException) Error ¶
func (e *ServiceUnavailableException) Error() string
func (*ServiceUnavailableException) ErrorCode ¶
func (e *ServiceUnavailableException) ErrorCode() string
func (*ServiceUnavailableException) ErrorFault ¶
func (e *ServiceUnavailableException) ErrorFault() smithy.ErrorFault
func (*ServiceUnavailableException) ErrorMessage ¶
func (e *ServiceUnavailableException) ErrorMessage() string
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 // The string value attached to the tag. The value can be an empty string. Key // values are case sensitive. Value *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.
For more information about tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
type TagFilter ¶
type TagFilter struct { // The tag key. This must have a valid string value and can't be empty. TagKey *string // 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 // contains filtered or unexported fields }
A tag key and optional list of possible values that you can use to filter results for tagged resources.
type TagLimitExceededException ¶
type TagLimitExceededException struct { Message *string ErrorCodeOverride *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) Error ¶
func (e *TagLimitExceededException) Error() string
func (*TagLimitExceededException) ErrorCode ¶
func (e *TagLimitExceededException) ErrorCode() string
func (*TagLimitExceededException) ErrorFault ¶
func (e *TagLimitExceededException) ErrorFault() smithy.ErrorFault
func (*TagLimitExceededException) ErrorMessage ¶
func (e *TagLimitExceededException) ErrorMessage() string
type TagPolicyViolationException ¶
type TagPolicyViolationException struct { Message *string ErrorCodeOverride *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) Error ¶
func (e *TagPolicyViolationException) Error() string
func (*TagPolicyViolationException) ErrorCode ¶
func (e *TagPolicyViolationException) ErrorCode() string
func (*TagPolicyViolationException) ErrorFault ¶
func (e *TagPolicyViolationException) ErrorFault() smithy.ErrorFault
func (*TagPolicyViolationException) ErrorMessage ¶
func (e *TagPolicyViolationException) ErrorMessage() string
type ThrottlingException ¶ added in v1.10.0
type ThrottlingException struct { Message *string ErrorCodeOverride *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) Error ¶ added in v1.10.0
func (e *ThrottlingException) Error() string
func (*ThrottlingException) ErrorCode ¶ added in v1.10.0
func (e *ThrottlingException) ErrorCode() string
func (*ThrottlingException) ErrorFault ¶ added in v1.10.0
func (e *ThrottlingException) ErrorFault() smithy.ErrorFault
func (*ThrottlingException) ErrorMessage ¶ added in v1.10.0
func (e *ThrottlingException) ErrorMessage() string
type UnknownResourceException ¶
type UnknownResourceException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The operation failed because a specified resource couldn't be found.
func (*UnknownResourceException) Error ¶
func (e *UnknownResourceException) Error() string
func (*UnknownResourceException) ErrorCode ¶
func (e *UnknownResourceException) ErrorCode() string
func (*UnknownResourceException) ErrorFault ¶
func (e *UnknownResourceException) ErrorFault() smithy.ErrorFault
func (*UnknownResourceException) ErrorMessage ¶
func (e *UnknownResourceException) ErrorMessage() string
type UnmatchedPolicyPermissionException ¶ added in v1.18.0
type UnmatchedPolicyPermissionException struct { Message *string ErrorCodeOverride *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 PromotePermissionCreatedFromPolicyto create that managed permission.
func (*UnmatchedPolicyPermissionException) Error ¶ added in v1.18.0
func (e *UnmatchedPolicyPermissionException) Error() string
func (*UnmatchedPolicyPermissionException) ErrorCode ¶ added in v1.18.0
func (e *UnmatchedPolicyPermissionException) ErrorCode() string
func (*UnmatchedPolicyPermissionException) ErrorFault ¶ added in v1.18.0
func (e *UnmatchedPolicyPermissionException) ErrorFault() smithy.ErrorFault
func (*UnmatchedPolicyPermissionException) ErrorMessage ¶ added in v1.18.0
func (e *UnmatchedPolicyPermissionException) ErrorMessage() string