Documentation ¶
Overview ¶
Package timestreaminfluxdb provides the API client, operations, and parameter types for Timestream InfluxDB.
Amazon Timestream for InfluxDB is a managed time-series database engine that makes it easy for application developers and DevOps teams to run InfluxDB databases on AWS for near real-time time-series applications using open-source APIs. With Amazon Timestream for InfluxDB, it is easy to set up, operate, and scale time-series workloads that can answer queries with single-digit millisecond query response time.
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) CreateDbInstance(ctx context.Context, params *CreateDbInstanceInput, optFns ...func(*Options)) (*CreateDbInstanceOutput, error)
- func (c *Client) CreateDbParameterGroup(ctx context.Context, params *CreateDbParameterGroupInput, ...) (*CreateDbParameterGroupOutput, error)
- func (c *Client) DeleteDbInstance(ctx context.Context, params *DeleteDbInstanceInput, optFns ...func(*Options)) (*DeleteDbInstanceOutput, error)
- func (c *Client) GetDbInstance(ctx context.Context, params *GetDbInstanceInput, optFns ...func(*Options)) (*GetDbInstanceOutput, error)
- func (c *Client) GetDbParameterGroup(ctx context.Context, params *GetDbParameterGroupInput, ...) (*GetDbParameterGroupOutput, error)
- func (c *Client) ListDbInstances(ctx context.Context, params *ListDbInstancesInput, optFns ...func(*Options)) (*ListDbInstancesOutput, error)
- func (c *Client) ListDbParameterGroups(ctx context.Context, params *ListDbParameterGroupsInput, ...) (*ListDbParameterGroupsOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) Options() Options
- 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) UpdateDbInstance(ctx context.Context, params *UpdateDbInstanceInput, optFns ...func(*Options)) (*UpdateDbInstanceOutput, error)
- type CreateDbInstanceInput
- type CreateDbInstanceOutput
- type CreateDbParameterGroupInput
- type CreateDbParameterGroupOutput
- type DeleteDbInstanceInput
- type DeleteDbInstanceOutput
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type GetDbInstanceInput
- type GetDbInstanceOutput
- type GetDbParameterGroupInput
- type GetDbParameterGroupOutput
- type HTTPClient
- type HTTPSignerV4
- type ListDbInstancesAPIClient
- type ListDbInstancesInput
- type ListDbInstancesOutput
- type ListDbInstancesPaginator
- type ListDbInstancesPaginatorOptions
- type ListDbParameterGroupsAPIClient
- type ListDbParameterGroupsInput
- type ListDbParameterGroupsOutput
- type ListDbParameterGroupsPaginator
- type ListDbParameterGroupsPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type Options
- type ResolveEndpoint
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateDbInstanceInput
- type UpdateDbInstanceOutput
Constants ¶
const ServiceAPIVersion = "2023-01-27"
const ServiceID = "Timestream InfluxDB"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
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 ¶
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶
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 ¶
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 ¶
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 ¶
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 Timestream InfluxDB.
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) CreateDbInstance ¶
func (c *Client) CreateDbInstance(ctx context.Context, params *CreateDbInstanceInput, optFns ...func(*Options)) (*CreateDbInstanceOutput, error)
Creates a new Timestream for InfluxDB DB instance.
func (*Client) CreateDbParameterGroup ¶
func (c *Client) CreateDbParameterGroup(ctx context.Context, params *CreateDbParameterGroupInput, optFns ...func(*Options)) (*CreateDbParameterGroupOutput, error)
Creates a new Timestream for InfluxDB DB parameter group to associate with DB instances.
func (*Client) DeleteDbInstance ¶
func (c *Client) DeleteDbInstance(ctx context.Context, params *DeleteDbInstanceInput, optFns ...func(*Options)) (*DeleteDbInstanceOutput, error)
Deletes a Timestream for InfluxDB DB instance.
func (*Client) GetDbInstance ¶
func (c *Client) GetDbInstance(ctx context.Context, params *GetDbInstanceInput, optFns ...func(*Options)) (*GetDbInstanceOutput, error)
Returns a Timestream for InfluxDB DB instance.
func (*Client) GetDbParameterGroup ¶
func (c *Client) GetDbParameterGroup(ctx context.Context, params *GetDbParameterGroupInput, optFns ...func(*Options)) (*GetDbParameterGroupOutput, error)
Returns a Timestream for InfluxDB DB parameter group.
func (*Client) ListDbInstances ¶
func (c *Client) ListDbInstances(ctx context.Context, params *ListDbInstancesInput, optFns ...func(*Options)) (*ListDbInstancesOutput, error)
Returns a list of Timestream for InfluxDB DB instances.
func (*Client) ListDbParameterGroups ¶
func (c *Client) ListDbParameterGroups(ctx context.Context, params *ListDbParameterGroupsInput, optFns ...func(*Options)) (*ListDbParameterGroupsOutput, error)
Returns a list of Timestream for InfluxDB DB parameter groups.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
A list of tags applied to the resource.
func (*Client) Options ¶
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) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Tags are composed of a Key/Value pairs. You can use tags to categorize and track your Timestream for InfluxDB resources.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Removes the tag from the specified resource.
func (*Client) UpdateDbInstance ¶
func (c *Client) UpdateDbInstance(ctx context.Context, params *UpdateDbInstanceInput, optFns ...func(*Options)) (*UpdateDbInstanceOutput, error)
Updates a Timestream for InfluxDB DB instance.
type CreateDbInstanceInput ¶
type CreateDbInstanceInput struct { // The amount of storage to allocate for your DB storage type in GiB (gibibytes). // // This member is required. AllocatedStorage *int32 // The Timestream for InfluxDB DB instance type to run InfluxDB on. // // This member is required. DbInstanceType types.DbInstanceType // The name that uniquely identifies the DB instance when interacting with the // Amazon Timestream for InfluxDB API and CLI commands. This name will also be a // prefix included in the endpoint. DB instance names must be unique per customer // and per region. // // This member is required. Name *string // The password of the initial admin user created in InfluxDB. This password will // allow you to access the InfluxDB UI to perform various administrative tasks and // also use the InfluxDB CLI to create an operator token. These attributes will be // stored in a Secret created in AWS SecretManager in your account. // // This member is required. Password *string // A list of VPC security group IDs to associate with the DB instance. // // This member is required. VpcSecurityGroupIds []string // A list of VPC subnet IDs to associate with the DB instance. Provide at least // two VPC subnet IDs in different availability zones when deploying with a // Multi-AZ standby. // // This member is required. VpcSubnetIds []string // The name of the initial InfluxDB bucket. All InfluxDB data is stored in a // bucket. A bucket combines the concept of a database and a retention period (the // duration of time that each data point persists). A bucket belongs to an // organization. Bucket *string // The id of the DB parameter group to assign to your DB instance. DB parameter // groups specify how the database is configured. For example, DB parameter groups // can specify the limit for query concurrency. DbParameterGroupIdentifier *string // The Timestream for InfluxDB DB storage type to read and write InfluxDB data. // // You can choose between 3 different types of provisioned Influx IOPS included // storage according to your workloads requirements: // // - Influx IO Included 3000 IOPS // // - Influx IO Included 12000 IOPS // // - Influx IO Included 16000 IOPS DbStorageType types.DbStorageType // Specifies whether the DB instance will be deployed as a standalone instance or // with a Multi-AZ standby for high availability. DeploymentType types.DeploymentType // Configuration for sending InfluxDB engine logs to a specified S3 bucket. LogDeliveryConfiguration *types.LogDeliveryConfiguration // The name of the initial organization for the initial admin user in InfluxDB. An // InfluxDB organization is a workspace for a group of users. Organization *string // Configures the DB instance with a public IP to facilitate access. PubliclyAccessible *bool // A list of key-value pairs to associate with the DB instance. Tags map[string]string // The username of the initial admin user created in InfluxDB. Must start with a // letter and can't end with a hyphen or contain two consecutive hyphens. For // example, my-user1. This username will allow you to access the InfluxDB UI to // perform various administrative tasks and also use the InfluxDB CLI to create an // operator token. These attributes will be stored in a Secret created in Amazon // Secrets Manager in your account. Username *string // contains filtered or unexported fields }
type CreateDbInstanceOutput ¶
type CreateDbInstanceOutput struct { // The Amazon Resource Name (ARN) of the DB instance. // // This member is required. Arn *string // A service-generated unique identifier. // // This member is required. Id *string // The customer-supplied name that uniquely identifies the DB instance when // interacting with the Amazon Timestream for InfluxDB API and CLI commands. // // This member is required. Name *string // A list of VPC subnet IDs associated with the DB instance. // // This member is required. VpcSubnetIds []string // The amount of storage allocated for your DB storage type (in gibibytes). AllocatedStorage *int32 // The Availability Zone in which the DB instance resides. AvailabilityZone *string // The Timestream for InfluxDB instance type that InfluxDB runs on. DbInstanceType types.DbInstanceType // The id of the DB parameter group assigned to your DB instance. DbParameterGroupIdentifier *string // The Timestream for InfluxDB DB storage type that InfluxDB stores data on. DbStorageType types.DbStorageType // Specifies whether the Timestream for InfluxDB is deployed as Single-AZ or with // a MultiAZ Standby for High availability. DeploymentType types.DeploymentType // The endpoint used to connect to InfluxDB. The default InfluxDB port is 8086. Endpoint *string // The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the // initial InfluxDB authorization parameters. The secret value is a JSON formatted // key-value pair holding InfluxDB authorization values: organization, bucket, // username, and password. InfluxAuthParametersSecretArn *string // Configuration for sending InfluxDB engine logs to send to specified S3 bucket. LogDeliveryConfiguration *types.LogDeliveryConfiguration // Indicates if the DB instance has a public IP to facilitate access. PubliclyAccessible *bool // The Availability Zone in which the standby instance is located when deploying // with a MultiAZ standby instance. SecondaryAvailabilityZone *string // The status of the DB instance. Status types.Status // A list of VPC security group IDs associated with the DB instance. VpcSecurityGroupIds []string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateDbParameterGroupInput ¶
type CreateDbParameterGroupInput struct { // The name of the DB parameter group. The name must be unique per customer and // per region. // // This member is required. Name *string // A description of the DB parameter group. Description *string // A list of the parameters that comprise the DB parameter group. Parameters types.Parameters // A list of key-value pairs to associate with the DB parameter group. Tags map[string]string // contains filtered or unexported fields }
type CreateDbParameterGroupOutput ¶
type CreateDbParameterGroupOutput struct { // The Amazon Resource Name (ARM) of the DB parameter group. // // This member is required. Arn *string // A service-generated unique identifier. // // This member is required. Id *string // The customer-supplied name that uniquely identifies the DB parameter group when // interacting with the Amazon Timestream for InfluxDB API and CLI commands. // // This member is required. Name *string // The description of the DB parameter group. Description *string // A list of the parameters that comprise the DB parameter group. Parameters types.Parameters // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteDbInstanceInput ¶
type DeleteDbInstanceInput struct { // The id of the DB instance. // // This member is required. Identifier *string // contains filtered or unexported fields }
type DeleteDbInstanceOutput ¶
type DeleteDbInstanceOutput struct { // The Amazon Resource Name (ARN) of the DB instance. // // This member is required. Arn *string // A service-generated unique identifier. // // This member is required. Id *string // The customer-supplied name that uniquely identifies the DB instance when // interacting with the Amazon Timestream for InfluxDB API and CLI commands. // // This member is required. Name *string // A list of VPC subnet IDs associated with the DB instance. // // This member is required. VpcSubnetIds []string // The amount of storage allocated for your DB storage type (in gibibytes). AllocatedStorage *int32 // The Availability Zone in which the DB instance resides. AvailabilityZone *string // The Timestream for InfluxDB instance type that InfluxDB runs on. DbInstanceType types.DbInstanceType // The id of the DB parameter group assigned to your DB instance. DbParameterGroupIdentifier *string // The Timestream for InfluxDB DB storage type that InfluxDB stores data on. DbStorageType types.DbStorageType // Specifies whether the Timestream for InfluxDB is deployed as Single-AZ or with // a MultiAZ Standby for High availability. DeploymentType types.DeploymentType // The endpoint used to connect to InfluxDB. The default InfluxDB port is 8086. Endpoint *string // The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the // initial InfluxDB authorization parameters. The secret value is a JSON formatted // key-value pair holding InfluxDB authorization values: organization, bucket, // username, and password. InfluxAuthParametersSecretArn *string // Configuration for sending InfluxDB engine logs to send to specified S3 bucket. LogDeliveryConfiguration *types.LogDeliveryConfiguration // Indicates if the DB instance has a public IP to facilitate access. PubliclyAccessible *bool // The Availability Zone in which the standby instance is located when deploying // with a MultiAZ standby instance. SecondaryAvailabilityZone *string // The status of the DB instance. Status types.Status // A list of VPC security group IDs associated with the DB instance. VpcSecurityGroupIds []string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointParameters ¶
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 ¶
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶
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 ¶
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 ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type EndpointResolverV2 ¶
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 ¶
func NewDefaultEndpointResolverV2() EndpointResolverV2
type GetDbInstanceInput ¶
type GetDbInstanceInput struct { // The id of the DB instance. // // This member is required. Identifier *string // contains filtered or unexported fields }
type GetDbInstanceOutput ¶
type GetDbInstanceOutput struct { // The Amazon Resource Name (ARN) of the DB instance. // // This member is required. Arn *string // A service-generated unique identifier. // // This member is required. Id *string // The customer-supplied name that uniquely identifies the DB instance when // interacting with the Amazon Timestream for InfluxDB API and CLI commands. // // This member is required. Name *string // A list of VPC subnet IDs associated with the DB instance. // // This member is required. VpcSubnetIds []string // The amount of storage allocated for your DB storage type (in gibibytes). AllocatedStorage *int32 // The Availability Zone in which the DB instance resides. AvailabilityZone *string // The Timestream for InfluxDB instance type that InfluxDB runs on. DbInstanceType types.DbInstanceType // The id of the DB parameter group assigned to your DB instance. DbParameterGroupIdentifier *string // The Timestream for InfluxDB DB storage type that InfluxDB stores data on. DbStorageType types.DbStorageType // Specifies whether the Timestream for InfluxDB is deployed as Single-AZ or with // a MultiAZ Standby for High availability. DeploymentType types.DeploymentType // The endpoint used to connect to InfluxDB. The default InfluxDB port is 8086. Endpoint *string // The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the // initial InfluxDB authorization parameters. The secret value is a JSON formatted // key-value pair holding InfluxDB authorization values: organization, bucket, // username, and password. InfluxAuthParametersSecretArn *string // Configuration for sending InfluxDB engine logs to send to specified S3 bucket. LogDeliveryConfiguration *types.LogDeliveryConfiguration // Indicates if the DB instance has a public IP to facilitate access. PubliclyAccessible *bool // The Availability Zone in which the standby instance is located when deploying // with a MultiAZ standby instance. SecondaryAvailabilityZone *string // The status of the DB instance. Status types.Status // A list of VPC security group IDs associated with the DB instance. VpcSecurityGroupIds []string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetDbParameterGroupInput ¶
type GetDbParameterGroupInput struct { // The id of the DB parameter group. // // This member is required. Identifier *string // contains filtered or unexported fields }
type GetDbParameterGroupOutput ¶
type GetDbParameterGroupOutput struct { // The Amazon Resource Name (ARN) of the DB parameter group. // // This member is required. Arn *string // A service-generated unique identifier. // // This member is required. Id *string // The customer-supplied name that uniquely identifies the DB parameter group when // interacting with the Amazon Timestream for InfluxDB API and CLI commands. // // This member is required. Name *string // A description of the DB parameter group. Description *string // The parameters that comprise the DB parameter group. Parameters types.Parameters // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPSignerV4 ¶
type ListDbInstancesAPIClient ¶
type ListDbInstancesAPIClient interface {
ListDbInstances(context.Context, *ListDbInstancesInput, ...func(*Options)) (*ListDbInstancesOutput, error)
}
ListDbInstancesAPIClient is a client that implements the ListDbInstances operation.
type ListDbInstancesInput ¶
type ListDbInstancesInput struct { // The maximum number of items to return in the output. If the total number of // items available is more than the value specified, a NextToken is provided in the // output. To resume pagination, provide the NextToken value as argument of a // subsequent API invocation. MaxResults *int32 // The pagination token. To resume pagination, provide the NextToken value as // argument of a subsequent API invocation. NextToken *string // contains filtered or unexported fields }
type ListDbInstancesOutput ¶
type ListDbInstancesOutput struct { // A list of Timestream for InfluxDB DB instance summaries. // // This member is required. Items []types.DbInstanceSummary // Token from a previous call of the operation. When this value is provided, the // service returns results from where the previous response left off. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListDbInstancesPaginator ¶
type ListDbInstancesPaginator struct {
// contains filtered or unexported fields
}
ListDbInstancesPaginator is a paginator for ListDbInstances
func NewListDbInstancesPaginator ¶
func NewListDbInstancesPaginator(client ListDbInstancesAPIClient, params *ListDbInstancesInput, optFns ...func(*ListDbInstancesPaginatorOptions)) *ListDbInstancesPaginator
NewListDbInstancesPaginator returns a new ListDbInstancesPaginator
func (*ListDbInstancesPaginator) HasMorePages ¶
func (p *ListDbInstancesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListDbInstancesPaginator) NextPage ¶
func (p *ListDbInstancesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListDbInstancesOutput, error)
NextPage retrieves the next ListDbInstances page.
type ListDbInstancesPaginatorOptions ¶
type ListDbInstancesPaginatorOptions struct { // The maximum number of items to return in the output. If the total number of // items available is more than the value specified, a NextToken is provided in the // output. To resume pagination, provide the NextToken value as argument of a // subsequent API invocation. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListDbInstancesPaginatorOptions is the paginator options for ListDbInstances
type ListDbParameterGroupsAPIClient ¶
type ListDbParameterGroupsAPIClient interface {
ListDbParameterGroups(context.Context, *ListDbParameterGroupsInput, ...func(*Options)) (*ListDbParameterGroupsOutput, error)
}
ListDbParameterGroupsAPIClient is a client that implements the ListDbParameterGroups operation.
type ListDbParameterGroupsInput ¶
type ListDbParameterGroupsInput struct { // The maximum number of items to return in the output. If the total number of // items available is more than the value specified, a NextToken is provided in the // output. To resume pagination, provide the NextToken value as argument of a // subsequent API invocation. MaxResults *int32 // The pagination token. To resume pagination, provide the NextToken value as // argument of a subsequent API invocation. NextToken *string // contains filtered or unexported fields }
type ListDbParameterGroupsOutput ¶
type ListDbParameterGroupsOutput struct { // A list of Timestream for InfluxDB DB parameter group summaries. // // This member is required. Items []types.DbParameterGroupSummary // Token from a previous call of the operation. When this value is provided, the // service returns results from where the previous response left off. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListDbParameterGroupsPaginator ¶
type ListDbParameterGroupsPaginator struct {
// contains filtered or unexported fields
}
ListDbParameterGroupsPaginator is a paginator for ListDbParameterGroups
func NewListDbParameterGroupsPaginator ¶
func NewListDbParameterGroupsPaginator(client ListDbParameterGroupsAPIClient, params *ListDbParameterGroupsInput, optFns ...func(*ListDbParameterGroupsPaginatorOptions)) *ListDbParameterGroupsPaginator
NewListDbParameterGroupsPaginator returns a new ListDbParameterGroupsPaginator
func (*ListDbParameterGroupsPaginator) HasMorePages ¶
func (p *ListDbParameterGroupsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListDbParameterGroupsPaginator) NextPage ¶
func (p *ListDbParameterGroupsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListDbParameterGroupsOutput, error)
NextPage retrieves the next ListDbParameterGroups page.
type ListDbParameterGroupsPaginatorOptions ¶
type ListDbParameterGroupsPaginatorOptions struct { // The maximum number of items to return in the output. If the total number of // items available is more than the value specified, a NextToken is provided in the // output. To resume pagination, provide the NextToken value as argument of a // subsequent API invocation. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListDbParameterGroupsPaginatorOptions is the paginator options for ListDbParameterGroups
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) of the tagged resource. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // A list of tags used to categorize and track resources. Tags map[string]string // 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 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 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 ¶
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
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 { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UntagResourceInput ¶
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateDbInstanceInput ¶
type UpdateDbInstanceInput struct { // The id of the DB instance. // // This member is required. Identifier *string // The Timestream for InfluxDB DB instance type to run InfluxDB on. DbInstanceType types.DbInstanceType // The id of the DB parameter group to assign to your DB instance. DB parameter // groups specify how the database is configured. For example, DB parameter groups // can specify the limit for query concurrency. DbParameterGroupIdentifier *string // Specifies whether the DB instance will be deployed as a standalone instance or // with a Multi-AZ standby for high availability. DeploymentType types.DeploymentType // Configuration for sending InfluxDB engine logs to send to specified S3 bucket. LogDeliveryConfiguration *types.LogDeliveryConfiguration // contains filtered or unexported fields }
type UpdateDbInstanceOutput ¶
type UpdateDbInstanceOutput struct { // The Amazon Resource Name (ARN) of the DB instance. // // This member is required. Arn *string // A service-generated unique identifier. // // This member is required. Id *string // This customer-supplied name uniquely identifies the DB instance when // interacting with the Amazon Timestream for InfluxDB API and AWS CLI commands. // // This member is required. Name *string // A list of VPC subnet IDs associated with the DB instance. // // This member is required. VpcSubnetIds []string // The amount of storage allocated for your DB storage type (in gibibytes). AllocatedStorage *int32 // The Availability Zone in which the DB instance resides. AvailabilityZone *string // The Timestream for InfluxDB instance type that InfluxDB runs on. DbInstanceType types.DbInstanceType // The id of the DB parameter group assigned to your DB instance. DbParameterGroupIdentifier *string // The Timestream for InfluxDB DB storage type that InfluxDB stores data on. DbStorageType types.DbStorageType // Specifies whether the Timestream for InfluxDB is deployed as Single-AZ or with // a MultiAZ Standby for High availability. DeploymentType types.DeploymentType // The endpoint used to connect to InfluxDB. The default InfluxDB port is 8086. Endpoint *string // The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the // initial InfluxDB authorization parameters. The secret value is a JSON formatted // key-value pair holding InfluxDB authorization values: organization, bucket, // username, and password. InfluxAuthParametersSecretArn *string // Configuration for sending InfluxDB engine logs to send to specified S3 bucket. LogDeliveryConfiguration *types.LogDeliveryConfiguration // Indicates if the DB instance has a public IP to facilitate access. PubliclyAccessible *bool // The Availability Zone in which the standby instance is located when deploying // with a MultiAZ standby instance. SecondaryAvailabilityZone *string // The status of the DB instance. Status types.Status // A list of VPC security group IDs associated with the DB instance. VpcSecurityGroupIds []string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
- api_client.go
- api_op_CreateDbInstance.go
- api_op_CreateDbParameterGroup.go
- api_op_DeleteDbInstance.go
- api_op_GetDbInstance.go
- api_op_GetDbParameterGroup.go
- api_op_ListDbInstances.go
- api_op_ListDbParameterGroups.go
- api_op_ListTagsForResource.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateDbInstance.go
- auth.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- serializers.go
- validators.go