elasticinference

package
v0.23.3 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package elasticinference provides the client and types for making API requests to Amazon Elastic Inference.

Elastic Inference public APIs.

See https://docs.aws.amazon.com/goto/WebAPI/elastic-inference-2017-07-25 for more information on this service.

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

Using the Client

To use Amazon Elastic Inference 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 Amazon Elastic Inference client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/elasticinference/#New

Index

Constants

View Source
const (
	ServiceName = "Amazon Elastic Inference" // Service's name
	ServiceID   = "ElasticInference"         // Service's identifier
	EndpointsID = "api.elastic-inference"    // Service's Endpoint identifier
)
View Source
const (

	// ErrCodeBadRequestException for service response error code
	// "BadRequestException".
	//
	// Raised when a malformed input has been provided to the API.
	ErrCodeBadRequestException = "BadRequestException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// Raised when an unexpected error occurred during request processing.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// Raised when the requested resource cannot be found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceleratorType

type AcceleratorType struct {

	// The name of the Elastic Inference Accelerator type.
	AcceleratorTypeName *string `locationName:"acceleratorTypeName" min:"1" type:"string"`

	// The memory information of the Elastic Inference Accelerator type.
	MemoryInfo *MemoryInfo `locationName:"memoryInfo" type:"structure"`

	// The throughput information of the Elastic Inference Accelerator type.
	ThroughputInfo []KeyValuePair `locationName:"throughputInfo" type:"list"`
	// contains filtered or unexported fields
}

The details of an Elastic Inference Accelerator type.

func (AcceleratorType) MarshalFields

func (s AcceleratorType) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AcceleratorType) String

func (s AcceleratorType) String() string

String returns the string representation

type AcceleratorTypeOffering

type AcceleratorTypeOffering struct {

	// The name of the Elastic Inference Accelerator type.
	AcceleratorType *string `locationName:"acceleratorType" min:"1" type:"string"`

	// The location for the offering. It will return either the region, availability
	// zone or availability zone id for the offering depending on the locationType
	// value.
	Location *string `locationName:"location" min:"1" type:"string"`

	// The location type for the offering. It can assume the following values: region:
	// defines that the offering is at the regional level. availability-zone: defines
	// that the offering is at the availability zone level. availability-zone-id:
	// defines that the offering is at the availability zone level, defined by the
	// availability zone id.
	LocationType LocationType `locationName:"locationType" min:"1" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

The offering for an Elastic Inference Accelerator type.

func (AcceleratorTypeOffering) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (AcceleratorTypeOffering) String

func (s AcceleratorTypeOffering) String() string

String returns the string representation

type Client

type Client struct {
	*aws.Client
}

Client provides the API operation methods for making requests to Amazon Elastic Inference. See this package's package overview docs for details on the service.

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

func New

func New(config aws.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := elasticinference.New(myConfig)

func (*Client) DescribeAcceleratorOfferingsRequest

func (c *Client) DescribeAcceleratorOfferingsRequest(input *DescribeAcceleratorOfferingsInput) DescribeAcceleratorOfferingsRequest

DescribeAcceleratorOfferingsRequest returns a request value for making API operation for Amazon Elastic Inference.

Describes the locations in which a given accelerator type or set of types is present in a given region.

// Example sending a request using DescribeAcceleratorOfferingsRequest.
req := client.DescribeAcceleratorOfferingsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/elastic-inference-2017-07-25/DescribeAcceleratorOfferings

func (*Client) DescribeAcceleratorTypesRequest

func (c *Client) DescribeAcceleratorTypesRequest(input *DescribeAcceleratorTypesInput) DescribeAcceleratorTypesRequest

DescribeAcceleratorTypesRequest returns a request value for making API operation for Amazon Elastic Inference.

Describes the accelerator types available in a given region, as well as their characteristics, such as memory and throughput.

// Example sending a request using DescribeAcceleratorTypesRequest.
req := client.DescribeAcceleratorTypesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/elastic-inference-2017-07-25/DescribeAcceleratorTypes

func (*Client) DescribeAcceleratorsRequest

func (c *Client) DescribeAcceleratorsRequest(input *DescribeAcceleratorsInput) DescribeAcceleratorsRequest

DescribeAcceleratorsRequest returns a request value for making API operation for Amazon Elastic Inference.

Describes information over a provided set of accelerators belonging to an account.

// Example sending a request using DescribeAcceleratorsRequest.
req := client.DescribeAcceleratorsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/elastic-inference-2017-07-25/DescribeAccelerators

func (*Client) ListTagsForResourceRequest

func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest

ListTagsForResourceRequest returns a request value for making API operation for Amazon Elastic Inference.

Returns all tags of an Elastic Inference Accelerator.

// Example sending a request using ListTagsForResourceRequest.
req := client.ListTagsForResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/elastic-inference-2017-07-25/ListTagsForResource

func (*Client) TagResourceRequest

func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest

TagResourceRequest returns a request value for making API operation for Amazon Elastic Inference.

Adds the specified tags to an Elastic Inference Accelerator.

// Example sending a request using TagResourceRequest.
req := client.TagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/elastic-inference-2017-07-25/TagResource

func (*Client) UntagResourceRequest

func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest

UntagResourceRequest returns a request value for making API operation for Amazon Elastic Inference.

Removes the specified tags from an Elastic Inference Accelerator.

// Example sending a request using UntagResourceRequest.
req := client.UntagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/elastic-inference-2017-07-25/UntagResource

type DescribeAcceleratorOfferingsInput

type DescribeAcceleratorOfferingsInput struct {

	// The list of accelerator types to describe.
	AcceleratorTypes []string `locationName:"acceleratorTypes" type:"list"`

	// The location type that you want to describe accelerator type offerings for.
	// It can assume the following values: region: will return the accelerator type
	// offering at the regional level. availability-zone: will return the accelerator
	// type offering at the availability zone level. availability-zone-id: will
	// return the accelerator type offering at the availability zone level returning
	// the availability zone id.
	//
	// LocationType is a required field
	LocationType LocationType `locationName:"locationType" min:"1" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

func (DescribeAcceleratorOfferingsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeAcceleratorOfferingsInput) String

String returns the string representation

func (*DescribeAcceleratorOfferingsInput) Validate

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

type DescribeAcceleratorOfferingsOutput

type DescribeAcceleratorOfferingsOutput struct {

	// The list of accelerator type offerings for a specific location.
	AcceleratorTypeOfferings []AcceleratorTypeOffering `locationName:"acceleratorTypeOfferings" type:"list"`
	// contains filtered or unexported fields
}

func (DescribeAcceleratorOfferingsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeAcceleratorOfferingsOutput) String

String returns the string representation

type DescribeAcceleratorOfferingsRequest

type DescribeAcceleratorOfferingsRequest struct {
	*aws.Request
	Input *DescribeAcceleratorOfferingsInput
	Copy  func(*DescribeAcceleratorOfferingsInput) DescribeAcceleratorOfferingsRequest
}

DescribeAcceleratorOfferingsRequest is the request type for the DescribeAcceleratorOfferings API operation.

func (DescribeAcceleratorOfferingsRequest) Send

Send marshals and sends the DescribeAcceleratorOfferings API request.

type DescribeAcceleratorOfferingsResponse

type DescribeAcceleratorOfferingsResponse struct {
	*DescribeAcceleratorOfferingsOutput
	// contains filtered or unexported fields
}

DescribeAcceleratorOfferingsResponse is the response type for the DescribeAcceleratorOfferings API operation.

func (*DescribeAcceleratorOfferingsResponse) SDKResponseMetdata

func (r *DescribeAcceleratorOfferingsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeAcceleratorOfferings request.

type DescribeAcceleratorTypesInput

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

func (DescribeAcceleratorTypesInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeAcceleratorTypesInput) String

String returns the string representation

type DescribeAcceleratorTypesOutput

type DescribeAcceleratorTypesOutput struct {

	// The available accelerator types.
	AcceleratorTypes []AcceleratorType `locationName:"acceleratorTypes" type:"list"`
	// contains filtered or unexported fields
}

func (DescribeAcceleratorTypesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeAcceleratorTypesOutput) String

String returns the string representation

type DescribeAcceleratorTypesRequest

type DescribeAcceleratorTypesRequest struct {
	*aws.Request
	Input *DescribeAcceleratorTypesInput
	Copy  func(*DescribeAcceleratorTypesInput) DescribeAcceleratorTypesRequest
}

DescribeAcceleratorTypesRequest is the request type for the DescribeAcceleratorTypes API operation.

func (DescribeAcceleratorTypesRequest) Send

Send marshals and sends the DescribeAcceleratorTypes API request.

type DescribeAcceleratorTypesResponse

type DescribeAcceleratorTypesResponse struct {
	*DescribeAcceleratorTypesOutput
	// contains filtered or unexported fields
}

DescribeAcceleratorTypesResponse is the response type for the DescribeAcceleratorTypes API operation.

func (*DescribeAcceleratorTypesResponse) SDKResponseMetdata

func (r *DescribeAcceleratorTypesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeAcceleratorTypes request.

type DescribeAcceleratorsInput

type DescribeAcceleratorsInput struct {

	// The IDs of the accelerators to describe.
	AcceleratorIds []string `locationName:"acceleratorIds" type:"list"`

	// One or more filters. Filter names and values are case-sensitive. Valid filter
	// names are: accelerator-types: can provide a list of accelerator type names
	// to filter for. instance-id: can provide a list of EC2 instance ids to filter
	// for.
	Filters []Filter `locationName:"filters" type:"list"`

	// The total number of items to return in the command's output. If the total
	// number of items available is more than the value specified, a NextToken is
	// provided in the command's output. To resume pagination, provide the NextToken
	// value in the starting-token argument of a subsequent command. Do not use
	// the NextToken response element directly outside of the AWS CLI.
	MaxResults *int64 `locationName:"maxResults" type:"integer"`

	// A token to specify where to start paginating. This is the NextToken from
	// a previously truncated response.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeAcceleratorsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeAcceleratorsInput) String

func (s DescribeAcceleratorsInput) String() string

String returns the string representation

func (*DescribeAcceleratorsInput) Validate

func (s *DescribeAcceleratorsInput) Validate() error

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

type DescribeAcceleratorsOutput

type DescribeAcceleratorsOutput struct {

	// The details of the Elastic Inference Accelerators.
	AcceleratorSet []ElasticInferenceAccelerator `locationName:"acceleratorSet" type:"list"`

	// A token to specify where to start paginating. This is the NextToken from
	// a previously truncated response.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeAcceleratorsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeAcceleratorsOutput) String

String returns the string representation

type DescribeAcceleratorsPaginator

type DescribeAcceleratorsPaginator struct {
	aws.Pager
}

DescribeAcceleratorsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewDescribeAcceleratorsPaginator

func NewDescribeAcceleratorsPaginator(req DescribeAcceleratorsRequest) DescribeAcceleratorsPaginator

NewDescribeAcceleratorsRequestPaginator returns a paginator for DescribeAccelerators. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

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

// Example iterating over pages.
req := client.DescribeAcceleratorsRequest(input)
p := elasticinference.NewDescribeAcceleratorsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*DescribeAcceleratorsPaginator) CurrentPage

type DescribeAcceleratorsRequest

type DescribeAcceleratorsRequest struct {
	*aws.Request
	Input *DescribeAcceleratorsInput
	Copy  func(*DescribeAcceleratorsInput) DescribeAcceleratorsRequest
}

DescribeAcceleratorsRequest is the request type for the DescribeAccelerators API operation.

func (DescribeAcceleratorsRequest) Send

Send marshals and sends the DescribeAccelerators API request.

type DescribeAcceleratorsResponse

type DescribeAcceleratorsResponse struct {
	*DescribeAcceleratorsOutput
	// contains filtered or unexported fields
}

DescribeAcceleratorsResponse is the response type for the DescribeAccelerators API operation.

func (*DescribeAcceleratorsResponse) SDKResponseMetdata

func (r *DescribeAcceleratorsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeAccelerators request.

type ElasticInferenceAccelerator

type ElasticInferenceAccelerator struct {

	// The health of the Elastic Inference Accelerator.
	AcceleratorHealth *ElasticInferenceAcceleratorHealth `locationName:"acceleratorHealth" type:"structure"`

	// The ID of the Elastic Inference Accelerator.
	AcceleratorId *string `locationName:"acceleratorId" min:"1" type:"string"`

	// The type of the Elastic Inference Accelerator.
	AcceleratorType *string `locationName:"acceleratorType" min:"1" type:"string"`

	// The ARN of the resource that the Elastic Inference Accelerator is attached
	// to.
	AttachedResource *string `locationName:"attachedResource" min:"1" type:"string"`

	// The availability zone where the Elastic Inference Accelerator is present.
	AvailabilityZone *string `locationName:"availabilityZone" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The details of an Elastic Inference Accelerator.

func (ElasticInferenceAccelerator) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ElasticInferenceAccelerator) String

String returns the string representation

type ElasticInferenceAcceleratorHealth

type ElasticInferenceAcceleratorHealth struct {

	// The health status of the Elastic Inference Accelerator.
	Status *string `locationName:"status" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The health details of an Elastic Inference Accelerator.

func (ElasticInferenceAcceleratorHealth) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ElasticInferenceAcceleratorHealth) String

String returns the string representation

type Filter

type Filter struct {

	// The filter name for the Elastic Inference Accelerator list. It can assume
	// the following values: accelerator-type: the type of Elastic Inference Accelerator
	// to filter for. instance-id: an EC2 instance id to filter for.
	Name *string `locationName:"name" min:"1" type:"string"`

	// The values for the filter of the Elastic Inference Accelerator list.
	Values []string `locationName:"values" type:"list"`
	// contains filtered or unexported fields
}

A filter expression for the Elastic Inference Accelerator list.

func (Filter) MarshalFields

func (s Filter) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Filter) String

func (s Filter) String() string

String returns the string representation

func (*Filter) Validate

func (s *Filter) Validate() error

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

type KeyValuePair

type KeyValuePair struct {

	// The throughput value of the Elastic Inference Accelerator type. It can assume
	// the following values: TFLOPS16bit: the throughput expressed in 16bit TeraFLOPS.
	// TFLOPS32bit: the throughput expressed in 32bit TeraFLOPS.
	Key *string `locationName:"key" min:"1" type:"string"`

	// The throughput value of the Elastic Inference Accelerator type.
	Value *int64 `locationName:"value" type:"integer"`
	// contains filtered or unexported fields
}

A throughput entry for an Elastic Inference Accelerator type.

func (KeyValuePair) MarshalFields

func (s KeyValuePair) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (KeyValuePair) String

func (s KeyValuePair) String() string

String returns the string representation

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The ARN of the Elastic Inference Accelerator to list the tags for.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

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 tags of the Elastic Inference Accelerator.
	Tags map[string]string `locationName:"tags" min:"1" type:"map"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListTagsForResourceRequest

type ListTagsForResourceRequest struct {
	*aws.Request
	Input *ListTagsForResourceInput
	Copy  func(*ListTagsForResourceInput) ListTagsForResourceRequest
}

ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.

func (ListTagsForResourceRequest) Send

Send marshals and sends the ListTagsForResource API request.

type ListTagsForResourceResponse

type ListTagsForResourceResponse struct {
	*ListTagsForResourceOutput
	// contains filtered or unexported fields
}

ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.

func (*ListTagsForResourceResponse) SDKResponseMetdata

func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListTagsForResource request.

type LocationType

type LocationType string
const (
	LocationTypeRegion             LocationType = "region"
	LocationTypeAvailabilityZone   LocationType = "availability-zone"
	LocationTypeAvailabilityZoneId LocationType = "availability-zone-id"
)

Enum values for LocationType

func (LocationType) MarshalValue

func (enum LocationType) MarshalValue() (string, error)

func (LocationType) MarshalValueBuf

func (enum LocationType) MarshalValueBuf(b []byte) ([]byte, error)

type MemoryInfo

type MemoryInfo struct {

	// The size in mebibytes of the Elastic Inference Accelerator type.
	SizeInMiB *int64 `locationName:"sizeInMiB" type:"integer"`
	// contains filtered or unexported fields
}

The memory information of an Elastic Inference Accelerator type.

func (MemoryInfo) MarshalFields

func (s MemoryInfo) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (MemoryInfo) String

func (s MemoryInfo) String() string

String returns the string representation

type TagResourceInput

type TagResourceInput struct {

	// The ARN of the Elastic Inference Accelerator to tag.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"`

	// The tags to add to the Elastic Inference Accelerator.
	//
	// Tags is a required field
	Tags map[string]string `locationName:"tags" min:"1" type:"map" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) MarshalFields

func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

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) MarshalFields

func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type TagResourceRequest

type TagResourceRequest struct {
	*aws.Request
	Input *TagResourceInput
	Copy  func(*TagResourceInput) TagResourceRequest
}

TagResourceRequest is the request type for the TagResource API operation.

func (TagResourceRequest) Send

Send marshals and sends the TagResource API request.

type TagResourceResponse

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

TagResourceResponse is the response type for the TagResource API operation.

func (*TagResourceResponse) SDKResponseMetdata

func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the TagResource request.

type UntagResourceInput

type UntagResourceInput struct {

	// The ARN of the Elastic Inference Accelerator to untag.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"`

	// The list of tags to remove from the Elastic Inference Accelerator.
	//
	// TagKeys is a required field
	TagKeys []string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) MarshalFields

func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

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) MarshalFields

func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UntagResourceRequest

type UntagResourceRequest struct {
	*aws.Request
	Input *UntagResourceInput
	Copy  func(*UntagResourceInput) UntagResourceRequest
}

UntagResourceRequest is the request type for the UntagResource API operation.

func (UntagResourceRequest) Send

Send marshals and sends the UntagResource API request.

type UntagResourceResponse

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

UntagResourceResponse is the response type for the UntagResource API operation.

func (*UntagResourceResponse) SDKResponseMetdata

func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UntagResource request.

Directories

Path Synopsis
Package elasticinferenceiface provides an interface to enable mocking the Amazon Elastic Inference service client for testing your code.
Package elasticinferenceiface provides an interface to enable mocking the Amazon Elastic Inference service client for testing your code.

Jump to

Keyboard shortcuts

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