Documentation ¶
Overview ¶
Package route53recoverycontrolconfig provides the API client, operations, and parameter types for AWS Route53 Recovery Control Config.
Recovery Control Configuration API Reference for Amazon Route 53 Application Recovery Controller
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)deprecated
- func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
- func WithSigV4SigningName(name string) func(*Options)
- func WithSigV4SigningRegion(region string) func(*Options)
- type AuthResolverParameters
- type AuthSchemeResolver
- type Client
- func (c *Client) CreateCluster(ctx context.Context, params *CreateClusterInput, optFns ...func(*Options)) (*CreateClusterOutput, error)
- func (c *Client) CreateControlPanel(ctx context.Context, params *CreateControlPanelInput, optFns ...func(*Options)) (*CreateControlPanelOutput, error)
- func (c *Client) CreateRoutingControl(ctx context.Context, params *CreateRoutingControlInput, ...) (*CreateRoutingControlOutput, error)
- func (c *Client) CreateSafetyRule(ctx context.Context, params *CreateSafetyRuleInput, optFns ...func(*Options)) (*CreateSafetyRuleOutput, error)
- func (c *Client) DeleteCluster(ctx context.Context, params *DeleteClusterInput, optFns ...func(*Options)) (*DeleteClusterOutput, error)
- func (c *Client) DeleteControlPanel(ctx context.Context, params *DeleteControlPanelInput, optFns ...func(*Options)) (*DeleteControlPanelOutput, error)
- func (c *Client) DeleteRoutingControl(ctx context.Context, params *DeleteRoutingControlInput, ...) (*DeleteRoutingControlOutput, error)
- func (c *Client) DeleteSafetyRule(ctx context.Context, params *DeleteSafetyRuleInput, optFns ...func(*Options)) (*DeleteSafetyRuleOutput, error)
- func (c *Client) DescribeCluster(ctx context.Context, params *DescribeClusterInput, optFns ...func(*Options)) (*DescribeClusterOutput, error)
- func (c *Client) DescribeControlPanel(ctx context.Context, params *DescribeControlPanelInput, ...) (*DescribeControlPanelOutput, error)
- func (c *Client) DescribeRoutingControl(ctx context.Context, params *DescribeRoutingControlInput, ...) (*DescribeRoutingControlOutput, error)
- func (c *Client) DescribeSafetyRule(ctx context.Context, params *DescribeSafetyRuleInput, optFns ...func(*Options)) (*DescribeSafetyRuleOutput, error)
- func (c *Client) GetResourcePolicy(ctx context.Context, params *GetResourcePolicyInput, optFns ...func(*Options)) (*GetResourcePolicyOutput, error)
- func (c *Client) ListAssociatedRoute53HealthChecks(ctx context.Context, params *ListAssociatedRoute53HealthChecksInput, ...) (*ListAssociatedRoute53HealthChecksOutput, error)
- func (c *Client) ListClusters(ctx context.Context, params *ListClustersInput, optFns ...func(*Options)) (*ListClustersOutput, error)
- func (c *Client) ListControlPanels(ctx context.Context, params *ListControlPanelsInput, optFns ...func(*Options)) (*ListControlPanelsOutput, error)
- func (c *Client) ListRoutingControls(ctx context.Context, params *ListRoutingControlsInput, ...) (*ListRoutingControlsOutput, error)
- func (c *Client) ListSafetyRules(ctx context.Context, params *ListSafetyRulesInput, optFns ...func(*Options)) (*ListSafetyRulesOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) Options() Options
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateControlPanel(ctx context.Context, params *UpdateControlPanelInput, optFns ...func(*Options)) (*UpdateControlPanelOutput, error)
- func (c *Client) UpdateRoutingControl(ctx context.Context, params *UpdateRoutingControlInput, ...) (*UpdateRoutingControlOutput, error)
- func (c *Client) UpdateSafetyRule(ctx context.Context, params *UpdateSafetyRuleInput, optFns ...func(*Options)) (*UpdateSafetyRuleOutput, error)
- type ClusterCreatedWaiter
- type ClusterCreatedWaiterOptions
- type ClusterDeletedWaiter
- type ClusterDeletedWaiterOptions
- type ControlPanelCreatedWaiter
- type ControlPanelCreatedWaiterOptions
- type ControlPanelDeletedWaiter
- type ControlPanelDeletedWaiterOptions
- type CreateClusterInput
- type CreateClusterOutput
- type CreateControlPanelInput
- type CreateControlPanelOutput
- type CreateRoutingControlInput
- type CreateRoutingControlOutput
- type CreateSafetyRuleInput
- type CreateSafetyRuleOutput
- type DeleteClusterInput
- type DeleteClusterOutput
- type DeleteControlPanelInput
- type DeleteControlPanelOutput
- type DeleteRoutingControlInput
- type DeleteRoutingControlOutput
- type DeleteSafetyRuleInput
- type DeleteSafetyRuleOutput
- type DescribeClusterAPIClient
- type DescribeClusterInput
- type DescribeClusterOutput
- type DescribeControlPanelAPIClient
- type DescribeControlPanelInput
- type DescribeControlPanelOutput
- type DescribeRoutingControlAPIClient
- type DescribeRoutingControlInput
- type DescribeRoutingControlOutput
- type DescribeSafetyRuleInput
- type DescribeSafetyRuleOutput
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type GetResourcePolicyInput
- type GetResourcePolicyOutput
- type HTTPClient
- type HTTPSignerV4
- type IdempotencyTokenProvider
- type ListAssociatedRoute53HealthChecksAPIClient
- type ListAssociatedRoute53HealthChecksInput
- type ListAssociatedRoute53HealthChecksOutput
- type ListAssociatedRoute53HealthChecksPaginator
- type ListAssociatedRoute53HealthChecksPaginatorOptions
- type ListClustersAPIClient
- type ListClustersInput
- type ListClustersOutput
- type ListClustersPaginator
- type ListClustersPaginatorOptions
- type ListControlPanelsAPIClient
- type ListControlPanelsInput
- type ListControlPanelsOutput
- type ListControlPanelsPaginator
- type ListControlPanelsPaginatorOptions
- type ListRoutingControlsAPIClient
- type ListRoutingControlsInput
- type ListRoutingControlsOutput
- type ListRoutingControlsPaginator
- type ListRoutingControlsPaginatorOptions
- type ListSafetyRulesAPIClient
- type ListSafetyRulesInput
- type ListSafetyRulesOutput
- type ListSafetyRulesPaginator
- type ListSafetyRulesPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type Options
- type ResolveEndpoint
- type RoutingControlCreatedWaiter
- type RoutingControlCreatedWaiterOptions
- type RoutingControlDeletedWaiter
- type RoutingControlDeletedWaiterOptions
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateControlPanelInput
- type UpdateControlPanelOutput
- type UpdateRoutingControlInput
- type UpdateRoutingControlOutput
- type UpdateSafetyRuleInput
- type UpdateSafetyRuleOutput
Constants ¶
const ServiceAPIVersion = "2020-11-02"
const ServiceID = "Route53 Recovery Control Config"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver
deprecated
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.
To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
func WithEndpointResolverV2 ¶ added in v1.12.0
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶ added in v1.17.2
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.
func WithSigV4SigningRegion ¶ added in v1.17.2
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.
Types ¶
type AuthResolverParameters ¶ added in v1.17.2
type AuthResolverParameters struct { // The name of the operation being invoked. Operation string // The region in which the operation is being invoked. Region string }
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
type AuthSchemeResolver ¶ added in v1.17.2
type AuthSchemeResolver interface {
ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}
AuthSchemeResolver returns a set of possible authentication options for an operation.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for AWS Route53 Recovery Control Config.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) CreateCluster ¶
func (c *Client) CreateCluster(ctx context.Context, params *CreateClusterInput, optFns ...func(*Options)) (*CreateClusterOutput, error)
Create a new cluster. A cluster is a set of redundant Regional endpoints against which you can run API calls to update or get the state of one or more routing controls. Each cluster has a name, status, Amazon Resource Name (ARN), and an array of the five cluster endpoints (one for each supported Amazon Web Services Region) that you can use with API calls to the cluster data plane.
func (*Client) CreateControlPanel ¶
func (c *Client) CreateControlPanel(ctx context.Context, params *CreateControlPanelInput, optFns ...func(*Options)) (*CreateControlPanelOutput, error)
Creates a new control panel. A control panel represents a group of routing controls that can be changed together in a single transaction. You can use a control panel to centrally view the operational status of applications across your organization, and trigger multi-app failovers in a single transaction, for example, to fail over an Availability Zone or Amazon Web Services Region.
func (*Client) CreateRoutingControl ¶
func (c *Client) CreateRoutingControl(ctx context.Context, params *CreateRoutingControlInput, optFns ...func(*Options)) (*CreateRoutingControlOutput, error)
Creates a new routing control.
A routing control has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control traffic routing.
To get or update the routing control state, see the Recovery Cluster (data plane) API actions for Amazon Route 53 Application Recovery Controller.
func (*Client) CreateSafetyRule ¶
func (c *Client) CreateSafetyRule(ctx context.Context, params *CreateSafetyRuleInput, optFns ...func(*Options)) (*CreateSafetyRuleOutput, error)
Creates a safety rule in a control panel. Safety rules let you add safeguards around changing routing control states, and for enabling and disabling routing controls, to help prevent unexpected outcomes.
There are two types of safety rules: assertion rules and gating rules.
Assertion rule: An assertion rule enforces that, when you change a routing control state, that a certain criteria is met. For example, the criteria might be that at least one routing control state is On after the transaction so that traffic continues to flow to at least one cell for the application. This ensures that you avoid a fail-open scenario.
Gating rule: A gating rule lets you configure a gating routing control as an overall "on/off" switch for a group of routing controls. Or, you can configure more complex gating scenarios, for example by configuring multiple gating routing controls.
For more information, see Safety rules in the Amazon Route 53 Application Recovery Controller Developer Guide.
func (*Client) DeleteCluster ¶
func (c *Client) DeleteCluster(ctx context.Context, params *DeleteClusterInput, optFns ...func(*Options)) (*DeleteClusterOutput, error)
Delete a cluster.
func (*Client) DeleteControlPanel ¶
func (c *Client) DeleteControlPanel(ctx context.Context, params *DeleteControlPanelInput, optFns ...func(*Options)) (*DeleteControlPanelOutput, error)
Deletes a control panel.
func (*Client) DeleteRoutingControl ¶
func (c *Client) DeleteRoutingControl(ctx context.Context, params *DeleteRoutingControlInput, optFns ...func(*Options)) (*DeleteRoutingControlOutput, error)
Deletes a routing control.
func (*Client) DeleteSafetyRule ¶
func (c *Client) DeleteSafetyRule(ctx context.Context, params *DeleteSafetyRuleInput, optFns ...func(*Options)) (*DeleteSafetyRuleOutput, error)
Deletes a safety rule.
/>
func (*Client) DescribeCluster ¶
func (c *Client) DescribeCluster(ctx context.Context, params *DescribeClusterInput, optFns ...func(*Options)) (*DescribeClusterOutput, error)
Display the details about a cluster. The response includes the cluster name, endpoints, status, and Amazon Resource Name (ARN).
func (*Client) DescribeControlPanel ¶
func (c *Client) DescribeControlPanel(ctx context.Context, params *DescribeControlPanelInput, optFns ...func(*Options)) (*DescribeControlPanelOutput, error)
Displays details about a control panel.
func (*Client) DescribeRoutingControl ¶
func (c *Client) DescribeRoutingControl(ctx context.Context, params *DescribeRoutingControlInput, optFns ...func(*Options)) (*DescribeRoutingControlOutput, error)
Displays details about a routing control. A routing control has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control routing.
To get or update the routing control state, see the Recovery Cluster (data plane) API actions for Amazon Route 53 Application Recovery Controller.
func (*Client) DescribeSafetyRule ¶
func (c *Client) DescribeSafetyRule(ctx context.Context, params *DescribeSafetyRuleInput, optFns ...func(*Options)) (*DescribeSafetyRuleOutput, error)
Returns information about a safety rule.
func (*Client) GetResourcePolicy ¶ added in v1.14.0
func (c *Client) GetResourcePolicy(ctx context.Context, params *GetResourcePolicyInput, optFns ...func(*Options)) (*GetResourcePolicyOutput, error)
Get information about the resource policy for a cluster.
func (*Client) ListAssociatedRoute53HealthChecks ¶
func (c *Client) ListAssociatedRoute53HealthChecks(ctx context.Context, params *ListAssociatedRoute53HealthChecksInput, optFns ...func(*Options)) (*ListAssociatedRoute53HealthChecksOutput, error)
Returns an array of all Amazon Route 53 health checks associated with a specific routing control.
func (*Client) ListClusters ¶
func (c *Client) ListClusters(ctx context.Context, params *ListClustersInput, optFns ...func(*Options)) (*ListClustersOutput, error)
Returns an array of all the clusters in an account.
func (*Client) ListControlPanels ¶
func (c *Client) ListControlPanels(ctx context.Context, params *ListControlPanelsInput, optFns ...func(*Options)) (*ListControlPanelsOutput, error)
Returns an array of control panels in an account or in a cluster.
func (*Client) ListRoutingControls ¶
func (c *Client) ListRoutingControls(ctx context.Context, params *ListRoutingControlsInput, optFns ...func(*Options)) (*ListRoutingControlsOutput, error)
Returns an array of routing controls for a control panel. A routing control is an Amazon Route 53 Application Recovery Controller construct that has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control routing.
func (*Client) ListSafetyRules ¶
func (c *Client) ListSafetyRules(ctx context.Context, params *ListSafetyRulesInput, optFns ...func(*Options)) (*ListSafetyRulesOutput, error)
List the safety rules (the assertion rules and gating rules) that you've defined for the routing controls in a control panel.
func (*Client) ListTagsForResource ¶ added in v1.5.0
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Lists the tags for a resource.
func (*Client) Options ¶ added in v1.18.0
Options returns a copy of the client configuration.
Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.
func (*Client) TagResource ¶ added in v1.5.0
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Adds a tag to a resource.
func (*Client) UntagResource ¶ added in v1.5.0
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Removes a tag from a resource.
func (*Client) UpdateControlPanel ¶
func (c *Client) UpdateControlPanel(ctx context.Context, params *UpdateControlPanelInput, optFns ...func(*Options)) (*UpdateControlPanelOutput, error)
Updates a control panel. The only update you can make to a control panel is to change the name of the control panel.
func (*Client) UpdateRoutingControl ¶
func (c *Client) UpdateRoutingControl(ctx context.Context, params *UpdateRoutingControlInput, optFns ...func(*Options)) (*UpdateRoutingControlOutput, error)
Updates a routing control. You can only update the name of the routing control. To get or update the routing control state, see the Recovery Cluster (data plane) API actions for Amazon Route 53 Application Recovery Controller.
func (*Client) UpdateSafetyRule ¶
func (c *Client) UpdateSafetyRule(ctx context.Context, params *UpdateSafetyRuleInput, optFns ...func(*Options)) (*UpdateSafetyRuleOutput, error)
Update a safety rule (an assertion rule or gating rule). You can only update the name and the waiting period for a safety rule. To make other updates, delete the safety rule and create a new one.
type ClusterCreatedWaiter ¶
type ClusterCreatedWaiter struct {
// contains filtered or unexported fields
}
ClusterCreatedWaiter defines the waiters for ClusterCreated
func NewClusterCreatedWaiter ¶
func NewClusterCreatedWaiter(client DescribeClusterAPIClient, optFns ...func(*ClusterCreatedWaiterOptions)) *ClusterCreatedWaiter
NewClusterCreatedWaiter constructs a ClusterCreatedWaiter.
func (*ClusterCreatedWaiter) Wait ¶
func (w *ClusterCreatedWaiter) Wait(ctx context.Context, params *DescribeClusterInput, maxWaitDur time.Duration, optFns ...func(*ClusterCreatedWaiterOptions)) error
Wait calls the waiter function for ClusterCreated waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*ClusterCreatedWaiter) WaitForOutput ¶ added in v1.4.0
func (w *ClusterCreatedWaiter) WaitForOutput(ctx context.Context, params *DescribeClusterInput, maxWaitDur time.Duration, optFns ...func(*ClusterCreatedWaiterOptions)) (*DescribeClusterOutput, error)
WaitForOutput calls the waiter function for ClusterCreated 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 ClusterCreatedWaiterOptions ¶
type ClusterCreatedWaiterOptions 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. // // Passing options here is functionally equivalent to passing values to this // config's ClientOptions field that extend the inner client's APIOptions directly. APIOptions []func(*middleware.Stack) error // Functional options to be passed to all operations invoked by this client. // // Function values that modify the inner APIOptions are applied after the waiter // config's own APIOptions modifiers. ClientOptions []func(*Options) // MinDelay is the minimum amount of time to delay between retries. If unset, // ClusterCreatedWaiter will use default minimum delay of 5 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, ClusterCreatedWaiter 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, *DescribeClusterInput, *DescribeClusterOutput, error) (bool, error) }
ClusterCreatedWaiterOptions are waiter options for ClusterCreatedWaiter
type ClusterDeletedWaiter ¶
type ClusterDeletedWaiter struct {
// contains filtered or unexported fields
}
ClusterDeletedWaiter defines the waiters for ClusterDeleted
func NewClusterDeletedWaiter ¶
func NewClusterDeletedWaiter(client DescribeClusterAPIClient, optFns ...func(*ClusterDeletedWaiterOptions)) *ClusterDeletedWaiter
NewClusterDeletedWaiter constructs a ClusterDeletedWaiter.
func (*ClusterDeletedWaiter) Wait ¶
func (w *ClusterDeletedWaiter) Wait(ctx context.Context, params *DescribeClusterInput, 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.4.0
func (w *ClusterDeletedWaiter) WaitForOutput(ctx context.Context, params *DescribeClusterInput, maxWaitDur time.Duration, optFns ...func(*ClusterDeletedWaiterOptions)) (*DescribeClusterOutput, 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 ¶
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. // // Passing options here is functionally equivalent to passing values to this // config's ClientOptions field that extend the inner client's APIOptions directly. APIOptions []func(*middleware.Stack) error // Functional options to be passed to all operations invoked by this client. // // Function values that modify the inner APIOptions are applied after the waiter // config's own APIOptions modifiers. ClientOptions []func(*Options) // MinDelay is the minimum amount of time to delay between retries. If unset, // ClusterDeletedWaiter will use default minimum delay of 5 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, *DescribeClusterInput, *DescribeClusterOutput, error) (bool, error) }
ClusterDeletedWaiterOptions are waiter options for ClusterDeletedWaiter
type ControlPanelCreatedWaiter ¶
type ControlPanelCreatedWaiter struct {
// contains filtered or unexported fields
}
ControlPanelCreatedWaiter defines the waiters for ControlPanelCreated
func NewControlPanelCreatedWaiter ¶
func NewControlPanelCreatedWaiter(client DescribeControlPanelAPIClient, optFns ...func(*ControlPanelCreatedWaiterOptions)) *ControlPanelCreatedWaiter
NewControlPanelCreatedWaiter constructs a ControlPanelCreatedWaiter.
func (*ControlPanelCreatedWaiter) Wait ¶
func (w *ControlPanelCreatedWaiter) Wait(ctx context.Context, params *DescribeControlPanelInput, maxWaitDur time.Duration, optFns ...func(*ControlPanelCreatedWaiterOptions)) error
Wait calls the waiter function for ControlPanelCreated waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*ControlPanelCreatedWaiter) WaitForOutput ¶ added in v1.4.0
func (w *ControlPanelCreatedWaiter) WaitForOutput(ctx context.Context, params *DescribeControlPanelInput, maxWaitDur time.Duration, optFns ...func(*ControlPanelCreatedWaiterOptions)) (*DescribeControlPanelOutput, error)
WaitForOutput calls the waiter function for ControlPanelCreated 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 ControlPanelCreatedWaiterOptions ¶
type ControlPanelCreatedWaiterOptions 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. // // Passing options here is functionally equivalent to passing values to this // config's ClientOptions field that extend the inner client's APIOptions directly. APIOptions []func(*middleware.Stack) error // Functional options to be passed to all operations invoked by this client. // // Function values that modify the inner APIOptions are applied after the waiter // config's own APIOptions modifiers. ClientOptions []func(*Options) // MinDelay is the minimum amount of time to delay between retries. If unset, // ControlPanelCreatedWaiter will use default minimum delay of 5 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, ControlPanelCreatedWaiter 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, *DescribeControlPanelInput, *DescribeControlPanelOutput, error) (bool, error) }
ControlPanelCreatedWaiterOptions are waiter options for ControlPanelCreatedWaiter
type ControlPanelDeletedWaiter ¶
type ControlPanelDeletedWaiter struct {
// contains filtered or unexported fields
}
ControlPanelDeletedWaiter defines the waiters for ControlPanelDeleted
func NewControlPanelDeletedWaiter ¶
func NewControlPanelDeletedWaiter(client DescribeControlPanelAPIClient, optFns ...func(*ControlPanelDeletedWaiterOptions)) *ControlPanelDeletedWaiter
NewControlPanelDeletedWaiter constructs a ControlPanelDeletedWaiter.
func (*ControlPanelDeletedWaiter) Wait ¶
func (w *ControlPanelDeletedWaiter) Wait(ctx context.Context, params *DescribeControlPanelInput, maxWaitDur time.Duration, optFns ...func(*ControlPanelDeletedWaiterOptions)) error
Wait calls the waiter function for ControlPanelDeleted waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*ControlPanelDeletedWaiter) WaitForOutput ¶ added in v1.4.0
func (w *ControlPanelDeletedWaiter) WaitForOutput(ctx context.Context, params *DescribeControlPanelInput, maxWaitDur time.Duration, optFns ...func(*ControlPanelDeletedWaiterOptions)) (*DescribeControlPanelOutput, error)
WaitForOutput calls the waiter function for ControlPanelDeleted 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 ControlPanelDeletedWaiterOptions ¶
type ControlPanelDeletedWaiterOptions 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. // // Passing options here is functionally equivalent to passing values to this // config's ClientOptions field that extend the inner client's APIOptions directly. APIOptions []func(*middleware.Stack) error // Functional options to be passed to all operations invoked by this client. // // Function values that modify the inner APIOptions are applied after the waiter // config's own APIOptions modifiers. ClientOptions []func(*Options) // MinDelay is the minimum amount of time to delay between retries. If unset, // ControlPanelDeletedWaiter will use default minimum delay of 5 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, ControlPanelDeletedWaiter 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, *DescribeControlPanelInput, *DescribeControlPanelOutput, error) (bool, error) }
ControlPanelDeletedWaiterOptions are waiter options for ControlPanelDeletedWaiter
type CreateClusterInput ¶
type CreateClusterInput struct { // The name of the cluster. // // This member is required. ClusterName *string // A unique, case-sensitive string of up to 64 ASCII characters. To make an // idempotent API request with an action, specify a client token in the request. ClientToken *string // The tags associated with the cluster. Tags map[string]string // contains filtered or unexported fields }
Creates a cluster.
type CreateClusterOutput ¶
type CreateClusterOutput struct { // The cluster that was created. Cluster *types.Cluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateControlPanelInput ¶
type CreateControlPanelInput struct { // The Amazon Resource Name (ARN) of the cluster for the control panel. // // This member is required. ClusterArn *string // The name of the control panel. // // This member is required. ControlPanelName *string // A unique, case-sensitive string of up to 64 ASCII characters. To make an // idempotent API request with an action, specify a client token in the request. ClientToken *string // The tags associated with the control panel. Tags map[string]string // contains filtered or unexported fields }
The details of the control panel that you're creating.
type CreateControlPanelOutput ¶
type CreateControlPanelOutput struct { // Information about a control panel. ControlPanel *types.ControlPanel // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateRoutingControlInput ¶
type CreateRoutingControlInput struct { // The Amazon Resource Name (ARN) of the cluster that includes the routing control. // // This member is required. ClusterArn *string // The name of the routing control. // // This member is required. RoutingControlName *string // A unique, case-sensitive string of up to 64 ASCII characters. To make an // idempotent API request with an action, specify a client token in the request. ClientToken *string // The Amazon Resource Name (ARN) of the control panel that includes the routing // control. ControlPanelArn *string // contains filtered or unexported fields }
The details of the routing control that you're creating.
type CreateRoutingControlOutput ¶
type CreateRoutingControlOutput struct { // The routing control that is created. RoutingControl *types.RoutingControl // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateSafetyRuleInput ¶
type CreateSafetyRuleInput struct { // The assertion rule requested. AssertionRule *types.NewAssertionRule // A unique, case-sensitive string of up to 64 ASCII characters. To make an // idempotent API request with an action, specify a client token in the request. ClientToken *string // The gating rule requested. GatingRule *types.NewGatingRule // The tags associated with the safety rule. Tags map[string]string // contains filtered or unexported fields }
The request body that you include when you create a safety rule.
type CreateSafetyRuleOutput ¶
type CreateSafetyRuleOutput struct { // The assertion rule created. AssertionRule *types.AssertionRule // The gating rule created. GatingRule *types.GatingRule // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteClusterInput ¶
type DeleteClusterInput struct { // The Amazon Resource Name (ARN) of the cluster that you're deleting. // // This member is required. ClusterArn *string // contains filtered or unexported fields }
type DeleteClusterOutput ¶
type DeleteClusterOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteControlPanelInput ¶
type DeleteControlPanelInput struct { // The Amazon Resource Name (ARN) of the control panel. // // This member is required. ControlPanelArn *string // contains filtered or unexported fields }
type DeleteControlPanelOutput ¶
type DeleteControlPanelOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteRoutingControlInput ¶
type DeleteRoutingControlInput struct { // The Amazon Resource Name (ARN) of the routing control that you're deleting. // // This member is required. RoutingControlArn *string // contains filtered or unexported fields }
type DeleteRoutingControlOutput ¶
type DeleteRoutingControlOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteSafetyRuleInput ¶
type DeleteSafetyRuleInput struct { // The ARN of the safety rule. // // This member is required. SafetyRuleArn *string // contains filtered or unexported fields }
type DeleteSafetyRuleOutput ¶
type DeleteSafetyRuleOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeClusterAPIClient ¶
type DescribeClusterAPIClient interface {
DescribeCluster(context.Context, *DescribeClusterInput, ...func(*Options)) (*DescribeClusterOutput, error)
}
DescribeClusterAPIClient is a client that implements the DescribeCluster operation.
type DescribeClusterInput ¶
type DescribeClusterInput struct { // The Amazon Resource Name (ARN) of the cluster. // // This member is required. ClusterArn *string // contains filtered or unexported fields }
type DescribeClusterOutput ¶
type DescribeClusterOutput struct { // The cluster for the DescribeCluster request. Cluster *types.Cluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeControlPanelAPIClient ¶
type DescribeControlPanelAPIClient interface {
DescribeControlPanel(context.Context, *DescribeControlPanelInput, ...func(*Options)) (*DescribeControlPanelOutput, error)
}
DescribeControlPanelAPIClient is a client that implements the DescribeControlPanel operation.
type DescribeControlPanelInput ¶
type DescribeControlPanelInput struct { // The Amazon Resource Name (ARN) of the control panel. // // This member is required. ControlPanelArn *string // contains filtered or unexported fields }
type DescribeControlPanelOutput ¶
type DescribeControlPanelOutput struct { // Information about the control panel. ControlPanel *types.ControlPanel // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeRoutingControlAPIClient ¶
type DescribeRoutingControlAPIClient interface {
DescribeRoutingControl(context.Context, *DescribeRoutingControlInput, ...func(*Options)) (*DescribeRoutingControlOutput, error)
}
DescribeRoutingControlAPIClient is a client that implements the DescribeRoutingControl operation.
type DescribeRoutingControlInput ¶
type DescribeRoutingControlInput struct { // The Amazon Resource Name (ARN) of the routing control. // // This member is required. RoutingControlArn *string // contains filtered or unexported fields }
type DescribeRoutingControlOutput ¶
type DescribeRoutingControlOutput struct { // Information about the routing control. RoutingControl *types.RoutingControl // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeSafetyRuleInput ¶
type DescribeSafetyRuleInput struct { // The ARN of the safety rule. // // This member is required. SafetyRuleArn *string // contains filtered or unexported fields }
type DescribeSafetyRuleOutput ¶
type DescribeSafetyRuleOutput struct { // The assertion rule in the response. AssertionRule *types.AssertionRule // The gating rule in the response. GatingRule *types.GatingRule // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointParameters ¶ added in v1.12.0
type EndpointParameters struct { // The AWS region used to dispatch the request. // // Parameter is // required. // // AWS::Region Region *string // When true, use the dual-stack endpoint. If the configured endpoint does not // support dual-stack, dispatching the request MAY return an error. // // Defaults to // false if no value is provided. // // AWS::UseDualStack UseDualStack *bool // When true, send this request to the FIPS-compliant regional endpoint. If the // configured endpoint does not have a FIPS compliant endpoint, dispatching the // request will return an error. // // Defaults to false if no value is // provided. // // AWS::UseFIPS UseFIPS *bool // Override the endpoint used to send this request // // Parameter is // required. // // SDK::Endpoint Endpoint *string }
EndpointParameters provides the parameters that influence how endpoints are resolved.
func (EndpointParameters) ValidateRequired ¶ added in v1.12.0
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶ added in v1.12.0
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type EndpointResolverV2 ¶ added in v1.12.0
type EndpointResolverV2 interface { // ResolveEndpoint attempts to resolve the endpoint with the provided options, // returning the endpoint if found. Otherwise an error is returned. ResolveEndpoint(ctx context.Context, params EndpointParameters) ( smithyendpoints.Endpoint, error, ) }
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶ added in v1.12.0
func NewDefaultEndpointResolverV2() EndpointResolverV2
type GetResourcePolicyInput ¶ added in v1.14.0
type GetResourcePolicyInput struct { // The Amazon Resource Name (ARN) of the resource. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type GetResourcePolicyOutput ¶ added in v1.14.0
type GetResourcePolicyOutput struct { // The resource policy. Policy *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPSignerV4 ¶
type IdempotencyTokenProvider ¶
IdempotencyTokenProvider interface for providing idempotency token
type ListAssociatedRoute53HealthChecksAPIClient ¶
type ListAssociatedRoute53HealthChecksAPIClient interface {
ListAssociatedRoute53HealthChecks(context.Context, *ListAssociatedRoute53HealthChecksInput, ...func(*Options)) (*ListAssociatedRoute53HealthChecksOutput, error)
}
ListAssociatedRoute53HealthChecksAPIClient is a client that implements the ListAssociatedRoute53HealthChecks operation.
type ListAssociatedRoute53HealthChecksInput ¶
type ListAssociatedRoute53HealthChecksInput struct { // The Amazon Resource Name (ARN) of the routing control. // // This member is required. RoutingControlArn *string // The number of objects that you want to return with this call. MaxResults *int32 // The token that identifies which batch of results you want to see. NextToken *string // contains filtered or unexported fields }
type ListAssociatedRoute53HealthChecksOutput ¶
type ListAssociatedRoute53HealthChecksOutput struct { // Identifiers for the health checks. HealthCheckIds []string // Next token for listing health checks. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListAssociatedRoute53HealthChecksPaginator ¶
type ListAssociatedRoute53HealthChecksPaginator struct {
// contains filtered or unexported fields
}
ListAssociatedRoute53HealthChecksPaginator is a paginator for ListAssociatedRoute53HealthChecks
func NewListAssociatedRoute53HealthChecksPaginator ¶
func NewListAssociatedRoute53HealthChecksPaginator(client ListAssociatedRoute53HealthChecksAPIClient, params *ListAssociatedRoute53HealthChecksInput, optFns ...func(*ListAssociatedRoute53HealthChecksPaginatorOptions)) *ListAssociatedRoute53HealthChecksPaginator
NewListAssociatedRoute53HealthChecksPaginator returns a new ListAssociatedRoute53HealthChecksPaginator
func (*ListAssociatedRoute53HealthChecksPaginator) HasMorePages ¶
func (p *ListAssociatedRoute53HealthChecksPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAssociatedRoute53HealthChecksPaginator) NextPage ¶
func (p *ListAssociatedRoute53HealthChecksPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAssociatedRoute53HealthChecksOutput, error)
NextPage retrieves the next ListAssociatedRoute53HealthChecks page.
type ListAssociatedRoute53HealthChecksPaginatorOptions ¶
type ListAssociatedRoute53HealthChecksPaginatorOptions struct { // The number of objects that you want to return with this call. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListAssociatedRoute53HealthChecksPaginatorOptions is the paginator options for ListAssociatedRoute53HealthChecks
type ListClustersAPIClient ¶
type ListClustersAPIClient interface {
ListClusters(context.Context, *ListClustersInput, ...func(*Options)) (*ListClustersOutput, error)
}
ListClustersAPIClient is a client that implements the ListClusters operation.
type ListClustersInput ¶
type ListClustersOutput ¶
type ListClustersOutput struct { // An array of the clusters in an account. Clusters []types.Cluster // The token that identifies which batch of results you want to see. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListClustersPaginator ¶
type ListClustersPaginator struct {
// contains filtered or unexported fields
}
ListClustersPaginator is a paginator for ListClusters
func NewListClustersPaginator ¶
func NewListClustersPaginator(client ListClustersAPIClient, params *ListClustersInput, optFns ...func(*ListClustersPaginatorOptions)) *ListClustersPaginator
NewListClustersPaginator returns a new ListClustersPaginator
func (*ListClustersPaginator) HasMorePages ¶
func (p *ListClustersPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListClustersPaginator) NextPage ¶
func (p *ListClustersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListClustersOutput, error)
NextPage retrieves the next ListClusters page.
type ListClustersPaginatorOptions ¶
type ListClustersPaginatorOptions struct { // The number of objects that you want to return with this call. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListClustersPaginatorOptions is the paginator options for ListClusters
type ListControlPanelsAPIClient ¶
type ListControlPanelsAPIClient interface {
ListControlPanels(context.Context, *ListControlPanelsInput, ...func(*Options)) (*ListControlPanelsOutput, error)
}
ListControlPanelsAPIClient is a client that implements the ListControlPanels operation.
type ListControlPanelsInput ¶
type ListControlPanelsInput struct { // The Amazon Resource Name (ARN) of a cluster. ClusterArn *string // The number of objects that you want to return with this call. MaxResults *int32 // The token that identifies which batch of results you want to see. NextToken *string // contains filtered or unexported fields }
type ListControlPanelsOutput ¶
type ListControlPanelsOutput struct { // The result of a successful ListControlPanel request. ControlPanels []types.ControlPanel // The token that identifies which batch of results you want to see. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListControlPanelsPaginator ¶
type ListControlPanelsPaginator struct {
// contains filtered or unexported fields
}
ListControlPanelsPaginator is a paginator for ListControlPanels
func NewListControlPanelsPaginator ¶
func NewListControlPanelsPaginator(client ListControlPanelsAPIClient, params *ListControlPanelsInput, optFns ...func(*ListControlPanelsPaginatorOptions)) *ListControlPanelsPaginator
NewListControlPanelsPaginator returns a new ListControlPanelsPaginator
func (*ListControlPanelsPaginator) HasMorePages ¶
func (p *ListControlPanelsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListControlPanelsPaginator) NextPage ¶
func (p *ListControlPanelsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListControlPanelsOutput, error)
NextPage retrieves the next ListControlPanels page.
type ListControlPanelsPaginatorOptions ¶
type ListControlPanelsPaginatorOptions struct { // The number of objects that you want to return with this call. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListControlPanelsPaginatorOptions is the paginator options for ListControlPanels
type ListRoutingControlsAPIClient ¶
type ListRoutingControlsAPIClient interface {
ListRoutingControls(context.Context, *ListRoutingControlsInput, ...func(*Options)) (*ListRoutingControlsOutput, error)
}
ListRoutingControlsAPIClient is a client that implements the ListRoutingControls operation.
type ListRoutingControlsInput ¶
type ListRoutingControlsInput struct { // The Amazon Resource Name (ARN) of the control panel. // // This member is required. ControlPanelArn *string // The number of objects that you want to return with this call. MaxResults *int32 // The token that identifies which batch of results you want to see. NextToken *string // contains filtered or unexported fields }
type ListRoutingControlsOutput ¶
type ListRoutingControlsOutput struct { // The token that identifies which batch of results you want to see. NextToken *string // An array of routing controls. RoutingControls []types.RoutingControl // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListRoutingControlsPaginator ¶
type ListRoutingControlsPaginator struct {
// contains filtered or unexported fields
}
ListRoutingControlsPaginator is a paginator for ListRoutingControls
func NewListRoutingControlsPaginator ¶
func NewListRoutingControlsPaginator(client ListRoutingControlsAPIClient, params *ListRoutingControlsInput, optFns ...func(*ListRoutingControlsPaginatorOptions)) *ListRoutingControlsPaginator
NewListRoutingControlsPaginator returns a new ListRoutingControlsPaginator
func (*ListRoutingControlsPaginator) HasMorePages ¶
func (p *ListRoutingControlsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListRoutingControlsPaginator) NextPage ¶
func (p *ListRoutingControlsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListRoutingControlsOutput, error)
NextPage retrieves the next ListRoutingControls page.
type ListRoutingControlsPaginatorOptions ¶
type ListRoutingControlsPaginatorOptions struct { // The number of objects that you want to return with this call. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListRoutingControlsPaginatorOptions is the paginator options for ListRoutingControls
type ListSafetyRulesAPIClient ¶
type ListSafetyRulesAPIClient interface {
ListSafetyRules(context.Context, *ListSafetyRulesInput, ...func(*Options)) (*ListSafetyRulesOutput, error)
}
ListSafetyRulesAPIClient is a client that implements the ListSafetyRules operation.
type ListSafetyRulesInput ¶
type ListSafetyRulesInput struct { // The Amazon Resource Name (ARN) of the control panel. // // This member is required. ControlPanelArn *string // The number of objects that you want to return with this call. MaxResults *int32 // The token that identifies which batch of results you want to see. NextToken *string // contains filtered or unexported fields }
type ListSafetyRulesOutput ¶
type ListSafetyRulesOutput struct { // The token that identifies which batch of results you want to see. NextToken *string // The list of safety rules in a control panel. SafetyRules []types.Rule // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListSafetyRulesPaginator ¶
type ListSafetyRulesPaginator struct {
// contains filtered or unexported fields
}
ListSafetyRulesPaginator is a paginator for ListSafetyRules
func NewListSafetyRulesPaginator ¶
func NewListSafetyRulesPaginator(client ListSafetyRulesAPIClient, params *ListSafetyRulesInput, optFns ...func(*ListSafetyRulesPaginatorOptions)) *ListSafetyRulesPaginator
NewListSafetyRulesPaginator returns a new ListSafetyRulesPaginator
func (*ListSafetyRulesPaginator) HasMorePages ¶
func (p *ListSafetyRulesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListSafetyRulesPaginator) NextPage ¶
func (p *ListSafetyRulesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListSafetyRulesOutput, error)
NextPage retrieves the next ListSafetyRules page.
type ListSafetyRulesPaginatorOptions ¶
type ListSafetyRulesPaginatorOptions struct { // The number of objects that you want to return with this call. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListSafetyRulesPaginatorOptions is the paginator options for ListSafetyRules
type ListTagsForResourceInput ¶ added in v1.5.0
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) for the resource that's tagged. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type ListTagsForResourceOutput ¶ added in v1.5.0
type ListTagsForResourceOutput struct { // The tags associated with the resource. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The optional application specific identifier appended to the User-Agent header. AppID string // This endpoint will be given as input to an EndpointResolverV2. It is used for // providing a custom base endpoint that is subject to modifications by the // processing EndpointResolverV2. BaseEndpoint *string // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. // // Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a // value for this field will likely prevent you from using any endpoint-related // service features released after the introduction of EndpointResolverV2 and // BaseEndpoint. // // To migrate an EndpointResolver implementation that uses a custom endpoint, set // the client option BaseEndpoint instead. EndpointResolver EndpointResolver // Resolves the endpoint used for a particular service operation. This should be // used over the deprecated EndpointResolver. EndpointResolverV2 EndpointResolverV2 // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // Provides idempotency tokens values that will be automatically populated into // idempotent API operations. IdempotencyTokenProvider IdempotencyTokenProvider // The logger writer interface to write logging messages to. Logger logging.Logger // The client meter provider. MeterProvider metrics.MeterProvider // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. // // If specified in an operation call's functional options with a value that is // different than the constructed client's Options, the Client's Retryer will be // wrapped to use the operation's specific RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. // // When creating a new API Clients this member will only be used if the Retryer // Options member is nil. This value will be ignored if Retryer is not nil. // // Currently does not support per operation call overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The client tracer provider. TracerProvider tracing.TracerProvider // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // The auth scheme resolver which determines how to authenticate for each // operation. AuthSchemeResolver AuthSchemeResolver // The list of auth schemes supported by the client. AuthSchemes []smithyhttp.AuthScheme // contains filtered or unexported fields }
func (Options) GetIdentityResolver ¶ added in v1.17.2
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type RoutingControlCreatedWaiter ¶
type RoutingControlCreatedWaiter struct {
// contains filtered or unexported fields
}
RoutingControlCreatedWaiter defines the waiters for RoutingControlCreated
func NewRoutingControlCreatedWaiter ¶
func NewRoutingControlCreatedWaiter(client DescribeRoutingControlAPIClient, optFns ...func(*RoutingControlCreatedWaiterOptions)) *RoutingControlCreatedWaiter
NewRoutingControlCreatedWaiter constructs a RoutingControlCreatedWaiter.
func (*RoutingControlCreatedWaiter) Wait ¶
func (w *RoutingControlCreatedWaiter) Wait(ctx context.Context, params *DescribeRoutingControlInput, maxWaitDur time.Duration, optFns ...func(*RoutingControlCreatedWaiterOptions)) error
Wait calls the waiter function for RoutingControlCreated waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*RoutingControlCreatedWaiter) WaitForOutput ¶ added in v1.4.0
func (w *RoutingControlCreatedWaiter) WaitForOutput(ctx context.Context, params *DescribeRoutingControlInput, maxWaitDur time.Duration, optFns ...func(*RoutingControlCreatedWaiterOptions)) (*DescribeRoutingControlOutput, error)
WaitForOutput calls the waiter function for RoutingControlCreated 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 RoutingControlCreatedWaiterOptions ¶
type RoutingControlCreatedWaiterOptions 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. // // Passing options here is functionally equivalent to passing values to this // config's ClientOptions field that extend the inner client's APIOptions directly. APIOptions []func(*middleware.Stack) error // Functional options to be passed to all operations invoked by this client. // // Function values that modify the inner APIOptions are applied after the waiter // config's own APIOptions modifiers. ClientOptions []func(*Options) // MinDelay is the minimum amount of time to delay between retries. If unset, // RoutingControlCreatedWaiter will use default minimum delay of 5 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, RoutingControlCreatedWaiter 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, *DescribeRoutingControlInput, *DescribeRoutingControlOutput, error) (bool, error) }
RoutingControlCreatedWaiterOptions are waiter options for RoutingControlCreatedWaiter
type RoutingControlDeletedWaiter ¶
type RoutingControlDeletedWaiter struct {
// contains filtered or unexported fields
}
RoutingControlDeletedWaiter defines the waiters for RoutingControlDeleted
func NewRoutingControlDeletedWaiter ¶
func NewRoutingControlDeletedWaiter(client DescribeRoutingControlAPIClient, optFns ...func(*RoutingControlDeletedWaiterOptions)) *RoutingControlDeletedWaiter
NewRoutingControlDeletedWaiter constructs a RoutingControlDeletedWaiter.
func (*RoutingControlDeletedWaiter) Wait ¶
func (w *RoutingControlDeletedWaiter) Wait(ctx context.Context, params *DescribeRoutingControlInput, maxWaitDur time.Duration, optFns ...func(*RoutingControlDeletedWaiterOptions)) error
Wait calls the waiter function for RoutingControlDeleted waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*RoutingControlDeletedWaiter) WaitForOutput ¶ added in v1.4.0
func (w *RoutingControlDeletedWaiter) WaitForOutput(ctx context.Context, params *DescribeRoutingControlInput, maxWaitDur time.Duration, optFns ...func(*RoutingControlDeletedWaiterOptions)) (*DescribeRoutingControlOutput, error)
WaitForOutput calls the waiter function for RoutingControlDeleted 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 RoutingControlDeletedWaiterOptions ¶
type RoutingControlDeletedWaiterOptions 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. // // Passing options here is functionally equivalent to passing values to this // config's ClientOptions field that extend the inner client's APIOptions directly. APIOptions []func(*middleware.Stack) error // Functional options to be passed to all operations invoked by this client. // // Function values that modify the inner APIOptions are applied after the waiter // config's own APIOptions modifiers. ClientOptions []func(*Options) // MinDelay is the minimum amount of time to delay between retries. If unset, // RoutingControlDeletedWaiter will use default minimum delay of 5 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, RoutingControlDeletedWaiter 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, *DescribeRoutingControlInput, *DescribeRoutingControlOutput, error) (bool, error) }
RoutingControlDeletedWaiterOptions are waiter options for RoutingControlDeletedWaiter
type TagResourceInput ¶ added in v1.5.0
type TagResourceInput struct { // The Amazon Resource Name (ARN) for the resource that's tagged. // // This member is required. ResourceArn *string // The tags associated with the resource. // // This member is required. Tags map[string]string // contains filtered or unexported fields }
Request of adding tag to the resource
type TagResourceOutput ¶ added in v1.5.0
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UntagResourceInput ¶ added in v1.5.0
type UntagResourceOutput ¶ added in v1.5.0
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateControlPanelInput ¶
type UpdateControlPanelInput struct { // The Amazon Resource Name (ARN) of the control panel. // // This member is required. ControlPanelArn *string // The name of the control panel. // // This member is required. ControlPanelName *string // contains filtered or unexported fields }
The details of the control panel that you're updating.
type UpdateControlPanelOutput ¶
type UpdateControlPanelOutput struct { // The control panel to update. ControlPanel *types.ControlPanel // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateRoutingControlInput ¶
type UpdateRoutingControlInput struct { // The Amazon Resource Name (ARN) of the routing control. // // This member is required. RoutingControlArn *string // The name of the routing control. // // This member is required. RoutingControlName *string // contains filtered or unexported fields }
The details of the routing control that you're updating.
type UpdateRoutingControlOutput ¶
type UpdateRoutingControlOutput struct { // The routing control that was updated. RoutingControl *types.RoutingControl // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateSafetyRuleInput ¶
type UpdateSafetyRuleInput struct { // The assertion rule to update. AssertionRuleUpdate *types.AssertionRuleUpdate // The gating rule to update. GatingRuleUpdate *types.GatingRuleUpdate // contains filtered or unexported fields }
A rule that you add to Application Recovery Controller to ensure that recovery actions don't accidentally impair your application's availability.
type UpdateSafetyRuleOutput ¶
type UpdateSafetyRuleOutput struct { // The assertion rule updated. AssertionRule *types.AssertionRule // The gating rule updated. GatingRule *types.GatingRule // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
- api_client.go
- api_op_CreateCluster.go
- api_op_CreateControlPanel.go
- api_op_CreateRoutingControl.go
- api_op_CreateSafetyRule.go
- api_op_DeleteCluster.go
- api_op_DeleteControlPanel.go
- api_op_DeleteRoutingControl.go
- api_op_DeleteSafetyRule.go
- api_op_DescribeCluster.go
- api_op_DescribeControlPanel.go
- api_op_DescribeRoutingControl.go
- api_op_DescribeSafetyRule.go
- api_op_GetResourcePolicy.go
- api_op_ListAssociatedRoute53HealthChecks.go
- api_op_ListClusters.go
- api_op_ListControlPanels.go
- api_op_ListRoutingControls.go
- api_op_ListSafetyRules.go
- api_op_ListTagsForResource.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateControlPanel.go
- api_op_UpdateRoutingControl.go
- api_op_UpdateSafetyRule.go
- auth.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- serializers.go
- validators.go