nas

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: 40 Imported by: 5

Documentation

Overview

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

Index

Constants

View Source
const ServiceAPIVersion = "N2016-02-24"
View Source
const ServiceID = "nas"

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 AuthorizeNASSecurityGroupIngressInput

type AuthorizeNASSecurityGroupIngressInput struct {

	// This member is required.
	NASSecurityGroupName *string

	CIDRIP *string

	SecurityGroupName *string
	// contains filtered or unexported fields
}

type AuthorizeNASSecurityGroupIngressOutput

type AuthorizeNASSecurityGroupIngressOutput struct {
	NASSecurityGroup *types.NASSecurityGroup

	ResponseMetadata *types.ResponseMetadata

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

type ClearNASSessionInput

type ClearNASSessionInput struct {

	// This member is required.
	NASInstanceIdentifier *string

	SessionClearType types.SessionClearTypeOfClearNASSessionRequest
	// contains filtered or unexported fields
}

type ClearNASSessionOutput

type ClearNASSessionOutput struct {
	NASInstance *types.NASInstance

	ResponseMetadata *types.ResponseMetadata

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

func (c *Client) AuthorizeNASSecurityGroupIngress(ctx context.Context, params *AuthorizeNASSecurityGroupIngressInput, optFns ...func(*Options)) (*AuthorizeNASSecurityGroupIngressOutput, error)

func (*Client) ClearNASSession added in v1.14.0

func (c *Client) ClearNASSession(ctx context.Context, params *ClearNASSessionInput, optFns ...func(*Options)) (*ClearNASSessionOutput, error)

func (*Client) CreateNASInstance added in v1.14.0

func (c *Client) CreateNASInstance(ctx context.Context, params *CreateNASInstanceInput, optFns ...func(*Options)) (*CreateNASInstanceOutput, error)

func (*Client) CreateNASSecurityGroup added in v1.14.0

func (c *Client) CreateNASSecurityGroup(ctx context.Context, params *CreateNASSecurityGroupInput, optFns ...func(*Options)) (*CreateNASSecurityGroupOutput, error)

func (*Client) DeleteNASInstance added in v1.14.0

func (c *Client) DeleteNASInstance(ctx context.Context, params *DeleteNASInstanceInput, optFns ...func(*Options)) (*DeleteNASInstanceOutput, error)

func (*Client) DeleteNASSecurityGroup added in v1.14.0

func (c *Client) DeleteNASSecurityGroup(ctx context.Context, params *DeleteNASSecurityGroupInput, optFns ...func(*Options)) (*DeleteNASSecurityGroupOutput, error)

func (*Client) DescribeNASInstances added in v1.14.0

func (c *Client) DescribeNASInstances(ctx context.Context, params *DescribeNASInstancesInput, optFns ...func(*Options)) (*DescribeNASInstancesOutput, error)

func (*Client) DescribeNASSecurityGroups added in v1.14.0

func (c *Client) DescribeNASSecurityGroups(ctx context.Context, params *DescribeNASSecurityGroupsInput, optFns ...func(*Options)) (*DescribeNASSecurityGroupsOutput, error)

func (*Client) GetMetricStatistics added in v1.14.0

func (c *Client) GetMetricStatistics(ctx context.Context, params *GetMetricStatisticsInput, optFns ...func(*Options)) (*GetMetricStatisticsOutput, error)

func (*Client) ModifyNASInstance added in v1.14.0

func (c *Client) ModifyNASInstance(ctx context.Context, params *ModifyNASInstanceInput, optFns ...func(*Options)) (*ModifyNASInstanceOutput, error)

func (*Client) ModifyNASSecurityGroup added in v1.14.0

func (c *Client) ModifyNASSecurityGroup(ctx context.Context, params *ModifyNASSecurityGroupInput, optFns ...func(*Options)) (*ModifyNASSecurityGroupOutput, error)

func (*Client) RevokeNASSecurityGroupIngress added in v1.14.0

func (c *Client) RevokeNASSecurityGroupIngress(ctx context.Context, params *RevokeNASSecurityGroupIngressInput, optFns ...func(*Options)) (*RevokeNASSecurityGroupIngressOutput, error)

func (*Client) UpgradeNASInstance added in v1.14.0

func (c *Client) UpgradeNASInstance(ctx context.Context, params *UpgradeNASInstanceInput, optFns ...func(*Options)) (*UpgradeNASInstanceOutput, error)

type CreateNASInstanceInput

type CreateNASInstanceInput struct {

	// This member is required.
	AllocatedStorage *int32

	// This member is required.
	NASInstanceIdentifier *string

	// This member is required.
	Protocol types.ProtocolOfCreateNASInstanceRequest

	AvailabilityZone *string

	MasterPrivateAddress *string

	MasterUserPassword *string

	MasterUsername *string

	NASInstanceDescription *string

	NASInstanceType *int32

	NASSecurityGroups []string

	NetworkId *string
	// contains filtered or unexported fields
}

type CreateNASInstanceOutput

type CreateNASInstanceOutput struct {
	NASInstance *types.NASInstance

	ResponseMetadata *types.ResponseMetadata

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

type CreateNASSecurityGroupInput

type CreateNASSecurityGroupInput struct {

	// This member is required.
	AvailabilityZone *string

	// This member is required.
	NASSecurityGroupName *string

	NASSecurityGroupDescription *string
	// contains filtered or unexported fields
}

type CreateNASSecurityGroupOutput

type CreateNASSecurityGroupOutput struct {
	NASSecurityGroup *types.NASSecurityGroup

	ResponseMetadata *types.ResponseMetadata

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

type DeleteNASInstanceInput

type DeleteNASInstanceInput struct {

	// This member is required.
	NASInstanceIdentifier *string

	DirectoryServiceAdministratorName *string

	DirectoryServiceAdministratorPassword *string
	// contains filtered or unexported fields
}

type DeleteNASInstanceOutput

type DeleteNASInstanceOutput struct {
	NASInstance *types.NASInstance

	ResponseMetadata *types.ResponseMetadata

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

type DeleteNASSecurityGroupInput

type DeleteNASSecurityGroupInput struct {

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

type DeleteNASSecurityGroupOutput

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

type DescribeNASInstancesAPIClient added in v1.14.0

type DescribeNASInstancesAPIClient interface {
	DescribeNASInstances(context.Context, *DescribeNASInstancesInput, ...func(*Options)) (*DescribeNASInstancesOutput, error)
}

DescribeNASInstancesAPIClient is a client that implements the DescribeNASInstances operation.

type DescribeNASInstancesInput

type DescribeNASInstancesInput struct {
	NASInstanceIdentifier *string
	// contains filtered or unexported fields
}

type DescribeNASInstancesOutput

type DescribeNASInstancesOutput struct {
	NASInstances []types.NASInstances

	ResponseMetadata *types.ResponseMetadata

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

type DescribeNASSecurityGroupsAPIClient added in v1.14.0

type DescribeNASSecurityGroupsAPIClient interface {
	DescribeNASSecurityGroups(context.Context, *DescribeNASSecurityGroupsInput, ...func(*Options)) (*DescribeNASSecurityGroupsOutput, error)
}

DescribeNASSecurityGroupsAPIClient is a client that implements the DescribeNASSecurityGroups operation.

type DescribeNASSecurityGroupsInput

type DescribeNASSecurityGroupsInput struct {
	NASSecurityGroupName *string
	// contains filtered or unexported fields
}

type DescribeNASSecurityGroupsOutput

type DescribeNASSecurityGroupsOutput struct {
	NASSecurityGroups []types.NASSecurityGroupsOfDescribeNASSecurityGroups

	ResponseMetadata *types.ResponseMetadata

	// 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 GetMetricStatisticsInput

type GetMetricStatisticsInput struct {

	// This member is required.
	Dimensions []types.RequestDimensions

	// This member is required.
	MetricName types.MetricNameOfGetMetricStatisticsRequest

	EndTime *time.Time

	StartTime *time.Time
	// contains filtered or unexported fields
}

type GetMetricStatisticsOutput

type GetMetricStatisticsOutput struct {
	Datapoints []types.Datapoints

	Label *string

	ResponseMetadata *types.ResponseMetadata

	// 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 ModifyNASInstanceInput

type ModifyNASInstanceInput struct {

	// This member is required.
	NASInstanceIdentifier *string

	AllocatedStorage *int32

	AuthenticationType *int32

	DirectoryServiceAdministratorName *string

	DirectoryServiceAdministratorPassword *string

	DirectoryServiceDomainName *string

	DomainControllers []types.RequestDomainControllers

	MasterPrivateAddress *string

	MasterUserPassword *string

	NASInstanceDescription *string

	NASSecurityGroups []string

	NetworkId *string

	NewNASInstanceIdentifier *string

	NoRootSquash *bool
	// contains filtered or unexported fields
}

type ModifyNASInstanceOutput

type ModifyNASInstanceOutput struct {
	NASInstance *types.NASInstance

	ResponseMetadata *types.ResponseMetadata

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

type ModifyNASSecurityGroupInput

type ModifyNASSecurityGroupInput struct {

	// This member is required.
	NASSecurityGroupName *string

	NASSecurityGroupDescription *string

	NewNASSecurityGroupName *string
	// contains filtered or unexported fields
}

type ModifyNASSecurityGroupOutput

type ModifyNASSecurityGroupOutput struct {
	NASSecurityGroup *types.NASSecurityGroup

	ResponseMetadata *types.ResponseMetadata

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

type NASInstanceAvailableWaiter added in v1.14.0

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

NASInstanceAvailableWaiter defines the waiters for NASInstanceAvailable

func NewNASInstanceAvailableWaiter added in v1.14.0

func NewNASInstanceAvailableWaiter(client DescribeNASInstancesAPIClient, optFns ...func(*NASInstanceAvailableWaiterOptions)) *NASInstanceAvailableWaiter

NewNASInstanceAvailableWaiter constructs a NASInstanceAvailableWaiter.

func (*NASInstanceAvailableWaiter) Wait added in v1.14.0

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

func (*NASInstanceAvailableWaiter) WaitForOutput added in v1.14.0

WaitForOutput calls the waiter function for NASInstanceAvailable 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 NASInstanceAvailableWaiterOptions added in v1.14.0

type NASInstanceAvailableWaiterOptions 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,
	// NASInstanceAvailableWaiter will use default minimum delay of 40 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, NASInstanceAvailableWaiter 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, *DescribeNASInstancesInput, *DescribeNASInstancesOutput, error) (bool, error)
}

NASInstanceAvailableWaiterOptions are waiter options for NASInstanceAvailableWaiter

type NASInstanceDeletedWaiter added in v1.14.0

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

NASInstanceDeletedWaiter defines the waiters for NASInstanceDeleted

func NewNASInstanceDeletedWaiter added in v1.14.0

func NewNASInstanceDeletedWaiter(client DescribeNASInstancesAPIClient, optFns ...func(*NASInstanceDeletedWaiterOptions)) *NASInstanceDeletedWaiter

NewNASInstanceDeletedWaiter constructs a NASInstanceDeletedWaiter.

func (*NASInstanceDeletedWaiter) Wait added in v1.14.0

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

func (*NASInstanceDeletedWaiter) WaitForOutput added in v1.14.0

WaitForOutput calls the waiter function for NASInstanceDeleted 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 NASInstanceDeletedWaiterOptions added in v1.14.0

type NASInstanceDeletedWaiterOptions 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,
	// NASInstanceDeletedWaiter will use default minimum delay of 40 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, NASInstanceDeletedWaiter 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, *DescribeNASInstancesInput, *DescribeNASInstancesOutput, error) (bool, error)
}

NASInstanceDeletedWaiterOptions are waiter options for NASInstanceDeletedWaiter

type NASInstanceExistsWaiter added in v1.14.0

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

NASInstanceExistsWaiter defines the waiters for NASInstanceExists

func NewNASInstanceExistsWaiter added in v1.14.0

func NewNASInstanceExistsWaiter(client DescribeNASInstancesAPIClient, optFns ...func(*NASInstanceExistsWaiterOptions)) *NASInstanceExistsWaiter

NewNASInstanceExistsWaiter constructs a NASInstanceExistsWaiter.

func (*NASInstanceExistsWaiter) Wait added in v1.14.0

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

func (*NASInstanceExistsWaiter) WaitForOutput added in v1.14.0

WaitForOutput calls the waiter function for NASInstanceExists 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 NASInstanceExistsWaiterOptions added in v1.14.0

type NASInstanceExistsWaiterOptions 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,
	// NASInstanceExistsWaiter will use default minimum delay of 40 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, NASInstanceExistsWaiter 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, *DescribeNASInstancesInput, *DescribeNASInstancesOutput, error) (bool, error)
}

NASInstanceExistsWaiterOptions are waiter options for NASInstanceExistsWaiter

type NASInstanceFailedWaiter added in v1.14.0

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

NASInstanceFailedWaiter defines the waiters for NASInstanceFailed

func NewNASInstanceFailedWaiter added in v1.14.0

func NewNASInstanceFailedWaiter(client DescribeNASInstancesAPIClient, optFns ...func(*NASInstanceFailedWaiterOptions)) *NASInstanceFailedWaiter

NewNASInstanceFailedWaiter constructs a NASInstanceFailedWaiter.

func (*NASInstanceFailedWaiter) Wait added in v1.14.0

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

func (*NASInstanceFailedWaiter) WaitForOutput added in v1.14.0

WaitForOutput calls the waiter function for NASInstanceFailed 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 NASInstanceFailedWaiterOptions added in v1.14.0

type NASInstanceFailedWaiterOptions 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,
	// NASInstanceFailedWaiter will use default minimum delay of 40 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, NASInstanceFailedWaiter 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, *DescribeNASInstancesInput, *DescribeNASInstancesOutput, error) (bool, error)
}

NASInstanceFailedWaiterOptions are waiter options for NASInstanceFailedWaiter

type NASInstanceStorageFullWaiter added in v1.14.0

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

NASInstanceStorageFullWaiter defines the waiters for NASInstanceStorageFull

func NewNASInstanceStorageFullWaiter added in v1.14.0

func NewNASInstanceStorageFullWaiter(client DescribeNASInstancesAPIClient, optFns ...func(*NASInstanceStorageFullWaiterOptions)) *NASInstanceStorageFullWaiter

NewNASInstanceStorageFullWaiter constructs a NASInstanceStorageFullWaiter.

func (*NASInstanceStorageFullWaiter) Wait added in v1.14.0

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

func (*NASInstanceStorageFullWaiter) WaitForOutput added in v1.14.0

WaitForOutput calls the waiter function for NASInstanceStorageFull 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 NASInstanceStorageFullWaiterOptions added in v1.14.0

type NASInstanceStorageFullWaiterOptions 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,
	// NASInstanceStorageFullWaiter will use default minimum delay of 40 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, NASInstanceStorageFullWaiter 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, *DescribeNASInstancesInput, *DescribeNASInstancesOutput, error) (bool, error)
}

NASInstanceStorageFullWaiterOptions are waiter options for NASInstanceStorageFullWaiter

type NASSecurityGroupDeletedWaiter added in v1.14.0

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

NASSecurityGroupDeletedWaiter defines the waiters for NASSecurityGroupDeleted

func NewNASSecurityGroupDeletedWaiter added in v1.14.0

func NewNASSecurityGroupDeletedWaiter(client DescribeNASSecurityGroupsAPIClient, optFns ...func(*NASSecurityGroupDeletedWaiterOptions)) *NASSecurityGroupDeletedWaiter

NewNASSecurityGroupDeletedWaiter constructs a NASSecurityGroupDeletedWaiter.

func (*NASSecurityGroupDeletedWaiter) Wait added in v1.14.0

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

func (*NASSecurityGroupDeletedWaiter) WaitForOutput added in v1.14.0

WaitForOutput calls the waiter function for NASSecurityGroupDeleted 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 NASSecurityGroupDeletedWaiterOptions added in v1.14.0

type NASSecurityGroupDeletedWaiterOptions 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,
	// NASSecurityGroupDeletedWaiter 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, NASSecurityGroupDeletedWaiter 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, *DescribeNASSecurityGroupsInput, *DescribeNASSecurityGroupsOutput, error) (bool, error)
}

NASSecurityGroupDeletedWaiterOptions are waiter options for NASSecurityGroupDeletedWaiter

type NASSecurityGroupExistsWaiter added in v1.14.0

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

NASSecurityGroupExistsWaiter defines the waiters for NASSecurityGroupExists

func NewNASSecurityGroupExistsWaiter added in v1.14.0

func NewNASSecurityGroupExistsWaiter(client DescribeNASSecurityGroupsAPIClient, optFns ...func(*NASSecurityGroupExistsWaiterOptions)) *NASSecurityGroupExistsWaiter

NewNASSecurityGroupExistsWaiter constructs a NASSecurityGroupExistsWaiter.

func (*NASSecurityGroupExistsWaiter) Wait added in v1.14.0

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

func (*NASSecurityGroupExistsWaiter) WaitForOutput added in v1.14.0

WaitForOutput calls the waiter function for NASSecurityGroupExists 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 NASSecurityGroupExistsWaiterOptions added in v1.14.0

type NASSecurityGroupExistsWaiterOptions 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,
	// NASSecurityGroupExistsWaiter 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, NASSecurityGroupExistsWaiter 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, *DescribeNASSecurityGroupsInput, *DescribeNASSecurityGroupsOutput, error) (bool, error)
}

NASSecurityGroupExistsWaiterOptions are waiter options for NASSecurityGroupExistsWaiter

type NASSecurityGroupIPRangesAuthFailedWaiter added in v1.14.0

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

NASSecurityGroupIPRangesAuthFailedWaiter defines the waiters for NASSecurityGroupIPRangesAuthFailed

func NewNASSecurityGroupIPRangesAuthFailedWaiter added in v1.14.0

NewNASSecurityGroupIPRangesAuthFailedWaiter constructs a NASSecurityGroupIPRangesAuthFailedWaiter.

func (*NASSecurityGroupIPRangesAuthFailedWaiter) Wait added in v1.14.0

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

func (*NASSecurityGroupIPRangesAuthFailedWaiter) WaitForOutput added in v1.14.0

WaitForOutput calls the waiter function for NASSecurityGroupIPRangesAuthFailed 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 NASSecurityGroupIPRangesAuthFailedWaiterOptions added in v1.14.0

type NASSecurityGroupIPRangesAuthFailedWaiterOptions 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,
	// NASSecurityGroupIPRangesAuthFailedWaiter 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, NASSecurityGroupIPRangesAuthFailedWaiter 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, *DescribeNASSecurityGroupsInput, *DescribeNASSecurityGroupsOutput, error) (bool, error)
}

NASSecurityGroupIPRangesAuthFailedWaiterOptions are waiter options for NASSecurityGroupIPRangesAuthFailedWaiter

type NASSecurityGroupIPRangesAuthorizedWaiter added in v1.14.0

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

NASSecurityGroupIPRangesAuthorizedWaiter defines the waiters for NASSecurityGroupIPRangesAuthorized

func NewNASSecurityGroupIPRangesAuthorizedWaiter added in v1.14.0

NewNASSecurityGroupIPRangesAuthorizedWaiter constructs a NASSecurityGroupIPRangesAuthorizedWaiter.

func (*NASSecurityGroupIPRangesAuthorizedWaiter) Wait added in v1.14.0

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

func (*NASSecurityGroupIPRangesAuthorizedWaiter) WaitForOutput added in v1.14.0

WaitForOutput calls the waiter function for NASSecurityGroupIPRangesAuthorized 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 NASSecurityGroupIPRangesAuthorizedWaiterOptions added in v1.14.0

type NASSecurityGroupIPRangesAuthorizedWaiterOptions 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,
	// NASSecurityGroupIPRangesAuthorizedWaiter 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, NASSecurityGroupIPRangesAuthorizedWaiter 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, *DescribeNASSecurityGroupsInput, *DescribeNASSecurityGroupsOutput, error) (bool, error)
}

NASSecurityGroupIPRangesAuthorizedWaiterOptions are waiter options for NASSecurityGroupIPRangesAuthorizedWaiter

type NASSecurityGroupIPRangesEmptiedWaiter added in v1.14.0

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

NASSecurityGroupIPRangesEmptiedWaiter defines the waiters for NASSecurityGroupIPRangesEmptied

func NewNASSecurityGroupIPRangesEmptiedWaiter added in v1.14.0

func NewNASSecurityGroupIPRangesEmptiedWaiter(client DescribeNASSecurityGroupsAPIClient, optFns ...func(*NASSecurityGroupIPRangesEmptiedWaiterOptions)) *NASSecurityGroupIPRangesEmptiedWaiter

NewNASSecurityGroupIPRangesEmptiedWaiter constructs a NASSecurityGroupIPRangesEmptiedWaiter.

func (*NASSecurityGroupIPRangesEmptiedWaiter) Wait added in v1.14.0

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

func (*NASSecurityGroupIPRangesEmptiedWaiter) WaitForOutput added in v1.14.0

WaitForOutput calls the waiter function for NASSecurityGroupIPRangesEmptied 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 NASSecurityGroupIPRangesEmptiedWaiterOptions added in v1.14.0

type NASSecurityGroupIPRangesEmptiedWaiterOptions 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,
	// NASSecurityGroupIPRangesEmptiedWaiter 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, NASSecurityGroupIPRangesEmptiedWaiter 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, *DescribeNASSecurityGroupsInput, *DescribeNASSecurityGroupsOutput, error) (bool, error)
}

NASSecurityGroupIPRangesEmptiedWaiterOptions are waiter options for NASSecurityGroupIPRangesEmptiedWaiter

type NASSecurityGroupIPRangesRevokeFailedWaiter added in v1.14.0

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

NASSecurityGroupIPRangesRevokeFailedWaiter defines the waiters for NASSecurityGroupIPRangesRevokeFailed

func NewNASSecurityGroupIPRangesRevokeFailedWaiter added in v1.14.0

NewNASSecurityGroupIPRangesRevokeFailedWaiter constructs a NASSecurityGroupIPRangesRevokeFailedWaiter.

func (*NASSecurityGroupIPRangesRevokeFailedWaiter) Wait added in v1.14.0

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

func (*NASSecurityGroupIPRangesRevokeFailedWaiter) WaitForOutput added in v1.14.0

WaitForOutput calls the waiter function for NASSecurityGroupIPRangesRevokeFailed 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 NASSecurityGroupIPRangesRevokeFailedWaiterOptions added in v1.14.0

type NASSecurityGroupIPRangesRevokeFailedWaiterOptions 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,
	// NASSecurityGroupIPRangesRevokeFailedWaiter 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, NASSecurityGroupIPRangesRevokeFailedWaiter 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, *DescribeNASSecurityGroupsInput, *DescribeNASSecurityGroupsOutput, error) (bool, error)
}

NASSecurityGroupIPRangesRevokeFailedWaiterOptions are waiter options for NASSecurityGroupIPRangesRevokeFailedWaiter

type NASSecurityGroupSecurityGroupsAuthFailedWaiter added in v1.14.0

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

NASSecurityGroupSecurityGroupsAuthFailedWaiter defines the waiters for NASSecurityGroupSecurityGroupsAuthFailed

func NewNASSecurityGroupSecurityGroupsAuthFailedWaiter added in v1.14.0

NewNASSecurityGroupSecurityGroupsAuthFailedWaiter constructs a NASSecurityGroupSecurityGroupsAuthFailedWaiter.

func (*NASSecurityGroupSecurityGroupsAuthFailedWaiter) Wait added in v1.14.0

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

func (*NASSecurityGroupSecurityGroupsAuthFailedWaiter) WaitForOutput added in v1.14.0

WaitForOutput calls the waiter function for NASSecurityGroupSecurityGroupsAuthFailed 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 NASSecurityGroupSecurityGroupsAuthFailedWaiterOptions added in v1.14.0

type NASSecurityGroupSecurityGroupsAuthFailedWaiterOptions 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,
	// NASSecurityGroupSecurityGroupsAuthFailedWaiter 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, NASSecurityGroupSecurityGroupsAuthFailedWaiter 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, *DescribeNASSecurityGroupsInput, *DescribeNASSecurityGroupsOutput, error) (bool, error)
}

NASSecurityGroupSecurityGroupsAuthFailedWaiterOptions are waiter options for NASSecurityGroupSecurityGroupsAuthFailedWaiter

type NASSecurityGroupSecurityGroupsAuthorizedWaiter added in v1.14.0

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

NASSecurityGroupSecurityGroupsAuthorizedWaiter defines the waiters for NASSecurityGroupSecurityGroupsAuthorized

func NewNASSecurityGroupSecurityGroupsAuthorizedWaiter added in v1.14.0

NewNASSecurityGroupSecurityGroupsAuthorizedWaiter constructs a NASSecurityGroupSecurityGroupsAuthorizedWaiter.

func (*NASSecurityGroupSecurityGroupsAuthorizedWaiter) Wait added in v1.14.0

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

func (*NASSecurityGroupSecurityGroupsAuthorizedWaiter) WaitForOutput added in v1.14.0

WaitForOutput calls the waiter function for NASSecurityGroupSecurityGroupsAuthorized 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 NASSecurityGroupSecurityGroupsAuthorizedWaiterOptions added in v1.14.0

type NASSecurityGroupSecurityGroupsAuthorizedWaiterOptions 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,
	// NASSecurityGroupSecurityGroupsAuthorizedWaiter 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, NASSecurityGroupSecurityGroupsAuthorizedWaiter 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, *DescribeNASSecurityGroupsInput, *DescribeNASSecurityGroupsOutput, error) (bool, error)
}

NASSecurityGroupSecurityGroupsAuthorizedWaiterOptions are waiter options for NASSecurityGroupSecurityGroupsAuthorizedWaiter

type NASSecurityGroupSecurityGroupsEmptiedWaiter added in v1.14.0

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

NASSecurityGroupSecurityGroupsEmptiedWaiter defines the waiters for NASSecurityGroupSecurityGroupsEmptied

func NewNASSecurityGroupSecurityGroupsEmptiedWaiter added in v1.14.0

NewNASSecurityGroupSecurityGroupsEmptiedWaiter constructs a NASSecurityGroupSecurityGroupsEmptiedWaiter.

func (*NASSecurityGroupSecurityGroupsEmptiedWaiter) Wait added in v1.14.0

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

func (*NASSecurityGroupSecurityGroupsEmptiedWaiter) WaitForOutput added in v1.14.0

WaitForOutput calls the waiter function for NASSecurityGroupSecurityGroupsEmptied 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 NASSecurityGroupSecurityGroupsEmptiedWaiterOptions added in v1.14.0

type NASSecurityGroupSecurityGroupsEmptiedWaiterOptions 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,
	// NASSecurityGroupSecurityGroupsEmptiedWaiter 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, NASSecurityGroupSecurityGroupsEmptiedWaiter 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, *DescribeNASSecurityGroupsInput, *DescribeNASSecurityGroupsOutput, error) (bool, error)
}

NASSecurityGroupSecurityGroupsEmptiedWaiterOptions are waiter options for NASSecurityGroupSecurityGroupsEmptiedWaiter

type NASSecurityGroupSecurityGroupsRevokeFailedWaiter added in v1.14.0

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

NASSecurityGroupSecurityGroupsRevokeFailedWaiter defines the waiters for NASSecurityGroupSecurityGroupsRevokeFailed

func NewNASSecurityGroupSecurityGroupsRevokeFailedWaiter added in v1.14.0

NewNASSecurityGroupSecurityGroupsRevokeFailedWaiter constructs a NASSecurityGroupSecurityGroupsRevokeFailedWaiter.

func (*NASSecurityGroupSecurityGroupsRevokeFailedWaiter) Wait added in v1.14.0

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

func (*NASSecurityGroupSecurityGroupsRevokeFailedWaiter) WaitForOutput added in v1.14.0

WaitForOutput calls the waiter function for NASSecurityGroupSecurityGroupsRevokeFailed 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 NASSecurityGroupSecurityGroupsRevokeFailedWaiterOptions added in v1.14.0

type NASSecurityGroupSecurityGroupsRevokeFailedWaiterOptions 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,
	// NASSecurityGroupSecurityGroupsRevokeFailedWaiter 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, NASSecurityGroupSecurityGroupsRevokeFailedWaiter 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, *DescribeNASSecurityGroupsInput, *DescribeNASSecurityGroupsOutput, error) (bool, error)
}

NASSecurityGroupSecurityGroupsRevokeFailedWaiterOptions are waiter options for NASSecurityGroupSecurityGroupsRevokeFailedWaiter

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 RevokeNASSecurityGroupIngressInput

type RevokeNASSecurityGroupIngressInput struct {

	// This member is required.
	NASSecurityGroupName *string

	CIDRIP *string

	SecurityGroupName *string
	// contains filtered or unexported fields
}

type RevokeNASSecurityGroupIngressOutput

type RevokeNASSecurityGroupIngressOutput struct {
	NASSecurityGroup *types.NASSecurityGroup

	ResponseMetadata *types.ResponseMetadata

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

type UpgradeNASInstanceInput

type UpgradeNASInstanceInput struct {

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

type UpgradeNASInstanceOutput

type UpgradeNASInstanceOutput struct {
	NASInstance *types.NASInstance

	ResponseMetadata *types.ResponseMetadata

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