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

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

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

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

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

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

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

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

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

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

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 AWS organization as the AWS
	// 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
}

Describes a principal for use with AWS 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 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
}

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

type ResourceOwner

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

Enum values for ResourceOwner

type ResourceShare

type ResourceShare struct {

	// Indicates whether principals outside your AWS organization 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 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 time when the resource share was last updated.
	LastUpdatedTime *time.Time

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

	// The ID of the AWS 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
}

Describes a resource share.

type ResourceShareAssociation

type ResourceShareAssociation struct {

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

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

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

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 {

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

	// The ID of the AWS account that received the invitation.
	ReceiverAccountId *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).
	ResourceShareAssociations []*ResourceShareAssociation

	// The Amazon Resource Name (ARN) of the invitation.
	ResourceShareInvitationArn *string

	// The name of the resource share.
	ResourceShareName *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

type ResourceShareInvitationAlreadyRejectedException

type ResourceShareInvitationAlreadyRejectedException struct {
	Message *string
}

The invitation was already rejected.

func (*ResourceShareInvitationAlreadyRejectedException) Error

func (*ResourceShareInvitationAlreadyRejectedException) ErrorCode

func (*ResourceShareInvitationAlreadyRejectedException) ErrorFault

func (*ResourceShareInvitationAlreadyRejectedException) ErrorMessage

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

type ResourceShareInvitationExpiredException

type ResourceShareInvitationExpiredException struct {
	Message *string
}

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

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

type ResourceSharePermissionDetail

type ResourceSharePermissionDetail struct {

	// The ARN of the permission.
	Arn *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 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
}

Information about an AWS RAM permission.

type ResourceSharePermissionSummary

type ResourceSharePermissionSummary struct {

	// The ARN of the permission.
	Arn *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 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
}

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

type ServiceNameAndResourceType

type ServiceNameAndResourceType struct {

	// The shareable resource types.
	ResourceType *string

	// The name of the AWS services to which the resources belong.
	ServiceName *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

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

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

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

Source Files

enums.go errors.go types.go

Version
v0.27.0
Published
Oct 17, 2020
Platform
js/wasm
Imports
3 packages
Last checked
6 hours ago

Tools for package owners.