hatoba

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Overview

Package hatoba provides the API client, operations, and parameter types for the API.

Index

Constants

View Source
const ServiceAPIVersion = "v1"
View Source
const ServiceID = "hatoba"

Variables

This section is empty.

Functions

func NewDefaultEndpointResolver added in v1.14.0

func NewDefaultEndpointResolver() *internalendpoints.Resolver

NewDefaultEndpointResolver constructs a new service endpoint resolver

func WithAPIOptions added in v1.14.0

func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)

WithAPIOptions returns a functional option for setting the Client's APIOptions option.

func WithEndpointResolver added in v1.14.0

func WithEndpointResolver(v EndpointResolver) func(*Options)

WithEndpointResolver returns a functional option for setting the Client's EndpointResolver option.

Types

type AuthorizeFirewallGroupInput

type AuthorizeFirewallGroupInput struct {

	// This member is required.
	FirewallGroupName *string

	// This member is required.
	Rules []types.RequestRules
	// contains filtered or unexported fields
}

type AuthorizeFirewallGroupOutput

type AuthorizeFirewallGroupOutput struct {
	FirewallGroup *types.FirewallGroup

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type Client

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

Client provides the API client to make operations call for the API.

func New

func New(options Options, optFns ...func(*Options)) *Client

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 added in v1.14.0

func NewFromConfig(cfg nifcloud.Config, optFns ...func(*Options)) *Client

NewFromConfig returns a new client from the provided config.

func (*Client) AuthorizeFirewallGroup added in v1.14.0

func (c *Client) AuthorizeFirewallGroup(ctx context.Context, params *AuthorizeFirewallGroupInput, optFns ...func(*Options)) (*AuthorizeFirewallGroupOutput, error)

func (*Client) CreateCluster added in v1.14.0

func (c *Client) CreateCluster(ctx context.Context, params *CreateClusterInput, optFns ...func(*Options)) (*CreateClusterOutput, error)

func (*Client) CreateFirewallGroup added in v1.14.0

func (c *Client) CreateFirewallGroup(ctx context.Context, params *CreateFirewallGroupInput, optFns ...func(*Options)) (*CreateFirewallGroupOutput, error)

func (*Client) CreateNodePool added in v1.14.0

func (c *Client) CreateNodePool(ctx context.Context, params *CreateNodePoolInput, optFns ...func(*Options)) (*CreateNodePoolOutput, error)

func (*Client) CreateSnapshot added in v1.14.0

func (c *Client) CreateSnapshot(ctx context.Context, params *CreateSnapshotInput, optFns ...func(*Options)) (*CreateSnapshotOutput, error)

func (*Client) DeleteCluster added in v1.14.0

func (c *Client) DeleteCluster(ctx context.Context, params *DeleteClusterInput, optFns ...func(*Options)) (*DeleteClusterOutput, error)

func (*Client) DeleteClusters added in v1.14.0

func (c *Client) DeleteClusters(ctx context.Context, params *DeleteClustersInput, optFns ...func(*Options)) (*DeleteClustersOutput, error)

func (*Client) DeleteFirewallGroup added in v1.14.0

func (c *Client) DeleteFirewallGroup(ctx context.Context, params *DeleteFirewallGroupInput, optFns ...func(*Options)) (*DeleteFirewallGroupOutput, error)

func (*Client) DeleteFirewallGroups added in v1.14.0

func (c *Client) DeleteFirewallGroups(ctx context.Context, params *DeleteFirewallGroupsInput, optFns ...func(*Options)) (*DeleteFirewallGroupsOutput, error)

func (*Client) DeleteNodePool added in v1.14.0

func (c *Client) DeleteNodePool(ctx context.Context, params *DeleteNodePoolInput, optFns ...func(*Options)) (*DeleteNodePoolOutput, error)

func (*Client) DeleteNodePools added in v1.14.0

func (c *Client) DeleteNodePools(ctx context.Context, params *DeleteNodePoolsInput, optFns ...func(*Options)) (*DeleteNodePoolsOutput, error)

func (*Client) DeleteSnapshot added in v1.14.0

func (c *Client) DeleteSnapshot(ctx context.Context, params *DeleteSnapshotInput, optFns ...func(*Options)) (*DeleteSnapshotOutput, error)

func (*Client) DeleteSnapshots added in v1.14.0

func (c *Client) DeleteSnapshots(ctx context.Context, params *DeleteSnapshotsInput, optFns ...func(*Options)) (*DeleteSnapshotsOutput, error)

func (*Client) GetCluster added in v1.14.0

func (c *Client) GetCluster(ctx context.Context, params *GetClusterInput, optFns ...func(*Options)) (*GetClusterOutput, error)

func (*Client) GetClusterCredentials added in v1.14.0

func (c *Client) GetClusterCredentials(ctx context.Context, params *GetClusterCredentialsInput, optFns ...func(*Options)) (*GetClusterCredentialsOutput, error)

func (*Client) GetFirewallGroup added in v1.14.0

func (c *Client) GetFirewallGroup(ctx context.Context, params *GetFirewallGroupInput, optFns ...func(*Options)) (*GetFirewallGroupOutput, error)

func (*Client) GetLoadBalancer added in v1.14.0

func (c *Client) GetLoadBalancer(ctx context.Context, params *GetLoadBalancerInput, optFns ...func(*Options)) (*GetLoadBalancerOutput, error)

func (*Client) GetNodePool added in v1.14.0

func (c *Client) GetNodePool(ctx context.Context, params *GetNodePoolInput, optFns ...func(*Options)) (*GetNodePoolOutput, error)

func (*Client) GetServerConfig added in v1.14.0

func (c *Client) GetServerConfig(ctx context.Context, params *GetServerConfigInput, optFns ...func(*Options)) (*GetServerConfigOutput, error)

func (*Client) GetSnapshot added in v1.14.0

func (c *Client) GetSnapshot(ctx context.Context, params *GetSnapshotInput, optFns ...func(*Options)) (*GetSnapshotOutput, error)

func (*Client) ListClusters added in v1.14.0

func (c *Client) ListClusters(ctx context.Context, params *ListClustersInput, optFns ...func(*Options)) (*ListClustersOutput, error)

func (*Client) ListFirewallGroups added in v1.14.0

func (c *Client) ListFirewallGroups(ctx context.Context, params *ListFirewallGroupsInput, optFns ...func(*Options)) (*ListFirewallGroupsOutput, error)

func (*Client) ListLoadBalancers added in v1.14.0

func (c *Client) ListLoadBalancers(ctx context.Context, params *ListLoadBalancersInput, optFns ...func(*Options)) (*ListLoadBalancersOutput, error)

func (*Client) ListNodePools added in v1.14.0

func (c *Client) ListNodePools(ctx context.Context, params *ListNodePoolsInput, optFns ...func(*Options)) (*ListNodePoolsOutput, error)

func (*Client) ListSnapshots added in v1.14.0

func (c *Client) ListSnapshots(ctx context.Context, params *ListSnapshotsInput, optFns ...func(*Options)) (*ListSnapshotsOutput, error)

func (*Client) RestoreClusterFromSnapshot added in v1.14.0

func (c *Client) RestoreClusterFromSnapshot(ctx context.Context, params *RestoreClusterFromSnapshotInput, optFns ...func(*Options)) (*RestoreClusterFromSnapshotOutput, error)

func (*Client) RevokeFirewallGroup added in v1.14.0

func (c *Client) RevokeFirewallGroup(ctx context.Context, params *RevokeFirewallGroupInput, optFns ...func(*Options)) (*RevokeFirewallGroupOutput, error)

func (*Client) SetNodePoolSize added in v1.14.0

func (c *Client) SetNodePoolSize(ctx context.Context, params *SetNodePoolSizeInput, optFns ...func(*Options)) (*SetNodePoolSizeOutput, error)

func (*Client) UpdateCluster added in v1.14.0

func (c *Client) UpdateCluster(ctx context.Context, params *UpdateClusterInput, optFns ...func(*Options)) (*UpdateClusterOutput, error)

func (*Client) UpdateFirewallGroup added in v1.14.0

func (c *Client) UpdateFirewallGroup(ctx context.Context, params *UpdateFirewallGroupInput, optFns ...func(*Options)) (*UpdateFirewallGroupOutput, error)

func (*Client) UpdateSnapshot added in v1.14.0

func (c *Client) UpdateSnapshot(ctx context.Context, params *UpdateSnapshotInput, optFns ...func(*Options)) (*UpdateSnapshotOutput, error)

type ClusterDeletedWaiter added in v1.14.0

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

ClusterDeletedWaiter defines the waiters for ClusterDeleted

func NewClusterDeletedWaiter added in v1.14.0

func NewClusterDeletedWaiter(client GetClusterAPIClient, optFns ...func(*ClusterDeletedWaiterOptions)) *ClusterDeletedWaiter

NewClusterDeletedWaiter constructs a ClusterDeletedWaiter.

func (*ClusterDeletedWaiter) Wait added in v1.14.0

func (w *ClusterDeletedWaiter) Wait(ctx context.Context, params *GetClusterInput, maxWaitDur time.Duration, optFns ...func(*ClusterDeletedWaiterOptions)) error

Wait calls the waiter function for ClusterDeleted waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.

func (*ClusterDeletedWaiter) WaitForOutput added in v1.14.0

func (w *ClusterDeletedWaiter) WaitForOutput(ctx context.Context, params *GetClusterInput, maxWaitDur time.Duration, optFns ...func(*ClusterDeletedWaiterOptions)) (*GetClusterOutput, error)

WaitForOutput calls the waiter function for ClusterDeleted waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.

type ClusterDeletedWaiterOptions added in v1.14.0

type ClusterDeletedWaiterOptions 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

	// MinDelay is the minimum amount of time to delay between retries. If unset,
	// ClusterDeletedWaiter will use default minimum delay of 30 seconds. Note that
	// MinDelay must resolve to a value lesser than or equal to the MaxDelay.
	MinDelay time.Duration

	// MaxDelay is the maximum amount of time to delay between retries. If unset or set
	// to zero, ClusterDeletedWaiter will use default max delay of 120 seconds. Note
	// that MaxDelay must resolve to value greater than or equal to the MinDelay.
	MaxDelay time.Duration

	// LogWaitAttempts is used to enable logging for waiter retry attempts
	LogWaitAttempts bool

	// Retryable is function that can be used to override the service defined
	// waiter-behavior based on operation output, or returned error. This function is
	// used by the waiter to decide if a state is retryable or a terminal state. By
	// default service-modeled logic will populate this option. This option can thus be
	// used to define a custom waiter state with fall-back to service-modeled waiter
	// state mutators.The function returns an error in case of a failure state. In case
	// of retry state, this function returns a bool value of true and nil error, while
	// in case of success it returns a bool value of false and nil error.
	Retryable func(context.Context, *GetClusterInput, *GetClusterOutput, error) (bool, error)
}

ClusterDeletedWaiterOptions are waiter options for ClusterDeletedWaiter

type ClusterRunningWaiter added in v1.14.0

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

ClusterRunningWaiter defines the waiters for ClusterRunning

func NewClusterRunningWaiter added in v1.14.0

func NewClusterRunningWaiter(client GetClusterAPIClient, optFns ...func(*ClusterRunningWaiterOptions)) *ClusterRunningWaiter

NewClusterRunningWaiter constructs a ClusterRunningWaiter.

func (*ClusterRunningWaiter) Wait added in v1.14.0

func (w *ClusterRunningWaiter) Wait(ctx context.Context, params *GetClusterInput, maxWaitDur time.Duration, optFns ...func(*ClusterRunningWaiterOptions)) error

Wait calls the waiter function for ClusterRunning waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.

func (*ClusterRunningWaiter) WaitForOutput added in v1.14.0

func (w *ClusterRunningWaiter) WaitForOutput(ctx context.Context, params *GetClusterInput, maxWaitDur time.Duration, optFns ...func(*ClusterRunningWaiterOptions)) (*GetClusterOutput, error)

WaitForOutput calls the waiter function for ClusterRunning waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.

type ClusterRunningWaiterOptions added in v1.14.0

type ClusterRunningWaiterOptions 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

	// MinDelay is the minimum amount of time to delay between retries. If unset,
	// ClusterRunningWaiter will use default minimum delay of 60 seconds. Note that
	// MinDelay must resolve to a value lesser than or equal to the MaxDelay.
	MinDelay time.Duration

	// MaxDelay is the maximum amount of time to delay between retries. If unset or set
	// to zero, ClusterRunningWaiter will use default max delay of 120 seconds. Note
	// that MaxDelay must resolve to value greater than or equal to the MinDelay.
	MaxDelay time.Duration

	// LogWaitAttempts is used to enable logging for waiter retry attempts
	LogWaitAttempts bool

	// Retryable is function that can be used to override the service defined
	// waiter-behavior based on operation output, or returned error. This function is
	// used by the waiter to decide if a state is retryable or a terminal state. By
	// default service-modeled logic will populate this option. This option can thus be
	// used to define a custom waiter state with fall-back to service-modeled waiter
	// state mutators.The function returns an error in case of a failure state. In case
	// of retry state, this function returns a bool value of true and nil error, while
	// in case of success it returns a bool value of false and nil error.
	Retryable func(context.Context, *GetClusterInput, *GetClusterOutput, error) (bool, error)
}

ClusterRunningWaiterOptions are waiter options for ClusterRunningWaiter

type CreateClusterInput

type CreateClusterInput struct {

	// This member is required.
	Cluster *types.RequestCluster
	// contains filtered or unexported fields
}

type CreateClusterOutput

type CreateClusterOutput struct {
	Cluster *types.Cluster

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type CreateFirewallGroupInput

type CreateFirewallGroupInput struct {

	// This member is required.
	FirewallGroup *types.RequestFirewallGroup
	// contains filtered or unexported fields
}

type CreateFirewallGroupOutput

type CreateFirewallGroupOutput struct {
	FirewallGroup *types.FirewallGroup

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type CreateNodePoolInput

type CreateNodePoolInput struct {

	// This member is required.
	ClusterName *string

	// This member is required.
	NodePool *types.RequestNodePool
	// contains filtered or unexported fields
}

type CreateNodePoolOutput

type CreateNodePoolOutput struct {
	NodePool *types.NodePool

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type CreateSnapshotInput

type CreateSnapshotInput struct {

	// This member is required.
	Snapshot *types.RequestSnapshot
	// contains filtered or unexported fields
}

type CreateSnapshotOutput

type CreateSnapshotOutput struct {
	Snapshot *types.SnapshotOfCreateSnapshot

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteClusterInput

type DeleteClusterInput struct {

	// This member is required.
	ClusterName *string
	// contains filtered or unexported fields
}

type DeleteClusterOutput

type DeleteClusterOutput struct {
	Cluster *types.Cluster

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteClustersInput

type DeleteClustersInput struct {

	// This member is required.
	Names *string
	// contains filtered or unexported fields
}

type DeleteClustersOutput

type DeleteClustersOutput struct {
	Clusters []types.Clusters

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteFirewallGroupInput

type DeleteFirewallGroupInput struct {

	// This member is required.
	FirewallGroupName *string
	// contains filtered or unexported fields
}

type DeleteFirewallGroupOutput

type DeleteFirewallGroupOutput struct {
	FirewallGroup *types.FirewallGroup

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteFirewallGroupsInput

type DeleteFirewallGroupsInput struct {
	Names *string
	// contains filtered or unexported fields
}

type DeleteFirewallGroupsOutput

type DeleteFirewallGroupsOutput struct {
	FirewallGroups []types.FirewallGroups

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteNodePoolInput

type DeleteNodePoolInput struct {

	// This member is required.
	ClusterName *string

	// This member is required.
	NodePoolName *string
	// contains filtered or unexported fields
}

type DeleteNodePoolOutput

type DeleteNodePoolOutput struct {
	NodePool *types.NodePool

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteNodePoolsInput

type DeleteNodePoolsInput struct {

	// This member is required.
	ClusterName *string

	// This member is required.
	Names *string
	// contains filtered or unexported fields
}

type DeleteNodePoolsOutput

type DeleteNodePoolsOutput struct {
	NodePools []types.NodePools

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteSnapshotInput

type DeleteSnapshotInput struct {

	// This member is required.
	SnapshotName *string
	// contains filtered or unexported fields
}

type DeleteSnapshotOutput

type DeleteSnapshotOutput struct {
	Snapshot *types.SnapshotOfDeleteSnapshot

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteSnapshotsInput

type DeleteSnapshotsInput struct {
	Names *string
	// contains filtered or unexported fields
}

type DeleteSnapshotsOutput

type DeleteSnapshotsOutput struct {
	Snapshots []types.SnapshotsOfDeleteSnapshots

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type EndpointResolver added in v1.14.0

type EndpointResolver interface {
	ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}

EndpointResolver interface for resolving service endpoints.

func EndpointResolverFromURL added in v1.14.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 added in v1.14.0

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 added in v1.14.0

func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)

type EndpointResolverOptions added in v1.14.0

type EndpointResolverOptions = internalendpoints.Options

EndpointResolverOptions is the service endpoint resolver options

type FirewallRuleAuthorizedWaiter added in v1.14.0

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

FirewallRuleAuthorizedWaiter defines the waiters for FirewallRuleAuthorized

func NewFirewallRuleAuthorizedWaiter added in v1.14.0

func NewFirewallRuleAuthorizedWaiter(client GetFirewallGroupAPIClient, optFns ...func(*FirewallRuleAuthorizedWaiterOptions)) *FirewallRuleAuthorizedWaiter

NewFirewallRuleAuthorizedWaiter constructs a FirewallRuleAuthorizedWaiter.

func (*FirewallRuleAuthorizedWaiter) Wait added in v1.14.0

Wait calls the waiter function for FirewallRuleAuthorized waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.

func (*FirewallRuleAuthorizedWaiter) WaitForOutput added in v1.14.0

WaitForOutput calls the waiter function for FirewallRuleAuthorized waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.

type FirewallRuleAuthorizedWaiterOptions added in v1.14.0

type FirewallRuleAuthorizedWaiterOptions 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

	// MinDelay is the minimum amount of time to delay between retries. If unset,
	// FirewallRuleAuthorizedWaiter will use default minimum delay of 20 seconds. Note
	// that MinDelay must resolve to a value lesser than or equal to the MaxDelay.
	MinDelay time.Duration

	// MaxDelay is the maximum amount of time to delay between retries. If unset or set
	// to zero, FirewallRuleAuthorizedWaiter will use default max delay of 120 seconds.
	// Note that MaxDelay must resolve to value greater than or equal to the MinDelay.
	MaxDelay time.Duration

	// LogWaitAttempts is used to enable logging for waiter retry attempts
	LogWaitAttempts bool

	// Retryable is function that can be used to override the service defined
	// waiter-behavior based on operation output, or returned error. This function is
	// used by the waiter to decide if a state is retryable or a terminal state. By
	// default service-modeled logic will populate this option. This option can thus be
	// used to define a custom waiter state with fall-back to service-modeled waiter
	// state mutators.The function returns an error in case of a failure state. In case
	// of retry state, this function returns a bool value of true and nil error, while
	// in case of success it returns a bool value of false and nil error.
	Retryable func(context.Context, *GetFirewallGroupInput, *GetFirewallGroupOutput, error) (bool, error)
}

FirewallRuleAuthorizedWaiterOptions are waiter options for FirewallRuleAuthorizedWaiter

type GetClusterAPIClient added in v1.14.0

type GetClusterAPIClient interface {
	GetCluster(context.Context, *GetClusterInput, ...func(*Options)) (*GetClusterOutput, error)
}

GetClusterAPIClient is a client that implements the GetCluster operation.

type GetClusterCredentialsInput

type GetClusterCredentialsInput struct {

	// This member is required.
	ClusterName *string
	// contains filtered or unexported fields
}

type GetClusterCredentialsOutput

type GetClusterCredentialsOutput struct {
	Credentials *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetClusterInput

type GetClusterInput struct {

	// This member is required.
	ClusterName *string
	// contains filtered or unexported fields
}

type GetClusterOutput

type GetClusterOutput struct {
	Cluster *types.Cluster

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetFirewallGroupAPIClient added in v1.14.0

type GetFirewallGroupAPIClient interface {
	GetFirewallGroup(context.Context, *GetFirewallGroupInput, ...func(*Options)) (*GetFirewallGroupOutput, error)
}

GetFirewallGroupAPIClient is a client that implements the GetFirewallGroup operation.

type GetFirewallGroupInput

type GetFirewallGroupInput struct {

	// This member is required.
	FirewallGroupName *string
	// contains filtered or unexported fields
}

type GetFirewallGroupOutput

type GetFirewallGroupOutput struct {
	FirewallGroup *types.FirewallGroup

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetLoadBalancerInput added in v1.9.0

type GetLoadBalancerInput struct {

	// This member is required.
	InstancePort *int32

	// This member is required.
	LoadBalancerName *string

	// This member is required.
	LoadBalancerPort *int32
	// contains filtered or unexported fields
}

type GetLoadBalancerOutput added in v1.9.0

type GetLoadBalancerOutput struct {
	LoadBalancers *types.LoadBalancers

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetNodePoolInput

type GetNodePoolInput struct {

	// This member is required.
	ClusterName *string

	// This member is required.
	NodePoolName *string
	// contains filtered or unexported fields
}

type GetNodePoolOutput

type GetNodePoolOutput struct {
	NodePool *types.NodePool

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetServerConfigInput

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

type GetServerConfigOutput

type GetServerConfigOutput struct {
	ServerConfig *types.ServerConfig

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetSnapshotAPIClient added in v1.14.0

type GetSnapshotAPIClient interface {
	GetSnapshot(context.Context, *GetSnapshotInput, ...func(*Options)) (*GetSnapshotOutput, error)
}

GetSnapshotAPIClient is a client that implements the GetSnapshot operation.

type GetSnapshotInput

type GetSnapshotInput struct {

	// This member is required.
	SnapshotName *string
	// contains filtered or unexported fields
}

type GetSnapshotOutput

type GetSnapshotOutput struct {
	Snapshot *types.Snapshot

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type HTTPClient added in v1.14.0

type HTTPClient interface {
	Do(*http.Request) (*http.Response, error)
}

type HTTPSignerV4 added in v1.14.0

type HTTPSignerV4 interface {
	SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time, optFns ...func(*v4.SignerOptions)) error
}

type ListClustersInput

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

type ListClustersOutput

type ListClustersOutput struct {
	Clusters []types.Clusters

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListFirewallGroupsInput

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

type ListFirewallGroupsOutput

type ListFirewallGroupsOutput struct {
	FirewallGroups []types.FirewallGroups

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListLoadBalancersInput added in v1.9.0

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

type ListLoadBalancersOutput added in v1.9.0

type ListLoadBalancersOutput struct {
	LoadBalancers []types.LoadBalancersOfListLoadBalancers

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListNodePoolsInput

type ListNodePoolsInput struct {

	// This member is required.
	ClusterName *string
	// contains filtered or unexported fields
}

type ListNodePoolsOutput

type ListNodePoolsOutput struct {
	NodePools []types.NodePools

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListSnapshotsInput

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

type ListSnapshotsOutput

type ListSnapshotsOutput struct {
	Snapshots []types.Snapshots

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type Options added in v1.14.0

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

	// 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.
	EndpointResolver EndpointResolver

	// 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. 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. 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
	// contains filtered or unexported fields
}

func (Options) Copy added in v1.14.0

func (o Options) Copy() Options

Copy creates a clone where the APIOptions list is deep copied.

type ResolveEndpoint added in v1.14.0

type ResolveEndpoint struct {
	Resolver EndpointResolver
	Options  EndpointResolverOptions
}

func (*ResolveEndpoint) HandleSerialize added in v1.14.0

func (*ResolveEndpoint) ID added in v1.14.0

func (*ResolveEndpoint) ID() string

type RestoreClusterFromSnapshotInput

type RestoreClusterFromSnapshotInput struct {

	// This member is required.
	Cluster *types.RequestClusterOfRestoreClusterFromSnapshot

	// This member is required.
	SnapshotName *string
	// contains filtered or unexported fields
}

type RestoreClusterFromSnapshotOutput

type RestoreClusterFromSnapshotOutput struct {
	Cluster *types.Cluster

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type RevokeFirewallGroupInput

type RevokeFirewallGroupInput struct {

	// This member is required.
	FirewallGroupName *string

	Ids *string
	// contains filtered or unexported fields
}

type RevokeFirewallGroupOutput

type RevokeFirewallGroupOutput struct {
	FirewallGroup *types.FirewallGroup

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type SetNodePoolSizeInput

type SetNodePoolSizeInput struct {

	// This member is required.
	ClusterName *string

	// This member is required.
	NodeCount *int32

	// This member is required.
	NodePoolName *string
	// contains filtered or unexported fields
}

type SetNodePoolSizeOutput

type SetNodePoolSizeOutput struct {
	NodePool *types.NodePool

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type SnapshotAvailableWaiter added in v1.14.0

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

SnapshotAvailableWaiter defines the waiters for SnapshotAvailable

func NewSnapshotAvailableWaiter added in v1.14.0

func NewSnapshotAvailableWaiter(client GetSnapshotAPIClient, optFns ...func(*SnapshotAvailableWaiterOptions)) *SnapshotAvailableWaiter

NewSnapshotAvailableWaiter constructs a SnapshotAvailableWaiter.

func (*SnapshotAvailableWaiter) Wait added in v1.14.0

func (w *SnapshotAvailableWaiter) Wait(ctx context.Context, params *GetSnapshotInput, maxWaitDur time.Duration, optFns ...func(*SnapshotAvailableWaiterOptions)) error

Wait calls the waiter function for SnapshotAvailable waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.

func (*SnapshotAvailableWaiter) WaitForOutput added in v1.14.0

func (w *SnapshotAvailableWaiter) WaitForOutput(ctx context.Context, params *GetSnapshotInput, maxWaitDur time.Duration, optFns ...func(*SnapshotAvailableWaiterOptions)) (*GetSnapshotOutput, error)

WaitForOutput calls the waiter function for SnapshotAvailable waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.

type SnapshotAvailableWaiterOptions added in v1.14.0

type SnapshotAvailableWaiterOptions 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

	// MinDelay is the minimum amount of time to delay between retries. If unset,
	// SnapshotAvailableWaiter will use default minimum delay of 20 seconds. Note that
	// MinDelay must resolve to a value lesser than or equal to the MaxDelay.
	MinDelay time.Duration

	// MaxDelay is the maximum amount of time to delay between retries. If unset or set
	// to zero, SnapshotAvailableWaiter will use default max delay of 120 seconds. Note
	// that MaxDelay must resolve to value greater than or equal to the MinDelay.
	MaxDelay time.Duration

	// LogWaitAttempts is used to enable logging for waiter retry attempts
	LogWaitAttempts bool

	// Retryable is function that can be used to override the service defined
	// waiter-behavior based on operation output, or returned error. This function is
	// used by the waiter to decide if a state is retryable or a terminal state. By
	// default service-modeled logic will populate this option. This option can thus be
	// used to define a custom waiter state with fall-back to service-modeled waiter
	// state mutators.The function returns an error in case of a failure state. In case
	// of retry state, this function returns a bool value of true and nil error, while
	// in case of success it returns a bool value of false and nil error.
	Retryable func(context.Context, *GetSnapshotInput, *GetSnapshotOutput, error) (bool, error)
}

SnapshotAvailableWaiterOptions are waiter options for SnapshotAvailableWaiter

type UpdateClusterInput

type UpdateClusterInput struct {

	// This member is required.
	ClusterName *string

	Cluster *types.RequestClusterOfUpdateCluster
	// contains filtered or unexported fields
}

type UpdateClusterOutput

type UpdateClusterOutput struct {
	Cluster *types.Cluster

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateFirewallGroupInput

type UpdateFirewallGroupInput struct {

	// This member is required.
	FirewallGroupName *string

	FirewallGroup *types.RequestFirewallGroupOfUpdateFirewallGroup
	// contains filtered or unexported fields
}

type UpdateFirewallGroupOutput

type UpdateFirewallGroupOutput struct {
	FirewallGroup *types.FirewallGroup

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateSnapshotInput

type UpdateSnapshotInput struct {

	// This member is required.
	SnapshotName *string

	Snapshot *types.RequestSnapshotOfUpdateSnapshot
	// contains filtered or unexported fields
}

type UpdateSnapshotOutput

type UpdateSnapshotOutput struct {
	Snapshot *types.SnapshotOfUpdateSnapshot

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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