package types

import "github.com/aws/aws-sdk-go-v2/service/ram/types"

Index

Types

type IdempotentParameterMismatchException

type IdempotentParameterMismatchException struct {
	Message *string
}

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

func (*IdempotentParameterMismatchException) GetMessage

func (*IdempotentParameterMismatchException) HasMessage

type InvalidClientTokenException

type InvalidClientTokenException struct {
	Message *string
}

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

func (*InvalidClientTokenException) GetMessage

func (e *InvalidClientTokenException) GetMessage() string

func (*InvalidClientTokenException) HasMessage

func (e *InvalidClientTokenException) HasMessage() bool

type InvalidMaxResultsException

type InvalidMaxResultsException struct {
	Message *string
}

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

func (*InvalidMaxResultsException) GetMessage

func (e *InvalidMaxResultsException) GetMessage() string

func (*InvalidMaxResultsException) HasMessage

func (e *InvalidMaxResultsException) HasMessage() bool

type InvalidNextTokenException

type InvalidNextTokenException struct {
	Message *string
}

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

func (*InvalidNextTokenException) GetMessage

func (e *InvalidNextTokenException) GetMessage() string

func (*InvalidNextTokenException) HasMessage

func (e *InvalidNextTokenException) HasMessage() bool

type InvalidParameterException

type InvalidParameterException struct {
	Message *string
}

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

func (*InvalidParameterException) GetMessage

func (e *InvalidParameterException) GetMessage() string

func (*InvalidParameterException) HasMessage

func (e *InvalidParameterException) HasMessage() bool

type InvalidResourceTypeException

type InvalidResourceTypeException struct {
	Message *string
}

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

func (*InvalidResourceTypeException) GetMessage

func (e *InvalidResourceTypeException) GetMessage() string

func (*InvalidResourceTypeException) HasMessage

func (e *InvalidResourceTypeException) HasMessage() bool

type InvalidStateTransitionException

type InvalidStateTransitionException struct {
	Message *string
}

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

func (*InvalidStateTransitionException) GetMessage

func (e *InvalidStateTransitionException) GetMessage() string

func (*InvalidStateTransitionException) HasMessage

func (e *InvalidStateTransitionException) HasMessage() bool

type MalformedArnException

type MalformedArnException struct {
	Message *string
}

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

func (*MalformedArnException) GetMessage

func (e *MalformedArnException) GetMessage() string

func (*MalformedArnException) HasMessage

func (e *MalformedArnException) HasMessage() bool

type MissingRequiredParameterException

type MissingRequiredParameterException struct {
	Message *string
}

A required input parameter is missing.

func (*MissingRequiredParameterException) Error

func (*MissingRequiredParameterException) ErrorCode

func (*MissingRequiredParameterException) ErrorFault

func (*MissingRequiredParameterException) ErrorMessage

func (e *MissingRequiredParameterException) ErrorMessage() string

func (*MissingRequiredParameterException) GetMessage

func (e *MissingRequiredParameterException) GetMessage() string

func (*MissingRequiredParameterException) HasMessage

func (e *MissingRequiredParameterException) HasMessage() bool

type OperationNotPermittedException

type OperationNotPermittedException struct {
	Message *string
}

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

func (*OperationNotPermittedException) GetMessage

func (e *OperationNotPermittedException) GetMessage() string

func (*OperationNotPermittedException) HasMessage

func (e *OperationNotPermittedException) HasMessage() bool

type Principal

type Principal struct {
	// The time when the association was last updated.
	LastUpdatedTime *time.Time
	// The ID of the principal.
	Id *string
	// The Amazon Resource Name (ARN) of the resource share.
	ResourceShareArn *string
	// The time when the principal was associated with the resource share.
	CreationTime *time.Time
	// Indicates whether the principal belongs to the same AWS organization as the AWS
	// account that owns the resource share.
	External *bool
}

Describes a principal for use with AWS Resource Access Manager.

type Resource

type Resource struct {
	// The time when the association was last updated.
	LastUpdatedTime *time.Time
	// The status of the resource.
	Status ResourceStatus
	// The Amazon Resource Name (ARN) of the resource.
	Arn *string
	// A message about the status of the resource.
	StatusMessage *string
	// The resource type.
	Type *string
	// The Amazon Resource Name (ARN) of the resource share.
	ResourceShareArn *string
	// The time when the resource was associated with the resource share.
	CreationTime *time.Time
	// The ARN of the resource group. This value is returned only if the resource is a
	// resource group.
	ResourceGroupArn *string
}

Describes a resource associated with a resource share.

type ResourceArnNotFoundException

type ResourceArnNotFoundException struct {
	Message *string
}

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

func (*ResourceArnNotFoundException) GetMessage

func (e *ResourceArnNotFoundException) GetMessage() string

func (*ResourceArnNotFoundException) HasMessage

func (e *ResourceArnNotFoundException) HasMessage() bool

type ResourceOwner

type ResourceOwner string
const (
	ResourceOwnerSelf           ResourceOwner = "SELF"
	ResourceOwnerOther_accounts ResourceOwner = "OTHER-ACCOUNTS"
)

Enum values for ResourceOwner

type ResourceShare

type ResourceShare struct {
	// The tags for the resource share.
	Tags []*Tag
	// The time when the resource share was created.
	CreationTime *time.Time
	// Indicates whether principals outside your AWS organization can be associated
	// with a resource share.
	AllowExternalPrincipals *bool
	// The name of the resource share.
	Name *string
	// Indicates how the resource share was created. Possible values include:
	//
	//     *
	// CREATED_FROM_POLICY - Indicates that the resource share was created from an AWS
	// Identity and Access Management (AWS IAM) policy attached to a resource. These
	// resource shares are visible only to the AWS account that created it. They cannot
	// be modified in AWS RAM.
	//
	//     * PROMOTING_TO_STANDARD - The resource share is in
	// the process of being promoted. For more information, see
	// PromoteResourceShareCreatedFromPolicy ().
	//
	//     * STANDARD - Indicates that the
	// resource share was created in AWS RAM using the console or APIs. These resource
	// shares are visible to all principals. They can be modified in AWS RAM.
	FeatureSet ResourceShareFeatureSet
	// The status of the resource share.
	Status ResourceShareStatus
	// A message about the status of the resource share.
	StatusMessage *string
	// The ID of the AWS account that owns the resource share.
	OwningAccountId *string
	// The time when the resource share was last updated.
	LastUpdatedTime *time.Time
	// The Amazon Resource Name (ARN) of the resource share.
	ResourceShareArn *string
}

Describes a resource share.

type ResourceShareAssociation

type ResourceShareAssociation struct {
	// The name of the resource share.
	ResourceShareName *string
	// A message about the status of the association.
	StatusMessage *string
	// The status of the association.
	Status ResourceShareAssociationStatus
	// The associated entity. For resource associations, this is the ARN of the
	// resource. For principal associations, this is the ID of an AWS account or the
	// ARN of an OU or organization from AWS Organizations.
	AssociatedEntity *string
	// The association type.
	AssociationType ResourceShareAssociationType
	// Indicates whether the principal belongs to the same AWS organization as the AWS
	// account that owns the resource share.
	External *bool
	// The time when the association was last updated.
	LastUpdatedTime *time.Time
	// The time when the association was created.
	CreationTime *time.Time
	// The Amazon Resource Name (ARN) of the resource share.
	ResourceShareArn *string
}

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

type ResourceShareAssociationType

type ResourceShareAssociationType string
const (
	ResourceShareAssociationTypePrincipal ResourceShareAssociationType = "PRINCIPAL"
	ResourceShareAssociationTypeResource  ResourceShareAssociationType = "RESOURCE"
)

Enum values for ResourceShareAssociationType

type ResourceShareFeatureSet

type ResourceShareFeatureSet string
const (
	ResourceShareFeatureSetCreated_from_policy   ResourceShareFeatureSet = "CREATED_FROM_POLICY"
	ResourceShareFeatureSetPromoting_to_standard ResourceShareFeatureSet = "PROMOTING_TO_STANDARD"
	ResourceShareFeatureSetStandard              ResourceShareFeatureSet = "STANDARD"
)

Enum values for ResourceShareFeatureSet

type ResourceShareInvitation

type ResourceShareInvitation struct {
	// To view the resources associated with a pending resource share invitation, use
	// ListPendingInvitationResources
	// (https://docs.aws.amazon.com/ram/latest/APIReference/API_ListPendingInvitationResources.html).
	ResourceShareAssociations []*ResourceShareAssociation
	// The date and time when the invitation was sent.
	InvitationTimestamp *time.Time
	// The Amazon Resource Name (ARN) of the resource share.
	ResourceShareArn *string
	// The name of the resource share.
	ResourceShareName *string
	// The Amazon Resource Name (ARN) of the invitation.
	ResourceShareInvitationArn *string
	// The ID of the AWS account that received the invitation.
	ReceiverAccountId *string
	// The ID of the AWS account that sent the invitation.
	SenderAccountId *string
	// The status of the invitation.
	Status ResourceShareInvitationStatus
}

Describes an invitation to join a resource share.

type ResourceShareInvitationAlreadyAcceptedException

type ResourceShareInvitationAlreadyAcceptedException struct {
	Message *string
}

The invitation was already accepted.

func (*ResourceShareInvitationAlreadyAcceptedException) Error

func (*ResourceShareInvitationAlreadyAcceptedException) ErrorCode

func (*ResourceShareInvitationAlreadyAcceptedException) ErrorFault

func (*ResourceShareInvitationAlreadyAcceptedException) ErrorMessage

func (*ResourceShareInvitationAlreadyAcceptedException) GetMessage

func (*ResourceShareInvitationAlreadyAcceptedException) HasMessage

type ResourceShareInvitationAlreadyRejectedException

type ResourceShareInvitationAlreadyRejectedException struct {
	Message *string
}

The invitation was already rejected.

func (*ResourceShareInvitationAlreadyRejectedException) Error

func (*ResourceShareInvitationAlreadyRejectedException) ErrorCode

func (*ResourceShareInvitationAlreadyRejectedException) ErrorFault

func (*ResourceShareInvitationAlreadyRejectedException) ErrorMessage

func (*ResourceShareInvitationAlreadyRejectedException) GetMessage

func (*ResourceShareInvitationAlreadyRejectedException) HasMessage

type ResourceShareInvitationArnNotFoundException

type ResourceShareInvitationArnNotFoundException struct {
	Message *string
}

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

func (*ResourceShareInvitationArnNotFoundException) Error

func (*ResourceShareInvitationArnNotFoundException) ErrorCode

func (*ResourceShareInvitationArnNotFoundException) ErrorFault

func (*ResourceShareInvitationArnNotFoundException) ErrorMessage

func (*ResourceShareInvitationArnNotFoundException) GetMessage

func (*ResourceShareInvitationArnNotFoundException) HasMessage

type ResourceShareInvitationExpiredException

type ResourceShareInvitationExpiredException struct {
	Message *string
}

The invitation is expired.

func (*ResourceShareInvitationExpiredException) Error

func (*ResourceShareInvitationExpiredException) ErrorCode

func (*ResourceShareInvitationExpiredException) ErrorFault

func (*ResourceShareInvitationExpiredException) ErrorMessage

func (*ResourceShareInvitationExpiredException) GetMessage

func (*ResourceShareInvitationExpiredException) HasMessage

type ResourceShareInvitationStatus

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

Enum values for ResourceShareInvitationStatus

type ResourceShareLimitExceededException

type ResourceShareLimitExceededException struct {
	Message *string
}

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

func (*ResourceShareLimitExceededException) GetMessage

func (*ResourceShareLimitExceededException) HasMessage

func (e *ResourceShareLimitExceededException) HasMessage() bool

type ResourceSharePermissionDetail

type ResourceSharePermissionDetail struct {
	// The identifier for the version of the permission that is set as the default
	// version.
	DefaultVersion *bool
	// The date and time when the permission was last updated.
	LastUpdatedTime *time.Time
	// 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 date and time when the permission was created.
	CreationTime *time.Time
	// The resource type to which the permission applies.
	ResourceType *string
	// The identifier for the version of the permission.
	Version *string
	// The ARN of the permission.
	Arn *string
	// The name of the permission.
	Name *string
}

Information about an AWS RAM permission.

type ResourceSharePermissionSummary

type ResourceSharePermissionSummary struct {
	// The current status of the permission.
	Status *string
	// The name of the permission.
	Name *string
	// The date and time when the permission was created.
	CreationTime *time.Time
	// The identifier for the version of the permission that is set as the default
	// version.
	DefaultVersion *bool
	// The ARN of the permission.
	Arn *string
	// The type of resource to which the permission applies.
	ResourceType *string
	// The identifier for the version of the permission.
	Version *string
	// The date and time when the permission was last updated.
	LastUpdatedTime *time.Time
}

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

type ResourceStatus

type ResourceStatus string
const (
	ResourceStatusAvailable                   ResourceStatus = "AVAILABLE"
	ResourceStatusZonal_resource_inaccessible ResourceStatus = "ZONAL_RESOURCE_INACCESSIBLE"
	ResourceStatusLimit_exceeded              ResourceStatus = "LIMIT_EXCEEDED"
	ResourceStatusUnavailable                 ResourceStatus = "UNAVAILABLE"
	ResourceStatusPending                     ResourceStatus = "PENDING"
)

Enum values for ResourceStatus

type ServerInternalException

type ServerInternalException struct {
	Message *string
}

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

func (*ServerInternalException) GetMessage

func (e *ServerInternalException) GetMessage() string

func (*ServerInternalException) HasMessage

func (e *ServerInternalException) HasMessage() bool

type ServiceNameAndResourceType

type ServiceNameAndResourceType struct {
	// The name of the AWS services to which the resources belong.
	ServiceName *string
	// The shareable resource types.
	ResourceType *string
}

Information about the shareable resource types and the AWS services to which they belong.

type ServiceUnavailableException

type ServiceUnavailableException struct {
	Message *string
}

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

func (*ServiceUnavailableException) GetMessage

func (e *ServiceUnavailableException) GetMessage() string

func (*ServiceUnavailableException) HasMessage

func (e *ServiceUnavailableException) HasMessage() bool

type Tag

type Tag struct {
	// The key of the tag.
	Key *string
	// The value of the tag.
	Value *string
}

Information about a tag.

type TagFilter

type TagFilter struct {
	// The tag key.
	TagKey *string
	// The tag values.
	TagValues []*string
}

Used to filter information based on tags.

type TagLimitExceededException

type TagLimitExceededException struct {
	Message *string
}

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

func (*TagLimitExceededException) GetMessage

func (e *TagLimitExceededException) GetMessage() string

func (*TagLimitExceededException) HasMessage

func (e *TagLimitExceededException) HasMessage() bool

type TagPolicyViolationException

type TagPolicyViolationException struct {
	Message *string
}

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

func (*TagPolicyViolationException) GetMessage

func (e *TagPolicyViolationException) GetMessage() string

func (*TagPolicyViolationException) HasMessage

func (e *TagPolicyViolationException) HasMessage() bool

type UnknownResourceException

type UnknownResourceException struct {
	Message *string
}

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

func (*UnknownResourceException) GetMessage

func (e *UnknownResourceException) GetMessage() string

func (*UnknownResourceException) HasMessage

func (e *UnknownResourceException) HasMessage() bool

Source Files

enums.go errors.go types.go

Version
v0.1.0
Published
Sep 29, 2020
Platform
js/wasm
Imports
4 packages
Last checked
6 hours ago

Tools for package owners.