route53recoverycontrolconfig

package
v0.0.0-...-c570f4e Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package route53recoverycontrolconfig provides the client and types for making API requests to AWS Route53 Recovery Control Config.

Recovery Control Configuration API Reference for Amazon Route 53 Application Recovery Controller

See https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02 for more information on this service.

See route53recoverycontrolconfig package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/route53recoverycontrolconfig/

Using the Client

To contact AWS Route53 Recovery Control Config with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS Route53 Recovery Control Config client Route53RecoveryControlConfig for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/route53recoverycontrolconfig/#New

Index

Constants

View Source
const (
	// RuleTypeAtleast is a RuleType enum value
	RuleTypeAtleast = "ATLEAST"

	// RuleTypeAnd is a RuleType enum value
	RuleTypeAnd = "AND"

	// RuleTypeOr is a RuleType enum value
	RuleTypeOr = "OR"
)

An enumerated type that determines how the evaluated rules are processed. RuleType can be one of the following:

ATLEAST - At least N routing controls must be set. You specify N as the Threshold in the rule configuration.

AND - All routing controls must be set. This is a shortcut for "At least N," where N is the total number of controls in the rule.

OR - Any control must be set. This is a shortcut for "At least N," where N is 1.

View Source
const (
	// StatusPending is a Status enum value
	StatusPending = "PENDING"

	// StatusDeployed is a Status enum value
	StatusDeployed = "DEPLOYED"

	// StatusPendingDeletion is a Status enum value
	StatusPendingDeletion = "PENDING_DELETION"
)

The deployment status of a resource. Status can be one of the following:

PENDING: Amazon Route 53 Application Recovery Controller is creating the resource.

DEPLOYED: The resource is deployed and ready to use.

PENDING_DELETION: Amazon Route 53 Application Recovery Controller is deleting the resource.

View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// 403 response - You do not have sufficient access to perform this action.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// 409 response - ConflictException. You might be using a predefined variable.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// 500 response - InternalServiceError. Temporary service error. Retry the request.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// 404 response - MalformedQueryString. The query string contains a syntax error
	// or resource not found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// 402 response - You attempted to create more resources than the service allows
	// based on service quotas.
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// 429 response - LimitExceededException or TooManyRequestsException.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// 400 response - Multiple causes. For example, you might have a malformed query
	// string and input parameter might be out of range, or you might have used
	// parameters together incorrectly.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "Route53 Recovery Control Config" // Name of service.
	EndpointsID = "route53-recovery-control-config" // ID to lookup a service endpoint with.
	ServiceID   = "Route53 Recovery Control Config" // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

func RuleType_Values

func RuleType_Values() []string

RuleType_Values returns all elements of the RuleType enum

func Status_Values

func Status_Values() []string

Status_Values returns all elements of the Status enum

Types

type AccessDeniedException

type AccessDeniedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

403 response - You do not have sufficient access to perform this action.

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AssertionRule

type AssertionRule struct {

	// The routing controls that are part of transactions that are evaluated to
	// determine if a request to change a routing control state is allowed. For
	// example, you might include three routing controls, one for each of three
	// Amazon Web Services Regions.
	//
	// AssertedControls is a required field
	AssertedControls []*string `type:"list" required:"true"`

	// The Amazon Resource Name (ARN) of the control panel.
	//
	// ControlPanelArn is a required field
	ControlPanelArn *string `min:"1" type:"string" required:"true"`

	// Name of the assertion rule. You can use any non-white space character in
	// the name.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// The Amazon Web Services account ID of the assertion rule owner.
	Owner *string `min:"12" type:"string"`

	// The criteria that you set for specific assertion routing controls (AssertedControls)
	// that designate how many routing control states must be ON as the result of
	// a transaction. For example, if you have three assertion routing controls,
	// you might specify ATLEAST 2 for your rule configuration. This means that
	// at least two assertion routing control states must be ON, so that at least
	// two Amazon Web Services Regions have traffic flowing to them.
	//
	// RuleConfig is a required field
	RuleConfig *RuleConfig `type:"structure" required:"true"`

	// The Amazon Resource Name (ARN) of the assertion rule.
	//
	// SafetyRuleArn is a required field
	SafetyRuleArn *string `min:"1" type:"string" required:"true"`

	// The deployment status of an assertion rule. Status can be one of the following:
	// PENDING, DEPLOYED, PENDING_DELETION.
	//
	// Status is a required field
	Status *string `type:"string" required:"true" enum:"Status"`

	// An evaluation period, in milliseconds (ms), during which any request against
	// the target routing controls will fail. This helps prevent "flapping" of state.
	// The wait period is 5000 ms by default, but you can choose a custom value.
	//
	// WaitPeriodMs is a required field
	WaitPeriodMs *int64 `type:"integer" required:"true"`
	// contains filtered or unexported fields
}

An assertion rule enforces that, when you change a routing control state, that the criteria that you set in the rule configuration is met. Otherwise, the change to the routing control is not accepted. 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.

func (AssertionRule) GoString

func (s AssertionRule) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssertionRule) SetAssertedControls

func (s *AssertionRule) SetAssertedControls(v []*string) *AssertionRule

SetAssertedControls sets the AssertedControls field's value.

func (*AssertionRule) SetControlPanelArn

func (s *AssertionRule) SetControlPanelArn(v string) *AssertionRule

SetControlPanelArn sets the ControlPanelArn field's value.

func (*AssertionRule) SetName

func (s *AssertionRule) SetName(v string) *AssertionRule

SetName sets the Name field's value.

func (*AssertionRule) SetOwner

func (s *AssertionRule) SetOwner(v string) *AssertionRule

SetOwner sets the Owner field's value.

func (*AssertionRule) SetRuleConfig

func (s *AssertionRule) SetRuleConfig(v *RuleConfig) *AssertionRule

SetRuleConfig sets the RuleConfig field's value.

func (*AssertionRule) SetSafetyRuleArn

func (s *AssertionRule) SetSafetyRuleArn(v string) *AssertionRule

SetSafetyRuleArn sets the SafetyRuleArn field's value.

func (*AssertionRule) SetStatus

func (s *AssertionRule) SetStatus(v string) *AssertionRule

SetStatus sets the Status field's value.

func (*AssertionRule) SetWaitPeriodMs

func (s *AssertionRule) SetWaitPeriodMs(v int64) *AssertionRule

SetWaitPeriodMs sets the WaitPeriodMs field's value.

func (AssertionRule) String

func (s AssertionRule) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AssertionRuleUpdate

type AssertionRuleUpdate struct {

	// The name of the assertion rule. You can use any non-white space character
	// in the name.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the assertion rule.
	//
	// SafetyRuleArn is a required field
	SafetyRuleArn *string `min:"1" type:"string" required:"true"`

	// An evaluation period, in milliseconds (ms), during which any request against
	// the target routing controls will fail. This helps prevent "flapping" of state.
	// The wait period is 5000 ms by default, but you can choose a custom value.
	//
	// WaitPeriodMs is a required field
	WaitPeriodMs *int64 `type:"integer" required:"true"`
	// contains filtered or unexported fields
}

An update to an assertion rule. You can update the name or the evaluation period (wait period). If you don't specify one of the items to update, the item is unchanged.

func (AssertionRuleUpdate) GoString

func (s AssertionRuleUpdate) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssertionRuleUpdate) SetName

SetName sets the Name field's value.

func (*AssertionRuleUpdate) SetSafetyRuleArn

func (s *AssertionRuleUpdate) SetSafetyRuleArn(v string) *AssertionRuleUpdate

SetSafetyRuleArn sets the SafetyRuleArn field's value.

func (*AssertionRuleUpdate) SetWaitPeriodMs

func (s *AssertionRuleUpdate) SetWaitPeriodMs(v int64) *AssertionRuleUpdate

SetWaitPeriodMs sets the WaitPeriodMs field's value.

func (AssertionRuleUpdate) String

func (s AssertionRuleUpdate) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssertionRuleUpdate) Validate

func (s *AssertionRuleUpdate) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Cluster

type Cluster struct {

	// The Amazon Resource Name (ARN) of the cluster.
	ClusterArn *string `min:"1" type:"string"`

	// Endpoints for a cluster. Specify one of these endpoints when you want to
	// set or retrieve a routing control state in the cluster.
	//
	// To get or update the routing control state, see the Amazon Route 53 Application
	// Recovery Controller Routing Control Actions.
	ClusterEndpoints []*ClusterEndpoint `type:"list"`

	// The name of the cluster.
	Name *string `min:"1" type:"string"`

	// The Amazon Web Services account ID of the cluster owner.
	Owner *string `min:"12" type:"string"`

	// Deployment status of a resource. Status can be one of the following: PENDING,
	// DEPLOYED, PENDING_DELETION.
	Status *string `type:"string" enum:"Status"`
	// contains filtered or unexported fields
}

A set of five redundant Regional endpoints against which you can execute API calls to update or get the state of routing controls. You can host multiple control panels and routing controls on one cluster.

func (Cluster) GoString

func (s Cluster) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Cluster) SetClusterArn

func (s *Cluster) SetClusterArn(v string) *Cluster

SetClusterArn sets the ClusterArn field's value.

func (*Cluster) SetClusterEndpoints

func (s *Cluster) SetClusterEndpoints(v []*ClusterEndpoint) *Cluster

SetClusterEndpoints sets the ClusterEndpoints field's value.

func (*Cluster) SetName

func (s *Cluster) SetName(v string) *Cluster

SetName sets the Name field's value.

func (*Cluster) SetOwner

func (s *Cluster) SetOwner(v string) *Cluster

SetOwner sets the Owner field's value.

func (*Cluster) SetStatus

func (s *Cluster) SetStatus(v string) *Cluster

SetStatus sets the Status field's value.

func (Cluster) String

func (s Cluster) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ClusterEndpoint

type ClusterEndpoint struct {

	// A cluster endpoint. Specify an endpoint and Amazon Web Services Region when
	// you want to set or retrieve a routing control state in the cluster.
	//
	// To get or update the routing control state, see the Amazon Route 53 Application
	// Recovery Controller Routing Control Actions.
	Endpoint *string `min:"1" type:"string"`

	// The Amazon Web Services Region for a cluster endpoint.
	Region *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

A cluster endpoint. Specify an endpoint when you want to set or retrieve a routing control state in the cluster.

func (ClusterEndpoint) GoString

func (s ClusterEndpoint) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ClusterEndpoint) SetEndpoint

func (s *ClusterEndpoint) SetEndpoint(v string) *ClusterEndpoint

SetEndpoint sets the Endpoint field's value.

func (*ClusterEndpoint) SetRegion

func (s *ClusterEndpoint) SetRegion(v string) *ClusterEndpoint

SetRegion sets the Region field's value.

func (ClusterEndpoint) String

func (s ClusterEndpoint) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ConflictException

type ConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

409 response - ConflictException. You might be using a predefined variable.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ControlPanel

type ControlPanel struct {

	// The Amazon Resource Name (ARN) of the cluster that includes the control panel.
	ClusterArn *string `min:"1" type:"string"`

	// The Amazon Resource Name (ARN) of the control panel.
	ControlPanelArn *string `min:"1" type:"string"`

	// A flag that Amazon Route 53 Application Recovery Controller sets to true
	// to designate the default control panel for a cluster. When you create a cluster,
	// Amazon Route 53 Application Recovery Controller creates a control panel,
	// and sets this flag for that control panel. If you create a control panel
	// yourself, this flag is set to false.
	DefaultControlPanel *bool `type:"boolean"`

	// The name of the control panel. You can use any non-white space character
	// in the name.
	Name *string `min:"1" type:"string"`

	// The Amazon Web Services account ID of the control panel owner.
	Owner *string `min:"12" type:"string"`

	// The number of routing controls in the control panel.
	RoutingControlCount *int64 `type:"integer"`

	// The deployment status of control panel. Status can be one of the following:
	// PENDING, DEPLOYED, PENDING_DELETION.
	Status *string `type:"string" enum:"Status"`
	// contains filtered or unexported fields
}

A control panel represents a group of routing controls that can be changed together in a single transaction.

func (ControlPanel) GoString

func (s ControlPanel) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ControlPanel) SetClusterArn

func (s *ControlPanel) SetClusterArn(v string) *ControlPanel

SetClusterArn sets the ClusterArn field's value.

func (*ControlPanel) SetControlPanelArn

func (s *ControlPanel) SetControlPanelArn(v string) *ControlPanel

SetControlPanelArn sets the ControlPanelArn field's value.

func (*ControlPanel) SetDefaultControlPanel

func (s *ControlPanel) SetDefaultControlPanel(v bool) *ControlPanel

SetDefaultControlPanel sets the DefaultControlPanel field's value.

func (*ControlPanel) SetName

func (s *ControlPanel) SetName(v string) *ControlPanel

SetName sets the Name field's value.

func (*ControlPanel) SetOwner

func (s *ControlPanel) SetOwner(v string) *ControlPanel

SetOwner sets the Owner field's value.

func (*ControlPanel) SetRoutingControlCount

func (s *ControlPanel) SetRoutingControlCount(v int64) *ControlPanel

SetRoutingControlCount sets the RoutingControlCount field's value.

func (*ControlPanel) SetStatus

func (s *ControlPanel) SetStatus(v string) *ControlPanel

SetStatus sets the Status field's value.

func (ControlPanel) String

func (s ControlPanel) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateClusterInput

type CreateClusterInput struct {

	// 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 `min:"1" type:"string" idempotencyToken:"true"`

	// The name of the cluster.
	//
	// ClusterName is a required field
	ClusterName *string `min:"1" type:"string" required:"true"`

	// The tags associated with the cluster.
	Tags map[string]*string `type:"map"`
	// contains filtered or unexported fields
}

The properties of a request to create a cluster.

func (CreateClusterInput) GoString

func (s CreateClusterInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateClusterInput) SetClientToken

func (s *CreateClusterInput) SetClientToken(v string) *CreateClusterInput

SetClientToken sets the ClientToken field's value.

func (*CreateClusterInput) SetClusterName

func (s *CreateClusterInput) SetClusterName(v string) *CreateClusterInput

SetClusterName sets the ClusterName field's value.

func (*CreateClusterInput) SetTags

func (s *CreateClusterInput) SetTags(v map[string]*string) *CreateClusterInput

SetTags sets the Tags field's value.

func (CreateClusterInput) String

func (s CreateClusterInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateClusterInput) Validate

func (s *CreateClusterInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateClusterOutput

type CreateClusterOutput struct {

	// The cluster that was created.
	Cluster *Cluster `type:"structure"`
	// contains filtered or unexported fields
}

The result of a successful CreateCluster request.

func (CreateClusterOutput) GoString

func (s CreateClusterOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateClusterOutput) SetCluster

func (s *CreateClusterOutput) SetCluster(v *Cluster) *CreateClusterOutput

SetCluster sets the Cluster field's value.

func (CreateClusterOutput) String

func (s CreateClusterOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateControlPanelInput

type CreateControlPanelInput struct {

	// 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 `min:"1" type:"string" idempotencyToken:"true"`

	// The Amazon Resource Name (ARN) of the cluster for the control panel.
	//
	// ClusterArn is a required field
	ClusterArn *string `min:"1" type:"string" required:"true"`

	// The name of the control panel.
	//
	// ControlPanelName is a required field
	ControlPanelName *string `min:"1" type:"string" required:"true"`

	// The tags associated with the control panel.
	Tags map[string]*string `type:"map"`
	// contains filtered or unexported fields
}

A request to create a control panel.

func (CreateControlPanelInput) GoString

func (s CreateControlPanelInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateControlPanelInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateControlPanelInput) SetClusterArn

SetClusterArn sets the ClusterArn field's value.

func (*CreateControlPanelInput) SetControlPanelName

func (s *CreateControlPanelInput) SetControlPanelName(v string) *CreateControlPanelInput

SetControlPanelName sets the ControlPanelName field's value.

func (*CreateControlPanelInput) SetTags

SetTags sets the Tags field's value.

func (CreateControlPanelInput) String

func (s CreateControlPanelInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateControlPanelInput) Validate

func (s *CreateControlPanelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateControlPanelOutput

type CreateControlPanelOutput struct {

	// Information about a control panel.
	ControlPanel *ControlPanel `type:"structure"`
	// contains filtered or unexported fields
}

The result of a successful CreateControlPanel request.

func (CreateControlPanelOutput) GoString

func (s CreateControlPanelOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateControlPanelOutput) SetControlPanel

SetControlPanel sets the ControlPanel field's value.

func (CreateControlPanelOutput) String

func (s CreateControlPanelOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateRoutingControlInput

type CreateRoutingControlInput struct {

	// 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 `min:"1" type:"string" idempotencyToken:"true"`

	// The Amazon Resource Name (ARN) of the cluster that includes the routing control.
	//
	// ClusterArn is a required field
	ClusterArn *string `min:"1" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the control panel that includes the routing
	// control.
	ControlPanelArn *string `min:"1" type:"string"`

	// The name of the routing control.
	//
	// RoutingControlName is a required field
	RoutingControlName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A request to create a routing control. If you don't specify ControlPanelArn, Amazon Route 53 Application Recovery Controller creates the routing control in DefaultControlPanel.

func (CreateRoutingControlInput) GoString

func (s CreateRoutingControlInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRoutingControlInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateRoutingControlInput) SetClusterArn

SetClusterArn sets the ClusterArn field's value.

func (*CreateRoutingControlInput) SetControlPanelArn

SetControlPanelArn sets the ControlPanelArn field's value.

func (*CreateRoutingControlInput) SetRoutingControlName

func (s *CreateRoutingControlInput) SetRoutingControlName(v string) *CreateRoutingControlInput

SetRoutingControlName sets the RoutingControlName field's value.

func (CreateRoutingControlInput) String

func (s CreateRoutingControlInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRoutingControlInput) Validate

func (s *CreateRoutingControlInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateRoutingControlOutput

type CreateRoutingControlOutput struct {

	// The routing control that is created.
	RoutingControl *RoutingControl `type:"structure"`
	// contains filtered or unexported fields
}

The result of a successful CreateRoutingControl request.

func (CreateRoutingControlOutput) GoString

func (s CreateRoutingControlOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRoutingControlOutput) SetRoutingControl

SetRoutingControl sets the RoutingControl field's value.

func (CreateRoutingControlOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateSafetyRuleInput

type CreateSafetyRuleInput struct {

	// The assertion rule requested.
	AssertionRule *NewAssertionRule `type:"structure"`

	// 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 `min:"1" type:"string" idempotencyToken:"true"`

	// The gating rule requested.
	GatingRule *NewGatingRule `type:"structure"`

	// The tags associated with the safety rule.
	Tags map[string]*string `type:"map"`
	// contains filtered or unexported fields
}

Request to create a safety rule. You can create either an assertion rule or a gating rule with a CreateSafetyRuleRequest call.

func (CreateSafetyRuleInput) GoString

func (s CreateSafetyRuleInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateSafetyRuleInput) SetAssertionRule

SetAssertionRule sets the AssertionRule field's value.

func (*CreateSafetyRuleInput) SetClientToken

func (s *CreateSafetyRuleInput) SetClientToken(v string) *CreateSafetyRuleInput

SetClientToken sets the ClientToken field's value.

func (*CreateSafetyRuleInput) SetGatingRule

SetGatingRule sets the GatingRule field's value.

func (*CreateSafetyRuleInput) SetTags

SetTags sets the Tags field's value.

func (CreateSafetyRuleInput) String

func (s CreateSafetyRuleInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateSafetyRuleInput) Validate

func (s *CreateSafetyRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateSafetyRuleOutput

type CreateSafetyRuleOutput struct {

	// The assertion rule created.
	AssertionRule *AssertionRule `type:"structure"`

	// The gating rule created.
	GatingRule *GatingRule `type:"structure"`
	// contains filtered or unexported fields
}

The result of a successful CreateSafetyRule request.

func (CreateSafetyRuleOutput) GoString

func (s CreateSafetyRuleOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateSafetyRuleOutput) SetAssertionRule

SetAssertionRule sets the AssertionRule field's value.

func (*CreateSafetyRuleOutput) SetGatingRule

SetGatingRule sets the GatingRule field's value.

func (CreateSafetyRuleOutput) String

func (s CreateSafetyRuleOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteClusterInput

type DeleteClusterInput struct {

	// ClusterArn is a required field
	ClusterArn *string `location:"uri" locationName:"ClusterArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteClusterInput) GoString

func (s DeleteClusterInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteClusterInput) SetClusterArn

func (s *DeleteClusterInput) SetClusterArn(v string) *DeleteClusterInput

SetClusterArn sets the ClusterArn field's value.

func (DeleteClusterInput) String

func (s DeleteClusterInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteClusterInput) Validate

func (s *DeleteClusterInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteClusterOutput

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

A successful DeleteCluster request returns no response.

func (DeleteClusterOutput) GoString

func (s DeleteClusterOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteClusterOutput) String

func (s DeleteClusterOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteControlPanelInput

type DeleteControlPanelInput struct {

	// ControlPanelArn is a required field
	ControlPanelArn *string `location:"uri" locationName:"ControlPanelArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteControlPanelInput) GoString

func (s DeleteControlPanelInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteControlPanelInput) SetControlPanelArn

func (s *DeleteControlPanelInput) SetControlPanelArn(v string) *DeleteControlPanelInput

SetControlPanelArn sets the ControlPanelArn field's value.

func (DeleteControlPanelInput) String

func (s DeleteControlPanelInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteControlPanelInput) Validate

func (s *DeleteControlPanelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteControlPanelOutput

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

A successful DeleteControlPanel request returns no response.

func (DeleteControlPanelOutput) GoString

func (s DeleteControlPanelOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteControlPanelOutput) String

func (s DeleteControlPanelOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteRoutingControlInput

type DeleteRoutingControlInput struct {

	// RoutingControlArn is a required field
	RoutingControlArn *string `location:"uri" locationName:"RoutingControlArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRoutingControlInput) GoString

func (s DeleteRoutingControlInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRoutingControlInput) SetRoutingControlArn

func (s *DeleteRoutingControlInput) SetRoutingControlArn(v string) *DeleteRoutingControlInput

SetRoutingControlArn sets the RoutingControlArn field's value.

func (DeleteRoutingControlInput) String

func (s DeleteRoutingControlInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRoutingControlInput) Validate

func (s *DeleteRoutingControlInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteRoutingControlOutput

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

A successful DeleteRoutingControl request returns no response.

func (DeleteRoutingControlOutput) GoString

func (s DeleteRoutingControlOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteRoutingControlOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteSafetyRuleInput

type DeleteSafetyRuleInput struct {

	// SafetyRuleArn is a required field
	SafetyRuleArn *string `location:"uri" locationName:"SafetyRuleArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteSafetyRuleInput) GoString

func (s DeleteSafetyRuleInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteSafetyRuleInput) SetSafetyRuleArn

func (s *DeleteSafetyRuleInput) SetSafetyRuleArn(v string) *DeleteSafetyRuleInput

SetSafetyRuleArn sets the SafetyRuleArn field's value.

func (DeleteSafetyRuleInput) String

func (s DeleteSafetyRuleInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteSafetyRuleInput) Validate

func (s *DeleteSafetyRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteSafetyRuleOutput

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

There is an empty response when you delete a safety rule. />

func (DeleteSafetyRuleOutput) GoString

func (s DeleteSafetyRuleOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteSafetyRuleOutput) String

func (s DeleteSafetyRuleOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeClusterInput

type DescribeClusterInput struct {

	// ClusterArn is a required field
	ClusterArn *string `location:"uri" locationName:"ClusterArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeClusterInput) GoString

func (s DescribeClusterInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeClusterInput) SetClusterArn

func (s *DescribeClusterInput) SetClusterArn(v string) *DescribeClusterInput

SetClusterArn sets the ClusterArn field's value.

func (DescribeClusterInput) String

func (s DescribeClusterInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeClusterInput) Validate

func (s *DescribeClusterInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeClusterOutput

type DescribeClusterOutput struct {

	// The cluster for the DescribeCluster request.
	Cluster *Cluster `type:"structure"`
	// contains filtered or unexported fields
}

The result of a successful DescribeCluster request.

func (DescribeClusterOutput) GoString

func (s DescribeClusterOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeClusterOutput) SetCluster

SetCluster sets the Cluster field's value.

func (DescribeClusterOutput) String

func (s DescribeClusterOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeControlPanelInput

type DescribeControlPanelInput struct {

	// ControlPanelArn is a required field
	ControlPanelArn *string `location:"uri" locationName:"ControlPanelArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeControlPanelInput) GoString

func (s DescribeControlPanelInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeControlPanelInput) SetControlPanelArn

SetControlPanelArn sets the ControlPanelArn field's value.

func (DescribeControlPanelInput) String

func (s DescribeControlPanelInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeControlPanelInput) Validate

func (s *DescribeControlPanelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeControlPanelOutput

type DescribeControlPanelOutput struct {

	// Information about the control panel.
	ControlPanel *ControlPanel `type:"structure"`
	// contains filtered or unexported fields
}

The result of a successful DescribeControlPanel request.

func (DescribeControlPanelOutput) GoString

func (s DescribeControlPanelOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeControlPanelOutput) SetControlPanel

SetControlPanel sets the ControlPanel field's value.

func (DescribeControlPanelOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeRoutingControlInput

type DescribeRoutingControlInput struct {

	// RoutingControlArn is a required field
	RoutingControlArn *string `location:"uri" locationName:"RoutingControlArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeRoutingControlInput) GoString

func (s DescribeRoutingControlInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRoutingControlInput) SetRoutingControlArn

SetRoutingControlArn sets the RoutingControlArn field's value.

func (DescribeRoutingControlInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRoutingControlInput) Validate

func (s *DescribeRoutingControlInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeRoutingControlOutput

type DescribeRoutingControlOutput struct {

	// Information about the routing control.
	RoutingControl *RoutingControl `type:"structure"`
	// contains filtered or unexported fields
}

The result of a successful DescribeRoutingControl request.

func (DescribeRoutingControlOutput) GoString

func (s DescribeRoutingControlOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRoutingControlOutput) SetRoutingControl

SetRoutingControl sets the RoutingControl field's value.

func (DescribeRoutingControlOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeSafetyRuleInput

type DescribeSafetyRuleInput struct {

	// SafetyRuleArn is a required field
	SafetyRuleArn *string `location:"uri" locationName:"SafetyRuleArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeSafetyRuleInput) GoString

func (s DescribeSafetyRuleInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeSafetyRuleInput) SetSafetyRuleArn

func (s *DescribeSafetyRuleInput) SetSafetyRuleArn(v string) *DescribeSafetyRuleInput

SetSafetyRuleArn sets the SafetyRuleArn field's value.

func (DescribeSafetyRuleInput) String

func (s DescribeSafetyRuleInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeSafetyRuleInput) Validate

func (s *DescribeSafetyRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeSafetyRuleOutput

type DescribeSafetyRuleOutput struct {

	// The assertion rule in the response.
	AssertionRule *AssertionRule `type:"structure"`

	// The gating rule in the response.
	GatingRule *GatingRule `type:"structure"`
	// contains filtered or unexported fields
}

The response when you send a DescribeSafetyRuleResponse request.

func (DescribeSafetyRuleOutput) GoString

func (s DescribeSafetyRuleOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeSafetyRuleOutput) SetAssertionRule

SetAssertionRule sets the AssertionRule field's value.

func (*DescribeSafetyRuleOutput) SetGatingRule

SetGatingRule sets the GatingRule field's value.

func (DescribeSafetyRuleOutput) String

func (s DescribeSafetyRuleOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GatingRule

type GatingRule struct {

	// The Amazon Resource Name (ARN) of the control panel.
	//
	// ControlPanelArn is a required field
	ControlPanelArn *string `min:"1" type:"string" required:"true"`

	// An array of gating routing control Amazon Resource Names (ARNs). For a simple
	// "on/off" switch, specify the ARN for one routing control. The gating routing
	// controls are evaluated by the rule configuration that you specify to determine
	// if the target routing control states can be changed.
	//
	// GatingControls is a required field
	GatingControls []*string `type:"list" required:"true"`

	// The name for the gating rule. You can use any non-white space character in
	// the name.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// The Amazon Web Services account ID of the gating rule owner.
	Owner *string `min:"12" type:"string"`

	// The criteria that you set for gating routing controls that designate how
	// many of the routing control states must be ON to allow you to update target
	// routing control states.
	//
	// RuleConfig is a required field
	RuleConfig *RuleConfig `type:"structure" required:"true"`

	// The Amazon Resource Name (ARN) of the gating rule.
	//
	// SafetyRuleArn is a required field
	SafetyRuleArn *string `min:"1" type:"string" required:"true"`

	// The deployment status of a gating rule. Status can be one of the following:
	// PENDING, DEPLOYED, PENDING_DELETION.
	//
	// Status is a required field
	Status *string `type:"string" required:"true" enum:"Status"`

	// An array of target routing control Amazon Resource Names (ARNs) for which
	// the states can only be updated if the rule configuration that you specify
	// evaluates to true for the gating routing control. As a simple example, if
	// you have a single gating control, it acts as an overall "on/off" switch for
	// a set of target routing controls. You can use this to manually override automated
	// failover, for example.
	//
	// TargetControls is a required field
	TargetControls []*string `type:"list" required:"true"`

	// An evaluation period, in milliseconds (ms), during which any request against
	// the target routing controls will fail. This helps prevent "flapping" of state.
	// The wait period is 5000 ms by default, but you can choose a custom value.
	//
	// WaitPeriodMs is a required field
	WaitPeriodMs *int64 `type:"integer" required:"true"`
	// contains filtered or unexported fields
}

A gating rule verifies that a gating routing control or set of gating routing controls, evaluates as true, based on a rule configuration that you specify, which allows a set of routing control state changes to complete.

For example, if you specify one gating routing control and you set the Type in the rule configuration to OR, that indicates that you must set the gating routing control to On for the rule to evaluate as true; that is, for the gating control "switch" to be "On". When you do that, then you can update the routing control states for the target routing controls that you specify in the gating rule.

func (GatingRule) GoString

func (s GatingRule) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GatingRule) SetControlPanelArn

func (s *GatingRule) SetControlPanelArn(v string) *GatingRule

SetControlPanelArn sets the ControlPanelArn field's value.

func (*GatingRule) SetGatingControls

func (s *GatingRule) SetGatingControls(v []*string) *GatingRule

SetGatingControls sets the GatingControls field's value.

func (*GatingRule) SetName

func (s *GatingRule) SetName(v string) *GatingRule

SetName sets the Name field's value.

func (*GatingRule) SetOwner

func (s *GatingRule) SetOwner(v string) *GatingRule

SetOwner sets the Owner field's value.

func (*GatingRule) SetRuleConfig

func (s *GatingRule) SetRuleConfig(v *RuleConfig) *GatingRule

SetRuleConfig sets the RuleConfig field's value.

func (*GatingRule) SetSafetyRuleArn

func (s *GatingRule) SetSafetyRuleArn(v string) *GatingRule

SetSafetyRuleArn sets the SafetyRuleArn field's value.

func (*GatingRule) SetStatus

func (s *GatingRule) SetStatus(v string) *GatingRule

SetStatus sets the Status field's value.

func (*GatingRule) SetTargetControls

func (s *GatingRule) SetTargetControls(v []*string) *GatingRule

SetTargetControls sets the TargetControls field's value.

func (*GatingRule) SetWaitPeriodMs

func (s *GatingRule) SetWaitPeriodMs(v int64) *GatingRule

SetWaitPeriodMs sets the WaitPeriodMs field's value.

func (GatingRule) String

func (s GatingRule) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GatingRuleUpdate

type GatingRuleUpdate struct {

	// The name for the gating rule. You can use any non-white space character in
	// the name.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the gating rule.
	//
	// SafetyRuleArn is a required field
	SafetyRuleArn *string `min:"1" type:"string" required:"true"`

	// An evaluation period, in milliseconds (ms), during which any request against
	// the target routing controls will fail. This helps prevent "flapping" of state.
	// The wait period is 5000 ms by default, but you can choose a custom value.
	//
	// WaitPeriodMs is a required field
	WaitPeriodMs *int64 `type:"integer" required:"true"`
	// contains filtered or unexported fields
}

Update to a gating rule. You can update the name or the evaluation period (wait period). If you don't specify one of the items to update, the item is unchanged.

func (GatingRuleUpdate) GoString

func (s GatingRuleUpdate) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GatingRuleUpdate) SetName

func (s *GatingRuleUpdate) SetName(v string) *GatingRuleUpdate

SetName sets the Name field's value.

func (*GatingRuleUpdate) SetSafetyRuleArn

func (s *GatingRuleUpdate) SetSafetyRuleArn(v string) *GatingRuleUpdate

SetSafetyRuleArn sets the SafetyRuleArn field's value.

func (*GatingRuleUpdate) SetWaitPeriodMs

func (s *GatingRuleUpdate) SetWaitPeriodMs(v int64) *GatingRuleUpdate

SetWaitPeriodMs sets the WaitPeriodMs field's value.

func (GatingRuleUpdate) String

func (s GatingRuleUpdate) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GatingRuleUpdate) Validate

func (s *GatingRuleUpdate) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetResourcePolicyInput

type GetResourcePolicyInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetResourcePolicyInput) GoString

func (s GetResourcePolicyInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetResourcePolicyInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (GetResourcePolicyInput) String

func (s GetResourcePolicyInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetResourcePolicyInput) Validate

func (s *GetResourcePolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetResourcePolicyOutput

type GetResourcePolicyOutput struct {

	// The resource policy.
	Policy *string `min:"2" type:"string"`
	// contains filtered or unexported fields
}

Returns the current Amazon Resource Access Manager resource policy for a cluster.

func (GetResourcePolicyOutput) GoString

func (s GetResourcePolicyOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetResourcePolicyOutput) SetPolicy

SetPolicy sets the Policy field's value.

func (GetResourcePolicyOutput) String

func (s GetResourcePolicyOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InternalServerException

type InternalServerException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

500 response - InternalServiceError. Temporary service error. Retry the request.

func (*InternalServerException) Code

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error

func (s *InternalServerException) Error() string

func (InternalServerException) GoString

func (s InternalServerException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InternalServerException) Message

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode

func (s *InternalServerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServerException) String

func (s InternalServerException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListAssociatedRoute53HealthChecksInput

type ListAssociatedRoute53HealthChecksInput struct {
	MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"NextToken" type:"string"`

	// RoutingControlArn is a required field
	RoutingControlArn *string `location:"uri" locationName:"RoutingControlArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListAssociatedRoute53HealthChecksInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAssociatedRoute53HealthChecksInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListAssociatedRoute53HealthChecksInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListAssociatedRoute53HealthChecksInput) SetRoutingControlArn

SetRoutingControlArn sets the RoutingControlArn field's value.

func (ListAssociatedRoute53HealthChecksInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAssociatedRoute53HealthChecksInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ListAssociatedRoute53HealthChecksOutput

type ListAssociatedRoute53HealthChecksOutput struct {

	// Identifiers for the health checks.
	HealthCheckIds []*string `type:"list"`

	// Next token for listing health checks.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

The result of a successful ListAssociatedRoute53HealthChecks request.

func (ListAssociatedRoute53HealthChecksOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAssociatedRoute53HealthChecksOutput) SetHealthCheckIds

SetHealthCheckIds sets the HealthCheckIds field's value.

func (*ListAssociatedRoute53HealthChecksOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListAssociatedRoute53HealthChecksOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListClustersInput

type ListClustersInput struct {
	MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"NextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListClustersInput) GoString

func (s ListClustersInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListClustersInput) SetMaxResults

func (s *ListClustersInput) SetMaxResults(v int64) *ListClustersInput

SetMaxResults sets the MaxResults field's value.

func (*ListClustersInput) SetNextToken

func (s *ListClustersInput) SetNextToken(v string) *ListClustersInput

SetNextToken sets the NextToken field's value.

func (ListClustersInput) String

func (s ListClustersInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListClustersInput) Validate

func (s *ListClustersInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListClustersOutput

type ListClustersOutput struct {

	// An array of the clusters in an account.
	Clusters []*Cluster `type:"list"`

	// The token that identifies which batch of results you want to see.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

The result of a successful ListClusters request.

func (ListClustersOutput) GoString

func (s ListClustersOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListClustersOutput) SetClusters

func (s *ListClustersOutput) SetClusters(v []*Cluster) *ListClustersOutput

SetClusters sets the Clusters field's value.

func (*ListClustersOutput) SetNextToken

func (s *ListClustersOutput) SetNextToken(v string) *ListClustersOutput

SetNextToken sets the NextToken field's value.

func (ListClustersOutput) String

func (s ListClustersOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListControlPanelsInput

type ListControlPanelsInput struct {
	ClusterArn *string `location:"querystring" locationName:"ClusterArn" type:"string"`

	MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"NextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListControlPanelsInput) GoString

func (s ListControlPanelsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListControlPanelsInput) SetClusterArn

SetClusterArn sets the ClusterArn field's value.

func (*ListControlPanelsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListControlPanelsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListControlPanelsInput) String

func (s ListControlPanelsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListControlPanelsInput) Validate

func (s *ListControlPanelsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListControlPanelsOutput

type ListControlPanelsOutput struct {

	// The result of a successful ListControlPanel request.
	ControlPanels []*ControlPanel `type:"list"`

	// The token that identifies which batch of results you want to see.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

The result of a successful ListControlPanel request.

func (ListControlPanelsOutput) GoString

func (s ListControlPanelsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListControlPanelsOutput) SetControlPanels

SetControlPanels sets the ControlPanels field's value.

func (*ListControlPanelsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListControlPanelsOutput) String

func (s ListControlPanelsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListRoutingControlsInput

type ListRoutingControlsInput struct {

	// ControlPanelArn is a required field
	ControlPanelArn *string `location:"uri" locationName:"ControlPanelArn" type:"string" required:"true"`

	MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"NextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListRoutingControlsInput) GoString

func (s ListRoutingControlsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRoutingControlsInput) SetControlPanelArn

func (s *ListRoutingControlsInput) SetControlPanelArn(v string) *ListRoutingControlsInput

SetControlPanelArn sets the ControlPanelArn field's value.

func (*ListRoutingControlsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListRoutingControlsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListRoutingControlsInput) String

func (s ListRoutingControlsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRoutingControlsInput) Validate

func (s *ListRoutingControlsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListRoutingControlsOutput

type ListRoutingControlsOutput struct {

	// The token that identifies which batch of results you want to see.
	NextToken *string `min:"1" type:"string"`

	// An array of routing controls.
	RoutingControls []*RoutingControl `type:"list"`
	// contains filtered or unexported fields
}

The result of a successful ListRoutingControl request.

func (ListRoutingControlsOutput) GoString

func (s ListRoutingControlsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListRoutingControlsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRoutingControlsOutput) SetRoutingControls

SetRoutingControls sets the RoutingControls field's value.

func (ListRoutingControlsOutput) String

func (s ListRoutingControlsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListSafetyRulesInput

type ListSafetyRulesInput struct {

	// ControlPanelArn is a required field
	ControlPanelArn *string `location:"uri" locationName:"ControlPanelArn" type:"string" required:"true"`

	MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"NextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListSafetyRulesInput) GoString

func (s ListSafetyRulesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSafetyRulesInput) SetControlPanelArn

func (s *ListSafetyRulesInput) SetControlPanelArn(v string) *ListSafetyRulesInput

SetControlPanelArn sets the ControlPanelArn field's value.

func (*ListSafetyRulesInput) SetMaxResults

func (s *ListSafetyRulesInput) SetMaxResults(v int64) *ListSafetyRulesInput

SetMaxResults sets the MaxResults field's value.

func (*ListSafetyRulesInput) SetNextToken

func (s *ListSafetyRulesInput) SetNextToken(v string) *ListSafetyRulesInput

SetNextToken sets the NextToken field's value.

func (ListSafetyRulesInput) String

func (s ListSafetyRulesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSafetyRulesInput) Validate

func (s *ListSafetyRulesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListSafetyRulesOutput

type ListSafetyRulesOutput struct {

	// The token that identifies which batch of results you want to see.
	NextToken *string `min:"1" type:"string"`

	// The list of safety rules in a control panel.
	SafetyRules []*Rule `type:"list"`
	// contains filtered or unexported fields
}

The response to a ListSafetyRulesRequest.

func (ListSafetyRulesOutput) GoString

func (s ListSafetyRulesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSafetyRulesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListSafetyRulesOutput) SetSafetyRules

func (s *ListSafetyRulesOutput) SetSafetyRules(v []*Rule) *ListSafetyRulesOutput

SetSafetyRules sets the SafetyRules field's value.

func (ListSafetyRulesOutput) String

func (s ListSafetyRulesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// The tags associated with the resource.
	Tags map[string]*string `type:"map"`
	// contains filtered or unexported fields
}

The result of a successful ListTagsForResource request.

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type NewAssertionRule

type NewAssertionRule struct {

	// The routing controls that are part of transactions that are evaluated to
	// determine if a request to change a routing control state is allowed. For
	// example, you might include three routing controls, one for each of three
	// Amazon Web Services Regions.
	//
	// AssertedControls is a required field
	AssertedControls []*string `type:"list" required:"true"`

	// The Amazon Resource Name (ARN) for the control panel.
	//
	// ControlPanelArn is a required field
	ControlPanelArn *string `min:"1" type:"string" required:"true"`

	// The name of the assertion rule. You can use any non-white space character
	// in the name.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// The criteria that you set for specific assertion controls (routing controls)
	// that designate how many control states must be ON as the result of a transaction.
	// For example, if you have three assertion controls, you might specify ATLEAST
	// 2 for your rule configuration. This means that at least two assertion controls
	// must be ON, so that at least two Amazon Web Services Regions have traffic
	// flowing to them.
	//
	// RuleConfig is a required field
	RuleConfig *RuleConfig `type:"structure" required:"true"`

	// An evaluation period, in milliseconds (ms), during which any request against
	// the target routing controls will fail. This helps prevent "flapping" of state.
	// The wait period is 5000 ms by default, but you can choose a custom value.
	//
	// WaitPeriodMs is a required field
	WaitPeriodMs *int64 `type:"integer" required:"true"`
	// contains filtered or unexported fields
}

A new assertion rule for a control panel.

func (NewAssertionRule) GoString

func (s NewAssertionRule) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*NewAssertionRule) SetAssertedControls

func (s *NewAssertionRule) SetAssertedControls(v []*string) *NewAssertionRule

SetAssertedControls sets the AssertedControls field's value.

func (*NewAssertionRule) SetControlPanelArn

func (s *NewAssertionRule) SetControlPanelArn(v string) *NewAssertionRule

SetControlPanelArn sets the ControlPanelArn field's value.

func (*NewAssertionRule) SetName

func (s *NewAssertionRule) SetName(v string) *NewAssertionRule

SetName sets the Name field's value.

func (*NewAssertionRule) SetRuleConfig

func (s *NewAssertionRule) SetRuleConfig(v *RuleConfig) *NewAssertionRule

SetRuleConfig sets the RuleConfig field's value.

func (*NewAssertionRule) SetWaitPeriodMs

func (s *NewAssertionRule) SetWaitPeriodMs(v int64) *NewAssertionRule

SetWaitPeriodMs sets the WaitPeriodMs field's value.

func (NewAssertionRule) String

func (s NewAssertionRule) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*NewAssertionRule) Validate

func (s *NewAssertionRule) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type NewGatingRule

type NewGatingRule struct {

	// The Amazon Resource Name (ARN) of the control panel.
	//
	// ControlPanelArn is a required field
	ControlPanelArn *string `min:"1" type:"string" required:"true"`

	// The gating controls for the new gating rule. That is, routing controls that
	// are evaluated by the rule configuration that you specify.
	//
	// GatingControls is a required field
	GatingControls []*string `type:"list" required:"true"`

	// The name for the new gating rule.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// The criteria that you set for specific gating controls (routing controls)
	// that designate how many control states must be ON to allow you to change
	// (set or unset) the target control states.
	//
	// RuleConfig is a required field
	RuleConfig *RuleConfig `type:"structure" required:"true"`

	// Routing controls that can only be set or unset if the specified RuleConfig
	// evaluates to true for the specified GatingControls. For example, say you
	// have three gating controls, one for each of three Amazon Web Services Regions.
	// Now you specify ATLEAST 2 as your RuleConfig. With these settings, you can
	// only change (set or unset) the routing controls that you have specified as
	// TargetControls if that rule evaluates to true.
	//
	// In other words, your ability to change the routing controls that you have
	// specified as TargetControls is gated by the rule that you set for the routing
	// controls in GatingControls.
	//
	// TargetControls is a required field
	TargetControls []*string `type:"list" required:"true"`

	// An evaluation period, in milliseconds (ms), during which any request against
	// the target routing controls will fail. This helps prevent "flapping" of state.
	// The wait period is 5000 ms by default, but you can choose a custom value.
	//
	// WaitPeriodMs is a required field
	WaitPeriodMs *int64 `type:"integer" required:"true"`
	// contains filtered or unexported fields
}

A new gating rule for a control panel.

func (NewGatingRule) GoString

func (s NewGatingRule) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*NewGatingRule) SetControlPanelArn

func (s *NewGatingRule) SetControlPanelArn(v string) *NewGatingRule

SetControlPanelArn sets the ControlPanelArn field's value.

func (*NewGatingRule) SetGatingControls

func (s *NewGatingRule) SetGatingControls(v []*string) *NewGatingRule

SetGatingControls sets the GatingControls field's value.

func (*NewGatingRule) SetName

func (s *NewGatingRule) SetName(v string) *NewGatingRule

SetName sets the Name field's value.

func (*NewGatingRule) SetRuleConfig

func (s *NewGatingRule) SetRuleConfig(v *RuleConfig) *NewGatingRule

SetRuleConfig sets the RuleConfig field's value.

func (*NewGatingRule) SetTargetControls

func (s *NewGatingRule) SetTargetControls(v []*string) *NewGatingRule

SetTargetControls sets the TargetControls field's value.

func (*NewGatingRule) SetWaitPeriodMs

func (s *NewGatingRule) SetWaitPeriodMs(v int64) *NewGatingRule

SetWaitPeriodMs sets the WaitPeriodMs field's value.

func (NewGatingRule) String

func (s NewGatingRule) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*NewGatingRule) Validate

func (s *NewGatingRule) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ResourceNotFoundException

type ResourceNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Route53RecoveryControlConfig

type Route53RecoveryControlConfig struct {
	*client.Client
}

Route53RecoveryControlConfig provides the API operation methods for making requests to AWS Route53 Recovery Control Config. See this package's package overview docs for details on the service.

Route53RecoveryControlConfig methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

New creates a new instance of the Route53RecoveryControlConfig client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a Route53RecoveryControlConfig client from just a session.
svc := route53recoverycontrolconfig.New(mySession)

// Create a Route53RecoveryControlConfig client with additional configuration
svc := route53recoverycontrolconfig.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*Route53RecoveryControlConfig) CreateCluster

CreateCluster API operation for AWS Route53 Recovery Control Config.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation CreateCluster for usage and error information.

Returned Error Types:

  • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

  • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.

  • ServiceQuotaExceededException 402 response - You attempted to create more resources than the service allows based on service quotas.

  • AccessDeniedException 403 response - You do not have sufficient access to perform this action.

  • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

  • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.

  • ConflictException 409 response - ConflictException. You might be using a predefined variable.

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateCluster

func (*Route53RecoveryControlConfig) CreateClusterRequest

func (c *Route53RecoveryControlConfig) CreateClusterRequest(input *CreateClusterInput) (req *request.Request, output *CreateClusterOutput)

CreateClusterRequest generates a "aws/request.Request" representing the client's request for the CreateCluster operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateCluster for more information on using the CreateCluster API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateClusterRequest method.
req, resp := client.CreateClusterRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateCluster

func (*Route53RecoveryControlConfig) CreateClusterWithContext

func (c *Route53RecoveryControlConfig) CreateClusterWithContext(ctx aws.Context, input *CreateClusterInput, opts ...request.Option) (*CreateClusterOutput, error)

CreateClusterWithContext is the same as CreateCluster with the addition of the ability to pass a context and additional request options.

See CreateCluster for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) CreateControlPanel

CreateControlPanel API operation for AWS Route53 Recovery Control Config.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation CreateControlPanel for usage and error information.

Returned Error Types:

  • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

  • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.

  • ServiceQuotaExceededException 402 response - You attempted to create more resources than the service allows based on service quotas.

  • AccessDeniedException 403 response - You do not have sufficient access to perform this action.

  • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

  • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.

  • ConflictException 409 response - ConflictException. You might be using a predefined variable.

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateControlPanel

func (*Route53RecoveryControlConfig) CreateControlPanelRequest

func (c *Route53RecoveryControlConfig) CreateControlPanelRequest(input *CreateControlPanelInput) (req *request.Request, output *CreateControlPanelOutput)

CreateControlPanelRequest generates a "aws/request.Request" representing the client's request for the CreateControlPanel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateControlPanel for more information on using the CreateControlPanel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateControlPanelRequest method.
req, resp := client.CreateControlPanelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateControlPanel

func (*Route53RecoveryControlConfig) CreateControlPanelWithContext

func (c *Route53RecoveryControlConfig) CreateControlPanelWithContext(ctx aws.Context, input *CreateControlPanelInput, opts ...request.Option) (*CreateControlPanelOutput, error)

CreateControlPanelWithContext is the same as CreateControlPanel with the addition of the ability to pass a context and additional request options.

See CreateControlPanel for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) CreateRoutingControl

CreateRoutingControl API operation for AWS Route53 Recovery Control Config.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation CreateRoutingControl for usage and error information.

Returned Error Types:

  • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

  • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.

  • ServiceQuotaExceededException 402 response - You attempted to create more resources than the service allows based on service quotas.

  • AccessDeniedException 403 response - You do not have sufficient access to perform this action.

  • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

  • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.

  • ConflictException 409 response - ConflictException. You might be using a predefined variable.

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateRoutingControl

func (*Route53RecoveryControlConfig) CreateRoutingControlRequest

func (c *Route53RecoveryControlConfig) CreateRoutingControlRequest(input *CreateRoutingControlInput) (req *request.Request, output *CreateRoutingControlOutput)

CreateRoutingControlRequest generates a "aws/request.Request" representing the client's request for the CreateRoutingControl operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateRoutingControl for more information on using the CreateRoutingControl API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateRoutingControlRequest method.
req, resp := client.CreateRoutingControlRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateRoutingControl

func (*Route53RecoveryControlConfig) CreateRoutingControlWithContext

func (c *Route53RecoveryControlConfig) CreateRoutingControlWithContext(ctx aws.Context, input *CreateRoutingControlInput, opts ...request.Option) (*CreateRoutingControlOutput, error)

CreateRoutingControlWithContext is the same as CreateRoutingControl with the addition of the ability to pass a context and additional request options.

See CreateRoutingControl for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) CreateSafetyRule

CreateSafetyRule API operation for AWS Route53 Recovery Control Config.

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 (https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.safety-rules.html) in the Amazon Route 53 Application Recovery Controller Developer Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation CreateSafetyRule for usage and error information.

Returned Error Types:

  • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

  • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateSafetyRule

func (*Route53RecoveryControlConfig) CreateSafetyRuleRequest

func (c *Route53RecoveryControlConfig) CreateSafetyRuleRequest(input *CreateSafetyRuleInput) (req *request.Request, output *CreateSafetyRuleOutput)

CreateSafetyRuleRequest generates a "aws/request.Request" representing the client's request for the CreateSafetyRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateSafetyRule for more information on using the CreateSafetyRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateSafetyRuleRequest method.
req, resp := client.CreateSafetyRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateSafetyRule

func (*Route53RecoveryControlConfig) CreateSafetyRuleWithContext

func (c *Route53RecoveryControlConfig) CreateSafetyRuleWithContext(ctx aws.Context, input *CreateSafetyRuleInput, opts ...request.Option) (*CreateSafetyRuleOutput, error)

CreateSafetyRuleWithContext is the same as CreateSafetyRule with the addition of the ability to pass a context and additional request options.

See CreateSafetyRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) DeleteCluster

DeleteCluster API operation for AWS Route53 Recovery Control Config.

Delete a cluster.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation DeleteCluster for usage and error information.

Returned Error Types:

  • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

  • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.

  • AccessDeniedException 403 response - You do not have sufficient access to perform this action.

  • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

  • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.

  • ConflictException 409 response - ConflictException. You might be using a predefined variable.

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DeleteCluster

func (*Route53RecoveryControlConfig) DeleteClusterRequest

func (c *Route53RecoveryControlConfig) DeleteClusterRequest(input *DeleteClusterInput) (req *request.Request, output *DeleteClusterOutput)

DeleteClusterRequest generates a "aws/request.Request" representing the client's request for the DeleteCluster operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteCluster for more information on using the DeleteCluster API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteClusterRequest method.
req, resp := client.DeleteClusterRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DeleteCluster

func (*Route53RecoveryControlConfig) DeleteClusterWithContext

func (c *Route53RecoveryControlConfig) DeleteClusterWithContext(ctx aws.Context, input *DeleteClusterInput, opts ...request.Option) (*DeleteClusterOutput, error)

DeleteClusterWithContext is the same as DeleteCluster with the addition of the ability to pass a context and additional request options.

See DeleteCluster for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) DeleteControlPanel

DeleteControlPanel API operation for AWS Route53 Recovery Control Config.

Deletes a control panel.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation DeleteControlPanel for usage and error information.

Returned Error Types:

  • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

  • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.

  • AccessDeniedException 403 response - You do not have sufficient access to perform this action.

  • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

  • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.

  • ConflictException 409 response - ConflictException. You might be using a predefined variable.

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DeleteControlPanel

func (*Route53RecoveryControlConfig) DeleteControlPanelRequest

func (c *Route53RecoveryControlConfig) DeleteControlPanelRequest(input *DeleteControlPanelInput) (req *request.Request, output *DeleteControlPanelOutput)

DeleteControlPanelRequest generates a "aws/request.Request" representing the client's request for the DeleteControlPanel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteControlPanel for more information on using the DeleteControlPanel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteControlPanelRequest method.
req, resp := client.DeleteControlPanelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DeleteControlPanel

func (*Route53RecoveryControlConfig) DeleteControlPanelWithContext

func (c *Route53RecoveryControlConfig) DeleteControlPanelWithContext(ctx aws.Context, input *DeleteControlPanelInput, opts ...request.Option) (*DeleteControlPanelOutput, error)

DeleteControlPanelWithContext is the same as DeleteControlPanel with the addition of the ability to pass a context and additional request options.

See DeleteControlPanel for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) DeleteRoutingControl

DeleteRoutingControl API operation for AWS Route53 Recovery Control Config.

Deletes a routing control.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation DeleteRoutingControl for usage and error information.

Returned Error Types:

  • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

  • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.

  • AccessDeniedException 403 response - You do not have sufficient access to perform this action.

  • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

  • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.

  • ConflictException 409 response - ConflictException. You might be using a predefined variable.

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DeleteRoutingControl

func (*Route53RecoveryControlConfig) DeleteRoutingControlRequest

func (c *Route53RecoveryControlConfig) DeleteRoutingControlRequest(input *DeleteRoutingControlInput) (req *request.Request, output *DeleteRoutingControlOutput)

DeleteRoutingControlRequest generates a "aws/request.Request" representing the client's request for the DeleteRoutingControl operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteRoutingControl for more information on using the DeleteRoutingControl API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteRoutingControlRequest method.
req, resp := client.DeleteRoutingControlRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DeleteRoutingControl

func (*Route53RecoveryControlConfig) DeleteRoutingControlWithContext

func (c *Route53RecoveryControlConfig) DeleteRoutingControlWithContext(ctx aws.Context, input *DeleteRoutingControlInput, opts ...request.Option) (*DeleteRoutingControlOutput, error)

DeleteRoutingControlWithContext is the same as DeleteRoutingControl with the addition of the ability to pass a context and additional request options.

See DeleteRoutingControl for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) DeleteSafetyRule

DeleteSafetyRule API operation for AWS Route53 Recovery Control Config.

Deletes a safety rule. />

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation DeleteSafetyRule for usage and error information.

Returned Error Types:

  • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

  • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

  • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DeleteSafetyRule

func (*Route53RecoveryControlConfig) DeleteSafetyRuleRequest

func (c *Route53RecoveryControlConfig) DeleteSafetyRuleRequest(input *DeleteSafetyRuleInput) (req *request.Request, output *DeleteSafetyRuleOutput)

DeleteSafetyRuleRequest generates a "aws/request.Request" representing the client's request for the DeleteSafetyRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteSafetyRule for more information on using the DeleteSafetyRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteSafetyRuleRequest method.
req, resp := client.DeleteSafetyRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DeleteSafetyRule

func (*Route53RecoveryControlConfig) DeleteSafetyRuleWithContext

func (c *Route53RecoveryControlConfig) DeleteSafetyRuleWithContext(ctx aws.Context, input *DeleteSafetyRuleInput, opts ...request.Option) (*DeleteSafetyRuleOutput, error)

DeleteSafetyRuleWithContext is the same as DeleteSafetyRule with the addition of the ability to pass a context and additional request options.

See DeleteSafetyRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) DescribeCluster

DescribeCluster API operation for AWS Route53 Recovery Control Config.

Display the details about a cluster. The response includes the cluster name, endpoints, status, and Amazon Resource Name (ARN).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation DescribeCluster for usage and error information.

Returned Error Types:

  • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

  • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.

  • AccessDeniedException 403 response - You do not have sufficient access to perform this action.

  • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

  • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.

  • ConflictException 409 response - ConflictException. You might be using a predefined variable.

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DescribeCluster

func (*Route53RecoveryControlConfig) DescribeClusterRequest

func (c *Route53RecoveryControlConfig) DescribeClusterRequest(input *DescribeClusterInput) (req *request.Request, output *DescribeClusterOutput)

DescribeClusterRequest generates a "aws/request.Request" representing the client's request for the DescribeCluster operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeCluster for more information on using the DescribeCluster API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeClusterRequest method.
req, resp := client.DescribeClusterRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DescribeCluster

func (*Route53RecoveryControlConfig) DescribeClusterWithContext

func (c *Route53RecoveryControlConfig) DescribeClusterWithContext(ctx aws.Context, input *DescribeClusterInput, opts ...request.Option) (*DescribeClusterOutput, error)

DescribeClusterWithContext is the same as DescribeCluster with the addition of the ability to pass a context and additional request options.

See DescribeCluster for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) DescribeControlPanel

DescribeControlPanel API operation for AWS Route53 Recovery Control Config.

Displays details about a control panel.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation DescribeControlPanel for usage and error information.

Returned Error Types:

  • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

  • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.

  • AccessDeniedException 403 response - You do not have sufficient access to perform this action.

  • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

  • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.

  • ConflictException 409 response - ConflictException. You might be using a predefined variable.

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DescribeControlPanel

func (*Route53RecoveryControlConfig) DescribeControlPanelRequest

func (c *Route53RecoveryControlConfig) DescribeControlPanelRequest(input *DescribeControlPanelInput) (req *request.Request, output *DescribeControlPanelOutput)

DescribeControlPanelRequest generates a "aws/request.Request" representing the client's request for the DescribeControlPanel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeControlPanel for more information on using the DescribeControlPanel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeControlPanelRequest method.
req, resp := client.DescribeControlPanelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DescribeControlPanel

func (*Route53RecoveryControlConfig) DescribeControlPanelWithContext

func (c *Route53RecoveryControlConfig) DescribeControlPanelWithContext(ctx aws.Context, input *DescribeControlPanelInput, opts ...request.Option) (*DescribeControlPanelOutput, error)

DescribeControlPanelWithContext is the same as DescribeControlPanel with the addition of the ability to pass a context and additional request options.

See DescribeControlPanel for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) DescribeRoutingControl

DescribeRoutingControl API operation for AWS Route53 Recovery Control Config.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation DescribeRoutingControl for usage and error information.

Returned Error Types:

  • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

  • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.

  • AccessDeniedException 403 response - You do not have sufficient access to perform this action.

  • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

  • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.

  • ConflictException 409 response - ConflictException. You might be using a predefined variable.

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DescribeRoutingControl

func (*Route53RecoveryControlConfig) DescribeRoutingControlRequest

func (c *Route53RecoveryControlConfig) DescribeRoutingControlRequest(input *DescribeRoutingControlInput) (req *request.Request, output *DescribeRoutingControlOutput)

DescribeRoutingControlRequest generates a "aws/request.Request" representing the client's request for the DescribeRoutingControl operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeRoutingControl for more information on using the DescribeRoutingControl API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeRoutingControlRequest method.
req, resp := client.DescribeRoutingControlRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DescribeRoutingControl

func (*Route53RecoveryControlConfig) DescribeRoutingControlWithContext

func (c *Route53RecoveryControlConfig) DescribeRoutingControlWithContext(ctx aws.Context, input *DescribeRoutingControlInput, opts ...request.Option) (*DescribeRoutingControlOutput, error)

DescribeRoutingControlWithContext is the same as DescribeRoutingControl with the addition of the ability to pass a context and additional request options.

See DescribeRoutingControl for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) DescribeSafetyRule

DescribeSafetyRule API operation for AWS Route53 Recovery Control Config.

Returns information about a safety rule.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation DescribeSafetyRule for usage and error information.

Returned Error Types:

  • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

  • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DescribeSafetyRule

func (*Route53RecoveryControlConfig) DescribeSafetyRuleRequest

func (c *Route53RecoveryControlConfig) DescribeSafetyRuleRequest(input *DescribeSafetyRuleInput) (req *request.Request, output *DescribeSafetyRuleOutput)

DescribeSafetyRuleRequest generates a "aws/request.Request" representing the client's request for the DescribeSafetyRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeSafetyRule for more information on using the DescribeSafetyRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeSafetyRuleRequest method.
req, resp := client.DescribeSafetyRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DescribeSafetyRule

func (*Route53RecoveryControlConfig) DescribeSafetyRuleWithContext

func (c *Route53RecoveryControlConfig) DescribeSafetyRuleWithContext(ctx aws.Context, input *DescribeSafetyRuleInput, opts ...request.Option) (*DescribeSafetyRuleOutput, error)

DescribeSafetyRuleWithContext is the same as DescribeSafetyRule with the addition of the ability to pass a context and additional request options.

See DescribeSafetyRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) GetResourcePolicy

GetResourcePolicy API operation for AWS Route53 Recovery Control Config.

Get information about the resource policy for a cluster.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation GetResourcePolicy for usage and error information.

Returned Error Types:

  • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

  • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/GetResourcePolicy

func (*Route53RecoveryControlConfig) GetResourcePolicyRequest

func (c *Route53RecoveryControlConfig) GetResourcePolicyRequest(input *GetResourcePolicyInput) (req *request.Request, output *GetResourcePolicyOutput)

GetResourcePolicyRequest generates a "aws/request.Request" representing the client's request for the GetResourcePolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetResourcePolicy for more information on using the GetResourcePolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetResourcePolicyRequest method.
req, resp := client.GetResourcePolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/GetResourcePolicy

func (*Route53RecoveryControlConfig) GetResourcePolicyWithContext

func (c *Route53RecoveryControlConfig) GetResourcePolicyWithContext(ctx aws.Context, input *GetResourcePolicyInput, opts ...request.Option) (*GetResourcePolicyOutput, error)

GetResourcePolicyWithContext is the same as GetResourcePolicy with the addition of the ability to pass a context and additional request options.

See GetResourcePolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) ListAssociatedRoute53HealthChecks

ListAssociatedRoute53HealthChecks API operation for AWS Route53 Recovery Control Config.

Returns an array of all Amazon Route 53 health checks associated with a specific routing control.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation ListAssociatedRoute53HealthChecks for usage and error information.

Returned Error Types:

  • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

  • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

  • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListAssociatedRoute53HealthChecks

func (*Route53RecoveryControlConfig) ListAssociatedRoute53HealthChecksPages

ListAssociatedRoute53HealthChecksPages iterates over the pages of a ListAssociatedRoute53HealthChecks operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListAssociatedRoute53HealthChecks method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListAssociatedRoute53HealthChecks operation.
pageNum := 0
err := client.ListAssociatedRoute53HealthChecksPages(params,
    func(page *route53recoverycontrolconfig.ListAssociatedRoute53HealthChecksOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Route53RecoveryControlConfig) ListAssociatedRoute53HealthChecksPagesWithContext

func (c *Route53RecoveryControlConfig) ListAssociatedRoute53HealthChecksPagesWithContext(ctx aws.Context, input *ListAssociatedRoute53HealthChecksInput, fn func(*ListAssociatedRoute53HealthChecksOutput, bool) bool, opts ...request.Option) error

ListAssociatedRoute53HealthChecksPagesWithContext same as ListAssociatedRoute53HealthChecksPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) ListAssociatedRoute53HealthChecksRequest

func (c *Route53RecoveryControlConfig) ListAssociatedRoute53HealthChecksRequest(input *ListAssociatedRoute53HealthChecksInput) (req *request.Request, output *ListAssociatedRoute53HealthChecksOutput)

ListAssociatedRoute53HealthChecksRequest generates a "aws/request.Request" representing the client's request for the ListAssociatedRoute53HealthChecks operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListAssociatedRoute53HealthChecks for more information on using the ListAssociatedRoute53HealthChecks API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListAssociatedRoute53HealthChecksRequest method.
req, resp := client.ListAssociatedRoute53HealthChecksRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListAssociatedRoute53HealthChecks

func (*Route53RecoveryControlConfig) ListAssociatedRoute53HealthChecksWithContext

func (c *Route53RecoveryControlConfig) ListAssociatedRoute53HealthChecksWithContext(ctx aws.Context, input *ListAssociatedRoute53HealthChecksInput, opts ...request.Option) (*ListAssociatedRoute53HealthChecksOutput, error)

ListAssociatedRoute53HealthChecksWithContext is the same as ListAssociatedRoute53HealthChecks with the addition of the ability to pass a context and additional request options.

See ListAssociatedRoute53HealthChecks for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) ListClusters

ListClusters API operation for AWS Route53 Recovery Control Config.

Returns an array of all the clusters in an account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation ListClusters for usage and error information.

Returned Error Types:

  • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

  • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.

  • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

  • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.

  • AccessDeniedException 403 response - You do not have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListClusters

func (*Route53RecoveryControlConfig) ListClustersPages

func (c *Route53RecoveryControlConfig) ListClustersPages(input *ListClustersInput, fn func(*ListClustersOutput, bool) bool) error

ListClustersPages iterates over the pages of a ListClusters operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListClusters method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListClusters operation.
pageNum := 0
err := client.ListClustersPages(params,
    func(page *route53recoverycontrolconfig.ListClustersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Route53RecoveryControlConfig) ListClustersPagesWithContext

func (c *Route53RecoveryControlConfig) ListClustersPagesWithContext(ctx aws.Context, input *ListClustersInput, fn func(*ListClustersOutput, bool) bool, opts ...request.Option) error

ListClustersPagesWithContext same as ListClustersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) ListClustersRequest

func (c *Route53RecoveryControlConfig) ListClustersRequest(input *ListClustersInput) (req *request.Request, output *ListClustersOutput)

ListClustersRequest generates a "aws/request.Request" representing the client's request for the ListClusters operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListClusters for more information on using the ListClusters API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListClustersRequest method.
req, resp := client.ListClustersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListClusters

func (*Route53RecoveryControlConfig) ListClustersWithContext

func (c *Route53RecoveryControlConfig) ListClustersWithContext(ctx aws.Context, input *ListClustersInput, opts ...request.Option) (*ListClustersOutput, error)

ListClustersWithContext is the same as ListClusters with the addition of the ability to pass a context and additional request options.

See ListClusters for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) ListControlPanels

ListControlPanels API operation for AWS Route53 Recovery Control Config.

Returns an array of control panels in an account or in a cluster.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation ListControlPanels for usage and error information.

Returned Error Types:

  • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

  • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.

  • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

  • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.

  • AccessDeniedException 403 response - You do not have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListControlPanels

func (*Route53RecoveryControlConfig) ListControlPanelsPages

func (c *Route53RecoveryControlConfig) ListControlPanelsPages(input *ListControlPanelsInput, fn func(*ListControlPanelsOutput, bool) bool) error

ListControlPanelsPages iterates over the pages of a ListControlPanels operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListControlPanels method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListControlPanels operation.
pageNum := 0
err := client.ListControlPanelsPages(params,
    func(page *route53recoverycontrolconfig.ListControlPanelsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Route53RecoveryControlConfig) ListControlPanelsPagesWithContext

func (c *Route53RecoveryControlConfig) ListControlPanelsPagesWithContext(ctx aws.Context, input *ListControlPanelsInput, fn func(*ListControlPanelsOutput, bool) bool, opts ...request.Option) error

ListControlPanelsPagesWithContext same as ListControlPanelsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) ListControlPanelsRequest

func (c *Route53RecoveryControlConfig) ListControlPanelsRequest(input *ListControlPanelsInput) (req *request.Request, output *ListControlPanelsOutput)

ListControlPanelsRequest generates a "aws/request.Request" representing the client's request for the ListControlPanels operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListControlPanels for more information on using the ListControlPanels API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListControlPanelsRequest method.
req, resp := client.ListControlPanelsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListControlPanels

func (*Route53RecoveryControlConfig) ListControlPanelsWithContext

func (c *Route53RecoveryControlConfig) ListControlPanelsWithContext(ctx aws.Context, input *ListControlPanelsInput, opts ...request.Option) (*ListControlPanelsOutput, error)

ListControlPanelsWithContext is the same as ListControlPanels with the addition of the ability to pass a context and additional request options.

See ListControlPanels for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) ListRoutingControls

ListRoutingControls API operation for AWS Route53 Recovery Control Config.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation ListRoutingControls for usage and error information.

Returned Error Types:

  • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

  • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.

  • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

  • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.

  • AccessDeniedException 403 response - You do not have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListRoutingControls

func (*Route53RecoveryControlConfig) ListRoutingControlsPages

func (c *Route53RecoveryControlConfig) ListRoutingControlsPages(input *ListRoutingControlsInput, fn func(*ListRoutingControlsOutput, bool) bool) error

ListRoutingControlsPages iterates over the pages of a ListRoutingControls operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListRoutingControls method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListRoutingControls operation.
pageNum := 0
err := client.ListRoutingControlsPages(params,
    func(page *route53recoverycontrolconfig.ListRoutingControlsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Route53RecoveryControlConfig) ListRoutingControlsPagesWithContext

func (c *Route53RecoveryControlConfig) ListRoutingControlsPagesWithContext(ctx aws.Context, input *ListRoutingControlsInput, fn func(*ListRoutingControlsOutput, bool) bool, opts ...request.Option) error

ListRoutingControlsPagesWithContext same as ListRoutingControlsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) ListRoutingControlsRequest

func (c *Route53RecoveryControlConfig) ListRoutingControlsRequest(input *ListRoutingControlsInput) (req *request.Request, output *ListRoutingControlsOutput)

ListRoutingControlsRequest generates a "aws/request.Request" representing the client's request for the ListRoutingControls operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListRoutingControls for more information on using the ListRoutingControls API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListRoutingControlsRequest method.
req, resp := client.ListRoutingControlsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListRoutingControls

func (*Route53RecoveryControlConfig) ListRoutingControlsWithContext

func (c *Route53RecoveryControlConfig) ListRoutingControlsWithContext(ctx aws.Context, input *ListRoutingControlsInput, opts ...request.Option) (*ListRoutingControlsOutput, error)

ListRoutingControlsWithContext is the same as ListRoutingControls with the addition of the ability to pass a context and additional request options.

See ListRoutingControls for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) ListSafetyRules

ListSafetyRules API operation for AWS Route53 Recovery Control Config.

List the safety rules (the assertion rules and gating rules) that you've defined for the routing controls in a control panel.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation ListSafetyRules for usage and error information.

Returned Error Types:

  • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

  • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.

  • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

  • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.

  • AccessDeniedException 403 response - You do not have sufficient access to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListSafetyRules

func (*Route53RecoveryControlConfig) ListSafetyRulesPages

func (c *Route53RecoveryControlConfig) ListSafetyRulesPages(input *ListSafetyRulesInput, fn func(*ListSafetyRulesOutput, bool) bool) error

ListSafetyRulesPages iterates over the pages of a ListSafetyRules operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListSafetyRules method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListSafetyRules operation.
pageNum := 0
err := client.ListSafetyRulesPages(params,
    func(page *route53recoverycontrolconfig.ListSafetyRulesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Route53RecoveryControlConfig) ListSafetyRulesPagesWithContext

func (c *Route53RecoveryControlConfig) ListSafetyRulesPagesWithContext(ctx aws.Context, input *ListSafetyRulesInput, fn func(*ListSafetyRulesOutput, bool) bool, opts ...request.Option) error

ListSafetyRulesPagesWithContext same as ListSafetyRulesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) ListSafetyRulesRequest

func (c *Route53RecoveryControlConfig) ListSafetyRulesRequest(input *ListSafetyRulesInput) (req *request.Request, output *ListSafetyRulesOutput)

ListSafetyRulesRequest generates a "aws/request.Request" representing the client's request for the ListSafetyRules operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListSafetyRules for more information on using the ListSafetyRules API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListSafetyRulesRequest method.
req, resp := client.ListSafetyRulesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListSafetyRules

func (*Route53RecoveryControlConfig) ListSafetyRulesWithContext

func (c *Route53RecoveryControlConfig) ListSafetyRulesWithContext(ctx aws.Context, input *ListSafetyRulesInput, opts ...request.Option) (*ListSafetyRulesOutput, error)

ListSafetyRulesWithContext is the same as ListSafetyRules with the addition of the ability to pass a context and additional request options.

See ListSafetyRules for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) ListTagsForResource

ListTagsForResource API operation for AWS Route53 Recovery Control Config.

Lists the tags for a resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation ListTagsForResource for usage and error information.

Returned Error Types:

  • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

  • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

  • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListTagsForResource

func (*Route53RecoveryControlConfig) ListTagsForResourceRequest

func (c *Route53RecoveryControlConfig) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListTagsForResource

func (*Route53RecoveryControlConfig) ListTagsForResourceWithContext

func (c *Route53RecoveryControlConfig) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) TagResource

TagResource API operation for AWS Route53 Recovery Control Config.

Adds a tag to a resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation TagResource for usage and error information.

Returned Error Types:

  • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

  • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

  • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/TagResource

func (*Route53RecoveryControlConfig) TagResourceRequest

func (c *Route53RecoveryControlConfig) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/TagResource

func (*Route53RecoveryControlConfig) TagResourceWithContext

func (c *Route53RecoveryControlConfig) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) UntagResource

UntagResource API operation for AWS Route53 Recovery Control Config.

Removes a tag from a resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation UntagResource for usage and error information.

Returned Error Types:

  • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

  • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

  • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UntagResource

func (*Route53RecoveryControlConfig) UntagResourceRequest

func (c *Route53RecoveryControlConfig) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UntagResource

func (*Route53RecoveryControlConfig) UntagResourceWithContext

func (c *Route53RecoveryControlConfig) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) UpdateControlPanel

UpdateControlPanel API operation for AWS Route53 Recovery Control Config.

Updates a control panel. The only update you can make to a control panel is to change the name of the control panel.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation UpdateControlPanel for usage and error information.

Returned Error Types:

  • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

  • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.

  • AccessDeniedException 403 response - You do not have sufficient access to perform this action.

  • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

  • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.

  • ConflictException 409 response - ConflictException. You might be using a predefined variable.

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UpdateControlPanel

func (*Route53RecoveryControlConfig) UpdateControlPanelRequest

func (c *Route53RecoveryControlConfig) UpdateControlPanelRequest(input *UpdateControlPanelInput) (req *request.Request, output *UpdateControlPanelOutput)

UpdateControlPanelRequest generates a "aws/request.Request" representing the client's request for the UpdateControlPanel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateControlPanel for more information on using the UpdateControlPanel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateControlPanelRequest method.
req, resp := client.UpdateControlPanelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UpdateControlPanel

func (*Route53RecoveryControlConfig) UpdateControlPanelWithContext

func (c *Route53RecoveryControlConfig) UpdateControlPanelWithContext(ctx aws.Context, input *UpdateControlPanelInput, opts ...request.Option) (*UpdateControlPanelOutput, error)

UpdateControlPanelWithContext is the same as UpdateControlPanel with the addition of the ability to pass a context and additional request options.

See UpdateControlPanel for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) UpdateRoutingControl

UpdateRoutingControl API operation for AWS Route53 Recovery Control Config.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation UpdateRoutingControl for usage and error information.

Returned Error Types:

  • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

  • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.

  • AccessDeniedException 403 response - You do not have sufficient access to perform this action.

  • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

  • ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.

  • ConflictException 409 response - ConflictException. You might be using a predefined variable.

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UpdateRoutingControl

func (*Route53RecoveryControlConfig) UpdateRoutingControlRequest

func (c *Route53RecoveryControlConfig) UpdateRoutingControlRequest(input *UpdateRoutingControlInput) (req *request.Request, output *UpdateRoutingControlOutput)

UpdateRoutingControlRequest generates a "aws/request.Request" representing the client's request for the UpdateRoutingControl operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateRoutingControl for more information on using the UpdateRoutingControl API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateRoutingControlRequest method.
req, resp := client.UpdateRoutingControlRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UpdateRoutingControl

func (*Route53RecoveryControlConfig) UpdateRoutingControlWithContext

func (c *Route53RecoveryControlConfig) UpdateRoutingControlWithContext(ctx aws.Context, input *UpdateRoutingControlInput, opts ...request.Option) (*UpdateRoutingControlOutput, error)

UpdateRoutingControlWithContext is the same as UpdateRoutingControl with the addition of the ability to pass a context and additional request options.

See UpdateRoutingControl for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) UpdateSafetyRule

UpdateSafetyRule API operation for AWS Route53 Recovery Control Config.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation UpdateSafetyRule for usage and error information.

Returned Error Types:

  • ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

  • ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

  • InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UpdateSafetyRule

func (*Route53RecoveryControlConfig) UpdateSafetyRuleRequest

func (c *Route53RecoveryControlConfig) UpdateSafetyRuleRequest(input *UpdateSafetyRuleInput) (req *request.Request, output *UpdateSafetyRuleOutput)

UpdateSafetyRuleRequest generates a "aws/request.Request" representing the client's request for the UpdateSafetyRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateSafetyRule for more information on using the UpdateSafetyRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateSafetyRuleRequest method.
req, resp := client.UpdateSafetyRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UpdateSafetyRule

func (*Route53RecoveryControlConfig) UpdateSafetyRuleWithContext

func (c *Route53RecoveryControlConfig) UpdateSafetyRuleWithContext(ctx aws.Context, input *UpdateSafetyRuleInput, opts ...request.Option) (*UpdateSafetyRuleOutput, error)

UpdateSafetyRuleWithContext is the same as UpdateSafetyRule with the addition of the ability to pass a context and additional request options.

See UpdateSafetyRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) WaitUntilClusterCreated

func (c *Route53RecoveryControlConfig) WaitUntilClusterCreated(input *DescribeClusterInput) error

WaitUntilClusterCreated uses the AWS Route53 Recovery Control Config API operation DescribeCluster to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*Route53RecoveryControlConfig) WaitUntilClusterCreatedWithContext

func (c *Route53RecoveryControlConfig) WaitUntilClusterCreatedWithContext(ctx aws.Context, input *DescribeClusterInput, opts ...request.WaiterOption) error

WaitUntilClusterCreatedWithContext is an extended version of WaitUntilClusterCreated. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) WaitUntilClusterDeleted

func (c *Route53RecoveryControlConfig) WaitUntilClusterDeleted(input *DescribeClusterInput) error

WaitUntilClusterDeleted uses the AWS Route53 Recovery Control Config API operation DescribeCluster to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*Route53RecoveryControlConfig) WaitUntilClusterDeletedWithContext

func (c *Route53RecoveryControlConfig) WaitUntilClusterDeletedWithContext(ctx aws.Context, input *DescribeClusterInput, opts ...request.WaiterOption) error

WaitUntilClusterDeletedWithContext is an extended version of WaitUntilClusterDeleted. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) WaitUntilControlPanelCreated

func (c *Route53RecoveryControlConfig) WaitUntilControlPanelCreated(input *DescribeControlPanelInput) error

WaitUntilControlPanelCreated uses the AWS Route53 Recovery Control Config API operation DescribeControlPanel to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*Route53RecoveryControlConfig) WaitUntilControlPanelCreatedWithContext

func (c *Route53RecoveryControlConfig) WaitUntilControlPanelCreatedWithContext(ctx aws.Context, input *DescribeControlPanelInput, opts ...request.WaiterOption) error

WaitUntilControlPanelCreatedWithContext is an extended version of WaitUntilControlPanelCreated. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) WaitUntilControlPanelDeleted

func (c *Route53RecoveryControlConfig) WaitUntilControlPanelDeleted(input *DescribeControlPanelInput) error

WaitUntilControlPanelDeleted uses the AWS Route53 Recovery Control Config API operation DescribeControlPanel to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*Route53RecoveryControlConfig) WaitUntilControlPanelDeletedWithContext

func (c *Route53RecoveryControlConfig) WaitUntilControlPanelDeletedWithContext(ctx aws.Context, input *DescribeControlPanelInput, opts ...request.WaiterOption) error

WaitUntilControlPanelDeletedWithContext is an extended version of WaitUntilControlPanelDeleted. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) WaitUntilRoutingControlCreated

func (c *Route53RecoveryControlConfig) WaitUntilRoutingControlCreated(input *DescribeRoutingControlInput) error

WaitUntilRoutingControlCreated uses the AWS Route53 Recovery Control Config API operation DescribeRoutingControl to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*Route53RecoveryControlConfig) WaitUntilRoutingControlCreatedWithContext

func (c *Route53RecoveryControlConfig) WaitUntilRoutingControlCreatedWithContext(ctx aws.Context, input *DescribeRoutingControlInput, opts ...request.WaiterOption) error

WaitUntilRoutingControlCreatedWithContext is an extended version of WaitUntilRoutingControlCreated. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53RecoveryControlConfig) WaitUntilRoutingControlDeleted

func (c *Route53RecoveryControlConfig) WaitUntilRoutingControlDeleted(input *DescribeRoutingControlInput) error

WaitUntilRoutingControlDeleted uses the AWS Route53 Recovery Control Config API operation DescribeRoutingControl to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*Route53RecoveryControlConfig) WaitUntilRoutingControlDeletedWithContext

func (c *Route53RecoveryControlConfig) WaitUntilRoutingControlDeletedWithContext(ctx aws.Context, input *DescribeRoutingControlInput, opts ...request.WaiterOption) error

WaitUntilRoutingControlDeletedWithContext is an extended version of WaitUntilRoutingControlDeleted. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type RoutingControl

type RoutingControl struct {

	// The Amazon Resource Name (ARN) of the control panel that includes the routing
	// control.
	ControlPanelArn *string `min:"1" type:"string"`

	// The name of the routing control.
	Name *string `min:"1" type:"string"`

	// The Amazon Web Services account ID of the routing control owner.
	Owner *string `min:"12" type:"string"`

	// The Amazon Resource Name (ARN) of the routing control.
	RoutingControlArn *string `min:"1" type:"string"`

	// The deployment status of a routing control. Status can be one of the following:
	// PENDING, DEPLOYED, PENDING_DELETION.
	Status *string `type:"string" enum:"Status"`
	// contains filtered or unexported fields
}

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.

func (RoutingControl) GoString

func (s RoutingControl) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RoutingControl) SetControlPanelArn

func (s *RoutingControl) SetControlPanelArn(v string) *RoutingControl

SetControlPanelArn sets the ControlPanelArn field's value.

func (*RoutingControl) SetName

func (s *RoutingControl) SetName(v string) *RoutingControl

SetName sets the Name field's value.

func (*RoutingControl) SetOwner

func (s *RoutingControl) SetOwner(v string) *RoutingControl

SetOwner sets the Owner field's value.

func (*RoutingControl) SetRoutingControlArn

func (s *RoutingControl) SetRoutingControlArn(v string) *RoutingControl

SetRoutingControlArn sets the RoutingControlArn field's value.

func (*RoutingControl) SetStatus

func (s *RoutingControl) SetStatus(v string) *RoutingControl

SetStatus sets the Status field's value.

func (RoutingControl) String

func (s RoutingControl) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Rule

type Rule struct {

	// An assertion rule enforces that, when a routing control state is changed,
	// the criteria set by the rule configuration is met. Otherwise, the change
	// to the routing control state is not accepted. 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.
	ASSERTION *AssertionRule `type:"structure"`

	// A gating rule verifies that a gating routing control or set of gating routing
	// controls, evaluates as true, based on a rule configuration that you specify,
	// which allows a set of routing control state changes to complete.
	//
	// For example, if you specify one gating routing control and you set the Type
	// in the rule configuration to OR, that indicates that you must set the gating
	// routing control to On for the rule to evaluate as true; that is, for the
	// gating control "switch" to be "On". When you do that, then you can update
	// the routing control states for the target routing controls that you specify
	// in the gating rule.
	GATING *GatingRule `type:"structure"`
	// contains filtered or unexported fields
}

A safety rule. A safety rule can be an assertion rule or a gating rule.

func (Rule) GoString

func (s Rule) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Rule) SetASSERTION

func (s *Rule) SetASSERTION(v *AssertionRule) *Rule

SetASSERTION sets the ASSERTION field's value.

func (*Rule) SetGATING

func (s *Rule) SetGATING(v *GatingRule) *Rule

SetGATING sets the GATING field's value.

func (Rule) String

func (s Rule) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RuleConfig

type RuleConfig struct {

	// Logical negation of the rule. If the rule would usually evaluate true, it's
	// evaluated as false, and vice versa.
	//
	// Inverted is a required field
	Inverted *bool `type:"boolean" required:"true"`

	// The value of N, when you specify an ATLEAST rule type. That is, Threshold
	// is the number of controls that must be set when you specify an ATLEAST type.
	//
	// Threshold is a required field
	Threshold *int64 `type:"integer" required:"true"`

	// A rule can be one of the following: ATLEAST, AND, or OR.
	//
	// Type is a required field
	Type *string `type:"string" required:"true" enum:"RuleType"`
	// contains filtered or unexported fields
}

The rule configuration for an assertion rule. That is, the criteria that you set for specific assertion controls (routing controls) that specify how many control states must be ON after a transaction completes.

func (RuleConfig) GoString

func (s RuleConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RuleConfig) SetInverted

func (s *RuleConfig) SetInverted(v bool) *RuleConfig

SetInverted sets the Inverted field's value.

func (*RuleConfig) SetThreshold

func (s *RuleConfig) SetThreshold(v int64) *RuleConfig

SetThreshold sets the Threshold field's value.

func (*RuleConfig) SetType

func (s *RuleConfig) SetType(v string) *RuleConfig

SetType sets the Type field's value.

func (RuleConfig) String

func (s RuleConfig) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RuleConfig) Validate

func (s *RuleConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ServiceQuotaExceededException

type ServiceQuotaExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

402 response - You attempted to create more resources than the service allows based on service quotas.

func (*ServiceQuotaExceededException) Code

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error

func (ServiceQuotaExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceQuotaExceededException) Message

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode

func (s *ServiceQuotaExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServiceQuotaExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TagResourceInput

type TagResourceInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`

	// The tags associated with the resource.
	//
	// Tags is a required field
	Tags map[string]*string `type:"map" required:"true"`
	// contains filtered or unexported fields
}

Request to tag a resource.

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput

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

The result of a successful TagResource request.

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ThrottlingException

type ThrottlingException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

429 response - LimitExceededException or TooManyRequestsException.

func (*ThrottlingException) Code

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString

func (s ThrottlingException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ThrottlingException) Message

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode

func (s *ThrottlingException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ThrottlingException) String

func (s ThrottlingException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UntagResourceInput

type UntagResourceInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`

	// TagKeys is a required field
	TagKeys []*string `location:"querystring" locationName:"TagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput

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

The result of a successful UntagResource request.

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateControlPanelInput

type UpdateControlPanelInput struct {

	// The Amazon Resource Name (ARN) of the control panel.
	//
	// ControlPanelArn is a required field
	ControlPanelArn *string `min:"1" type:"string" required:"true"`

	// The name of the control panel.
	//
	// ControlPanelName is a required field
	ControlPanelName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Updates an existing control panel.

func (UpdateControlPanelInput) GoString

func (s UpdateControlPanelInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateControlPanelInput) SetControlPanelArn

func (s *UpdateControlPanelInput) SetControlPanelArn(v string) *UpdateControlPanelInput

SetControlPanelArn sets the ControlPanelArn field's value.

func (*UpdateControlPanelInput) SetControlPanelName

func (s *UpdateControlPanelInput) SetControlPanelName(v string) *UpdateControlPanelInput

SetControlPanelName sets the ControlPanelName field's value.

func (UpdateControlPanelInput) String

func (s UpdateControlPanelInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateControlPanelInput) Validate

func (s *UpdateControlPanelInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateControlPanelOutput

type UpdateControlPanelOutput struct {

	// The control panel to update.
	ControlPanel *ControlPanel `type:"structure"`
	// contains filtered or unexported fields
}

The result of a successful UpdateControlPanel request.

func (UpdateControlPanelOutput) GoString

func (s UpdateControlPanelOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateControlPanelOutput) SetControlPanel

SetControlPanel sets the ControlPanel field's value.

func (UpdateControlPanelOutput) String

func (s UpdateControlPanelOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateRoutingControlInput

type UpdateRoutingControlInput struct {

	// The Amazon Resource Name (ARN) of the routing control.
	//
	// RoutingControlArn is a required field
	RoutingControlArn *string `min:"1" type:"string" required:"true"`

	// The name of the routing control.
	//
	// RoutingControlName is a required field
	RoutingControlName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

A request to update a routing control.

func (UpdateRoutingControlInput) GoString

func (s UpdateRoutingControlInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateRoutingControlInput) SetRoutingControlArn

func (s *UpdateRoutingControlInput) SetRoutingControlArn(v string) *UpdateRoutingControlInput

SetRoutingControlArn sets the RoutingControlArn field's value.

func (*UpdateRoutingControlInput) SetRoutingControlName

func (s *UpdateRoutingControlInput) SetRoutingControlName(v string) *UpdateRoutingControlInput

SetRoutingControlName sets the RoutingControlName field's value.

func (UpdateRoutingControlInput) String

func (s UpdateRoutingControlInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateRoutingControlInput) Validate

func (s *UpdateRoutingControlInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateRoutingControlOutput

type UpdateRoutingControlOutput struct {

	// The routing control that was updated.
	RoutingControl *RoutingControl `type:"structure"`
	// contains filtered or unexported fields
}

The result of a successful UpdateRoutingControl request.

func (UpdateRoutingControlOutput) GoString

func (s UpdateRoutingControlOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateRoutingControlOutput) SetRoutingControl

SetRoutingControl sets the RoutingControl field's value.

func (UpdateRoutingControlOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateSafetyRuleInput

type UpdateSafetyRuleInput struct {

	// The assertion rule to update.
	AssertionRuleUpdate *AssertionRuleUpdate `type:"structure"`

	// The gating rule to update.
	GatingRuleUpdate *GatingRuleUpdate `type:"structure"`
	// contains filtered or unexported fields
}

Request to update a safety rule. A safety rule can be an assertion rule or a gating rule.

func (UpdateSafetyRuleInput) GoString

func (s UpdateSafetyRuleInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateSafetyRuleInput) SetAssertionRuleUpdate

func (s *UpdateSafetyRuleInput) SetAssertionRuleUpdate(v *AssertionRuleUpdate) *UpdateSafetyRuleInput

SetAssertionRuleUpdate sets the AssertionRuleUpdate field's value.

func (*UpdateSafetyRuleInput) SetGatingRuleUpdate

func (s *UpdateSafetyRuleInput) SetGatingRuleUpdate(v *GatingRuleUpdate) *UpdateSafetyRuleInput

SetGatingRuleUpdate sets the GatingRuleUpdate field's value.

func (UpdateSafetyRuleInput) String

func (s UpdateSafetyRuleInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateSafetyRuleInput) Validate

func (s *UpdateSafetyRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateSafetyRuleOutput

type UpdateSafetyRuleOutput struct {

	// The assertion rule updated.
	AssertionRule *AssertionRule `type:"structure"`

	// The gating rule updated.
	GatingRule *GatingRule `type:"structure"`
	// contains filtered or unexported fields
}

The result of a successful UpdateSafetyRule request.

func (UpdateSafetyRuleOutput) GoString

func (s UpdateSafetyRuleOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateSafetyRuleOutput) SetAssertionRule

SetAssertionRule sets the AssertionRule field's value.

func (*UpdateSafetyRuleOutput) SetGatingRule

SetGatingRule sets the GatingRule field's value.

func (UpdateSafetyRuleOutput) String

func (s UpdateSafetyRuleOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationException

type ValidationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

Directories

Path Synopsis
Package route53recoverycontrolconfigiface provides an interface to enable mocking the AWS Route53 Recovery Control Config service client for testing your code.
Package route53recoverycontrolconfigiface provides an interface to enable mocking the AWS Route53 Recovery Control Config service client for testing your code.

Jump to

Keyboard shortcuts

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