...
AWS SDK for Go API Reference
import "github.com/aws/aws-sdk-go/service/outposts"
Overview
Constants

Overview ▾

Package outposts provides the client and types for making API requests to AWS Outposts.

AWS Outposts is a fully managed service that extends AWS infrastructure, APIs, and tools to customer premises. By providing local access to AWS managed infrastructure, AWS Outposts enables customers to build and run applications on premises using the same programming interfaces as in AWS Regions, while using local compute and storage resources for lower latency and local data processing needs.

See https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03 for more information on this service.

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

Using the Client

To contact AWS Outposts 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 Outposts client Outposts for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/outposts/#New

The stub package, outpostsiface, can be used to provide alternative implementations of service clients, such as mocking the client for testing.

Types ▾

type Outposts
func New(p client.ConfigProvider, cfgs ...*aws.Config) *Outposts
func (c *Outposts) CreateOrder(input *CreateOrderInput) (*CreateOrderOutput, error)
func (c *Outposts) CreateOrderRequest(input *CreateOrderInput) (req *request.Request, output *CreateOrderOutput)
func (c *Outposts) CreateOrderWithContext(ctx aws.Context, input *CreateOrderInput, opts ...request.Option) (*CreateOrderOutput, error)
func (c *Outposts) CreateOutpost(input *CreateOutpostInput) (*CreateOutpostOutput, error)
func (c *Outposts) CreateOutpostRequest(input *CreateOutpostInput) (req *request.Request, output *CreateOutpostOutput)
func (c *Outposts) CreateOutpostWithContext(ctx aws.Context, input *CreateOutpostInput, opts ...request.Option) (*CreateOutpostOutput, error)
func (c *Outposts) DeleteOutpost(input *DeleteOutpostInput) (*DeleteOutpostOutput, error)
func (c *Outposts) DeleteOutpostRequest(input *DeleteOutpostInput) (req *request.Request, output *DeleteOutpostOutput)
func (c *Outposts) DeleteOutpostWithContext(ctx aws.Context, input *DeleteOutpostInput, opts ...request.Option) (*DeleteOutpostOutput, error)
func (c *Outposts) DeleteSite(input *DeleteSiteInput) (*DeleteSiteOutput, error)
func (c *Outposts) DeleteSiteRequest(input *DeleteSiteInput) (req *request.Request, output *DeleteSiteOutput)
func (c *Outposts) DeleteSiteWithContext(ctx aws.Context, input *DeleteSiteInput, opts ...request.Option) (*DeleteSiteOutput, error)
func (c *Outposts) GetOutpost(input *GetOutpostInput) (*GetOutpostOutput, error)
func (c *Outposts) GetOutpostInstanceTypes(input *GetOutpostInstanceTypesInput) (*GetOutpostInstanceTypesOutput, error)
func (c *Outposts) GetOutpostInstanceTypesRequest(input *GetOutpostInstanceTypesInput) (req *request.Request, output *GetOutpostInstanceTypesOutput)
func (c *Outposts) GetOutpostInstanceTypesWithContext(ctx aws.Context, input *GetOutpostInstanceTypesInput, opts ...request.Option) (*GetOutpostInstanceTypesOutput, error)
func (c *Outposts) GetOutpostRequest(input *GetOutpostInput) (req *request.Request, output *GetOutpostOutput)
func (c *Outposts) GetOutpostWithContext(ctx aws.Context, input *GetOutpostInput, opts ...request.Option) (*GetOutpostOutput, error)
func (c *Outposts) ListOutposts(input *ListOutpostsInput) (*ListOutpostsOutput, error)
func (c *Outposts) ListOutpostsPages(input *ListOutpostsInput, fn func(*ListOutpostsOutput, bool) bool) error
func (c *Outposts) ListOutpostsPagesWithContext(ctx aws.Context, input *ListOutpostsInput, fn func(*ListOutpostsOutput, bool) bool, opts ...request.Option) error
func (c *Outposts) ListOutpostsRequest(input *ListOutpostsInput) (req *request.Request, output *ListOutpostsOutput)
func (c *Outposts) ListOutpostsWithContext(ctx aws.Context, input *ListOutpostsInput, opts ...request.Option) (*ListOutpostsOutput, error)
func (c *Outposts) ListSites(input *ListSitesInput) (*ListSitesOutput, error)
func (c *Outposts) ListSitesPages(input *ListSitesInput, fn func(*ListSitesOutput, bool) bool) error
func (c *Outposts) ListSitesPagesWithContext(ctx aws.Context, input *ListSitesInput, fn func(*ListSitesOutput, bool) bool, opts ...request.Option) error
func (c *Outposts) ListSitesRequest(input *ListSitesInput) (req *request.Request, output *ListSitesOutput)
func (c *Outposts) ListSitesWithContext(ctx aws.Context, input *ListSitesInput, opts ...request.Option) (*ListSitesOutput, error)
func (c *Outposts) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
func (c *Outposts) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
func (c *Outposts) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
func (c *Outposts) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
func (c *Outposts) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
func (c *Outposts) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
func (c *Outposts) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
func (c *Outposts) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
func (c *Outposts) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
func OrderStatus_Values() []string
func PaymentOption_Values() []string
func PaymentTerm_Values() []string
func ResourceType_Values() []string
type AccessDeniedException
type ConflictException
type CreateOrderInput
type CreateOrderOutput
type CreateOutpostInput
type CreateOutpostOutput
type DeleteOutpostInput
type DeleteOutpostOutput
type DeleteSiteInput
type DeleteSiteOutput
type GetOutpostInput
type GetOutpostInstanceTypesInput
type GetOutpostInstanceTypesOutput
type GetOutpostOutput
type InstanceTypeItem
type InternalServerException
type LineItem
type LineItemRequest
type ListOutpostsInput
type ListOutpostsOutput
type ListSitesInput
type ListSitesOutput
type ListTagsForResourceInput
type ListTagsForResourceOutput
type NotFoundException
type Order
type Outpost
type ServiceQuotaExceededException
type Site
type TagResourceInput
type TagResourceOutput
type UntagResourceInput
type UntagResourceOutput
type ValidationException

Constants ▾

const (
    // OrderStatusReceived is a OrderStatus enum value
    OrderStatusReceived = "RECEIVED"

    // OrderStatusPending is a OrderStatus enum value
    OrderStatusPending = "PENDING"

    // OrderStatusProcessing is a OrderStatus enum value
    OrderStatusProcessing = "PROCESSING"

    // OrderStatusInstalling is a OrderStatus enum value
    OrderStatusInstalling = "INSTALLING"

    // OrderStatusFulfilled is a OrderStatus enum value
    OrderStatusFulfilled = "FULFILLED"

    // OrderStatusCancelled is a OrderStatus enum value
    OrderStatusCancelled = "CANCELLED"
)
const (
    // PaymentOptionAllUpfront is a PaymentOption enum value
    PaymentOptionAllUpfront = "ALL_UPFRONT"

    // PaymentOptionNoUpfront is a PaymentOption enum value
    PaymentOptionNoUpfront = "NO_UPFRONT"

    // PaymentOptionPartialUpfront is a PaymentOption enum value
    PaymentOptionPartialUpfront = "PARTIAL_UPFRONT"
)
const (

    // ErrCodeAccessDeniedException for service response error code
    // "AccessDeniedException".
    //
    // You do not have permission to perform this operation.
    ErrCodeAccessDeniedException = "AccessDeniedException"

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

    // ErrCodeInternalServerException for service response error code
    // "InternalServerException".
    //
    // An internal error has occurred.
    ErrCodeInternalServerException = "InternalServerException"

    // ErrCodeNotFoundException for service response error code
    // "NotFoundException".
    //
    // The specified request is not valid.
    ErrCodeNotFoundException = "NotFoundException"

    // ErrCodeServiceQuotaExceededException for service response error code
    // "ServiceQuotaExceededException".
    //
    // You have exceeded a service quota.
    ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

    // ErrCodeValidationException for service response error code
    // "ValidationException".
    //
    // A parameter is not valid.
    ErrCodeValidationException = "ValidationException"
)
const (
    ServiceName = "Outposts" // Name of service.
    EndpointsID = "outposts" // ID to lookup a service endpoint with.
    ServiceID   = "Outposts" // ServiceID is a unique identifier of a specific service.
)

Service information constants

const (
    // PaymentTermThreeYears is a PaymentTerm enum value
    PaymentTermThreeYears = "THREE_YEARS"
)
const (
    // ResourceTypeOutpost is a ResourceType enum value
    ResourceTypeOutpost = "OUTPOST"
)

func OrderStatus_Values

func OrderStatus_Values() []string

OrderStatus_Values returns all elements of the OrderStatus enum

func PaymentOption_Values

func PaymentOption_Values() []string

PaymentOption_Values returns all elements of the PaymentOption enum

func PaymentTerm_Values

func PaymentTerm_Values() []string

PaymentTerm_Values returns all elements of the PaymentTerm enum

func ResourceType_Values

func ResourceType_Values() []string

ResourceType_Values returns all elements of the ResourceType enum

type AccessDeniedException

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

    Message_ *string `locationName:"Message" min:"1" type:"string"`
    // contains filtered or unexported fields
}

You do not have permission to perform this operation.

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" min:"1" type:"string"`

    // The ID of the resource causing the conflict.
    ResourceId *string `min:"1" type:"string"`

    // The type of the resource causing the conflict.
    ResourceType *string `type:"string" enum:"ResourceType"`
    // contains filtered or unexported fields
}

Updating or deleting this 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 CreateOrderInput

type CreateOrderInput struct {

    // The line items that make up the order.
    //
    // LineItems is a required field
    LineItems []*LineItemRequest `min:"1" type:"list" required:"true"`

    // The ID or the Amazon Resource Name (ARN) of the Outpost.
    //
    // OutpostIdentifier is a required field
    OutpostIdentifier *string `min:"1" type:"string" required:"true"`

    // The payment option for the order.
    //
    // PaymentOption is a required field
    PaymentOption *string `type:"string" required:"true" enum:"PaymentOption"`

    // The payment terms for the order.
    PaymentTerm *string `type:"string" enum:"PaymentTerm"`
    // contains filtered or unexported fields
}

func (CreateOrderInput) GoString

func (s CreateOrderInput) 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 (*CreateOrderInput) SetLineItems

func (s *CreateOrderInput) SetLineItems(v []*LineItemRequest) *CreateOrderInput

SetLineItems sets the LineItems field's value.

func (*CreateOrderInput) SetOutpostIdentifier

func (s *CreateOrderInput) SetOutpostIdentifier(v string) *CreateOrderInput

SetOutpostIdentifier sets the OutpostIdentifier field's value.

func (*CreateOrderInput) SetPaymentOption

func (s *CreateOrderInput) SetPaymentOption(v string) *CreateOrderInput

SetPaymentOption sets the PaymentOption field's value.

func (*CreateOrderInput) SetPaymentTerm

func (s *CreateOrderInput) SetPaymentTerm(v string) *CreateOrderInput

SetPaymentTerm sets the PaymentTerm field's value.

func (CreateOrderInput) String

func (s CreateOrderInput) 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 (*CreateOrderInput) Validate

func (s *CreateOrderInput) Validate() error

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

type CreateOrderOutput

type CreateOrderOutput struct {

    // Information about this order.
    Order *Order `type:"structure"`
    // contains filtered or unexported fields
}

func (CreateOrderOutput) GoString

func (s CreateOrderOutput) 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 (*CreateOrderOutput) SetOrder

func (s *CreateOrderOutput) SetOrder(v *Order) *CreateOrderOutput

SetOrder sets the Order field's value.

func (CreateOrderOutput) String

func (s CreateOrderOutput) 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 CreateOutpostInput

type CreateOutpostInput struct {

    // The Availability Zone.
    AvailabilityZone *string `min:"1" type:"string"`

    // The ID of the Availability Zone.
    AvailabilityZoneId *string `min:"1" type:"string"`

    // The description of the Outpost.
    Description *string `type:"string"`

    // The name of the Outpost.
    //
    // Name is a required field
    Name *string `min:"1" type:"string" required:"true"`

    // The ID of the site.
    //
    // SiteId is a required field
    SiteId *string `min:"1" type:"string" required:"true"`

    // The tags to apply to the Outpost.
    Tags map[string]*string `min:"1" type:"map"`
    // contains filtered or unexported fields
}

func (CreateOutpostInput) GoString

func (s CreateOutpostInput) 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 (*CreateOutpostInput) SetAvailabilityZone

func (s *CreateOutpostInput) SetAvailabilityZone(v string) *CreateOutpostInput

SetAvailabilityZone sets the AvailabilityZone field's value.

func (*CreateOutpostInput) SetAvailabilityZoneId

func (s *CreateOutpostInput) SetAvailabilityZoneId(v string) *CreateOutpostInput

SetAvailabilityZoneId sets the AvailabilityZoneId field's value.

func (*CreateOutpostInput) SetDescription

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

SetDescription sets the Description field's value.

func (*CreateOutpostInput) SetName

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

SetName sets the Name field's value.

func (*CreateOutpostInput) SetSiteId

func (s *CreateOutpostInput) SetSiteId(v string) *CreateOutpostInput

SetSiteId sets the SiteId field's value.

func (*CreateOutpostInput) SetTags

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

SetTags sets the Tags field's value.

func (CreateOutpostInput) String

func (s CreateOutpostInput) 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 (*CreateOutpostInput) Validate

func (s *CreateOutpostInput) Validate() error

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

type CreateOutpostOutput

type CreateOutpostOutput struct {

    // Information about an Outpost.
    Outpost *Outpost `type:"structure"`
    // contains filtered or unexported fields
}

func (CreateOutpostOutput) GoString

func (s CreateOutpostOutput) 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 (*CreateOutpostOutput) SetOutpost

func (s *CreateOutpostOutput) SetOutpost(v *Outpost) *CreateOutpostOutput

SetOutpost sets the Outpost field's value.

func (CreateOutpostOutput) String

func (s CreateOutpostOutput) 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 DeleteOutpostInput

type DeleteOutpostInput struct {

    // The ID of the Outpost.
    //
    // OutpostId is a required field
    OutpostId *string `location:"uri" locationName:"OutpostId" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteOutpostInput) GoString

func (s DeleteOutpostInput) 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 (*DeleteOutpostInput) SetOutpostId

func (s *DeleteOutpostInput) SetOutpostId(v string) *DeleteOutpostInput

SetOutpostId sets the OutpostId field's value.

func (DeleteOutpostInput) String

func (s DeleteOutpostInput) 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 (*DeleteOutpostInput) Validate

func (s *DeleteOutpostInput) Validate() error

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

type DeleteOutpostOutput

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

func (DeleteOutpostOutput) GoString

func (s DeleteOutpostOutput) 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 (DeleteOutpostOutput) String

func (s DeleteOutpostOutput) 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 DeleteSiteInput

type DeleteSiteInput struct {

    // The ID of the site.
    //
    // SiteId is a required field
    SiteId *string `location:"uri" locationName:"SiteId" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteSiteInput) GoString

func (s DeleteSiteInput) 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 (*DeleteSiteInput) SetSiteId

func (s *DeleteSiteInput) SetSiteId(v string) *DeleteSiteInput

SetSiteId sets the SiteId field's value.

func (DeleteSiteInput) String

func (s DeleteSiteInput) 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 (*DeleteSiteInput) Validate

func (s *DeleteSiteInput) Validate() error

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

type DeleteSiteOutput

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

func (DeleteSiteOutput) GoString

func (s DeleteSiteOutput) 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 (DeleteSiteOutput) String

func (s DeleteSiteOutput) 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 GetOutpostInput

type GetOutpostInput struct {

    // The ID of the Outpost.
    //
    // OutpostId is a required field
    OutpostId *string `location:"uri" locationName:"OutpostId" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetOutpostInput) GoString

func (s GetOutpostInput) 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 (*GetOutpostInput) SetOutpostId

func (s *GetOutpostInput) SetOutpostId(v string) *GetOutpostInput

SetOutpostId sets the OutpostId field's value.

func (GetOutpostInput) String

func (s GetOutpostInput) 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 (*GetOutpostInput) Validate

func (s *GetOutpostInput) Validate() error

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

type GetOutpostInstanceTypesInput

type GetOutpostInstanceTypesInput struct {

    // The maximum page size.
    MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"`

    // The pagination token.
    NextToken *string `location:"querystring" locationName:"NextToken" min:"1" type:"string"`

    // The ID of the Outpost.
    //
    // OutpostId is a required field
    OutpostId *string `location:"uri" locationName:"OutpostId" min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetOutpostInstanceTypesInput) GoString

func (s GetOutpostInstanceTypesInput) 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 (*GetOutpostInstanceTypesInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*GetOutpostInstanceTypesInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*GetOutpostInstanceTypesInput) SetOutpostId

func (s *GetOutpostInstanceTypesInput) SetOutpostId(v string) *GetOutpostInstanceTypesInput

SetOutpostId sets the OutpostId field's value.

func (GetOutpostInstanceTypesInput) String

func (s GetOutpostInstanceTypesInput) 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 (*GetOutpostInstanceTypesInput) Validate

func (s *GetOutpostInstanceTypesInput) Validate() error

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

type GetOutpostInstanceTypesOutput

type GetOutpostInstanceTypesOutput struct {

    // Information about the instance types.
    InstanceTypes []*InstanceTypeItem `type:"list"`

    // The pagination token.
    NextToken *string `min:"1" type:"string"`

    // The Amazon Resource Name (ARN) of the Outpost.
    OutpostArn *string `min:"1" type:"string"`

    // The ID of the Outpost.
    OutpostId *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (GetOutpostInstanceTypesOutput) GoString

func (s GetOutpostInstanceTypesOutput) 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 (*GetOutpostInstanceTypesOutput) SetInstanceTypes

func (s *GetOutpostInstanceTypesOutput) SetInstanceTypes(v []*InstanceTypeItem) *GetOutpostInstanceTypesOutput

SetInstanceTypes sets the InstanceTypes field's value.

func (*GetOutpostInstanceTypesOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*GetOutpostInstanceTypesOutput) SetOutpostArn

func (s *GetOutpostInstanceTypesOutput) SetOutpostArn(v string) *GetOutpostInstanceTypesOutput

SetOutpostArn sets the OutpostArn field's value.

func (*GetOutpostInstanceTypesOutput) SetOutpostId

func (s *GetOutpostInstanceTypesOutput) SetOutpostId(v string) *GetOutpostInstanceTypesOutput

SetOutpostId sets the OutpostId field's value.

func (GetOutpostInstanceTypesOutput) String

func (s GetOutpostInstanceTypesOutput) 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 GetOutpostOutput

type GetOutpostOutput struct {

    // Information about an Outpost.
    Outpost *Outpost `type:"structure"`
    // contains filtered or unexported fields
}

func (GetOutpostOutput) GoString

func (s GetOutpostOutput) 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 (*GetOutpostOutput) SetOutpost

func (s *GetOutpostOutput) SetOutpost(v *Outpost) *GetOutpostOutput

SetOutpost sets the Outpost field's value.

func (GetOutpostOutput) String

func (s GetOutpostOutput) 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 InstanceTypeItem

type InstanceTypeItem struct {

    // The instance type.
    InstanceType *string `type:"string"`
    // contains filtered or unexported fields
}

Information about an instance type.

func (InstanceTypeItem) GoString

func (s InstanceTypeItem) 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 (*InstanceTypeItem) SetInstanceType

func (s *InstanceTypeItem) SetInstanceType(v string) *InstanceTypeItem

SetInstanceType sets the InstanceType field's value.

func (InstanceTypeItem) String

func (s InstanceTypeItem) 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" min:"1" type:"string"`
    // contains filtered or unexported fields
}

An internal error has occurred.

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 LineItem

type LineItem struct {

    // The ID of the catalog item.
    CatalogItemId *string `min:"1" type:"string"`

    // The ID of the line item.
    LineItemId *string `type:"string"`

    // The quantity of the line item.
    Quantity *int64 `min:"1" type:"integer"`

    // The status of the line item.
    Status *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

Information about a line item.

func (LineItem) GoString

func (s LineItem) 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 (*LineItem) SetCatalogItemId

func (s *LineItem) SetCatalogItemId(v string) *LineItem

SetCatalogItemId sets the CatalogItemId field's value.

func (*LineItem) SetLineItemId

func (s *LineItem) SetLineItemId(v string) *LineItem

SetLineItemId sets the LineItemId field's value.

func (*LineItem) SetQuantity

func (s *LineItem) SetQuantity(v int64) *LineItem

SetQuantity sets the Quantity field's value.

func (*LineItem) SetStatus

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

SetStatus sets the Status field's value.

func (LineItem) String

func (s LineItem) 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 LineItemRequest

type LineItemRequest struct {

    // The ID of the catalog item.
    CatalogItemId *string `min:"1" type:"string"`

    // The quantity of a line item request.
    Quantity *int64 `min:"1" type:"integer"`
    // contains filtered or unexported fields
}

Information about a line item request.

func (LineItemRequest) GoString

func (s LineItemRequest) 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 (*LineItemRequest) SetCatalogItemId

func (s *LineItemRequest) SetCatalogItemId(v string) *LineItemRequest

SetCatalogItemId sets the CatalogItemId field's value.

func (*LineItemRequest) SetQuantity

func (s *LineItemRequest) SetQuantity(v int64) *LineItemRequest

SetQuantity sets the Quantity field's value.

func (LineItemRequest) String

func (s LineItemRequest) 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 (*LineItemRequest) Validate

func (s *LineItemRequest) Validate() error

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

type ListOutpostsInput

type ListOutpostsInput struct {

    // A filter for the Availibility Zone (us-east-1a) of the Outpost.
    //
    // Filter values are case sensitive. If you specify multiple values for a filter,
    // the values are joined with an OR, and the request returns all results that
    // match any of the specified values.
    AvailabilityZoneFilter []*string `location:"querystring" locationName:"AvailabilityZoneFilter" min:"1" type:"list"`

    // A filter for the AZ IDs (use1-az1) of the Outpost.
    //
    // Filter values are case sensitive. If you specify multiple values for a filter,
    // the values are joined with an OR, and the request returns all results that
    // match any of the specified values.
    AvailabilityZoneIdFilter []*string `location:"querystring" locationName:"AvailabilityZoneIdFilter" min:"1" type:"list"`

    // A filter for the lifecycle status of the Outpost.
    //
    // Filter values are case sensitive. If you specify multiple values for a filter,
    // the values are joined with an OR, and the request returns all results that
    // match any of the specified values.
    LifeCycleStatusFilter []*string `location:"querystring" locationName:"LifeCycleStatusFilter" min:"1" type:"list"`

    // The maximum page size.
    MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"`

    // The pagination token.
    NextToken *string `location:"querystring" locationName:"NextToken" min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (ListOutpostsInput) GoString

func (s ListOutpostsInput) 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 (*ListOutpostsInput) SetAvailabilityZoneFilter

func (s *ListOutpostsInput) SetAvailabilityZoneFilter(v []*string) *ListOutpostsInput

SetAvailabilityZoneFilter sets the AvailabilityZoneFilter field's value.

func (*ListOutpostsInput) SetAvailabilityZoneIdFilter

func (s *ListOutpostsInput) SetAvailabilityZoneIdFilter(v []*string) *ListOutpostsInput

SetAvailabilityZoneIdFilter sets the AvailabilityZoneIdFilter field's value.

func (*ListOutpostsInput) SetLifeCycleStatusFilter

func (s *ListOutpostsInput) SetLifeCycleStatusFilter(v []*string) *ListOutpostsInput

SetLifeCycleStatusFilter sets the LifeCycleStatusFilter field's value.

func (*ListOutpostsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListOutpostsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListOutpostsInput) String

func (s ListOutpostsInput) 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 (*ListOutpostsInput) Validate

func (s *ListOutpostsInput) Validate() error

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

type ListOutpostsOutput

type ListOutpostsOutput struct {

    // The pagination token.
    NextToken *string `min:"1" type:"string"`

    // Information about the Outposts.
    Outposts []*Outpost `type:"list"`
    // contains filtered or unexported fields
}

func (ListOutpostsOutput) GoString

func (s ListOutpostsOutput) 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 (*ListOutpostsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListOutpostsOutput) SetOutposts

func (s *ListOutpostsOutput) SetOutposts(v []*Outpost) *ListOutpostsOutput

SetOutposts sets the Outposts field's value.

func (ListOutpostsOutput) String

func (s ListOutpostsOutput) 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 ListSitesInput

type ListSitesInput struct {

    // The maximum page size.
    MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"`

    // The pagination token.
    NextToken *string `location:"querystring" locationName:"NextToken" min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (ListSitesInput) GoString

func (s ListSitesInput) 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 (*ListSitesInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListSitesInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListSitesInput) String

func (s ListSitesInput) 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 (*ListSitesInput) Validate

func (s *ListSitesInput) Validate() error

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

type ListSitesOutput

type ListSitesOutput struct {

    // The pagination token.
    NextToken *string `min:"1" type:"string"`

    // Information about the sites.
    Sites []*Site `type:"list"`
    // contains filtered or unexported fields
}

func (ListSitesOutput) GoString

func (s ListSitesOutput) 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 (*ListSitesOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (*ListSitesOutput) SetSites

func (s *ListSitesOutput) SetSites(v []*Site) *ListSitesOutput

SetSites sets the Sites field's value.

func (ListSitesOutput) String

func (s ListSitesOutput) 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 Amazon Resource Name (ARN) of the resource.
    //
    // ResourceArn is a required field
    ResourceArn *string `location:"uri" locationName:"ResourceArn" 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

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

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 resource tags.
    Tags map[string]*string `min:"1" type:"map"`
    // 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

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

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 NotFoundException

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

    Message_ *string `locationName:"Message" min:"1" type:"string"`
    // contains filtered or unexported fields
}

The specified request is not valid.

func (*NotFoundException) Code

func (s *NotFoundException) Code() string

Code returns the exception type name.

func (*NotFoundException) Error

func (s *NotFoundException) Error() string

func (NotFoundException) GoString

func (s NotFoundException) 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 (*NotFoundException) Message

func (s *NotFoundException) Message() string

Message returns the exception's message.

func (*NotFoundException) OrigErr

func (s *NotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*NotFoundException) RequestID

func (s *NotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*NotFoundException) StatusCode

func (s *NotFoundException) StatusCode() int

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

func (NotFoundException) String

func (s NotFoundException) 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 Order

type Order struct {

    // The line items for the order
    LineItems []*LineItem `type:"list"`

    // The fulfillment date of the order.
    OrderFulfilledDate *time.Time `type:"timestamp"`

    // The ID of the order.
    OrderId *string `min:"1" type:"string"`

    // The submission date for the order.
    OrderSubmissionDate *time.Time `type:"timestamp"`

    // The ID of the Outpost.
    OutpostId *string `min:"1" type:"string"`

    // The payment option for the order.
    PaymentOption *string `type:"string" enum:"PaymentOption"`

    // The status of the order
    Status *string `type:"string" enum:"OrderStatus"`
    // contains filtered or unexported fields
}

Information about an order.

func (Order) GoString

func (s Order) 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 (*Order) SetLineItems

func (s *Order) SetLineItems(v []*LineItem) *Order

SetLineItems sets the LineItems field's value.

func (*Order) SetOrderFulfilledDate

func (s *Order) SetOrderFulfilledDate(v time.Time) *Order

SetOrderFulfilledDate sets the OrderFulfilledDate field's value.

func (*Order) SetOrderId

func (s *Order) SetOrderId(v string) *Order

SetOrderId sets the OrderId field's value.

func (*Order) SetOrderSubmissionDate

func (s *Order) SetOrderSubmissionDate(v time.Time) *Order

SetOrderSubmissionDate sets the OrderSubmissionDate field's value.

func (*Order) SetOutpostId

func (s *Order) SetOutpostId(v string) *Order

SetOutpostId sets the OutpostId field's value.

func (*Order) SetPaymentOption

func (s *Order) SetPaymentOption(v string) *Order

SetPaymentOption sets the PaymentOption field's value.

func (*Order) SetStatus

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

SetStatus sets the Status field's value.

func (Order) String

func (s Order) 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 Outpost

type Outpost struct {

    // The Availability Zone.
    AvailabilityZone *string `min:"1" type:"string"`

    // The ID of the Availability Zone.
    AvailabilityZoneId *string `min:"1" type:"string"`

    // The description of the Outpost.
    Description *string `type:"string"`

    // The life cycle status.
    LifeCycleStatus *string `min:"1" type:"string"`

    // The name of the Outpost.
    Name *string `min:"1" type:"string"`

    // The Amazon Resource Name (ARN) of the Outpost.
    OutpostArn *string `min:"1" type:"string"`

    // The ID of the Outpost.
    OutpostId *string `min:"1" type:"string"`

    // The AWS account ID of the Outpost owner.
    OwnerId *string `min:"12" type:"string"`

    // The Amazon Resource Name (ARN) of the site.
    SiteArn *string `min:"1" type:"string"`

    // The ID of the site.
    SiteId *string `min:"1" type:"string"`

    // The Outpost tags.
    Tags map[string]*string `min:"1" type:"map"`
    // contains filtered or unexported fields
}

Information about an Outpost.

func (Outpost) GoString

func (s Outpost) 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 (*Outpost) SetAvailabilityZone

func (s *Outpost) SetAvailabilityZone(v string) *Outpost

SetAvailabilityZone sets the AvailabilityZone field's value.

func (*Outpost) SetAvailabilityZoneId

func (s *Outpost) SetAvailabilityZoneId(v string) *Outpost

SetAvailabilityZoneId sets the AvailabilityZoneId field's value.

func (*Outpost) SetDescription

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

SetDescription sets the Description field's value.

func (*Outpost) SetLifeCycleStatus

func (s *Outpost) SetLifeCycleStatus(v string) *Outpost

SetLifeCycleStatus sets the LifeCycleStatus field's value.

func (*Outpost) SetName

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

SetName sets the Name field's value.

func (*Outpost) SetOutpostArn

func (s *Outpost) SetOutpostArn(v string) *Outpost

SetOutpostArn sets the OutpostArn field's value.

func (*Outpost) SetOutpostId

func (s *Outpost) SetOutpostId(v string) *Outpost

SetOutpostId sets the OutpostId field's value.

func (*Outpost) SetOwnerId

func (s *Outpost) SetOwnerId(v string) *Outpost

SetOwnerId sets the OwnerId field's value.

func (*Outpost) SetSiteArn

func (s *Outpost) SetSiteArn(v string) *Outpost

SetSiteArn sets the SiteArn field's value.

func (*Outpost) SetSiteId

func (s *Outpost) SetSiteId(v string) *Outpost

SetSiteId sets the SiteId field's value.

func (*Outpost) SetTags

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

SetTags sets the Tags field's value.

func (Outpost) String

func (s Outpost) 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 Outposts

type Outposts struct {
    *client.Client
}

Outposts provides the API operation methods for making requests to AWS Outposts. See this package's package overview docs for details on the service.

Outposts 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) *Outposts

New creates a new instance of the Outposts 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 Outposts client from just a session.
svc := outposts.New(mySession)

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

func (*Outposts) CreateOrder

func (c *Outposts) CreateOrder(input *CreateOrderInput) (*CreateOrderOutput, error)

CreateOrder API operation for AWS Outposts.

Creates an order for an Outpost.

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 Outposts's API operation CreateOrder for usage and error information.

Returned Error Types:

* ValidationException
A parameter is not valid.

* ConflictException
Updating or deleting this resource can cause an inconsistent state.

* AccessDeniedException
You do not have permission to perform this operation.

* NotFoundException
The specified request is not valid.

* InternalServerException
An internal error has occurred.

* ServiceQuotaExceededException
You have exceeded a service quota.

See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOrder

func (*Outposts) CreateOrderRequest

func (c *Outposts) CreateOrderRequest(input *CreateOrderInput) (req *request.Request, output *CreateOrderOutput)

CreateOrderRequest generates a "aws/request.Request" representing the client's request for the CreateOrder 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 CreateOrder for more information on using the CreateOrder 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 CreateOrderRequest method.
req, resp := client.CreateOrderRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOrder

func (*Outposts) CreateOrderWithContext

func (c *Outposts) CreateOrderWithContext(ctx aws.Context, input *CreateOrderInput, opts ...request.Option) (*CreateOrderOutput, error)

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

See CreateOrder 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 (*Outposts) CreateOutpost

func (c *Outposts) CreateOutpost(input *CreateOutpostInput) (*CreateOutpostOutput, error)

CreateOutpost API operation for AWS Outposts.

Creates an Outpost.

You can specify AvailabilityZone or AvailabilityZoneId.

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 Outposts's API operation CreateOutpost for usage and error information.

Returned Error Types:

* ValidationException
A parameter is not valid.

* ConflictException
Updating or deleting this resource can cause an inconsistent state.

* NotFoundException
The specified request is not valid.

* AccessDeniedException
You do not have permission to perform this operation.

* InternalServerException
An internal error has occurred.

* ServiceQuotaExceededException
You have exceeded a service quota.

See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOutpost

func (*Outposts) CreateOutpostRequest

func (c *Outposts) CreateOutpostRequest(input *CreateOutpostInput) (req *request.Request, output *CreateOutpostOutput)

CreateOutpostRequest generates a "aws/request.Request" representing the client's request for the CreateOutpost 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 CreateOutpost for more information on using the CreateOutpost 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 CreateOutpostRequest method.
req, resp := client.CreateOutpostRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOutpost

func (*Outposts) CreateOutpostWithContext

func (c *Outposts) CreateOutpostWithContext(ctx aws.Context, input *CreateOutpostInput, opts ...request.Option) (*CreateOutpostOutput, error)

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

See CreateOutpost 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 (*Outposts) DeleteOutpost

func (c *Outposts) DeleteOutpost(input *DeleteOutpostInput) (*DeleteOutpostOutput, error)

DeleteOutpost API operation for AWS Outposts.

Deletes the Outpost.

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 Outposts's API operation DeleteOutpost for usage and error information.

Returned Error Types:

* ValidationException
A parameter is not valid.

* ConflictException
Updating or deleting this resource can cause an inconsistent state.

* NotFoundException
The specified request is not valid.

* AccessDeniedException
You do not have permission to perform this operation.

* InternalServerException
An internal error has occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/DeleteOutpost

func (*Outposts) DeleteOutpostRequest

func (c *Outposts) DeleteOutpostRequest(input *DeleteOutpostInput) (req *request.Request, output *DeleteOutpostOutput)

DeleteOutpostRequest generates a "aws/request.Request" representing the client's request for the DeleteOutpost 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 DeleteOutpost for more information on using the DeleteOutpost 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 DeleteOutpostRequest method.
req, resp := client.DeleteOutpostRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/DeleteOutpost

func (*Outposts) DeleteOutpostWithContext

func (c *Outposts) DeleteOutpostWithContext(ctx aws.Context, input *DeleteOutpostInput, opts ...request.Option) (*DeleteOutpostOutput, error)

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

See DeleteOutpost 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 (*Outposts) DeleteSite

func (c *Outposts) DeleteSite(input *DeleteSiteInput) (*DeleteSiteOutput, error)

DeleteSite API operation for AWS Outposts.

Deletes the site.

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 Outposts's API operation DeleteSite for usage and error information.

Returned Error Types:

* ValidationException
A parameter is not valid.

* ConflictException
Updating or deleting this resource can cause an inconsistent state.

* NotFoundException
The specified request is not valid.

* AccessDeniedException
You do not have permission to perform this operation.

* InternalServerException
An internal error has occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/DeleteSite

func (*Outposts) DeleteSiteRequest

func (c *Outposts) DeleteSiteRequest(input *DeleteSiteInput) (req *request.Request, output *DeleteSiteOutput)

DeleteSiteRequest generates a "aws/request.Request" representing the client's request for the DeleteSite 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 DeleteSite for more information on using the DeleteSite 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 DeleteSiteRequest method.
req, resp := client.DeleteSiteRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/DeleteSite

func (*Outposts) DeleteSiteWithContext

func (c *Outposts) DeleteSiteWithContext(ctx aws.Context, input *DeleteSiteInput, opts ...request.Option) (*DeleteSiteOutput, error)

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

See DeleteSite 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 (*Outposts) GetOutpost

func (c *Outposts) GetOutpost(input *GetOutpostInput) (*GetOutpostOutput, error)

GetOutpost API operation for AWS Outposts.

Gets information about the specified Outpost.

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 Outposts's API operation GetOutpost for usage and error information.

Returned Error Types:

* ValidationException
A parameter is not valid.

* NotFoundException
The specified request is not valid.

* AccessDeniedException
You do not have permission to perform this operation.

* InternalServerException
An internal error has occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpost

func (*Outposts) GetOutpostInstanceTypes

func (c *Outposts) GetOutpostInstanceTypes(input *GetOutpostInstanceTypesInput) (*GetOutpostInstanceTypesOutput, error)

GetOutpostInstanceTypes API operation for AWS Outposts.

Lists the instance types for the specified Outpost.

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 Outposts's API operation GetOutpostInstanceTypes for usage and error information.

Returned Error Types:

* ValidationException
A parameter is not valid.

* NotFoundException
The specified request is not valid.

* AccessDeniedException
You do not have permission to perform this operation.

* InternalServerException
An internal error has occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpostInstanceTypes

func (*Outposts) GetOutpostInstanceTypesRequest

func (c *Outposts) GetOutpostInstanceTypesRequest(input *GetOutpostInstanceTypesInput) (req *request.Request, output *GetOutpostInstanceTypesOutput)

GetOutpostInstanceTypesRequest generates a "aws/request.Request" representing the client's request for the GetOutpostInstanceTypes 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 GetOutpostInstanceTypes for more information on using the GetOutpostInstanceTypes 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 GetOutpostInstanceTypesRequest method.
req, resp := client.GetOutpostInstanceTypesRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpostInstanceTypes

func (*Outposts) GetOutpostInstanceTypesWithContext

func (c *Outposts) GetOutpostInstanceTypesWithContext(ctx aws.Context, input *GetOutpostInstanceTypesInput, opts ...request.Option) (*GetOutpostInstanceTypesOutput, error)

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

See GetOutpostInstanceTypes 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 (*Outposts) GetOutpostRequest

func (c *Outposts) GetOutpostRequest(input *GetOutpostInput) (req *request.Request, output *GetOutpostOutput)

GetOutpostRequest generates a "aws/request.Request" representing the client's request for the GetOutpost 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 GetOutpost for more information on using the GetOutpost 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 GetOutpostRequest method.
req, resp := client.GetOutpostRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpost

func (*Outposts) GetOutpostWithContext

func (c *Outposts) GetOutpostWithContext(ctx aws.Context, input *GetOutpostInput, opts ...request.Option) (*GetOutpostOutput, error)

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

See GetOutpost 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 (*Outposts) ListOutposts

func (c *Outposts) ListOutposts(input *ListOutpostsInput) (*ListOutpostsOutput, error)

ListOutposts API operation for AWS Outposts.

Create a list of the Outposts for your AWS account. Add filters to your request to return a more specific list of results. Use filters to match an Outpost lifecycle status, Availibility Zone (us-east-1a), and AZ ID (use1-az1).

If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.

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 Outposts's API operation ListOutposts for usage and error information.

Returned Error Types:

* ValidationException
A parameter is not valid.

* AccessDeniedException
You do not have permission to perform this operation.

* InternalServerException
An internal error has occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListOutposts

func (*Outposts) ListOutpostsPages

func (c *Outposts) ListOutpostsPages(input *ListOutpostsInput, fn func(*ListOutpostsOutput, bool) bool) error

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

See ListOutposts 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 ListOutposts operation.
pageNum := 0
err := client.ListOutpostsPages(params,
    func(page *outposts.ListOutpostsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Outposts) ListOutpostsPagesWithContext

func (c *Outposts) ListOutpostsPagesWithContext(ctx aws.Context, input *ListOutpostsInput, fn func(*ListOutpostsOutput, bool) bool, opts ...request.Option) error

ListOutpostsPagesWithContext same as ListOutpostsPages 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 (*Outposts) ListOutpostsRequest

func (c *Outposts) ListOutpostsRequest(input *ListOutpostsInput) (req *request.Request, output *ListOutpostsOutput)

ListOutpostsRequest generates a "aws/request.Request" representing the client's request for the ListOutposts 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 ListOutposts for more information on using the ListOutposts 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 ListOutpostsRequest method.
req, resp := client.ListOutpostsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListOutposts

func (*Outposts) ListOutpostsWithContext

func (c *Outposts) ListOutpostsWithContext(ctx aws.Context, input *ListOutpostsInput, opts ...request.Option) (*ListOutpostsOutput, error)

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

See ListOutposts 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 (*Outposts) ListSites

func (c *Outposts) ListSites(input *ListSitesInput) (*ListSitesOutput, error)

ListSites API operation for AWS Outposts.

Lists the sites for the specified AWS account.

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 Outposts's API operation ListSites for usage and error information.

Returned Error Types:

* ValidationException
A parameter is not valid.

* AccessDeniedException
You do not have permission to perform this operation.

* InternalServerException
An internal error has occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListSites

func (*Outposts) ListSitesPages

func (c *Outposts) ListSitesPages(input *ListSitesInput, fn func(*ListSitesOutput, bool) bool) error

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

See ListSites 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 ListSites operation.
pageNum := 0
err := client.ListSitesPages(params,
    func(page *outposts.ListSitesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Outposts) ListSitesPagesWithContext

func (c *Outposts) ListSitesPagesWithContext(ctx aws.Context, input *ListSitesInput, fn func(*ListSitesOutput, bool) bool, opts ...request.Option) error

ListSitesPagesWithContext same as ListSitesPages 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 (*Outposts) ListSitesRequest

func (c *Outposts) ListSitesRequest(input *ListSitesInput) (req *request.Request, output *ListSitesOutput)

ListSitesRequest generates a "aws/request.Request" representing the client's request for the ListSites 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 ListSites for more information on using the ListSites 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 ListSitesRequest method.
req, resp := client.ListSitesRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListSites

func (*Outposts) ListSitesWithContext

func (c *Outposts) ListSitesWithContext(ctx aws.Context, input *ListSitesInput, opts ...request.Option) (*ListSitesOutput, error)

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

See ListSites 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 (*Outposts) ListTagsForResource

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

ListTagsForResource API operation for AWS Outposts.

Lists the tags for the specified 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 Outposts's API operation ListTagsForResource for usage and error information.

Returned Error Types:

* InternalServerException
An internal error has occurred.

* ValidationException
A parameter is not valid.

* NotFoundException
The specified request is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListTagsForResource

func (*Outposts) ListTagsForResourceRequest

func (c *Outposts) 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/outposts-2019-12-03/ListTagsForResource

func (*Outposts) ListTagsForResourceWithContext

func (c *Outposts) 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 (*Outposts) TagResource

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

TagResource API operation for AWS Outposts.

Adds tags to the specified 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 Outposts's API operation TagResource for usage and error information.

Returned Error Types:

* InternalServerException
An internal error has occurred.

* ValidationException
A parameter is not valid.

* NotFoundException
The specified request is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/TagResource

func (*Outposts) TagResourceRequest

func (c *Outposts) 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/outposts-2019-12-03/TagResource

func (*Outposts) TagResourceWithContext

func (c *Outposts) 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 (*Outposts) UntagResource

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

UntagResource API operation for AWS Outposts.

Removes tags from the specified 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 Outposts's API operation UntagResource for usage and error information.

Returned Error Types:

* InternalServerException
An internal error has occurred.

* ValidationException
A parameter is not valid.

* NotFoundException
The specified request is not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UntagResource

func (*Outposts) UntagResourceRequest

func (c *Outposts) 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/outposts-2019-12-03/UntagResource

func (*Outposts) UntagResourceWithContext

func (c *Outposts) 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.

type ServiceQuotaExceededException

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

    Message_ *string `locationName:"Message" min:"1" type:"string"`
    // contains filtered or unexported fields
}

You have exceeded a service quota.

func (*ServiceQuotaExceededException) Code

func (s *ServiceQuotaExceededException) Code() string

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error

func (s *ServiceQuotaExceededException) Error() string

func (ServiceQuotaExceededException) GoString

func (s ServiceQuotaExceededException) 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 (*ServiceQuotaExceededException) Message

func (s *ServiceQuotaExceededException) Message() string

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

func (s ServiceQuotaExceededException) 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 Site

type Site struct {

    // The ID of the AWS account.
    AccountId *string `min:"12" type:"string"`

    // The description of the site.
    Description *string `min:"1" type:"string"`

    // The name of the site.
    Name *string `min:"1" type:"string"`

    // The Amazon Resource Name (ARN) of the site.
    SiteArn *string `min:"1" type:"string"`

    // The ID of the site.
    SiteId *string `min:"1" type:"string"`

    // The site tags.
    Tags map[string]*string `min:"1" type:"map"`
    // contains filtered or unexported fields
}

Information about a site.

func (Site) GoString

func (s Site) 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 (*Site) SetAccountId

func (s *Site) SetAccountId(v string) *Site

SetAccountId sets the AccountId field's value.

func (*Site) SetDescription

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

SetDescription sets the Description field's value.

func (*Site) SetName

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

SetName sets the Name field's value.

func (*Site) SetSiteArn

func (s *Site) SetSiteArn(v string) *Site

SetSiteArn sets the SiteArn field's value.

func (*Site) SetSiteId

func (s *Site) SetSiteId(v string) *Site

SetSiteId sets the SiteId field's value.

func (*Site) SetTags

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

SetTags sets the Tags field's value.

func (Site) String

func (s Site) 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 Amazon Resource Name (ARN) of the resource.
    //
    // ResourceArn is a required field
    ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`

    // The tags to add to the resource.
    //
    // Tags is a required field
    Tags map[string]*string `min:"1" type:"map" required:"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 UntagResourceInput

type UntagResourceInput struct {

    // The Amazon Resource Name (ARN) of the resource.
    //
    // ResourceArn is a required field
    ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`

    // The tag keys.
    //
    // 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 ValidationException

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

    Message_ *string `locationName:"Message" min:"1" type:"string"`
    // contains filtered or unexported fields
}

A parameter is not valid.

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".