types

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2021 License: Apache-2.0 Imports: 4 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IdempotentParameterMismatchException

type IdempotentParameterMismatchException struct {
	Message *string
	// contains filtered or unexported fields
}

A client token input parameter was reused with an operation, but at least one of the other input parameters is different from the previous call to the operation.

func (*IdempotentParameterMismatchException) Error

func (*IdempotentParameterMismatchException) ErrorCode

func (*IdempotentParameterMismatchException) ErrorFault

func (*IdempotentParameterMismatchException) ErrorMessage

func (e *IdempotentParameterMismatchException) ErrorMessage() string

type InvalidClientTokenException

type InvalidClientTokenException struct {
	Message *string
	// contains filtered or unexported fields
}

A client token is not 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
	// contains filtered or unexported fields
}

The specified value for MaxResults is not 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
	// contains filtered or unexported fields
}

The specified value for NextToken is not valid.

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
	// contains filtered or unexported fields
}

A parameter is not 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 InvalidResourceTypeException

type InvalidResourceTypeException struct {
	Message *string
	// contains filtered or unexported fields
}

The specified resource type is not 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
	// contains filtered or unexported fields
}

The requested state transition is not valid.

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
	// contains filtered or unexported fields
}

The format of an Amazon Resource Name (ARN) is not 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 MissingRequiredParameterException

type MissingRequiredParameterException struct {
	Message *string
	// contains filtered or unexported fields
}

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
	// contains filtered or unexported fields
}

The requested operation is not permitted.

func (*OperationNotPermittedException) Error

func (*OperationNotPermittedException) ErrorCode

func (e *OperationNotPermittedException) ErrorCode() string

func (*OperationNotPermittedException) ErrorFault

func (*OperationNotPermittedException) ErrorMessage

func (e *OperationNotPermittedException) ErrorMessage() string

type Principal

type Principal struct {

	// The time when the principal was associated with the resource share.
	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 ID of the principal.
	Id *string

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

	// The Amazon Resource Name (ARN) of the resource share.
	ResourceShareArn *string
	// contains filtered or unexported fields
}

Describes a principal for use with Resource Access Manager.

type Resource

type Resource struct {

	// The Amazon Resource Name (ARN) of the resource.
	Arn *string

	// The time when the resource was associated with the resource share.
	CreationTime *time.Time

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

	// The Amazon Resource Name (ARN) of the resource group. This value is returned
	// only if the resource is a resource group.
	ResourceGroupArn *string

	// The Amazon Resource Name (ARN) of the resource share.
	ResourceShareArn *string

	// The status of the resource.
	Status ResourceStatus

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

	// The resource type.
	Type *string
	// contains filtered or unexported fields
}

Describes a resource associated with a resource share.

type ResourceArnNotFoundException

type ResourceArnNotFoundException struct {
	Message *string
	// contains filtered or unexported fields
}

An Amazon Resource Name (ARN) 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 ResourceShare

type ResourceShare struct {

	// Indicates whether principals outside your organization in Organizations can be
	// associated with a resource share.
	AllowExternalPrincipals *bool

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

	// Indicates how the resource share was created. Possible values include:
	//
	// *
	// CREATED_FROM_POLICY - Indicates that the resource share was created from an
	// Amazon Web Services Identity and Access Management (Amazon Web Services IAM)
	// policy attached to a resource. These resource shares are visible only to the
	// Amazon Web Services account that created it. They cannot be modified in RAM.
	//
	// *
	// PROMOTING_TO_STANDARD - The resource share is in the process of being promoted.
	// For more information, see PromoteResourceShareCreatedFromPolicy.
	//
	// * STANDARD -
	// Indicates that the resource share was created in RAM using the console or APIs.
	// These resource shares are visible to all principals. They can be modified in
	// RAM.
	FeatureSet ResourceShareFeatureSet

	// The 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) of the resource share.
	ResourceShareArn *string

	// The status of the resource share.
	Status ResourceShareStatus

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

	// The tags for the resource share.
	Tags []Tag
	// contains filtered or unexported fields
}

Describes a resource share.

type ResourceShareAssociation

type ResourceShareAssociation struct {

	// The associated entity. For resource associations, this is the Amazon Resource
	// Name (ARN) of the resource. For principal associations, this is one of the
	// following:
	//
	// * An Amazon Web Services account ID
	//
	// * An ARN of an organization in
	// Organizations
	//
	// * An ARN of an organizational unit (OU) in Organizations
	//
	// * An
	// ARN of an IAM role
	//
	// * An ARN of an IAM user
	AssociatedEntity *string

	// The association type.
	AssociationType ResourceShareAssociationType

	// The 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 time when the association was last updated.
	LastUpdatedTime *time.Time

	// The Amazon Resource Name (ARN) of the resource share.
	ResourceShareArn *string

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

	// The status of the association.
	Status ResourceShareAssociationStatus

	// A message about the status of the association.
	StatusMessage *string
	// contains filtered or unexported fields
}

Describes an association with a resource share.

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) of the IAM user or IAM role that received the
	// invitation.
	ReceiverArn *string

	// The Amazon Resource Name (ARN) of the resource share.
	ResourceShareArn *string

	// To view the resources associated with a pending resource share invitation, use
	// ListPendingInvitationResources
	// (https://docs.aws.amazon.com/ram/latest/APIReference/API_ListPendingInvitationResources.html).
	//
	// Deprecated: This member has been deprecated. Use ListPendingInvitationResources.
	ResourceShareAssociations []ResourceShareAssociation

	// The Amazon Resource Name (ARN) 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 status of the invitation.
	Status ResourceShareInvitationStatus
	// contains filtered or unexported fields
}

Describes an invitation to join a resource share.

type ResourceShareInvitationAlreadyAcceptedException

type ResourceShareInvitationAlreadyAcceptedException struct {
	Message *string
	// contains filtered or unexported fields
}

The invitation was already accepted.

func (*ResourceShareInvitationAlreadyAcceptedException) Error

func (*ResourceShareInvitationAlreadyAcceptedException) ErrorCode

func (*ResourceShareInvitationAlreadyAcceptedException) ErrorFault

func (*ResourceShareInvitationAlreadyAcceptedException) ErrorMessage

type ResourceShareInvitationAlreadyRejectedException

type ResourceShareInvitationAlreadyRejectedException struct {
	Message *string
	// contains filtered or unexported fields
}

The invitation was already rejected.

func (*ResourceShareInvitationAlreadyRejectedException) Error

func (*ResourceShareInvitationAlreadyRejectedException) ErrorCode

func (*ResourceShareInvitationAlreadyRejectedException) ErrorFault

func (*ResourceShareInvitationAlreadyRejectedException) ErrorMessage

type ResourceShareInvitationArnNotFoundException

type ResourceShareInvitationArnNotFoundException struct {
	Message *string
	// contains filtered or unexported fields
}

The Amazon Resource Name (ARN) 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
	// contains filtered or unexported fields
}

The invitation is expired.

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
	// contains filtered or unexported fields
}

The requested resource share exceeds the limit for your account.

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) of the permission.
	Arn *string

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

	// Specifies whether the version of the permission is set to the default version
	// for this permission.
	DefaultVersion *bool

	// Specifies whether the version of the permission is set to the default version
	// for this resource type.
	IsResourceTypeDefault *bool

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

	// The name of the permission.
	Name *string

	// The permission's effect and actions in JSON format. The effect indicates whether
	// the actions are allowed or denied. The actions list the API actions to which the
	// principal is granted or denied access.
	Permission *string

	// The resource type to which the permission applies.
	ResourceType *string

	// The identifier for the version of the permission.
	Version *string
	// contains filtered or unexported fields
}

Information about an RAM permission.

type ResourceSharePermissionSummary

type ResourceSharePermissionSummary struct {

	// The Amazon Resource Name (ARN) of the permission.
	Arn *string

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

	// Specifies whether the version of the permission is set to the default version
	// for this permission.
	DefaultVersion *bool

	// Specifies whether the version of the permission is set to the default version
	// for this resource type.
	IsResourceTypeDefault *bool

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

	// The name of the permission.
	Name *string

	// The type of resource to which the permission applies.
	ResourceType *string

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

	// The identifier for the version of the permission.
	Version *string
	// contains filtered or unexported fields
}

Information about a permission that is associated with a resource share.

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
	// contains filtered or unexported fields
}

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

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 {

	// The shareable resource types.
	ResourceType *string

	// The name of the Amazon Web Services services to which the resources belong.
	ServiceName *string
	// contains filtered or unexported fields
}

Information about the shareable resource types and the Amazon Web Services services to which they belong.

type ServiceUnavailableException

type ServiceUnavailableException struct {
	Message *string
	// contains filtered or unexported fields
}

The service is not available.

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 of the tag.
	Key *string

	// The value of the tag.
	Value *string
	// contains filtered or unexported fields
}

Information about a tag.

type TagFilter

type TagFilter struct {

	// The tag key.
	TagKey *string

	// The tag values.
	TagValues []string
	// contains filtered or unexported fields
}

Used to filter information based on tags.

type TagLimitExceededException

type TagLimitExceededException struct {
	Message *string
	// contains filtered or unexported fields
}

The requested tags exceed the limit for your 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
	// contains filtered or unexported fields
}

The specified tag is a reserved word and cannot 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 UnknownResourceException

type UnknownResourceException struct {
	Message *string
	// contains filtered or unexported fields
}

A specified resource was not 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

Jump to

Keyboard shortcuts

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