types

package
v1.25.4 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 7

Documentation

Index

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) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the associated managed permission.
	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
	//   PromoteResourceShareCreatedFromPolicy and 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

	// 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

	// 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 (*IdempotentParameterMismatchException) ErrorCode

func (*IdempotentParameterMismatchException) 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 (*InvalidClientTokenException) ErrorCode

func (e *InvalidClientTokenException) ErrorCode() string

func (*InvalidClientTokenException) 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 (*InvalidMaxResultsException) ErrorCode

func (e *InvalidMaxResultsException) ErrorCode() string

func (*InvalidMaxResultsException) 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 (*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 (*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 (*InvalidResourceTypeException) ErrorCode

func (e *InvalidResourceTypeException) ErrorCode() string

func (*InvalidResourceTypeException) 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 (*InvalidStateTransitionException) ErrorCode

func (e *InvalidStateTransitionException) ErrorCode() string

func (*InvalidStateTransitionException) 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) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) 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 (*MalformedPolicyTemplateException) ErrorCode added in v1.18.0

func (*MalformedPolicyTemplateException) ErrorFault added in v1.18.0

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 (*MissingRequiredParameterException) ErrorCode

func (*MissingRequiredParameterException) 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 (*OperationNotPermittedException) ErrorCode

func (e *OperationNotPermittedException) ErrorCode() string

func (*OperationNotPermittedException) 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 (*PermissionAlreadyExistsException) ErrorCode added in v1.18.0

func (*PermissionAlreadyExistsException) ErrorFault added in v1.18.0

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

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 (https://console.aws.amazon.com/servicequotas/home/services/ram/quotas) .

func (*PermissionLimitExceededException) Error added in v1.18.0

func (*PermissionLimitExceededException) ErrorCode added in v1.18.0

func (*PermissionLimitExceededException) ErrorFault added in v1.18.0

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

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

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 (https://console.aws.amazon.com/servicequotas/home/services/ram/quotas) .

func (*PermissionVersionsLimitExceededException) Error added in v1.18.0

func (*PermissionVersionsLimitExceededException) ErrorCode added in v1.18.0

func (*PermissionVersionsLimitExceededException) ErrorFault added in v1.18.0

func (*PermissionVersionsLimitExceededException) ErrorMessage added in v1.18.0

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

	// 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
	// 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) (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

	// 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 ReplacePermissionAssociations operation.

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) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the resource.
	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) (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

	// 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

	// 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

	// 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) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) was not found.

func (*ResourceArnNotFoundException) Error

func (*ResourceArnNotFoundException) ErrorCode

func (e *ResourceArnNotFoundException) ErrorCode() string

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

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

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 {

	// 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

	// The date and time when the resource share was created.
	CreationTime *time.Time

	// 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 ResourceShareFeatureSet

	// The date and time when the resource share was last updated.
	LastUpdatedTime *time.Time

	// The name of the resource share.
	Name *string

	// The ID of the Amazon Web Services account that owns the resource share.
	OwningAccountId *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

	// The current status of the resource share.
	Status ResourceShareStatus

	// A message about the status of the resource share.
	StatusMessage *string

	// The tag key and value pairs attached to the resource share.
	Tags []Tag
	// contains filtered or unexported fields
}

Describes a resource share in RAM.

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

	// The type of entity included in this association.
	AssociationType ResourceShareAssociationType

	// The date and time when the association was created.
	CreationTime *time.Time

	// Indicates whether the principal belongs to the same organization in
	// Organizations as the Amazon Web Services account that owns the resource share.
	External *bool

	// The date and time when the association was last updated.
	LastUpdatedTime *time.Time

	// The Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the resource share.
	ResourceShareArn *string

	// The name of the resource share.
	ResourceShareName *string

	// The current status of the association.
	Status ResourceShareAssociationStatus

	// A message about the status of the association.
	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 (
	ResourceShareAssociationStatusAssociating    ResourceShareAssociationStatus = "ASSOCIATING"
	ResourceShareAssociationStatusAssociated     ResourceShareAssociationStatus = "ASSOCIATED"
	ResourceShareAssociationStatusFailed         ResourceShareAssociationStatus = "FAILED"
	ResourceShareAssociationStatusDisassociating ResourceShareAssociationStatus = "DISASSOCIATING"
	ResourceShareAssociationStatusDisassociated  ResourceShareAssociationStatus = "DISASSOCIATED"
)

Enum values for ResourceShareAssociationStatus

func (ResourceShareAssociationStatus) Values added in v0.29.0

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 (
	ResourceShareAssociationTypePrincipal ResourceShareAssociationType = "PRINCIPAL"
	ResourceShareAssociationTypeResource  ResourceShareAssociationType = "RESOURCE"
)

Enum values for ResourceShareAssociationType

func (ResourceShareAssociationType) Values added in v0.29.0

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 (
	ResourceShareFeatureSetCreatedFromPolicy   ResourceShareFeatureSet = "CREATED_FROM_POLICY"
	ResourceShareFeatureSetPromotingToStandard ResourceShareFeatureSet = "PROMOTING_TO_STANDARD"
	ResourceShareFeatureSetStandard            ResourceShareFeatureSet = "STANDARD"
)

Enum values for ResourceShareFeatureSet

func (ResourceShareFeatureSet) Values added in v0.29.0

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 {

	// The date and time when the invitation was sent.
	InvitationTimestamp *time.Time

	// The ID of the Amazon Web Services account that received the invitation.
	ReceiverAccountId *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

	// The Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the resource share
	ResourceShareArn *string

	// To view the resources associated with a pending resource share invitation, use
	// ListPendingInvitationResources .
	//
	// Deprecated: This member has been deprecated. Use ListPendingInvitationResources.
	ResourceShareAssociations []ResourceShareAssociation

	// The Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
	// of the invitation.
	ResourceShareInvitationArn *string

	// The name of the resource share.
	ResourceShareName *string

	// The ID of the Amazon Web Services account that sent the invitation.
	SenderAccountId *string

	// The current status of the invitation.
	Status ResourceShareInvitationStatus
	// contains filtered or unexported fields
}

Describes an invitation for an Amazon Web Services account to join a resource share.

type ResourceShareInvitationAlreadyAcceptedException

type ResourceShareInvitationAlreadyAcceptedException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The operation failed because the specified invitation was already accepted.

func (*ResourceShareInvitationAlreadyAcceptedException) Error

func (*ResourceShareInvitationAlreadyAcceptedException) ErrorCode

func (*ResourceShareInvitationAlreadyAcceptedException) ErrorFault

func (*ResourceShareInvitationAlreadyAcceptedException) ErrorMessage

type ResourceShareInvitationAlreadyRejectedException

type ResourceShareInvitationAlreadyRejectedException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The operation failed because the specified invitation was already rejected.

func (*ResourceShareInvitationAlreadyRejectedException) Error

func (*ResourceShareInvitationAlreadyRejectedException) ErrorCode

func (*ResourceShareInvitationAlreadyRejectedException) ErrorFault

func (*ResourceShareInvitationAlreadyRejectedException) ErrorMessage

type ResourceShareInvitationArnNotFoundException

type ResourceShareInvitationArnNotFoundException struct {
	Message *string

	ErrorCodeOverride *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) Error

func (*ResourceShareInvitationArnNotFoundException) ErrorCode

func (*ResourceShareInvitationArnNotFoundException) ErrorFault

func (*ResourceShareInvitationArnNotFoundException) ErrorMessage

type ResourceShareInvitationExpiredException

type ResourceShareInvitationExpiredException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

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

func (*ResourceShareInvitationExpiredException) Error

func (*ResourceShareInvitationExpiredException) ErrorCode

func (*ResourceShareInvitationExpiredException) ErrorFault

func (*ResourceShareInvitationExpiredException) ErrorMessage

type ResourceShareInvitationStatus

type ResourceShareInvitationStatus string
const (
	ResourceShareInvitationStatusPending  ResourceShareInvitationStatus = "PENDING"
	ResourceShareInvitationStatusAccepted ResourceShareInvitationStatus = "ACCEPTED"
	ResourceShareInvitationStatusRejected ResourceShareInvitationStatus = "REJECTED"
	ResourceShareInvitationStatusExpired  ResourceShareInvitationStatus = "EXPIRED"
)

Enum values for ResourceShareInvitationStatus

func (ResourceShareInvitationStatus) Values added in v0.29.0

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 {
	Message *string

	ErrorCodeOverride *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) Error

func (*ResourceShareLimitExceededException) ErrorCode

func (*ResourceShareLimitExceededException) ErrorFault

func (*ResourceShareLimitExceededException) ErrorMessage

func (e *ResourceShareLimitExceededException) ErrorMessage() string

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

	// The date and time when the permission was created.
	CreationTime *time.Time

	// Specifies whether the version of the permission represented in this response is
	// the default version for this 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
	//   PromoteResourceShareCreatedFromPolicy and that operation is still in progress.
	//   This value changes to STANDARD when complete.
	FeatureSet 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

	// The date and time when the permission was last updated.
	LastUpdatedTime *time.Time

	// The name of this permission.
	Name *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

	// 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 PermissionType

	// 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 PermissionStatus

	// The tag key and value pairs attached to the resource share.
	Tags []Tag

	// The version of the permission described in this response.
	Version *string
	// contains filtered or unexported fields
}

Information about a RAM managed permission.

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

	// The date and time when the permission was created.
	CreationTime *time.Time

	// Specifies whether the version of the managed permission used by this resource
	// share is the default version for this managed 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
	//   PromoteResourceShareCreatedFromPolicy and that operation is still in progress.
	//   This value changes to STANDARD when complete.
	FeatureSet 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

	// The date and time when the permission was last updated.
	LastUpdatedTime *time.Time

	// The name of this managed permission.
	Name *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 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

	// The current status of the permission.
	Status *string

	// A list of the tag key value pairs currently attached to the permission.
	Tags []Tag

	// The version of the permission associated with this resource share.
	Version *string
	// contains filtered or unexported fields
}

Information about an RAM permission.

type ResourceShareStatus

type ResourceShareStatus string
const (
	ResourceShareStatusPending  ResourceShareStatus = "PENDING"
	ResourceShareStatusActive   ResourceShareStatus = "ACTIVE"
	ResourceShareStatusFailed   ResourceShareStatus = "FAILED"
	ResourceShareStatusDeleting ResourceShareStatus = "DELETING"
	ResourceShareStatusDeleted  ResourceShareStatus = "DELETED"
)

Enum values for ResourceShareStatus

func (ResourceShareStatus) Values added in v0.29.0

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"
	ResourceStatusUnavailable               ResourceStatus = "UNAVAILABLE"
	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 {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

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

func (*ServiceUnavailableException) Error

func (*ServiceUnavailableException) ErrorCode

func (e *ServiceUnavailableException) ErrorCode() string

func (*ServiceUnavailableException) 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 (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html) . For more information about tags, see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) in the Amazon Web Services General Reference Guide.

type TagFilter

type TagFilter struct {

	// The tag key. This must have a valid string value and can't be empty.
	TagKey *string

	// 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 (*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 (*TagPolicyViolationException) ErrorCode

func (e *TagPolicyViolationException) ErrorCode() string

func (*TagPolicyViolationException) 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 PromotePermissionCreatedFromPolicy to create that managed permission.

func (*UnmatchedPolicyPermissionException) Error added in v1.18.0

func (*UnmatchedPolicyPermissionException) ErrorCode added in v1.18.0

func (*UnmatchedPolicyPermissionException) ErrorFault added in v1.18.0

func (*UnmatchedPolicyPermissionException) ErrorMessage added in v1.18.0

func (e *UnmatchedPolicyPermissionException) ErrorMessage() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL