Documentation ¶
Overview ¶
Package dax provides the API client, operations, and parameter types for Amazon DynamoDB Accelerator (DAX).
DAX is a managed caching service engineered for Amazon DynamoDB. DAX dramatically speeds up database reads by caching frequently-accessed data from DynamoDB, so applications can access that data with sub-millisecond latency. You can create a DAX cluster easily, using the AWS Management Console. With a few simple modifications to your code, your application can begin taking advantage of the DAX cluster and realize significant improvements in read performance.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)deprecated
- func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
- func WithSigV4SigningName(name string) func(*Options)
- func WithSigV4SigningRegion(region string) func(*Options)
- type AuthResolverParameters
- type AuthSchemeResolver
- type Client
- func (c *Client) CreateCluster(ctx context.Context, params *CreateClusterInput, optFns ...func(*Options)) (*CreateClusterOutput, error)
- func (c *Client) CreateParameterGroup(ctx context.Context, params *CreateParameterGroupInput, ...) (*CreateParameterGroupOutput, error)
- func (c *Client) CreateSubnetGroup(ctx context.Context, params *CreateSubnetGroupInput, optFns ...func(*Options)) (*CreateSubnetGroupOutput, error)
- func (c *Client) DecreaseReplicationFactor(ctx context.Context, params *DecreaseReplicationFactorInput, ...) (*DecreaseReplicationFactorOutput, error)
- func (c *Client) DeleteCluster(ctx context.Context, params *DeleteClusterInput, optFns ...func(*Options)) (*DeleteClusterOutput, error)
- func (c *Client) DeleteParameterGroup(ctx context.Context, params *DeleteParameterGroupInput, ...) (*DeleteParameterGroupOutput, error)
- func (c *Client) DeleteSubnetGroup(ctx context.Context, params *DeleteSubnetGroupInput, optFns ...func(*Options)) (*DeleteSubnetGroupOutput, error)
- func (c *Client) DescribeClusters(ctx context.Context, params *DescribeClustersInput, optFns ...func(*Options)) (*DescribeClustersOutput, error)
- func (c *Client) DescribeDefaultParameters(ctx context.Context, params *DescribeDefaultParametersInput, ...) (*DescribeDefaultParametersOutput, error)
- func (c *Client) DescribeEvents(ctx context.Context, params *DescribeEventsInput, optFns ...func(*Options)) (*DescribeEventsOutput, error)
- func (c *Client) DescribeParameterGroups(ctx context.Context, params *DescribeParameterGroupsInput, ...) (*DescribeParameterGroupsOutput, error)
- func (c *Client) DescribeParameters(ctx context.Context, params *DescribeParametersInput, optFns ...func(*Options)) (*DescribeParametersOutput, error)
- func (c *Client) DescribeSubnetGroups(ctx context.Context, params *DescribeSubnetGroupsInput, ...) (*DescribeSubnetGroupsOutput, error)
- func (c *Client) IncreaseReplicationFactor(ctx context.Context, params *IncreaseReplicationFactorInput, ...) (*IncreaseReplicationFactorOutput, error)
- func (c *Client) ListTags(ctx context.Context, params *ListTagsInput, optFns ...func(*Options)) (*ListTagsOutput, error)
- func (c *Client) Options() Options
- func (c *Client) RebootNode(ctx context.Context, params *RebootNodeInput, optFns ...func(*Options)) (*RebootNodeOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateCluster(ctx context.Context, params *UpdateClusterInput, optFns ...func(*Options)) (*UpdateClusterOutput, error)
- func (c *Client) UpdateParameterGroup(ctx context.Context, params *UpdateParameterGroupInput, ...) (*UpdateParameterGroupOutput, error)
- func (c *Client) UpdateSubnetGroup(ctx context.Context, params *UpdateSubnetGroupInput, optFns ...func(*Options)) (*UpdateSubnetGroupOutput, error)
- type CreateClusterInput
- type CreateClusterOutput
- type CreateParameterGroupInput
- type CreateParameterGroupOutput
- type CreateSubnetGroupInput
- type CreateSubnetGroupOutput
- type DecreaseReplicationFactorInput
- type DecreaseReplicationFactorOutput
- type DeleteClusterInput
- type DeleteClusterOutput
- type DeleteParameterGroupInput
- type DeleteParameterGroupOutput
- type DeleteSubnetGroupInput
- type DeleteSubnetGroupOutput
- type DescribeClustersInput
- type DescribeClustersOutput
- type DescribeDefaultParametersInput
- type DescribeDefaultParametersOutput
- type DescribeEventsInput
- type DescribeEventsOutput
- type DescribeParameterGroupsInput
- type DescribeParameterGroupsOutput
- type DescribeParametersInput
- type DescribeParametersOutput
- type DescribeSubnetGroupsInput
- type DescribeSubnetGroupsOutput
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type HTTPClient
- type HTTPSignerV4
- type IncreaseReplicationFactorInput
- type IncreaseReplicationFactorOutput
- type ListTagsInput
- type ListTagsOutput
- type Options
- type RebootNodeInput
- type RebootNodeOutput
- type ResolveEndpoint
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateClusterInput
- type UpdateClusterOutput
- type UpdateParameterGroupInput
- type UpdateParameterGroupOutput
- type UpdateSubnetGroupInput
- type UpdateSubnetGroupOutput
Constants ¶
const ServiceAPIVersion = "2017-04-19"
const ServiceID = "DAX"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶ added in v1.0.0
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver
deprecated
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.
To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
func WithEndpointResolverV2 ¶ added in v1.13.0
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶ added in v1.16.2
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.
func WithSigV4SigningRegion ¶ added in v1.16.2
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.
Types ¶
type AuthResolverParameters ¶ added in v1.16.2
type AuthResolverParameters struct { // The name of the operation being invoked. Operation string // The region in which the operation is being invoked. Region string }
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
type AuthSchemeResolver ¶ added in v1.16.2
type AuthSchemeResolver interface {
ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}
AuthSchemeResolver returns a set of possible authentication options for an operation.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for Amazon DynamoDB Accelerator (DAX).
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) CreateCluster ¶
func (c *Client) CreateCluster(ctx context.Context, params *CreateClusterInput, optFns ...func(*Options)) (*CreateClusterOutput, error)
Creates a DAX cluster. All nodes in the cluster run the same DAX caching software.
func (*Client) CreateParameterGroup ¶
func (c *Client) CreateParameterGroup(ctx context.Context, params *CreateParameterGroupInput, optFns ...func(*Options)) (*CreateParameterGroupOutput, error)
Creates a new parameter group. A parameter group is a collection of parameters that you apply to all of the nodes in a DAX cluster.
func (*Client) CreateSubnetGroup ¶
func (c *Client) CreateSubnetGroup(ctx context.Context, params *CreateSubnetGroupInput, optFns ...func(*Options)) (*CreateSubnetGroupOutput, error)
Creates a new subnet group.
func (*Client) DecreaseReplicationFactor ¶
func (c *Client) DecreaseReplicationFactor(ctx context.Context, params *DecreaseReplicationFactorInput, optFns ...func(*Options)) (*DecreaseReplicationFactorOutput, error)
Removes one or more nodes from a DAX cluster.
You cannot use DecreaseReplicationFactor to remove the last node in a DAX cluster. If you need to do this, use DeleteCluster instead.
func (*Client) DeleteCluster ¶
func (c *Client) DeleteCluster(ctx context.Context, params *DeleteClusterInput, optFns ...func(*Options)) (*DeleteClusterOutput, error)
Deletes a previously provisioned DAX cluster. DeleteCluster deletes all associated nodes, node endpoints and the DAX cluster itself. When you receive a successful response from this action, DAX immediately begins deleting the cluster; you cannot cancel or revert this action.
func (*Client) DeleteParameterGroup ¶
func (c *Client) DeleteParameterGroup(ctx context.Context, params *DeleteParameterGroupInput, optFns ...func(*Options)) (*DeleteParameterGroupOutput, error)
Deletes the specified parameter group. You cannot delete a parameter group if it is associated with any DAX clusters.
func (*Client) DeleteSubnetGroup ¶
func (c *Client) DeleteSubnetGroup(ctx context.Context, params *DeleteSubnetGroupInput, optFns ...func(*Options)) (*DeleteSubnetGroupOutput, error)
Deletes a subnet group.
You cannot delete a subnet group if it is associated with any DAX clusters.
func (*Client) DescribeClusters ¶
func (c *Client) DescribeClusters(ctx context.Context, params *DescribeClustersInput, optFns ...func(*Options)) (*DescribeClustersOutput, error)
Returns information about all provisioned DAX clusters if no cluster identifier is specified, or about a specific DAX cluster if a cluster identifier is supplied.
If the cluster is in the CREATING state, only cluster level information will be displayed until all of the nodes are successfully provisioned.
If the cluster is in the DELETING state, only cluster level information will be displayed.
If nodes are currently being added to the DAX cluster, node endpoint information and creation time for the additional nodes will not be displayed until they are completely provisioned. When the DAX cluster state is available, the cluster is ready for use.
If nodes are currently being removed from the DAX cluster, no endpoint information for the removed nodes is displayed.
func (*Client) DescribeDefaultParameters ¶
func (c *Client) DescribeDefaultParameters(ctx context.Context, params *DescribeDefaultParametersInput, optFns ...func(*Options)) (*DescribeDefaultParametersOutput, error)
Returns the default system parameter information for the DAX caching software.
func (*Client) DescribeEvents ¶
func (c *Client) DescribeEvents(ctx context.Context, params *DescribeEventsInput, optFns ...func(*Options)) (*DescribeEventsOutput, error)
Returns events related to DAX clusters and parameter groups. You can obtain events specific to a particular DAX cluster or parameter group by providing the name as a parameter.
By default, only the events occurring within the last 24 hours are returned; however, you can retrieve up to 14 days' worth of events if necessary.
func (*Client) DescribeParameterGroups ¶
func (c *Client) DescribeParameterGroups(ctx context.Context, params *DescribeParameterGroupsInput, optFns ...func(*Options)) (*DescribeParameterGroupsOutput, error)
Returns a list of parameter group descriptions. If a parameter group name is specified, the list will contain only the descriptions for that group.
func (*Client) DescribeParameters ¶
func (c *Client) DescribeParameters(ctx context.Context, params *DescribeParametersInput, optFns ...func(*Options)) (*DescribeParametersOutput, error)
Returns the detailed parameter list for a particular parameter group.
func (*Client) DescribeSubnetGroups ¶
func (c *Client) DescribeSubnetGroups(ctx context.Context, params *DescribeSubnetGroupsInput, optFns ...func(*Options)) (*DescribeSubnetGroupsOutput, error)
Returns a list of subnet group descriptions. If a subnet group name is specified, the list will contain only the description of that group.
func (*Client) IncreaseReplicationFactor ¶
func (c *Client) IncreaseReplicationFactor(ctx context.Context, params *IncreaseReplicationFactorInput, optFns ...func(*Options)) (*IncreaseReplicationFactorOutput, error)
Adds one or more nodes to a DAX cluster.
func (*Client) ListTags ¶
func (c *Client) ListTags(ctx context.Context, params *ListTagsInput, optFns ...func(*Options)) (*ListTagsOutput, error)
List all of the tags for a DAX cluster. You can call ListTags up to 10 times per second, per account.
func (*Client) Options ¶ added in v1.17.0
Options returns a copy of the client configuration.
Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.
func (*Client) RebootNode ¶
func (c *Client) RebootNode(ctx context.Context, params *RebootNodeInput, optFns ...func(*Options)) (*RebootNodeOutput, error)
Reboots a single node of a DAX cluster. The reboot action takes place as soon as possible. During the reboot, the node status is set to REBOOTING.
RebootNode restarts the DAX engine process and does not remove the contents of the cache.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Associates a set of tags with a DAX resource. You can call TagResource up to 5 times per second, per account.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Removes the association of tags from a DAX resource. You can call UntagResource up to 5 times per second, per account.
func (*Client) UpdateCluster ¶
func (c *Client) UpdateCluster(ctx context.Context, params *UpdateClusterInput, optFns ...func(*Options)) (*UpdateClusterOutput, error)
Modifies the settings for a DAX cluster. You can use this action to change one or more cluster configuration parameters by specifying the parameters and the new values.
func (*Client) UpdateParameterGroup ¶
func (c *Client) UpdateParameterGroup(ctx context.Context, params *UpdateParameterGroupInput, optFns ...func(*Options)) (*UpdateParameterGroupOutput, error)
Modifies the parameters of a parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.
func (*Client) UpdateSubnetGroup ¶
func (c *Client) UpdateSubnetGroup(ctx context.Context, params *UpdateSubnetGroupInput, optFns ...func(*Options)) (*UpdateSubnetGroupOutput, error)
Modifies an existing subnet group.
type CreateClusterInput ¶
type CreateClusterInput struct { // The cluster identifier. This parameter is stored as a lowercase string. // // Constraints: // // - A name must contain from 1 to 20 alphanumeric characters or hyphens. // // - The first character must be a letter. // // - A name cannot end with a hyphen or contain two consecutive hyphens. // // This member is required. ClusterName *string // A valid Amazon Resource Name (ARN) that identifies an IAM role. At runtime, DAX // will assume this role and use the role's permissions to access DynamoDB on your // behalf. // // This member is required. IamRoleArn *string // The compute and memory capacity of the nodes in the cluster. // // This member is required. NodeType *string // The number of nodes in the DAX cluster. A replication factor of 1 will create a // single-node cluster, without any read replicas. For additional fault tolerance, // you can create a multiple node cluster with one or more read replicas. To do // this, set ReplicationFactor to a number between 3 (one primary and two read // replicas) and 10 (one primary and nine read replicas). If the AvailabilityZones // parameter is provided, its length must equal the ReplicationFactor . // // AWS recommends that you have at least two read replicas per cluster. // // This member is required. ReplicationFactor int32 // The Availability Zones (AZs) in which the cluster nodes will reside after the // cluster has been created or updated. If provided, the length of this list must // equal the ReplicationFactor parameter. If you omit this parameter, DAX will // spread the nodes across Availability Zones for the highest availability. AvailabilityZones []string // The type of encryption the cluster's endpoint should support. Values are: // // - NONE for no encryption // // - TLS for Transport Layer Security ClusterEndpointEncryptionType types.ClusterEndpointEncryptionType // A description of the cluster. Description *string // The Amazon Resource Name (ARN) of the Amazon SNS topic to which notifications // will be sent. // // The Amazon SNS topic owner must be same as the DAX cluster owner. NotificationTopicArn *string // The parameter group to be associated with the DAX cluster. ParameterGroupName *string // Specifies the weekly time range during which maintenance on the DAX cluster is // performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H // Clock UTC). The minimum maintenance window is a 60 minute period. Valid values // for ddd are: // // - sun // // - mon // // - tue // // - wed // // - thu // // - fri // // - sat // // Example: sun:05:00-sun:09:00 // // If you don't specify a preferred maintenance window when you create or modify a // cache cluster, DAX assigns a 60-minute maintenance window on a randomly selected // day of the week. PreferredMaintenanceWindow *string // Represents the settings used to enable server-side encryption on the cluster. SSESpecification *types.SSESpecification // A list of security group IDs to be assigned to each node in the DAX cluster. // (Each of the security group ID is system-generated.) // // If this parameter is not specified, DAX assigns the default VPC security group // to each node. SecurityGroupIds []string // The name of the subnet group to be used for the replication group. // // DAX clusters can only run in an Amazon VPC environment. All of the subnets that // you specify in a subnet group must exist in the same VPC. SubnetGroupName *string // A set of tags to associate with the DAX cluster. Tags []types.Tag // contains filtered or unexported fields }
type CreateClusterOutput ¶
type CreateClusterOutput struct { // A description of the DAX cluster that you have created. Cluster *types.Cluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateParameterGroupOutput ¶
type CreateParameterGroupOutput struct { // Represents the output of a CreateParameterGroup action. ParameterGroup *types.ParameterGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateSubnetGroupInput ¶
type CreateSubnetGroupInput struct { // A name for the subnet group. This value is stored as a lowercase string. // // This member is required. SubnetGroupName *string // A list of VPC subnet IDs for the subnet group. // // This member is required. SubnetIds []string // A description for the subnet group Description *string // contains filtered or unexported fields }
type CreateSubnetGroupOutput ¶
type CreateSubnetGroupOutput struct { // Represents the output of a CreateSubnetGroup operation. SubnetGroup *types.SubnetGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DecreaseReplicationFactorInput ¶
type DecreaseReplicationFactorInput struct { // The name of the DAX cluster from which you want to remove nodes. // // This member is required. ClusterName *string // The new number of nodes for the DAX cluster. // // This member is required. NewReplicationFactor int32 // The Availability Zone(s) from which to remove nodes. AvailabilityZones []string // The unique identifiers of the nodes to be removed from the cluster. NodeIdsToRemove []string // contains filtered or unexported fields }
type DecreaseReplicationFactorOutput ¶
type DecreaseReplicationFactorOutput struct { // A description of the DAX cluster, after you have decreased its replication // factor. Cluster *types.Cluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteClusterInput ¶
type DeleteClusterInput struct { // The name of the cluster to be deleted. // // This member is required. ClusterName *string // contains filtered or unexported fields }
type DeleteClusterOutput ¶
type DeleteClusterOutput struct { // A description of the DAX cluster that is being deleted. Cluster *types.Cluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteParameterGroupInput ¶
type DeleteParameterGroupInput struct { // The name of the parameter group to delete. // // This member is required. ParameterGroupName *string // contains filtered or unexported fields }
type DeleteParameterGroupOutput ¶
type DeleteParameterGroupOutput struct { // A user-specified message for this action (i.e., a reason for deleting the // parameter group). DeletionMessage *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteSubnetGroupInput ¶
type DeleteSubnetGroupInput struct { // The name of the subnet group to delete. // // This member is required. SubnetGroupName *string // contains filtered or unexported fields }
type DeleteSubnetGroupOutput ¶
type DeleteSubnetGroupOutput struct { // A user-specified message for this action (i.e., a reason for deleting the // subnet group). DeletionMessage *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeClustersInput ¶
type DescribeClustersInput struct { // The names of the DAX clusters being described. ClusterNames []string // The maximum number of results to include in the response. If more results exist // than the specified MaxResults value, a token is included in the response so // that the remaining results can be retrieved. // // The value for MaxResults must be between 20 and 100. MaxResults *int32 // An optional token returned from a prior request. Use this token for pagination // of results from this action. If this parameter is specified, the response // includes only results beyond the token, up to the value specified by MaxResults . NextToken *string // contains filtered or unexported fields }
type DescribeClustersOutput ¶
type DescribeClustersOutput struct { // The descriptions of your DAX clusters, in response to a DescribeClusters // request. Clusters []types.Cluster // Provides an identifier to allow retrieval of paginated results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeDefaultParametersInput ¶
type DescribeDefaultParametersInput struct { // The maximum number of results to include in the response. If more results exist // than the specified MaxResults value, a token is included in the response so // that the remaining results can be retrieved. // // The value for MaxResults must be between 20 and 100. MaxResults *int32 // An optional token returned from a prior request. Use this token for pagination // of results from this action. If this parameter is specified, the response // includes only results beyond the token, up to the value specified by MaxResults . NextToken *string // contains filtered or unexported fields }
type DescribeDefaultParametersOutput ¶
type DescribeDefaultParametersOutput struct { // Provides an identifier to allow retrieval of paginated results. NextToken *string // A list of parameters. Each element in the list represents one parameter. Parameters []types.Parameter // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeEventsInput ¶
type DescribeEventsInput struct { // The number of minutes' worth of events to retrieve. Duration *int32 // The end of the time interval for which to retrieve events, specified in ISO // 8601 format. EndTime *time.Time // The maximum number of results to include in the response. If more results exist // than the specified MaxResults value, a token is included in the response so // that the remaining results can be retrieved. // // The value for MaxResults must be between 20 and 100. MaxResults *int32 // An optional token returned from a prior request. Use this token for pagination // of results from this action. If this parameter is specified, the response // includes only results beyond the token, up to the value specified by MaxResults . NextToken *string // The identifier of the event source for which events will be returned. If not // specified, then all sources are included in the response. SourceName *string // The event source to retrieve events for. If no value is specified, all events // are returned. SourceType types.SourceType // The beginning of the time interval to retrieve events for, specified in ISO // 8601 format. StartTime *time.Time // contains filtered or unexported fields }
type DescribeEventsOutput ¶
type DescribeEventsOutput struct { // An array of events. Each element in the array represents one event. Events []types.Event // Provides an identifier to allow retrieval of paginated results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeParameterGroupsInput ¶
type DescribeParameterGroupsInput struct { // The maximum number of results to include in the response. If more results exist // than the specified MaxResults value, a token is included in the response so // that the remaining results can be retrieved. // // The value for MaxResults must be between 20 and 100. MaxResults *int32 // An optional token returned from a prior request. Use this token for pagination // of results from this action. If this parameter is specified, the response // includes only results beyond the token, up to the value specified by MaxResults . NextToken *string // The names of the parameter groups. ParameterGroupNames []string // contains filtered or unexported fields }
type DescribeParameterGroupsOutput ¶
type DescribeParameterGroupsOutput struct { // Provides an identifier to allow retrieval of paginated results. NextToken *string // An array of parameter groups. Each element in the array represents one // parameter group. ParameterGroups []types.ParameterGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeParametersInput ¶
type DescribeParametersInput struct { // The name of the parameter group. // // This member is required. ParameterGroupName *string // The maximum number of results to include in the response. If more results exist // than the specified MaxResults value, a token is included in the response so // that the remaining results can be retrieved. // // The value for MaxResults must be between 20 and 100. MaxResults *int32 // An optional token returned from a prior request. Use this token for pagination // of results from this action. If this parameter is specified, the response // includes only results beyond the token, up to the value specified by MaxResults . NextToken *string // How the parameter is defined. For example, system denotes a system-defined // parameter. Source *string // contains filtered or unexported fields }
type DescribeParametersOutput ¶
type DescribeParametersOutput struct { // Provides an identifier to allow retrieval of paginated results. NextToken *string // A list of parameters within a parameter group. Each element in the list // represents one parameter. Parameters []types.Parameter // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeSubnetGroupsInput ¶
type DescribeSubnetGroupsInput struct { // The maximum number of results to include in the response. If more results exist // than the specified MaxResults value, a token is included in the response so // that the remaining results can be retrieved. // // The value for MaxResults must be between 20 and 100. MaxResults *int32 // An optional token returned from a prior request. Use this token for pagination // of results from this action. If this parameter is specified, the response // includes only results beyond the token, up to the value specified by MaxResults . NextToken *string // The name of the subnet group. SubnetGroupNames []string // contains filtered or unexported fields }
type DescribeSubnetGroupsOutput ¶
type DescribeSubnetGroupsOutput struct { // Provides an identifier to allow retrieval of paginated results. NextToken *string // An array of subnet groups. Each element in the array represents a single subnet // group. SubnetGroups []types.SubnetGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointParameters ¶ added in v1.13.0
type EndpointParameters struct { // The AWS region used to dispatch the request. // // Parameter is // required. // // AWS::Region Region *string // When true, use the dual-stack endpoint. If the configured endpoint does not // support dual-stack, dispatching the request MAY return an error. // // Defaults to // false if no value is provided. // // AWS::UseDualStack UseDualStack *bool // When true, send this request to the FIPS-compliant regional endpoint. If the // configured endpoint does not have a FIPS compliant endpoint, dispatching the // request will return an error. // // Defaults to false if no value is // provided. // // AWS::UseFIPS UseFIPS *bool // Override the endpoint used to send this request // // Parameter is // required. // // SDK::Endpoint Endpoint *string }
EndpointParameters provides the parameters that influence how endpoints are resolved.
func (EndpointParameters) ValidateRequired ¶ added in v1.13.0
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶ added in v1.13.0
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶ added in v1.1.0
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶ added in v0.29.0
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type EndpointResolverV2 ¶ added in v1.13.0
type EndpointResolverV2 interface { // ResolveEndpoint attempts to resolve the endpoint with the provided options, // returning the endpoint if found. Otherwise an error is returned. ResolveEndpoint(ctx context.Context, params EndpointParameters) ( smithyendpoints.Endpoint, error, ) }
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶ added in v1.13.0
func NewDefaultEndpointResolverV2() EndpointResolverV2
type HTTPSignerV4 ¶
type IncreaseReplicationFactorInput ¶
type IncreaseReplicationFactorInput struct { // The name of the DAX cluster that will receive additional nodes. // // This member is required. ClusterName *string // The new number of nodes for the DAX cluster. // // This member is required. NewReplicationFactor int32 // The Availability Zones (AZs) in which the cluster nodes will be created. All // nodes belonging to the cluster are placed in these Availability Zones. Use this // parameter if you want to distribute the nodes across multiple AZs. AvailabilityZones []string // contains filtered or unexported fields }
type IncreaseReplicationFactorOutput ¶
type IncreaseReplicationFactorOutput struct { // A description of the DAX cluster. with its new replication factor. Cluster *types.Cluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListTagsInput ¶
type ListTagsInput struct { // The name of the DAX resource to which the tags belong. // // This member is required. ResourceName *string // An optional token returned from a prior request. Use this token for pagination // of results from this action. If this parameter is specified, the response // includes only results beyond the token. NextToken *string // contains filtered or unexported fields }
type ListTagsOutput ¶
type ListTagsOutput struct { // If this value is present, there are additional results to be displayed. To // retrieve them, call ListTags again, with NextToken set to this value. NextToken *string // A list of tags currently associated with the DAX cluster. Tags []types.Tag // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The optional application specific identifier appended to the User-Agent header. AppID string // This endpoint will be given as input to an EndpointResolverV2. It is used for // providing a custom base endpoint that is subject to modifications by the // processing EndpointResolverV2. BaseEndpoint *string // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. // // Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a // value for this field will likely prevent you from using any endpoint-related // service features released after the introduction of EndpointResolverV2 and // BaseEndpoint. // // To migrate an EndpointResolver implementation that uses a custom endpoint, set // the client option BaseEndpoint instead. EndpointResolver EndpointResolver // Resolves the endpoint used for a particular service operation. This should be // used over the deprecated EndpointResolver. EndpointResolverV2 EndpointResolverV2 // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The logger writer interface to write logging messages to. Logger logging.Logger // The client meter provider. MeterProvider metrics.MeterProvider // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. // // If specified in an operation call's functional options with a value that is // different than the constructed client's Options, the Client's Retryer will be // wrapped to use the operation's specific RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. // // When creating a new API Clients this member will only be used if the Retryer // Options member is nil. This value will be ignored if Retryer is not nil. // // Currently does not support per operation call overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The client tracer provider. TracerProvider tracing.TracerProvider // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // The auth scheme resolver which determines how to authenticate for each // operation. AuthSchemeResolver AuthSchemeResolver // The list of auth schemes supported by the client. AuthSchemes []smithyhttp.AuthScheme // contains filtered or unexported fields }
func (Options) GetIdentityResolver ¶ added in v1.16.2
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
type RebootNodeInput ¶
type RebootNodeOutput ¶
type RebootNodeOutput struct { // A description of the DAX cluster after a node has been rebooted. Cluster *types.Cluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type TagResourceInput ¶
type TagResourceOutput ¶
type TagResourceOutput struct { // The list of tags that are associated with the DAX resource. Tags []types.Tag // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UntagResourceInput ¶
type UntagResourceInput struct { // The name of the DAX resource from which the tags should be removed. // // This member is required. ResourceName *string // A list of tag keys. If the DAX cluster has any tags with these keys, then the // tags are removed from the cluster. // // This member is required. TagKeys []string // contains filtered or unexported fields }
type UntagResourceOutput ¶
type UntagResourceOutput struct { // The tag keys that have been removed from the cluster. Tags []types.Tag // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateClusterInput ¶
type UpdateClusterInput struct { // The name of the DAX cluster to be modified. // // This member is required. ClusterName *string // A description of the changes being made to the cluster. Description *string // The Amazon Resource Name (ARN) that identifies the topic. NotificationTopicArn *string // The current state of the topic. A value of “active” means that notifications // will be sent to the topic. A value of “inactive” means that notifications will // not be sent to the topic. NotificationTopicStatus *string // The name of a parameter group for this cluster. ParameterGroupName *string // A range of time when maintenance of DAX cluster software will be performed. For // example: sun:01:00-sun:09:00 . Cluster maintenance normally takes less than 30 // minutes, and is performed automatically within the maintenance window. PreferredMaintenanceWindow *string // A list of user-specified security group IDs to be assigned to each node in the // DAX cluster. If this parameter is not specified, DAX assigns the default VPC // security group to each node. SecurityGroupIds []string // contains filtered or unexported fields }
type UpdateClusterOutput ¶
type UpdateClusterOutput struct { // A description of the DAX cluster, after it has been modified. Cluster *types.Cluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateParameterGroupInput ¶
type UpdateParameterGroupInput struct { // The name of the parameter group. // // This member is required. ParameterGroupName *string // An array of name-value pairs for the parameters in the group. Each element in // the array represents a single parameter. // // record-ttl-millis and query-ttl-millis are the only supported parameter names. // For more details, see [Configuring TTL Settings]. // // [Configuring TTL Settings]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DAX.cluster-management.html#DAX.cluster-management.custom-settings.ttl // // This member is required. ParameterNameValues []types.ParameterNameValue // contains filtered or unexported fields }
type UpdateParameterGroupOutput ¶
type UpdateParameterGroupOutput struct { // The parameter group that has been modified. ParameterGroup *types.ParameterGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateSubnetGroupInput ¶
type UpdateSubnetGroupOutput ¶
type UpdateSubnetGroupOutput struct { // The subnet group that has been modified. SubnetGroup *types.SubnetGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
- api_client.go
- api_op_CreateCluster.go
- api_op_CreateParameterGroup.go
- api_op_CreateSubnetGroup.go
- api_op_DecreaseReplicationFactor.go
- api_op_DeleteCluster.go
- api_op_DeleteParameterGroup.go
- api_op_DeleteSubnetGroup.go
- api_op_DescribeClusters.go
- api_op_DescribeDefaultParameters.go
- api_op_DescribeEvents.go
- api_op_DescribeParameterGroups.go
- api_op_DescribeParameters.go
- api_op_DescribeSubnetGroups.go
- api_op_IncreaseReplicationFactor.go
- api_op_ListTags.go
- api_op_RebootNode.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateCluster.go
- api_op_UpdateParameterGroup.go
- api_op_UpdateSubnetGroup.go
- auth.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- serializers.go
- validators.go