Documentation ¶
Overview ¶
Package cloudfrontkeyvaluestore provides the client and types for making API requests to Amazon CloudFront KeyValueStore.
Amazon CloudFront KeyValueStore Service to View and Update Data in a KVS Resource
See https://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26 for more information on this service.
See cloudfrontkeyvaluestore package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/cloudfrontkeyvaluestore/
Using the Client ¶
To contact Amazon CloudFront KeyValueStore 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 CloudFront KeyValueStore client CloudFrontKeyValueStore for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/cloudfrontkeyvaluestore/#New
Index ¶
- Constants
- type AccessDeniedException
- func (s *AccessDeniedException) Code() string
- func (s *AccessDeniedException) Error() string
- func (s AccessDeniedException) GoString() string
- func (s *AccessDeniedException) Message() string
- func (s *AccessDeniedException) OrigErr() error
- func (s *AccessDeniedException) RequestID() string
- func (s *AccessDeniedException) StatusCode() int
- func (s AccessDeniedException) String() string
- type CloudFrontKeyValueStore
- func (c *CloudFrontKeyValueStore) DeleteKey(input *DeleteKeyInput) (*DeleteKeyOutput, error)
- func (c *CloudFrontKeyValueStore) DeleteKeyRequest(input *DeleteKeyInput) (req *request.Request, output *DeleteKeyOutput)
- func (c *CloudFrontKeyValueStore) DeleteKeyWithContext(ctx aws.Context, input *DeleteKeyInput, opts ...request.Option) (*DeleteKeyOutput, error)
- func (c *CloudFrontKeyValueStore) DescribeKeyValueStore(input *DescribeKeyValueStoreInput) (*DescribeKeyValueStoreOutput, error)
- func (c *CloudFrontKeyValueStore) DescribeKeyValueStoreRequest(input *DescribeKeyValueStoreInput) (req *request.Request, output *DescribeKeyValueStoreOutput)
- func (c *CloudFrontKeyValueStore) DescribeKeyValueStoreWithContext(ctx aws.Context, input *DescribeKeyValueStoreInput, opts ...request.Option) (*DescribeKeyValueStoreOutput, error)
- func (c *CloudFrontKeyValueStore) GetKey(input *GetKeyInput) (*GetKeyOutput, error)
- func (c *CloudFrontKeyValueStore) GetKeyRequest(input *GetKeyInput) (req *request.Request, output *GetKeyOutput)
- func (c *CloudFrontKeyValueStore) GetKeyWithContext(ctx aws.Context, input *GetKeyInput, opts ...request.Option) (*GetKeyOutput, error)
- func (c *CloudFrontKeyValueStore) ListKeys(input *ListKeysInput) (*ListKeysOutput, error)
- func (c *CloudFrontKeyValueStore) ListKeysPages(input *ListKeysInput, fn func(*ListKeysOutput, bool) bool) error
- func (c *CloudFrontKeyValueStore) ListKeysPagesWithContext(ctx aws.Context, input *ListKeysInput, fn func(*ListKeysOutput, bool) bool, ...) error
- func (c *CloudFrontKeyValueStore) ListKeysRequest(input *ListKeysInput) (req *request.Request, output *ListKeysOutput)
- func (c *CloudFrontKeyValueStore) ListKeysWithContext(ctx aws.Context, input *ListKeysInput, opts ...request.Option) (*ListKeysOutput, error)
- func (c *CloudFrontKeyValueStore) PutKey(input *PutKeyInput) (*PutKeyOutput, error)
- func (c *CloudFrontKeyValueStore) PutKeyRequest(input *PutKeyInput) (req *request.Request, output *PutKeyOutput)
- func (c *CloudFrontKeyValueStore) PutKeyWithContext(ctx aws.Context, input *PutKeyInput, opts ...request.Option) (*PutKeyOutput, error)
- func (c *CloudFrontKeyValueStore) UpdateKeys(input *UpdateKeysInput) (*UpdateKeysOutput, error)
- func (c *CloudFrontKeyValueStore) UpdateKeysRequest(input *UpdateKeysInput) (req *request.Request, output *UpdateKeysOutput)
- func (c *CloudFrontKeyValueStore) UpdateKeysWithContext(ctx aws.Context, input *UpdateKeysInput, opts ...request.Option) (*UpdateKeysOutput, error)
- type ConflictException
- func (s *ConflictException) Code() string
- func (s *ConflictException) Error() string
- func (s ConflictException) GoString() string
- func (s *ConflictException) Message() string
- func (s *ConflictException) OrigErr() error
- func (s *ConflictException) RequestID() string
- func (s *ConflictException) StatusCode() int
- func (s ConflictException) String() string
- type DeleteKeyInput
- func (s DeleteKeyInput) GoString() string
- func (s *DeleteKeyInput) SetIfMatch(v string) *DeleteKeyInput
- func (s *DeleteKeyInput) SetKey(v string) *DeleteKeyInput
- func (s *DeleteKeyInput) SetKvsARN(v string) *DeleteKeyInput
- func (s DeleteKeyInput) String() string
- func (s *DeleteKeyInput) Validate() error
- type DeleteKeyOutput
- type DeleteKeyRequestListItem
- type DescribeKeyValueStoreInput
- type DescribeKeyValueStoreOutput
- func (s DescribeKeyValueStoreOutput) GoString() string
- func (s *DescribeKeyValueStoreOutput) SetCreated(v time.Time) *DescribeKeyValueStoreOutput
- func (s *DescribeKeyValueStoreOutput) SetETag(v string) *DescribeKeyValueStoreOutput
- func (s *DescribeKeyValueStoreOutput) SetItemCount(v int64) *DescribeKeyValueStoreOutput
- func (s *DescribeKeyValueStoreOutput) SetKvsARN(v string) *DescribeKeyValueStoreOutput
- func (s *DescribeKeyValueStoreOutput) SetLastModified(v time.Time) *DescribeKeyValueStoreOutput
- func (s *DescribeKeyValueStoreOutput) SetTotalSizeInBytes(v int64) *DescribeKeyValueStoreOutput
- func (s DescribeKeyValueStoreOutput) String() string
- type GetKeyInput
- type GetKeyOutput
- func (s GetKeyOutput) GoString() string
- func (s *GetKeyOutput) SetItemCount(v int64) *GetKeyOutput
- func (s *GetKeyOutput) SetKey(v string) *GetKeyOutput
- func (s *GetKeyOutput) SetTotalSizeInBytes(v int64) *GetKeyOutput
- func (s *GetKeyOutput) SetValue(v string) *GetKeyOutput
- func (s GetKeyOutput) String() string
- type InternalServerException
- func (s *InternalServerException) Code() string
- func (s *InternalServerException) Error() string
- func (s InternalServerException) GoString() string
- func (s *InternalServerException) Message() string
- func (s *InternalServerException) OrigErr() error
- func (s *InternalServerException) RequestID() string
- func (s *InternalServerException) StatusCode() int
- func (s InternalServerException) String() string
- type ListKeysInput
- func (s ListKeysInput) GoString() string
- func (s *ListKeysInput) SetKvsARN(v string) *ListKeysInput
- func (s *ListKeysInput) SetMaxResults(v int64) *ListKeysInput
- func (s *ListKeysInput) SetNextToken(v string) *ListKeysInput
- func (s ListKeysInput) String() string
- func (s *ListKeysInput) Validate() error
- type ListKeysOutput
- type ListKeysResponseListItem
- type PutKeyInput
- func (s PutKeyInput) GoString() string
- func (s *PutKeyInput) SetIfMatch(v string) *PutKeyInput
- func (s *PutKeyInput) SetKey(v string) *PutKeyInput
- func (s *PutKeyInput) SetKvsARN(v string) *PutKeyInput
- func (s *PutKeyInput) SetValue(v string) *PutKeyInput
- func (s PutKeyInput) String() string
- func (s *PutKeyInput) Validate() error
- type PutKeyOutput
- type PutKeyRequestListItem
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type ServiceQuotaExceededException
- func (s *ServiceQuotaExceededException) Code() string
- func (s *ServiceQuotaExceededException) Error() string
- func (s ServiceQuotaExceededException) GoString() string
- func (s *ServiceQuotaExceededException) Message() string
- func (s *ServiceQuotaExceededException) OrigErr() error
- func (s *ServiceQuotaExceededException) RequestID() string
- func (s *ServiceQuotaExceededException) StatusCode() int
- func (s ServiceQuotaExceededException) String() string
- type UpdateKeysInput
- func (s UpdateKeysInput) GoString() string
- func (s *UpdateKeysInput) SetDeletes(v []*DeleteKeyRequestListItem) *UpdateKeysInput
- func (s *UpdateKeysInput) SetIfMatch(v string) *UpdateKeysInput
- func (s *UpdateKeysInput) SetKvsARN(v string) *UpdateKeysInput
- func (s *UpdateKeysInput) SetPuts(v []*PutKeyRequestListItem) *UpdateKeysInput
- func (s UpdateKeysInput) String() string
- func (s *UpdateKeysInput) Validate() error
- type UpdateKeysOutput
- type ValidationException
- func (s *ValidationException) Code() string
- func (s *ValidationException) Error() string
- func (s ValidationException) GoString() string
- func (s *ValidationException) Message() string
- func (s *ValidationException) OrigErr() error
- func (s *ValidationException) RequestID() string
- func (s *ValidationException) StatusCode() int
- func (s ValidationException) String() string
Constants ¶
const ( // ErrCodeAccessDeniedException for service response error code // "AccessDeniedException". // // Access denied. ErrCodeAccessDeniedException = "AccessDeniedException" // ErrCodeConflictException for service response error code // "ConflictException". // // Resource is not in expected state. ErrCodeConflictException = "ConflictException" // ErrCodeInternalServerException for service response error code // "InternalServerException". // // Internal server error. ErrCodeInternalServerException = "InternalServerException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // Resource was not found. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeServiceQuotaExceededException for service response error code // "ServiceQuotaExceededException". // // Limit exceeded. ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" // ErrCodeValidationException for service response error code // "ValidationException". // // Validation failed. ErrCodeValidationException = "ValidationException" )
const ( ServiceName = "CloudFront KeyValueStore" // Name of service. EndpointsID = "cloudfront-keyvaluestore" // ID to lookup a service endpoint with. ServiceID = "CloudFront KeyValueStore" // ServiceID is a unique identifier of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessDeniedException ¶
type AccessDeniedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
Access denied.
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 CloudFrontKeyValueStore ¶
CloudFrontKeyValueStore provides the API operation methods for making requests to Amazon CloudFront KeyValueStore. See this package's package overview docs for details on the service.
CloudFrontKeyValueStore 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) *CloudFrontKeyValueStore
New creates a new instance of the CloudFrontKeyValueStore 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 CloudFrontKeyValueStore client from just a session. svc := cloudfrontkeyvaluestore.New(mySession) // Create a CloudFrontKeyValueStore client with additional configuration svc := cloudfrontkeyvaluestore.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*CloudFrontKeyValueStore) DeleteKey ¶
func (c *CloudFrontKeyValueStore) DeleteKey(input *DeleteKeyInput) (*DeleteKeyOutput, error)
DeleteKey API operation for Amazon CloudFront KeyValueStore.
Deletes the key value pair specified by the key.
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 Amazon CloudFront KeyValueStore's API operation DeleteKey for usage and error information.
Returned Error Types:
ConflictException Resource is not in expected state.
ValidationException Validation failed.
InternalServerException Internal server error.
ServiceQuotaExceededException Limit exceeded.
ResourceNotFoundException Resource was not found.
AccessDeniedException Access denied.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/DeleteKey
func (*CloudFrontKeyValueStore) DeleteKeyRequest ¶
func (c *CloudFrontKeyValueStore) DeleteKeyRequest(input *DeleteKeyInput) (req *request.Request, output *DeleteKeyOutput)
DeleteKeyRequest generates a "aws/request.Request" representing the client's request for the DeleteKey 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 DeleteKey for more information on using the DeleteKey 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 DeleteKeyRequest method. req, resp := client.DeleteKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/DeleteKey
func (*CloudFrontKeyValueStore) DeleteKeyWithContext ¶
func (c *CloudFrontKeyValueStore) DeleteKeyWithContext(ctx aws.Context, input *DeleteKeyInput, opts ...request.Option) (*DeleteKeyOutput, error)
DeleteKeyWithContext is the same as DeleteKey with the addition of the ability to pass a context and additional request options.
See DeleteKey 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 (*CloudFrontKeyValueStore) DescribeKeyValueStore ¶
func (c *CloudFrontKeyValueStore) DescribeKeyValueStore(input *DescribeKeyValueStoreInput) (*DescribeKeyValueStoreOutput, error)
DescribeKeyValueStore API operation for Amazon CloudFront KeyValueStore.
Returns metadata information about Key Value Store.
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 Amazon CloudFront KeyValueStore's API operation DescribeKeyValueStore for usage and error information.
Returned Error Types:
ConflictException Resource is not in expected state.
InternalServerException Internal server error.
ResourceNotFoundException Resource was not found.
AccessDeniedException Access denied.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/DescribeKeyValueStore
func (*CloudFrontKeyValueStore) DescribeKeyValueStoreRequest ¶
func (c *CloudFrontKeyValueStore) DescribeKeyValueStoreRequest(input *DescribeKeyValueStoreInput) (req *request.Request, output *DescribeKeyValueStoreOutput)
DescribeKeyValueStoreRequest generates a "aws/request.Request" representing the client's request for the DescribeKeyValueStore 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 DescribeKeyValueStore for more information on using the DescribeKeyValueStore 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 DescribeKeyValueStoreRequest method. req, resp := client.DescribeKeyValueStoreRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/DescribeKeyValueStore
func (*CloudFrontKeyValueStore) DescribeKeyValueStoreWithContext ¶
func (c *CloudFrontKeyValueStore) DescribeKeyValueStoreWithContext(ctx aws.Context, input *DescribeKeyValueStoreInput, opts ...request.Option) (*DescribeKeyValueStoreOutput, error)
DescribeKeyValueStoreWithContext is the same as DescribeKeyValueStore with the addition of the ability to pass a context and additional request options.
See DescribeKeyValueStore 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 (*CloudFrontKeyValueStore) GetKey ¶
func (c *CloudFrontKeyValueStore) GetKey(input *GetKeyInput) (*GetKeyOutput, error)
GetKey API operation for Amazon CloudFront KeyValueStore.
Returns a key value pair.
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 Amazon CloudFront KeyValueStore's API operation GetKey for usage and error information.
Returned Error Types:
ConflictException Resource is not in expected state.
InternalServerException Internal server error.
ResourceNotFoundException Resource was not found.
AccessDeniedException Access denied.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/GetKey
func (*CloudFrontKeyValueStore) GetKeyRequest ¶
func (c *CloudFrontKeyValueStore) GetKeyRequest(input *GetKeyInput) (req *request.Request, output *GetKeyOutput)
GetKeyRequest generates a "aws/request.Request" representing the client's request for the GetKey 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 GetKey for more information on using the GetKey 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 GetKeyRequest method. req, resp := client.GetKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/GetKey
func (*CloudFrontKeyValueStore) GetKeyWithContext ¶
func (c *CloudFrontKeyValueStore) GetKeyWithContext(ctx aws.Context, input *GetKeyInput, opts ...request.Option) (*GetKeyOutput, error)
GetKeyWithContext is the same as GetKey with the addition of the ability to pass a context and additional request options.
See GetKey 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 (*CloudFrontKeyValueStore) ListKeys ¶
func (c *CloudFrontKeyValueStore) ListKeys(input *ListKeysInput) (*ListKeysOutput, error)
ListKeys API operation for Amazon CloudFront KeyValueStore.
Returns a list of key value pairs.
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 Amazon CloudFront KeyValueStore's API operation ListKeys for usage and error information.
Returned Error Types:
ConflictException Resource is not in expected state.
ValidationException Validation failed.
InternalServerException Internal server error.
ResourceNotFoundException Resource was not found.
AccessDeniedException Access denied.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/ListKeys
func (*CloudFrontKeyValueStore) ListKeysPages ¶
func (c *CloudFrontKeyValueStore) ListKeysPages(input *ListKeysInput, fn func(*ListKeysOutput, bool) bool) error
ListKeysPages iterates over the pages of a ListKeys operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListKeys 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 ListKeys operation. pageNum := 0 err := client.ListKeysPages(params, func(page *cloudfrontkeyvaluestore.ListKeysOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*CloudFrontKeyValueStore) ListKeysPagesWithContext ¶
func (c *CloudFrontKeyValueStore) ListKeysPagesWithContext(ctx aws.Context, input *ListKeysInput, fn func(*ListKeysOutput, bool) bool, opts ...request.Option) error
ListKeysPagesWithContext same as ListKeysPages 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 (*CloudFrontKeyValueStore) ListKeysRequest ¶
func (c *CloudFrontKeyValueStore) ListKeysRequest(input *ListKeysInput) (req *request.Request, output *ListKeysOutput)
ListKeysRequest generates a "aws/request.Request" representing the client's request for the ListKeys 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 ListKeys for more information on using the ListKeys 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 ListKeysRequest method. req, resp := client.ListKeysRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/ListKeys
func (*CloudFrontKeyValueStore) ListKeysWithContext ¶
func (c *CloudFrontKeyValueStore) ListKeysWithContext(ctx aws.Context, input *ListKeysInput, opts ...request.Option) (*ListKeysOutput, error)
ListKeysWithContext is the same as ListKeys with the addition of the ability to pass a context and additional request options.
See ListKeys 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 (*CloudFrontKeyValueStore) PutKey ¶
func (c *CloudFrontKeyValueStore) PutKey(input *PutKeyInput) (*PutKeyOutput, error)
PutKey API operation for Amazon CloudFront KeyValueStore.
Creates a new key value pair or replaces the value of an existing key.
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 Amazon CloudFront KeyValueStore's API operation PutKey for usage and error information.
Returned Error Types:
ConflictException Resource is not in expected state.
ValidationException Validation failed.
InternalServerException Internal server error.
ServiceQuotaExceededException Limit exceeded.
ResourceNotFoundException Resource was not found.
AccessDeniedException Access denied.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/PutKey
func (*CloudFrontKeyValueStore) PutKeyRequest ¶
func (c *CloudFrontKeyValueStore) PutKeyRequest(input *PutKeyInput) (req *request.Request, output *PutKeyOutput)
PutKeyRequest generates a "aws/request.Request" representing the client's request for the PutKey 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 PutKey for more information on using the PutKey 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 PutKeyRequest method. req, resp := client.PutKeyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/PutKey
func (*CloudFrontKeyValueStore) PutKeyWithContext ¶
func (c *CloudFrontKeyValueStore) PutKeyWithContext(ctx aws.Context, input *PutKeyInput, opts ...request.Option) (*PutKeyOutput, error)
PutKeyWithContext is the same as PutKey with the addition of the ability to pass a context and additional request options.
See PutKey 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 (*CloudFrontKeyValueStore) UpdateKeys ¶
func (c *CloudFrontKeyValueStore) UpdateKeys(input *UpdateKeysInput) (*UpdateKeysOutput, error)
UpdateKeys API operation for Amazon CloudFront KeyValueStore.
Puts or Deletes multiple key value pairs in a single, all-or-nothing operation.
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 Amazon CloudFront KeyValueStore's API operation UpdateKeys for usage and error information.
Returned Error Types:
ConflictException Resource is not in expected state.
ValidationException Validation failed.
InternalServerException Internal server error.
ServiceQuotaExceededException Limit exceeded.
ResourceNotFoundException Resource was not found.
AccessDeniedException Access denied.
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/UpdateKeys
func (*CloudFrontKeyValueStore) UpdateKeysRequest ¶
func (c *CloudFrontKeyValueStore) UpdateKeysRequest(input *UpdateKeysInput) (req *request.Request, output *UpdateKeysOutput)
UpdateKeysRequest generates a "aws/request.Request" representing the client's request for the UpdateKeys 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 UpdateKeys for more information on using the UpdateKeys 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 UpdateKeysRequest method. req, resp := client.UpdateKeysRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-keyvaluestore-2022-07-26/UpdateKeys
func (*CloudFrontKeyValueStore) UpdateKeysWithContext ¶
func (c *CloudFrontKeyValueStore) UpdateKeysWithContext(ctx aws.Context, input *UpdateKeysInput, opts ...request.Option) (*UpdateKeysOutput, error)
UpdateKeysWithContext is the same as UpdateKeys with the addition of the ability to pass a context and additional request options.
See UpdateKeys 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 ConflictException ¶
type ConflictException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
Resource is not in expected 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 DeleteKeyInput ¶
type DeleteKeyInput struct { // The current version (ETag) of the Key Value Store that you are deleting keys // from, which you can get using DescribeKeyValueStore. // // IfMatch is a required field IfMatch *string `location:"header" locationName:"If-Match" type:"string" required:"true"` // The key to delete. // // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the Key Value Store. // // KvsARN is a required field KvsARN *string `location:"uri" locationName:"KvsARN" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteKeyInput) GoString ¶
func (s DeleteKeyInput) 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 (*DeleteKeyInput) SetIfMatch ¶
func (s *DeleteKeyInput) SetIfMatch(v string) *DeleteKeyInput
SetIfMatch sets the IfMatch field's value.
func (*DeleteKeyInput) SetKey ¶
func (s *DeleteKeyInput) SetKey(v string) *DeleteKeyInput
SetKey sets the Key field's value.
func (*DeleteKeyInput) SetKvsARN ¶
func (s *DeleteKeyInput) SetKvsARN(v string) *DeleteKeyInput
SetKvsARN sets the KvsARN field's value.
func (DeleteKeyInput) String ¶
func (s DeleteKeyInput) 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 (*DeleteKeyInput) Validate ¶
func (s *DeleteKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteKeyOutput ¶
type DeleteKeyOutput struct { // The current version identifier of the Key Value Store after the successful // delete. // // ETag is a required field ETag *string `location:"header" locationName:"ETag" type:"string" required:"true"` // Number of key value pairs in the Key Value Store after the successful delete. // // ItemCount is a required field ItemCount *int64 `type:"integer" required:"true"` // Total size of the Key Value Store after the successful delete, in bytes. // // TotalSizeInBytes is a required field TotalSizeInBytes *int64 `type:"long" required:"true"` // contains filtered or unexported fields }
Metadata information about a Key Value Store.
func (DeleteKeyOutput) GoString ¶
func (s DeleteKeyOutput) 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 (*DeleteKeyOutput) SetETag ¶
func (s *DeleteKeyOutput) SetETag(v string) *DeleteKeyOutput
SetETag sets the ETag field's value.
func (*DeleteKeyOutput) SetItemCount ¶
func (s *DeleteKeyOutput) SetItemCount(v int64) *DeleteKeyOutput
SetItemCount sets the ItemCount field's value.
func (*DeleteKeyOutput) SetTotalSizeInBytes ¶
func (s *DeleteKeyOutput) SetTotalSizeInBytes(v int64) *DeleteKeyOutput
SetTotalSizeInBytes sets the TotalSizeInBytes field's value.
func (DeleteKeyOutput) String ¶
func (s DeleteKeyOutput) 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 DeleteKeyRequestListItem ¶
type DeleteKeyRequestListItem struct { // The key of the key value pair to be deleted. // // Key is a required field Key *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
List item for keys to delete.
func (DeleteKeyRequestListItem) GoString ¶
func (s DeleteKeyRequestListItem) 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 (*DeleteKeyRequestListItem) SetKey ¶
func (s *DeleteKeyRequestListItem) SetKey(v string) *DeleteKeyRequestListItem
SetKey sets the Key field's value.
func (DeleteKeyRequestListItem) String ¶
func (s DeleteKeyRequestListItem) 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 (*DeleteKeyRequestListItem) Validate ¶
func (s *DeleteKeyRequestListItem) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeKeyValueStoreInput ¶
type DescribeKeyValueStoreInput struct { // The Amazon Resource Name (ARN) of the Key Value Store. // // KvsARN is a required field KvsARN *string `location:"uri" locationName:"KvsARN" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeKeyValueStoreInput) GoString ¶
func (s DescribeKeyValueStoreInput) 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 (*DescribeKeyValueStoreInput) SetKvsARN ¶
func (s *DescribeKeyValueStoreInput) SetKvsARN(v string) *DescribeKeyValueStoreInput
SetKvsARN sets the KvsARN field's value.
func (DescribeKeyValueStoreInput) String ¶
func (s DescribeKeyValueStoreInput) 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 (*DescribeKeyValueStoreInput) Validate ¶
func (s *DescribeKeyValueStoreInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeKeyValueStoreOutput ¶
type DescribeKeyValueStoreOutput struct { // Date and time when the Key Value Store was created. // // Created is a required field Created *time.Time `type:"timestamp" required:"true"` // The version identifier for the current version of the Key Value Store. // // ETag is a required field ETag *string `location:"header" locationName:"ETag" type:"string" required:"true"` // Number of key value pairs in the Key Value Store. // // ItemCount is a required field ItemCount *int64 `type:"integer" required:"true"` // The Amazon Resource Name (ARN) of the Key Value Store. // // KvsARN is a required field KvsARN *string `min:"1" type:"string" required:"true"` // Date and time when the key value pairs in the Key Value Store was last modified. LastModified *time.Time `type:"timestamp"` // Total size of the Key Value Store in bytes. // // TotalSizeInBytes is a required field TotalSizeInBytes *int64 `type:"long" required:"true"` // contains filtered or unexported fields }
Metadata information about a Key Value Store.
func (DescribeKeyValueStoreOutput) GoString ¶
func (s DescribeKeyValueStoreOutput) 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 (*DescribeKeyValueStoreOutput) SetCreated ¶
func (s *DescribeKeyValueStoreOutput) SetCreated(v time.Time) *DescribeKeyValueStoreOutput
SetCreated sets the Created field's value.
func (*DescribeKeyValueStoreOutput) SetETag ¶
func (s *DescribeKeyValueStoreOutput) SetETag(v string) *DescribeKeyValueStoreOutput
SetETag sets the ETag field's value.
func (*DescribeKeyValueStoreOutput) SetItemCount ¶
func (s *DescribeKeyValueStoreOutput) SetItemCount(v int64) *DescribeKeyValueStoreOutput
SetItemCount sets the ItemCount field's value.
func (*DescribeKeyValueStoreOutput) SetKvsARN ¶
func (s *DescribeKeyValueStoreOutput) SetKvsARN(v string) *DescribeKeyValueStoreOutput
SetKvsARN sets the KvsARN field's value.
func (*DescribeKeyValueStoreOutput) SetLastModified ¶
func (s *DescribeKeyValueStoreOutput) SetLastModified(v time.Time) *DescribeKeyValueStoreOutput
SetLastModified sets the LastModified field's value.
func (*DescribeKeyValueStoreOutput) SetTotalSizeInBytes ¶
func (s *DescribeKeyValueStoreOutput) SetTotalSizeInBytes(v int64) *DescribeKeyValueStoreOutput
SetTotalSizeInBytes sets the TotalSizeInBytes field's value.
func (DescribeKeyValueStoreOutput) String ¶
func (s DescribeKeyValueStoreOutput) 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 GetKeyInput ¶
type GetKeyInput struct { // The key to get. // // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the Key Value Store. // // KvsARN is a required field KvsARN *string `location:"uri" locationName:"KvsARN" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetKeyInput) GoString ¶
func (s GetKeyInput) 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 (*GetKeyInput) SetKey ¶
func (s *GetKeyInput) SetKey(v string) *GetKeyInput
SetKey sets the Key field's value.
func (*GetKeyInput) SetKvsARN ¶
func (s *GetKeyInput) SetKvsARN(v string) *GetKeyInput
SetKvsARN sets the KvsARN field's value.
func (GetKeyInput) String ¶
func (s GetKeyInput) 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 (*GetKeyInput) Validate ¶
func (s *GetKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetKeyOutput ¶
type GetKeyOutput struct { // Number of key value pairs in the Key Value Store. // // ItemCount is a required field ItemCount *int64 `type:"integer" required:"true"` // The key of the key value pair. // // Key is a required field Key *string `min:"1" type:"string" required:"true"` // Total size of the Key Value Store in bytes. // // TotalSizeInBytes is a required field TotalSizeInBytes *int64 `type:"long" required:"true"` // The value of the key value pair. // // Value is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by GetKeyOutput's // String and GoString methods. // // Value is a required field Value *string `type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
A key value pair.
func (GetKeyOutput) GoString ¶
func (s GetKeyOutput) 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 (*GetKeyOutput) SetItemCount ¶
func (s *GetKeyOutput) SetItemCount(v int64) *GetKeyOutput
SetItemCount sets the ItemCount field's value.
func (*GetKeyOutput) SetKey ¶
func (s *GetKeyOutput) SetKey(v string) *GetKeyOutput
SetKey sets the Key field's value.
func (*GetKeyOutput) SetTotalSizeInBytes ¶
func (s *GetKeyOutput) SetTotalSizeInBytes(v int64) *GetKeyOutput
SetTotalSizeInBytes sets the TotalSizeInBytes field's value.
func (*GetKeyOutput) SetValue ¶
func (s *GetKeyOutput) SetValue(v string) *GetKeyOutput
SetValue sets the Value field's value.
func (GetKeyOutput) String ¶
func (s GetKeyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InternalServerException ¶
type InternalServerException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
Internal server error.
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 ListKeysInput ¶
type ListKeysInput struct { // The Amazon Resource Name (ARN) of the Key Value Store. // // KvsARN is a required field KvsARN *string `location:"uri" locationName:"KvsARN" min:"1" type:"string" required:"true"` // Maximum number of results that are returned per call. The default is 10 and // maximum allowed page is 50. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // If nextToken is returned in the response, there are more results available. // Make the next call using the returned token to retrieve the next page. NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` // contains filtered or unexported fields }
func (ListKeysInput) GoString ¶
func (s ListKeysInput) 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 (*ListKeysInput) SetKvsARN ¶
func (s *ListKeysInput) SetKvsARN(v string) *ListKeysInput
SetKvsARN sets the KvsARN field's value.
func (*ListKeysInput) SetMaxResults ¶
func (s *ListKeysInput) SetMaxResults(v int64) *ListKeysInput
SetMaxResults sets the MaxResults field's value.
func (*ListKeysInput) SetNextToken ¶
func (s *ListKeysInput) SetNextToken(v string) *ListKeysInput
SetNextToken sets the NextToken field's value.
func (ListKeysInput) String ¶
func (s ListKeysInput) 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 (*ListKeysInput) Validate ¶
func (s *ListKeysInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListKeysOutput ¶
type ListKeysOutput struct { // Key value pairs Items []*ListKeysResponseListItem `type:"list"` // If nextToken is returned in the response, there are more results available. // Make the next call using the returned token to retrieve the next page. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListKeysOutput) GoString ¶
func (s ListKeysOutput) 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 (*ListKeysOutput) SetItems ¶
func (s *ListKeysOutput) SetItems(v []*ListKeysResponseListItem) *ListKeysOutput
SetItems sets the Items field's value.
func (*ListKeysOutput) SetNextToken ¶
func (s *ListKeysOutput) SetNextToken(v string) *ListKeysOutput
SetNextToken sets the NextToken field's value.
func (ListKeysOutput) String ¶
func (s ListKeysOutput) 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 ListKeysResponseListItem ¶
type ListKeysResponseListItem struct { // The key of the key value pair. // // Key is a required field Key *string `min:"1" type:"string" required:"true"` // The value of the key value pair. // // Value is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by ListKeysResponseListItem's // String and GoString methods. // // Value is a required field Value *string `type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
A key value pair.
func (ListKeysResponseListItem) GoString ¶
func (s ListKeysResponseListItem) 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 (*ListKeysResponseListItem) SetKey ¶
func (s *ListKeysResponseListItem) SetKey(v string) *ListKeysResponseListItem
SetKey sets the Key field's value.
func (*ListKeysResponseListItem) SetValue ¶
func (s *ListKeysResponseListItem) SetValue(v string) *ListKeysResponseListItem
SetValue sets the Value field's value.
func (ListKeysResponseListItem) String ¶
func (s ListKeysResponseListItem) 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 PutKeyInput ¶
type PutKeyInput struct { // The current version (ETag) of the Key Value Store that you are putting keys // into, which you can get using DescribeKeyValueStore. // // IfMatch is a required field IfMatch *string `location:"header" locationName:"If-Match" type:"string" required:"true"` // The key to put. // // Key is a required field Key *string `location:"uri" locationName:"Key" min:"1" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the Key Value Store. // // KvsARN is a required field KvsARN *string `location:"uri" locationName:"KvsARN" min:"1" type:"string" required:"true"` // The value to put. // // Value is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by PutKeyInput's // String and GoString methods. // // Value is a required field Value *string `type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
A key value pair.
func (PutKeyInput) GoString ¶
func (s PutKeyInput) 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 (*PutKeyInput) SetIfMatch ¶
func (s *PutKeyInput) SetIfMatch(v string) *PutKeyInput
SetIfMatch sets the IfMatch field's value.
func (*PutKeyInput) SetKey ¶
func (s *PutKeyInput) SetKey(v string) *PutKeyInput
SetKey sets the Key field's value.
func (*PutKeyInput) SetKvsARN ¶
func (s *PutKeyInput) SetKvsARN(v string) *PutKeyInput
SetKvsARN sets the KvsARN field's value.
func (*PutKeyInput) SetValue ¶
func (s *PutKeyInput) SetValue(v string) *PutKeyInput
SetValue sets the Value field's value.
func (PutKeyInput) String ¶
func (s PutKeyInput) 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 (*PutKeyInput) Validate ¶
func (s *PutKeyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutKeyOutput ¶
type PutKeyOutput struct { // The current version identifier of the Key Value Store after the successful // put. // // ETag is a required field ETag *string `location:"header" locationName:"ETag" type:"string" required:"true"` // Number of key value pairs in the Key Value Store after the successful put. // // ItemCount is a required field ItemCount *int64 `type:"integer" required:"true"` // Total size of the Key Value Store after the successful put, in bytes. // // TotalSizeInBytes is a required field TotalSizeInBytes *int64 `type:"long" required:"true"` // contains filtered or unexported fields }
Metadata information about a Key Value Store.
func (PutKeyOutput) GoString ¶
func (s PutKeyOutput) 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 (*PutKeyOutput) SetETag ¶
func (s *PutKeyOutput) SetETag(v string) *PutKeyOutput
SetETag sets the ETag field's value.
func (*PutKeyOutput) SetItemCount ¶
func (s *PutKeyOutput) SetItemCount(v int64) *PutKeyOutput
SetItemCount sets the ItemCount field's value.
func (*PutKeyOutput) SetTotalSizeInBytes ¶
func (s *PutKeyOutput) SetTotalSizeInBytes(v int64) *PutKeyOutput
SetTotalSizeInBytes sets the TotalSizeInBytes field's value.
func (PutKeyOutput) String ¶
func (s PutKeyOutput) 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 PutKeyRequestListItem ¶
type PutKeyRequestListItem struct { // The key of the key value pair list item to put. // // Key is a required field Key *string `min:"1" type:"string" required:"true"` // The value for the key value pair to put. // // Value is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by PutKeyRequestListItem's // String and GoString methods. // // Value is a required field Value *string `type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
List item for key value pair to put.
func (PutKeyRequestListItem) GoString ¶
func (s PutKeyRequestListItem) 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 (*PutKeyRequestListItem) SetKey ¶
func (s *PutKeyRequestListItem) SetKey(v string) *PutKeyRequestListItem
SetKey sets the Key field's value.
func (*PutKeyRequestListItem) SetValue ¶
func (s *PutKeyRequestListItem) SetValue(v string) *PutKeyRequestListItem
SetValue sets the Value field's value.
func (PutKeyRequestListItem) String ¶
func (s PutKeyRequestListItem) 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 (*PutKeyRequestListItem) Validate ¶
func (s *PutKeyRequestListItem) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
Resource was not found.
func (*ResourceNotFoundException) Code ¶
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (*ResourceNotFoundException) Error ¶
func (s *ResourceNotFoundException) Error() string
func (ResourceNotFoundException) GoString ¶
func (s ResourceNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceNotFoundException) Message ¶
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (*ResourceNotFoundException) OrigErr ¶
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceNotFoundException) RequestID ¶
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceNotFoundException) StatusCode ¶
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceNotFoundException) String ¶
func (s ResourceNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ServiceQuotaExceededException ¶
type ServiceQuotaExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
Limit exceeded.
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 UpdateKeysInput ¶
type UpdateKeysInput struct { // List of keys to delete. Deletes []*DeleteKeyRequestListItem `type:"list"` // The current version (ETag) of the Key Value Store that you are updating keys // of, which you can get using DescribeKeyValueStore. // // IfMatch is a required field IfMatch *string `location:"header" locationName:"If-Match" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the Key Value Store. // // KvsARN is a required field KvsARN *string `location:"uri" locationName:"KvsARN" min:"1" type:"string" required:"true"` // List of key value pairs to put. Puts []*PutKeyRequestListItem `type:"list"` // contains filtered or unexported fields }
func (UpdateKeysInput) GoString ¶
func (s UpdateKeysInput) 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 (*UpdateKeysInput) SetDeletes ¶
func (s *UpdateKeysInput) SetDeletes(v []*DeleteKeyRequestListItem) *UpdateKeysInput
SetDeletes sets the Deletes field's value.
func (*UpdateKeysInput) SetIfMatch ¶
func (s *UpdateKeysInput) SetIfMatch(v string) *UpdateKeysInput
SetIfMatch sets the IfMatch field's value.
func (*UpdateKeysInput) SetKvsARN ¶
func (s *UpdateKeysInput) SetKvsARN(v string) *UpdateKeysInput
SetKvsARN sets the KvsARN field's value.
func (*UpdateKeysInput) SetPuts ¶
func (s *UpdateKeysInput) SetPuts(v []*PutKeyRequestListItem) *UpdateKeysInput
SetPuts sets the Puts field's value.
func (UpdateKeysInput) String ¶
func (s UpdateKeysInput) 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 (*UpdateKeysInput) Validate ¶
func (s *UpdateKeysInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateKeysOutput ¶
type UpdateKeysOutput struct { // The current version identifier of the Key Value Store after the successful // update. // // ETag is a required field ETag *string `location:"header" locationName:"ETag" type:"string" required:"true"` // Number of key value pairs in the Key Value Store after the successful update. // // ItemCount is a required field ItemCount *int64 `type:"integer" required:"true"` // Total size of the Key Value Store after the successful update, in bytes. // // TotalSizeInBytes is a required field TotalSizeInBytes *int64 `type:"long" required:"true"` // contains filtered or unexported fields }
Metadata information about a Key Value Store.
func (UpdateKeysOutput) GoString ¶
func (s UpdateKeysOutput) 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 (*UpdateKeysOutput) SetETag ¶
func (s *UpdateKeysOutput) SetETag(v string) *UpdateKeysOutput
SetETag sets the ETag field's value.
func (*UpdateKeysOutput) SetItemCount ¶
func (s *UpdateKeysOutput) SetItemCount(v int64) *UpdateKeysOutput
SetItemCount sets the ItemCount field's value.
func (*UpdateKeysOutput) SetTotalSizeInBytes ¶
func (s *UpdateKeysOutput) SetTotalSizeInBytes(v int64) *UpdateKeysOutput
SetTotalSizeInBytes sets the TotalSizeInBytes field's value.
func (UpdateKeysOutput) String ¶
func (s UpdateKeysOutput) 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" type:"string"` // contains filtered or unexported fields }
Validation failed.
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".
Directories ¶
Path | Synopsis |
---|---|
Package cloudfrontkeyvaluestoreiface provides an interface to enable mocking the Amazon CloudFront KeyValueStore service client for testing your code.
|
Package cloudfrontkeyvaluestoreiface provides an interface to enable mocking the Amazon CloudFront KeyValueStore service client for testing your code. |