repostspace

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package repostspace provides the client and types for making API requests to AWS re:Post Private.

AWS re:Post Private is a private version of AWS re:Post for enterprises with Enterprise Support or Enterprise On-Ramp Support plans. It provides access to knowledge and experts to accelerate cloud adoption and increase developer productivity. With your organization-specific private re:Post, you can build an organization-specific developer community that drives efficiencies at scale and provides access to valuable knowledge resources. Additionally, re:Post Private centralizes trusted AWS technical content and offers private discussion forums to improve how your teams collaborate internally and with AWS to remove technical obstacles, accelerate innovation, and scale more efficiently in the cloud.

See https://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13 for more information on this service.

See repostspace package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/repostspace/

Using the Client

To contact AWS re:Post Private with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS re:Post Private client Repostspace for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/repostspace/#New

Index

Constants

View Source
const (
	// ConfigurationStatusConfigured is a ConfigurationStatus enum value
	ConfigurationStatusConfigured = "CONFIGURED"

	// ConfigurationStatusUnconfigured is a ConfigurationStatus enum value
	ConfigurationStatusUnconfigured = "UNCONFIGURED"
)
View Source
const (
	// TierLevelBasic is a TierLevel enum value
	TierLevelBasic = "BASIC"

	// TierLevelStandard is a TierLevel enum value
	TierLevelStandard = "STANDARD"
)
View Source
const (
	// ValidationExceptionReasonUnknownOperation is a ValidationExceptionReason enum value
	ValidationExceptionReasonUnknownOperation = "unknownOperation"

	// ValidationExceptionReasonCannotParse is a ValidationExceptionReason enum value
	ValidationExceptionReasonCannotParse = "cannotParse"

	// ValidationExceptionReasonFieldValidationFailed is a ValidationExceptionReason enum value
	ValidationExceptionReasonFieldValidationFailed = "fieldValidationFailed"

	// ValidationExceptionReasonOther is a ValidationExceptionReason enum value
	ValidationExceptionReasonOther = "other"
)
View Source
const (
	// VanityDomainStatusPending is a VanityDomainStatus enum value
	VanityDomainStatusPending = "PENDING"

	// VanityDomainStatusApproved is a VanityDomainStatus enum value
	VanityDomainStatusApproved = "APPROVED"

	// VanityDomainStatusUnapproved is a VanityDomainStatus enum value
	VanityDomainStatusUnapproved = "UNAPPROVED"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// User does not have sufficient access to perform this action.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// Updating or deleting a resource can cause an inconsistent state.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// Unexpected error during processing of request.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// Request references a resource which does not exist.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// Request would cause a service quota to be exceeded.
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// Request was denied due to request throttling.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// The input fails to satisfy the constraints specified by an AWS service.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "repostspace" // Name of service.
	EndpointsID = ServiceName   // ID to lookup a service endpoint with.
	ServiceID   = "repostspace" // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

func ConfigurationStatus_Values

func ConfigurationStatus_Values() []string

ConfigurationStatus_Values returns all elements of the ConfigurationStatus enum

func TierLevel_Values

func TierLevel_Values() []string

TierLevel_Values returns all elements of the TierLevel enum

func ValidationExceptionReason_Values

func ValidationExceptionReason_Values() []string

ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum

func VanityDomainStatus_Values

func VanityDomainStatus_Values() []string

VanityDomainStatus_Values returns all elements of the VanityDomainStatus enum

Types

type AccessDeniedException

type AccessDeniedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

User does not have sufficient access to perform this action.

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ConflictException

type ConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`

	// The ID of the resource.
	//
	// ResourceId is a required field
	ResourceId *string `locationName:"resourceId" type:"string" required:"true"`

	// The type of the resource.
	//
	// ResourceType is a required field
	ResourceType *string `locationName:"resourceType" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Updating or deleting a resource can cause an inconsistent state.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateSpaceInput

type CreateSpaceInput struct {

	// A description for the private re:Post. This is used only to help you identify
	// this private re:Post.
	//
	// Description is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreateSpaceInput's
	// String and GoString methods.
	Description *string `locationName:"description" min:"1" type:"string" sensitive:"true"`

	// The name for the private re:Post. This must be unique in your account.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreateSpaceInput's
	// String and GoString methods.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true" sensitive:"true"`

	// The IAM role that grants permissions to the private re:Post to convert unanswered
	// questions into AWS support tickets.
	RoleArn *string `locationName:"roleArn" min:"20" type:"string"`

	// The subdomain that you use to access your AWS re:Post Private private re:Post.
	// All custom subdomains must be approved by AWS before use. In addition to
	// your custom subdomain, all private re:Posts are issued an AWS generated subdomain
	// for immediate use.
	//
	// Subdomain is a required field
	Subdomain *string `locationName:"subdomain" min:"1" type:"string" required:"true"`

	// The list of tags associated with the private re:Post.
	//
	// Tags is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreateSpaceInput's
	// String and GoString methods.
	Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"`

	// The pricing tier for the private re:Post.
	//
	// Tier is a required field
	Tier *string `locationName:"tier" type:"string" required:"true" enum:"TierLevel"`

	// The AWS KMS key ARN that’s used for the AWS KMS encryption. If you don't
	// provide a key, your data is encrypted by default with a key that AWS owns
	// and manages for you.
	UserKMSKey *string `locationName:"userKMSKey" type:"string"`
	// contains filtered or unexported fields
}

func (CreateSpaceInput) GoString

func (s CreateSpaceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateSpaceInput) SetDescription

func (s *CreateSpaceInput) SetDescription(v string) *CreateSpaceInput

SetDescription sets the Description field's value.

func (*CreateSpaceInput) SetName

func (s *CreateSpaceInput) SetName(v string) *CreateSpaceInput

SetName sets the Name field's value.

func (*CreateSpaceInput) SetRoleArn

func (s *CreateSpaceInput) SetRoleArn(v string) *CreateSpaceInput

SetRoleArn sets the RoleArn field's value.

func (*CreateSpaceInput) SetSubdomain

func (s *CreateSpaceInput) SetSubdomain(v string) *CreateSpaceInput

SetSubdomain sets the Subdomain field's value.

func (*CreateSpaceInput) SetTags

func (s *CreateSpaceInput) SetTags(v map[string]*string) *CreateSpaceInput

SetTags sets the Tags field's value.

func (*CreateSpaceInput) SetTier

func (s *CreateSpaceInput) SetTier(v string) *CreateSpaceInput

SetTier sets the Tier field's value.

func (*CreateSpaceInput) SetUserKMSKey

func (s *CreateSpaceInput) SetUserKMSKey(v string) *CreateSpaceInput

SetUserKMSKey sets the UserKMSKey field's value.

func (CreateSpaceInput) String

func (s CreateSpaceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateSpaceInput) Validate

func (s *CreateSpaceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateSpaceOutput

type CreateSpaceOutput struct {

	// The unique ID of the private re:Post.
	//
	// SpaceId is a required field
	SpaceId *string `locationName:"spaceId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateSpaceOutput) GoString

func (s CreateSpaceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateSpaceOutput) SetSpaceId

func (s *CreateSpaceOutput) SetSpaceId(v string) *CreateSpaceOutput

SetSpaceId sets the SpaceId field's value.

func (CreateSpaceOutput) String

func (s CreateSpaceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteSpaceInput

type DeleteSpaceInput struct {

	// The unique ID of the private re:Post.
	//
	// SpaceId is a required field
	SpaceId *string `location:"uri" locationName:"spaceId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteSpaceInput) GoString

func (s DeleteSpaceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteSpaceInput) SetSpaceId

func (s *DeleteSpaceInput) SetSpaceId(v string) *DeleteSpaceInput

SetSpaceId sets the SpaceId field's value.

func (DeleteSpaceInput) String

func (s DeleteSpaceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteSpaceInput) Validate

func (s *DeleteSpaceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteSpaceOutput

type DeleteSpaceOutput struct {
	// contains filtered or unexported fields
}

func (DeleteSpaceOutput) GoString

func (s DeleteSpaceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteSpaceOutput) String

func (s DeleteSpaceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeregisterAdminInput

type DeregisterAdminInput struct {

	// The ID of the admin to remove.
	//
	// AdminId is a required field
	AdminId *string `location:"uri" locationName:"adminId" type:"string" required:"true"`

	// The ID of the private re:Post to remove the admin from.
	//
	// SpaceId is a required field
	SpaceId *string `location:"uri" locationName:"spaceId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeregisterAdminInput) GoString

func (s DeregisterAdminInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeregisterAdminInput) SetAdminId

SetAdminId sets the AdminId field's value.

func (*DeregisterAdminInput) SetSpaceId

SetSpaceId sets the SpaceId field's value.

func (DeregisterAdminInput) String

func (s DeregisterAdminInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeregisterAdminInput) Validate

func (s *DeregisterAdminInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeregisterAdminOutput

type DeregisterAdminOutput struct {
	// contains filtered or unexported fields
}

func (DeregisterAdminOutput) GoString

func (s DeregisterAdminOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeregisterAdminOutput) String

func (s DeregisterAdminOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetSpaceInput

type GetSpaceInput struct {

	// The ID of the private re:Post.
	//
	// SpaceId is a required field
	SpaceId *string `location:"uri" locationName:"spaceId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetSpaceInput) GoString

func (s GetSpaceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetSpaceInput) SetSpaceId

func (s *GetSpaceInput) SetSpaceId(v string) *GetSpaceInput

SetSpaceId sets the SpaceId field's value.

func (GetSpaceInput) String

func (s GetSpaceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetSpaceInput) Validate

func (s *GetSpaceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetSpaceOutput

type GetSpaceOutput struct {

	// The ARN of the private re:Post.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"20" type:"string" required:"true"`

	// The Identity Center identifier for the Application Instance.
	//
	// ClientId is a required field
	ClientId *string `locationName:"clientId" type:"string" required:"true"`

	// The configuration status of the private re:Post.
	//
	// ConfigurationStatus is a required field
	ConfigurationStatus *string `locationName:"configurationStatus" type:"string" required:"true" enum:"ConfigurationStatus"`

	// The content size of the private re:Post.
	ContentSize *int64 `locationName:"contentSize" type:"long"`

	// The date when the private re:Post was created.
	//
	// CreateDateTime is a required field
	CreateDateTime *time.Time `locationName:"createDateTime" type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The IAM role that grants permissions to the private re:Post to convert unanswered
	// questions into AWS support tickets.
	CustomerRoleArn *string `locationName:"customerRoleArn" min:"20" type:"string"`

	// The date when the private re:Post was deleted.
	DeleteDateTime *time.Time `locationName:"deleteDateTime" type:"timestamp" timestampFormat:"iso8601"`

	// The description of the private re:Post.
	//
	// Description is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by GetSpaceOutput's
	// String and GoString methods.
	Description *string `locationName:"description" min:"1" type:"string" sensitive:"true"`

	// The list of groups that are administrators of the private re:Post.
	GroupAdmins []*string `locationName:"groupAdmins" type:"list"`

	// The name of the private re:Post.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by GetSpaceOutput's
	// String and GoString methods.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true" sensitive:"true"`

	// The AWS generated subdomain of the private re:Post
	//
	// RandomDomain is a required field
	RandomDomain *string `locationName:"randomDomain" type:"string" required:"true"`

	// The unique ID of the private re:Post.
	//
	// SpaceId is a required field
	SpaceId *string `locationName:"spaceId" type:"string" required:"true"`

	// The creation or deletion status of the private re:Post.
	//
	// Status is a required field
	Status *string `locationName:"status" min:"1" type:"string" required:"true"`

	// The storage limit of the private re:Post.
	//
	// StorageLimit is a required field
	StorageLimit *int64 `locationName:"storageLimit" type:"long" required:"true"`

	// The pricing tier of the private re:Post.
	//
	// Tier is a required field
	Tier *string `locationName:"tier" type:"string" required:"true" enum:"TierLevel"`

	// The list of users that are administrators of the private re:Post.
	UserAdmins []*string `locationName:"userAdmins" type:"list"`

	// The number of users that have onboarded to the private re:Post.
	UserCount *int64 `locationName:"userCount" type:"integer"`

	// The custom AWS KMS key ARN that’s used for the AWS KMS encryption.
	UserKMSKey *string `locationName:"userKMSKey" type:"string"`

	// The custom subdomain that you use to access your private re:Post. All custom
	// subdomains must be approved by AWS before use.
	//
	// VanityDomain is a required field
	VanityDomain *string `locationName:"vanityDomain" type:"string" required:"true"`

	// The approval status of the custom subdomain.
	//
	// VanityDomainStatus is a required field
	VanityDomainStatus *string `locationName:"vanityDomainStatus" type:"string" required:"true" enum:"VanityDomainStatus"`
	// contains filtered or unexported fields
}

func (GetSpaceOutput) GoString

func (s GetSpaceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetSpaceOutput) SetArn

func (s *GetSpaceOutput) SetArn(v string) *GetSpaceOutput

SetArn sets the Arn field's value.

func (*GetSpaceOutput) SetClientId

func (s *GetSpaceOutput) SetClientId(v string) *GetSpaceOutput

SetClientId sets the ClientId field's value.

func (*GetSpaceOutput) SetConfigurationStatus

func (s *GetSpaceOutput) SetConfigurationStatus(v string) *GetSpaceOutput

SetConfigurationStatus sets the ConfigurationStatus field's value.

func (*GetSpaceOutput) SetContentSize

func (s *GetSpaceOutput) SetContentSize(v int64) *GetSpaceOutput

SetContentSize sets the ContentSize field's value.

func (*GetSpaceOutput) SetCreateDateTime

func (s *GetSpaceOutput) SetCreateDateTime(v time.Time) *GetSpaceOutput

SetCreateDateTime sets the CreateDateTime field's value.

func (*GetSpaceOutput) SetCustomerRoleArn

func (s *GetSpaceOutput) SetCustomerRoleArn(v string) *GetSpaceOutput

SetCustomerRoleArn sets the CustomerRoleArn field's value.

func (*GetSpaceOutput) SetDeleteDateTime

func (s *GetSpaceOutput) SetDeleteDateTime(v time.Time) *GetSpaceOutput

SetDeleteDateTime sets the DeleteDateTime field's value.

func (*GetSpaceOutput) SetDescription

func (s *GetSpaceOutput) SetDescription(v string) *GetSpaceOutput

SetDescription sets the Description field's value.

func (*GetSpaceOutput) SetGroupAdmins

func (s *GetSpaceOutput) SetGroupAdmins(v []*string) *GetSpaceOutput

SetGroupAdmins sets the GroupAdmins field's value.

func (*GetSpaceOutput) SetName

func (s *GetSpaceOutput) SetName(v string) *GetSpaceOutput

SetName sets the Name field's value.

func (*GetSpaceOutput) SetRandomDomain

func (s *GetSpaceOutput) SetRandomDomain(v string) *GetSpaceOutput

SetRandomDomain sets the RandomDomain field's value.

func (*GetSpaceOutput) SetSpaceId

func (s *GetSpaceOutput) SetSpaceId(v string) *GetSpaceOutput

SetSpaceId sets the SpaceId field's value.

func (*GetSpaceOutput) SetStatus

func (s *GetSpaceOutput) SetStatus(v string) *GetSpaceOutput

SetStatus sets the Status field's value.

func (*GetSpaceOutput) SetStorageLimit

func (s *GetSpaceOutput) SetStorageLimit(v int64) *GetSpaceOutput

SetStorageLimit sets the StorageLimit field's value.

func (*GetSpaceOutput) SetTier

func (s *GetSpaceOutput) SetTier(v string) *GetSpaceOutput

SetTier sets the Tier field's value.

func (*GetSpaceOutput) SetUserAdmins

func (s *GetSpaceOutput) SetUserAdmins(v []*string) *GetSpaceOutput

SetUserAdmins sets the UserAdmins field's value.

func (*GetSpaceOutput) SetUserCount

func (s *GetSpaceOutput) SetUserCount(v int64) *GetSpaceOutput

SetUserCount sets the UserCount field's value.

func (*GetSpaceOutput) SetUserKMSKey

func (s *GetSpaceOutput) SetUserKMSKey(v string) *GetSpaceOutput

SetUserKMSKey sets the UserKMSKey field's value.

func (*GetSpaceOutput) SetVanityDomain

func (s *GetSpaceOutput) SetVanityDomain(v string) *GetSpaceOutput

SetVanityDomain sets the VanityDomain field's value.

func (*GetSpaceOutput) SetVanityDomainStatus

func (s *GetSpaceOutput) SetVanityDomainStatus(v string) *GetSpaceOutput

SetVanityDomainStatus sets the VanityDomainStatus field's value.

func (GetSpaceOutput) String

func (s GetSpaceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InternalServerException

type InternalServerException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`

	// Advice to clients on when the call can be safely retried.
	RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"`
	// contains filtered or unexported fields
}

Unexpected error during processing of request.

func (*InternalServerException) Code

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error

func (s *InternalServerException) Error() string

func (InternalServerException) GoString

func (s InternalServerException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InternalServerException) Message

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode

func (s *InternalServerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServerException) String

func (s InternalServerException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListSpacesInput

type ListSpacesInput struct {

	// The maximum number of private re:Posts to include in the results.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next set of private re:Posts to return. You receive this
	// token from a previous ListSpaces operation.
	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListSpacesInput) GoString

func (s ListSpacesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSpacesInput) SetMaxResults

func (s *ListSpacesInput) SetMaxResults(v int64) *ListSpacesInput

SetMaxResults sets the MaxResults field's value.

func (*ListSpacesInput) SetNextToken

func (s *ListSpacesInput) SetNextToken(v string) *ListSpacesInput

SetNextToken sets the NextToken field's value.

func (ListSpacesInput) String

func (s ListSpacesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSpacesInput) Validate

func (s *ListSpacesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListSpacesOutput

type ListSpacesOutput struct {

	// The token that you use when you request the next set of private re:Posts.
	NextToken *string `locationName:"nextToken" type:"string"`

	// An array of structures that contain some information about the private re:Posts
	// in the account.
	//
	// Spaces is a required field
	Spaces []*SpaceData `locationName:"spaces" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListSpacesOutput) GoString

func (s ListSpacesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSpacesOutput) SetNextToken

func (s *ListSpacesOutput) SetNextToken(v string) *ListSpacesOutput

SetNextToken sets the NextToken field's value.

func (*ListSpacesOutput) SetSpaces

func (s *ListSpacesOutput) SetSpaces(v []*SpaceData) *ListSpacesOutput

SetSpaces sets the Spaces field's value.

func (ListSpacesOutput) String

func (s ListSpacesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The ARN of the resource that the tags are associated with.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"20" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// The list of tags that are associated with the resource.
	//
	// Tags is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by ListTagsForResourceOutput's
	// String and GoString methods.
	Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RegisterAdminInput

type RegisterAdminInput struct {

	// The ID of the administrator.
	//
	// AdminId is a required field
	AdminId *string `location:"uri" locationName:"adminId" type:"string" required:"true"`

	// The ID of the private re:Post.
	//
	// SpaceId is a required field
	SpaceId *string `location:"uri" locationName:"spaceId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RegisterAdminInput) GoString

func (s RegisterAdminInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegisterAdminInput) SetAdminId

func (s *RegisterAdminInput) SetAdminId(v string) *RegisterAdminInput

SetAdminId sets the AdminId field's value.

func (*RegisterAdminInput) SetSpaceId

func (s *RegisterAdminInput) SetSpaceId(v string) *RegisterAdminInput

SetSpaceId sets the SpaceId field's value.

func (RegisterAdminInput) String

func (s RegisterAdminInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegisterAdminInput) Validate

func (s *RegisterAdminInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RegisterAdminOutput

type RegisterAdminOutput struct {
	// contains filtered or unexported fields
}

func (RegisterAdminOutput) GoString

func (s RegisterAdminOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (RegisterAdminOutput) String

func (s RegisterAdminOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Repostspace

type Repostspace struct {
	*client.Client
}

Repostspace provides the API operation methods for making requests to AWS re:Post Private. See this package's package overview docs for details on the service.

Repostspace methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *Repostspace

New creates a new instance of the Repostspace client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a Repostspace client from just a session.
svc := repostspace.New(mySession)

// Create a Repostspace client with additional configuration
svc := repostspace.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*Repostspace) CreateSpace

func (c *Repostspace) CreateSpace(input *CreateSpaceInput) (*CreateSpaceOutput, error)

CreateSpace API operation for AWS re:Post Private.

Creates an AWS re:Post Private private re:Post.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS re:Post Private's API operation CreateSpace for usage and error information.

Returned Error Types:

  • ServiceQuotaExceededException Request would cause a service quota to be exceeded.

  • AccessDeniedException User does not have sufficient access to perform this action.

  • ConflictException Updating or deleting a resource can cause an inconsistent state.

  • ValidationException The input fails to satisfy the constraints specified by an AWS service.

  • ResourceNotFoundException Request references a resource which does not exist.

  • ThrottlingException Request was denied due to request throttling.

  • InternalServerException Unexpected error during processing of request.

See also, https://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/CreateSpace

func (*Repostspace) CreateSpaceRequest

func (c *Repostspace) CreateSpaceRequest(input *CreateSpaceInput) (req *request.Request, output *CreateSpaceOutput)

CreateSpaceRequest generates a "aws/request.Request" representing the client's request for the CreateSpace operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateSpace for more information on using the CreateSpace API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateSpaceRequest method.
req, resp := client.CreateSpaceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/CreateSpace

func (*Repostspace) CreateSpaceWithContext

func (c *Repostspace) CreateSpaceWithContext(ctx aws.Context, input *CreateSpaceInput, opts ...request.Option) (*CreateSpaceOutput, error)

CreateSpaceWithContext is the same as CreateSpace with the addition of the ability to pass a context and additional request options.

See CreateSpace for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Repostspace) DeleteSpace

func (c *Repostspace) DeleteSpace(input *DeleteSpaceInput) (*DeleteSpaceOutput, error)

DeleteSpace API operation for AWS re:Post Private.

Deletes an AWS re:Post Private private re:Post.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS re:Post Private's API operation DeleteSpace for usage and error information.

Returned Error Types:

  • AccessDeniedException User does not have sufficient access to perform this action.

  • ValidationException The input fails to satisfy the constraints specified by an AWS service.

  • ResourceNotFoundException Request references a resource which does not exist.

  • ThrottlingException Request was denied due to request throttling.

  • InternalServerException Unexpected error during processing of request.

See also, https://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/DeleteSpace

func (*Repostspace) DeleteSpaceRequest

func (c *Repostspace) DeleteSpaceRequest(input *DeleteSpaceInput) (req *request.Request, output *DeleteSpaceOutput)

DeleteSpaceRequest generates a "aws/request.Request" representing the client's request for the DeleteSpace operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteSpace for more information on using the DeleteSpace API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteSpaceRequest method.
req, resp := client.DeleteSpaceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/DeleteSpace

func (*Repostspace) DeleteSpaceWithContext

func (c *Repostspace) DeleteSpaceWithContext(ctx aws.Context, input *DeleteSpaceInput, opts ...request.Option) (*DeleteSpaceOutput, error)

DeleteSpaceWithContext is the same as DeleteSpace with the addition of the ability to pass a context and additional request options.

See DeleteSpace for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Repostspace) DeregisterAdmin

func (c *Repostspace) DeregisterAdmin(input *DeregisterAdminInput) (*DeregisterAdminOutput, error)

DeregisterAdmin API operation for AWS re:Post Private.

Removes the user or group from the list of administrators of the private re:Post.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS re:Post Private's API operation DeregisterAdmin for usage and error information.

Returned Error Types:

  • AccessDeniedException User does not have sufficient access to perform this action.

  • ValidationException The input fails to satisfy the constraints specified by an AWS service.

  • ResourceNotFoundException Request references a resource which does not exist.

  • ThrottlingException Request was denied due to request throttling.

  • InternalServerException Unexpected error during processing of request.

See also, https://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/DeregisterAdmin

func (*Repostspace) DeregisterAdminRequest

func (c *Repostspace) DeregisterAdminRequest(input *DeregisterAdminInput) (req *request.Request, output *DeregisterAdminOutput)

DeregisterAdminRequest generates a "aws/request.Request" representing the client's request for the DeregisterAdmin operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeregisterAdmin for more information on using the DeregisterAdmin API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeregisterAdminRequest method.
req, resp := client.DeregisterAdminRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/DeregisterAdmin

func (*Repostspace) DeregisterAdminWithContext

func (c *Repostspace) DeregisterAdminWithContext(ctx aws.Context, input *DeregisterAdminInput, opts ...request.Option) (*DeregisterAdminOutput, error)

DeregisterAdminWithContext is the same as DeregisterAdmin with the addition of the ability to pass a context and additional request options.

See DeregisterAdmin for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Repostspace) GetSpace

func (c *Repostspace) GetSpace(input *GetSpaceInput) (*GetSpaceOutput, error)

GetSpace API operation for AWS re:Post Private.

Displays information about the AWS re:Post Private private re:Post.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS re:Post Private's API operation GetSpace for usage and error information.

Returned Error Types:

  • AccessDeniedException User does not have sufficient access to perform this action.

  • ValidationException The input fails to satisfy the constraints specified by an AWS service.

  • ResourceNotFoundException Request references a resource which does not exist.

  • ThrottlingException Request was denied due to request throttling.

  • InternalServerException Unexpected error during processing of request.

See also, https://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/GetSpace

func (*Repostspace) GetSpaceRequest

func (c *Repostspace) GetSpaceRequest(input *GetSpaceInput) (req *request.Request, output *GetSpaceOutput)

GetSpaceRequest generates a "aws/request.Request" representing the client's request for the GetSpace operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetSpace for more information on using the GetSpace API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetSpaceRequest method.
req, resp := client.GetSpaceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/GetSpace

func (*Repostspace) GetSpaceWithContext

func (c *Repostspace) GetSpaceWithContext(ctx aws.Context, input *GetSpaceInput, opts ...request.Option) (*GetSpaceOutput, error)

GetSpaceWithContext is the same as GetSpace with the addition of the ability to pass a context and additional request options.

See GetSpace for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Repostspace) ListSpaces

func (c *Repostspace) ListSpaces(input *ListSpacesInput) (*ListSpacesOutput, error)

ListSpaces API operation for AWS re:Post Private.

Returns a list of AWS re:Post Private private re:Posts in the account with some information about each private re:Post.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS re:Post Private's API operation ListSpaces for usage and error information.

Returned Error Types:

  • AccessDeniedException User does not have sufficient access to perform this action.

  • ValidationException The input fails to satisfy the constraints specified by an AWS service.

  • ThrottlingException Request was denied due to request throttling.

  • InternalServerException Unexpected error during processing of request.

See also, https://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/ListSpaces

func (*Repostspace) ListSpacesPages

func (c *Repostspace) ListSpacesPages(input *ListSpacesInput, fn func(*ListSpacesOutput, bool) bool) error

ListSpacesPages iterates over the pages of a ListSpaces operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListSpaces method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListSpaces operation.
pageNum := 0
err := client.ListSpacesPages(params,
    func(page *repostspace.ListSpacesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Repostspace) ListSpacesPagesWithContext

func (c *Repostspace) ListSpacesPagesWithContext(ctx aws.Context, input *ListSpacesInput, fn func(*ListSpacesOutput, bool) bool, opts ...request.Option) error

ListSpacesPagesWithContext same as ListSpacesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Repostspace) ListSpacesRequest

func (c *Repostspace) ListSpacesRequest(input *ListSpacesInput) (req *request.Request, output *ListSpacesOutput)

ListSpacesRequest generates a "aws/request.Request" representing the client's request for the ListSpaces operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListSpaces for more information on using the ListSpaces API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListSpacesRequest method.
req, resp := client.ListSpacesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/ListSpaces

func (*Repostspace) ListSpacesWithContext

func (c *Repostspace) ListSpacesWithContext(ctx aws.Context, input *ListSpacesInput, opts ...request.Option) (*ListSpacesOutput, error)

ListSpacesWithContext is the same as ListSpaces with the addition of the ability to pass a context and additional request options.

See ListSpaces for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Repostspace) ListTagsForResource

func (c *Repostspace) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for AWS re:Post Private.

Returns the tags that are associated with the AWS re:Post Private resource specified by the resourceArn. The only resource that can be tagged is a private re:Post.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS re:Post Private's API operation ListTagsForResource for usage and error information.

Returned Error Types:

  • AccessDeniedException User does not have sufficient access to perform this action.

  • ValidationException The input fails to satisfy the constraints specified by an AWS service.

  • ResourceNotFoundException Request references a resource which does not exist.

  • ThrottlingException Request was denied due to request throttling.

  • InternalServerException Unexpected error during processing of request.

See also, https://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/ListTagsForResource

func (*Repostspace) ListTagsForResourceRequest

func (c *Repostspace) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/ListTagsForResource

func (*Repostspace) ListTagsForResourceWithContext

func (c *Repostspace) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Repostspace) RegisterAdmin

func (c *Repostspace) RegisterAdmin(input *RegisterAdminInput) (*RegisterAdminOutput, error)

RegisterAdmin API operation for AWS re:Post Private.

Adds a user or group to the list of administrators of the private re:Post.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS re:Post Private's API operation RegisterAdmin for usage and error information.

Returned Error Types:

  • AccessDeniedException User does not have sufficient access to perform this action.

  • ValidationException The input fails to satisfy the constraints specified by an AWS service.

  • ResourceNotFoundException Request references a resource which does not exist.

  • ThrottlingException Request was denied due to request throttling.

  • InternalServerException Unexpected error during processing of request.

See also, https://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/RegisterAdmin

func (*Repostspace) RegisterAdminRequest

func (c *Repostspace) RegisterAdminRequest(input *RegisterAdminInput) (req *request.Request, output *RegisterAdminOutput)

RegisterAdminRequest generates a "aws/request.Request" representing the client's request for the RegisterAdmin operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RegisterAdmin for more information on using the RegisterAdmin API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RegisterAdminRequest method.
req, resp := client.RegisterAdminRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/RegisterAdmin

func (*Repostspace) RegisterAdminWithContext

func (c *Repostspace) RegisterAdminWithContext(ctx aws.Context, input *RegisterAdminInput, opts ...request.Option) (*RegisterAdminOutput, error)

RegisterAdminWithContext is the same as RegisterAdmin with the addition of the ability to pass a context and additional request options.

See RegisterAdmin for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Repostspace) SendInvites

func (c *Repostspace) SendInvites(input *SendInvitesInput) (*SendInvitesOutput, error)

SendInvites API operation for AWS re:Post Private.

Sends an invitation email to selected users and groups.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS re:Post Private's API operation SendInvites for usage and error information.

Returned Error Types:

  • AccessDeniedException User does not have sufficient access to perform this action.

  • ValidationException The input fails to satisfy the constraints specified by an AWS service.

  • ResourceNotFoundException Request references a resource which does not exist.

  • ThrottlingException Request was denied due to request throttling.

  • InternalServerException Unexpected error during processing of request.

See also, https://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/SendInvites

func (*Repostspace) SendInvitesRequest

func (c *Repostspace) SendInvitesRequest(input *SendInvitesInput) (req *request.Request, output *SendInvitesOutput)

SendInvitesRequest generates a "aws/request.Request" representing the client's request for the SendInvites operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SendInvites for more information on using the SendInvites API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SendInvitesRequest method.
req, resp := client.SendInvitesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/SendInvites

func (*Repostspace) SendInvitesWithContext

func (c *Repostspace) SendInvitesWithContext(ctx aws.Context, input *SendInvitesInput, opts ...request.Option) (*SendInvitesOutput, error)

SendInvitesWithContext is the same as SendInvites with the addition of the ability to pass a context and additional request options.

See SendInvites for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Repostspace) TagResource

func (c *Repostspace) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for AWS re:Post Private.

Associates tags with an AWS re:Post Private resource. Currently, the only resource that can be tagged is the private re:Post. If you specify a new tag key for the resource, the tag is appended to the list of tags that are associated with the resource. If you specify a tag key that’s already associated with the resource, the new tag value that you specify replaces the previous value for that tag.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS re:Post Private's API operation TagResource for usage and error information.

Returned Error Types:

  • AccessDeniedException User does not have sufficient access to perform this action.

  • ValidationException The input fails to satisfy the constraints specified by an AWS service.

  • ResourceNotFoundException Request references a resource which does not exist.

  • ThrottlingException Request was denied due to request throttling.

  • InternalServerException Unexpected error during processing of request.

See also, https://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/TagResource

func (*Repostspace) TagResourceRequest

func (c *Repostspace) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/TagResource

func (*Repostspace) TagResourceWithContext

func (c *Repostspace) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Repostspace) UntagResource

func (c *Repostspace) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for AWS re:Post Private.

Removes the association of the tag with the AWS re:Post Private resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS re:Post Private's API operation UntagResource for usage and error information.

Returned Error Types:

  • AccessDeniedException User does not have sufficient access to perform this action.

  • ValidationException The input fails to satisfy the constraints specified by an AWS service.

  • ResourceNotFoundException Request references a resource which does not exist.

  • ThrottlingException Request was denied due to request throttling.

  • InternalServerException Unexpected error during processing of request.

See also, https://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/UntagResource

func (*Repostspace) UntagResourceRequest

func (c *Repostspace) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/UntagResource

func (*Repostspace) UntagResourceWithContext

func (c *Repostspace) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Repostspace) UpdateSpace

func (c *Repostspace) UpdateSpace(input *UpdateSpaceInput) (*UpdateSpaceOutput, error)

UpdateSpace API operation for AWS re:Post Private.

Modifies an existing AWS re:Post Private private re:Post.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS re:Post Private's API operation UpdateSpace for usage and error information.

Returned Error Types:

  • AccessDeniedException User does not have sufficient access to perform this action.

  • ConflictException Updating or deleting a resource can cause an inconsistent state.

  • ValidationException The input fails to satisfy the constraints specified by an AWS service.

  • ResourceNotFoundException Request references a resource which does not exist.

  • ThrottlingException Request was denied due to request throttling.

  • InternalServerException Unexpected error during processing of request.

See also, https://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/UpdateSpace

func (*Repostspace) UpdateSpaceRequest

func (c *Repostspace) UpdateSpaceRequest(input *UpdateSpaceInput) (req *request.Request, output *UpdateSpaceOutput)

UpdateSpaceRequest generates a "aws/request.Request" representing the client's request for the UpdateSpace operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateSpace for more information on using the UpdateSpace API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateSpaceRequest method.
req, resp := client.UpdateSpaceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/UpdateSpace

func (*Repostspace) UpdateSpaceWithContext

func (c *Repostspace) UpdateSpaceWithContext(ctx aws.Context, input *UpdateSpaceInput, opts ...request.Option) (*UpdateSpaceOutput, error)

UpdateSpaceWithContext is the same as UpdateSpace with the addition of the ability to pass a context and additional request options.

See UpdateSpace for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type ResourceNotFoundException

type ResourceNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`

	// The ID of the resource.
	//
	// ResourceId is a required field
	ResourceId *string `locationName:"resourceId" type:"string" required:"true"`

	// The type of the resource.
	//
	// ResourceType is a required field
	ResourceType *string `locationName:"resourceType" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request references a resource which does not exist.

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SendInvitesInput

type SendInvitesInput struct {

	// The array of identifiers for the users and groups.
	//
	// AccessorIds is a required field
	AccessorIds []*string `locationName:"accessorIds" type:"list" required:"true"`

	// The body of the invite.
	//
	// Body is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by SendInvitesInput's
	// String and GoString methods.
	//
	// Body is a required field
	Body *string `locationName:"body" min:"1" type:"string" required:"true" sensitive:"true"`

	// The ID of the private re:Post.
	//
	// SpaceId is a required field
	SpaceId *string `location:"uri" locationName:"spaceId" type:"string" required:"true"`

	// The title of the invite.
	//
	// Title is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by SendInvitesInput's
	// String and GoString methods.
	//
	// Title is a required field
	Title *string `locationName:"title" min:"1" type:"string" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

func (SendInvitesInput) GoString

func (s SendInvitesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SendInvitesInput) SetAccessorIds

func (s *SendInvitesInput) SetAccessorIds(v []*string) *SendInvitesInput

SetAccessorIds sets the AccessorIds field's value.

func (*SendInvitesInput) SetBody

func (s *SendInvitesInput) SetBody(v string) *SendInvitesInput

SetBody sets the Body field's value.

func (*SendInvitesInput) SetSpaceId

func (s *SendInvitesInput) SetSpaceId(v string) *SendInvitesInput

SetSpaceId sets the SpaceId field's value.

func (*SendInvitesInput) SetTitle

func (s *SendInvitesInput) SetTitle(v string) *SendInvitesInput

SetTitle sets the Title field's value.

func (SendInvitesInput) String

func (s SendInvitesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SendInvitesInput) Validate

func (s *SendInvitesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SendInvitesOutput

type SendInvitesOutput struct {
	// contains filtered or unexported fields
}

func (SendInvitesOutput) GoString

func (s SendInvitesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (SendInvitesOutput) String

func (s SendInvitesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServiceQuotaExceededException

type ServiceQuotaExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`

	// The code to identify the quota.
	//
	// QuotaCode is a required field
	QuotaCode *string `locationName:"quotaCode" type:"string" required:"true"`

	// The id of the resource.
	//
	// ResourceId is a required field
	ResourceId *string `locationName:"resourceId" type:"string" required:"true"`

	// The type of the resource.
	//
	// ResourceType is a required field
	ResourceType *string `locationName:"resourceType" type:"string" required:"true"`

	// The code to identify the service.
	//
	// ServiceCode is a required field
	ServiceCode *string `locationName:"serviceCode" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request would cause a service quota to be exceeded.

func (*ServiceQuotaExceededException) Code

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error

func (ServiceQuotaExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceQuotaExceededException) Message

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode

func (s *ServiceQuotaExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServiceQuotaExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SpaceData

type SpaceData struct {

	// The ARN of the private re:Post.
	//
	// Arn is a required field
	Arn *string `locationName:"arn" min:"20" type:"string" required:"true"`

	// The configuration status of the private re:Post.
	//
	// ConfigurationStatus is a required field
	ConfigurationStatus *string `locationName:"configurationStatus" type:"string" required:"true" enum:"ConfigurationStatus"`

	// The content size of the private re:Post.
	ContentSize *int64 `locationName:"contentSize" type:"long"`

	// The date when the private re:Post was created.
	//
	// CreateDateTime is a required field
	CreateDateTime *time.Time `locationName:"createDateTime" type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The date when the private re:Post was deleted.
	DeleteDateTime *time.Time `locationName:"deleteDateTime" type:"timestamp" timestampFormat:"iso8601"`

	// The description for the private re:Post. This is used only to help you identify
	// this private re:Post.
	//
	// Description is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by SpaceData's
	// String and GoString methods.
	Description *string `locationName:"description" min:"1" type:"string" sensitive:"true"`

	// The name for the private re:Post.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by SpaceData's
	// String and GoString methods.
	//
	// Name is a required field
	Name *string `locationName:"name" min:"1" type:"string" required:"true" sensitive:"true"`

	// The AWS generated subdomain of the private re:Post.
	//
	// RandomDomain is a required field
	RandomDomain *string `locationName:"randomDomain" type:"string" required:"true"`

	// The unique ID of the private re:Post.
	//
	// SpaceId is a required field
	SpaceId *string `locationName:"spaceId" type:"string" required:"true"`

	// The creation/deletion status of the private re:Post.
	//
	// Status is a required field
	Status *string `locationName:"status" min:"1" type:"string" required:"true"`

	// The storage limit of the private re:Post.
	//
	// StorageLimit is a required field
	StorageLimit *int64 `locationName:"storageLimit" type:"long" required:"true"`

	// The pricing tier of the private re:Post.
	//
	// Tier is a required field
	Tier *string `locationName:"tier" type:"string" required:"true" enum:"TierLevel"`

	// The number of onboarded users to the private re:Post.
	UserCount *int64 `locationName:"userCount" type:"integer"`

	// The custom AWS KMS key ARN that’s used for the AWS KMS encryption.
	UserKMSKey *string `locationName:"userKMSKey" type:"string"`

	// This custom subdomain that you use to access your private re:Post. All custom
	// subdomains must be approved by AWS before use.
	//
	// VanityDomain is a required field
	VanityDomain *string `locationName:"vanityDomain" type:"string" required:"true"`

	// This approval status of the custom subdomain.
	//
	// VanityDomainStatus is a required field
	VanityDomainStatus *string `locationName:"vanityDomainStatus" type:"string" required:"true" enum:"VanityDomainStatus"`
	// contains filtered or unexported fields
}

A structure that contains some information about a private re:Post in the account.

func (SpaceData) GoString

func (s SpaceData) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SpaceData) SetArn

func (s *SpaceData) SetArn(v string) *SpaceData

SetArn sets the Arn field's value.

func (*SpaceData) SetConfigurationStatus

func (s *SpaceData) SetConfigurationStatus(v string) *SpaceData

SetConfigurationStatus sets the ConfigurationStatus field's value.

func (*SpaceData) SetContentSize

func (s *SpaceData) SetContentSize(v int64) *SpaceData

SetContentSize sets the ContentSize field's value.

func (*SpaceData) SetCreateDateTime

func (s *SpaceData) SetCreateDateTime(v time.Time) *SpaceData

SetCreateDateTime sets the CreateDateTime field's value.

func (*SpaceData) SetDeleteDateTime

func (s *SpaceData) SetDeleteDateTime(v time.Time) *SpaceData

SetDeleteDateTime sets the DeleteDateTime field's value.

func (*SpaceData) SetDescription

func (s *SpaceData) SetDescription(v string) *SpaceData

SetDescription sets the Description field's value.

func (*SpaceData) SetName

func (s *SpaceData) SetName(v string) *SpaceData

SetName sets the Name field's value.

func (*SpaceData) SetRandomDomain

func (s *SpaceData) SetRandomDomain(v string) *SpaceData

SetRandomDomain sets the RandomDomain field's value.

func (*SpaceData) SetSpaceId

func (s *SpaceData) SetSpaceId(v string) *SpaceData

SetSpaceId sets the SpaceId field's value.

func (*SpaceData) SetStatus

func (s *SpaceData) SetStatus(v string) *SpaceData

SetStatus sets the Status field's value.

func (*SpaceData) SetStorageLimit

func (s *SpaceData) SetStorageLimit(v int64) *SpaceData

SetStorageLimit sets the StorageLimit field's value.

func (*SpaceData) SetTier

func (s *SpaceData) SetTier(v string) *SpaceData

SetTier sets the Tier field's value.

func (*SpaceData) SetUserCount

func (s *SpaceData) SetUserCount(v int64) *SpaceData

SetUserCount sets the UserCount field's value.

func (*SpaceData) SetUserKMSKey

func (s *SpaceData) SetUserKMSKey(v string) *SpaceData

SetUserKMSKey sets the UserKMSKey field's value.

func (*SpaceData) SetVanityDomain

func (s *SpaceData) SetVanityDomain(v string) *SpaceData

SetVanityDomain sets the VanityDomain field's value.

func (*SpaceData) SetVanityDomainStatus

func (s *SpaceData) SetVanityDomainStatus(v string) *SpaceData

SetVanityDomainStatus sets the VanityDomainStatus field's value.

func (SpaceData) String

func (s SpaceData) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TagResourceInput

type TagResourceInput struct {

	// The ARN of the resource that the tag is associated with.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"20" type:"string" required:"true"`

	// The list of tag keys and values that must be associated with the resource.
	// You can associate tag keys only, tags (key and values) only, or a combination
	// of tag keys and tags.
	//
	// Tags is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by TagResourceInput's
	// String and GoString methods.
	//
	// Tags is a required field
	Tags map[string]*string `locationName:"tags" type:"map" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ThrottlingException

type ThrottlingException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`

	// The code to identify the quota.
	QuotaCode *string `locationName:"quotaCode" type:"string"`

	// Advice to clients on when the call can be safely retried.
	RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"`

	// The code to identify the service.
	ServiceCode *string `locationName:"serviceCode" type:"string"`
	// contains filtered or unexported fields
}

Request was denied due to request throttling.

func (*ThrottlingException) Code

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString

func (s ThrottlingException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ThrottlingException) Message

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode

func (s *ThrottlingException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ThrottlingException) String

func (s ThrottlingException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UntagResourceInput

type UntagResourceInput struct {

	// The ARN of the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"20" type:"string" required:"true"`

	// The key values of the tag.
	//
	// TagKeys is a required field
	TagKeys []*string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateSpaceInput

type UpdateSpaceInput struct {

	// A description for the private re:Post. This is used only to help you identify
	// this private re:Post.
	//
	// Description is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateSpaceInput's
	// String and GoString methods.
	Description *string `locationName:"description" min:"1" type:"string" sensitive:"true"`

	// The IAM role that grants permissions to the private re:Post to convert unanswered
	// questions into AWS support tickets.
	RoleArn *string `locationName:"roleArn" min:"20" type:"string"`

	// The unique ID of this private re:Post.
	//
	// SpaceId is a required field
	SpaceId *string `location:"uri" locationName:"spaceId" type:"string" required:"true"`

	// The pricing tier of this private re:Post.
	Tier *string `locationName:"tier" type:"string" enum:"TierLevel"`
	// contains filtered or unexported fields
}

func (UpdateSpaceInput) GoString

func (s UpdateSpaceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateSpaceInput) SetDescription

func (s *UpdateSpaceInput) SetDescription(v string) *UpdateSpaceInput

SetDescription sets the Description field's value.

func (*UpdateSpaceInput) SetRoleArn

func (s *UpdateSpaceInput) SetRoleArn(v string) *UpdateSpaceInput

SetRoleArn sets the RoleArn field's value.

func (*UpdateSpaceInput) SetSpaceId

func (s *UpdateSpaceInput) SetSpaceId(v string) *UpdateSpaceInput

SetSpaceId sets the SpaceId field's value.

func (*UpdateSpaceInput) SetTier

func (s *UpdateSpaceInput) SetTier(v string) *UpdateSpaceInput

SetTier sets the Tier field's value.

func (UpdateSpaceInput) String

func (s UpdateSpaceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateSpaceInput) Validate

func (s *UpdateSpaceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateSpaceOutput

type UpdateSpaceOutput struct {
	// contains filtered or unexported fields
}

func (UpdateSpaceOutput) GoString

func (s UpdateSpaceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateSpaceOutput) String

func (s UpdateSpaceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationException

type ValidationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The field that caused the error, if applicable.
	FieldList []*ValidationExceptionField `locationName:"fieldList" type:"list"`

	Message_ *string `locationName:"message" type:"string"`

	// The reason why the request failed validation.
	//
	// Reason is a required field
	Reason *string `locationName:"reason" type:"string" required:"true" enum:"ValidationExceptionReason"`
	// contains filtered or unexported fields
}

The input fails to satisfy the constraints specified by an AWS service.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationExceptionField

type ValidationExceptionField struct {

	// The name of the field.
	//
	// Message is a required field
	Message *string `locationName:"message" type:"string" required:"true"`

	// Message describing why the field failed validation.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Stores information about a field that’s passed inside a request that resulted in an exception.

func (ValidationExceptionField) GoString

func (s ValidationExceptionField) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationExceptionField) SetMessage

SetMessage sets the Message field's value.

func (*ValidationExceptionField) SetName

SetName sets the Name field's value.

func (ValidationExceptionField) String

func (s ValidationExceptionField) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

Directories

Path Synopsis
Package repostspaceiface provides an interface to enable mocking the AWS re:Post Private service client for testing your code.
Package repostspaceiface provides an interface to enable mocking the AWS re:Post Private service client for testing your code.

Jump to

Keyboard shortcuts

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