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
- func RuleType_Values() []string
- func Status_Values() []string
- type AccessDeniedException
- func (s *AccessDeniedException) Code() string
- func (s *AccessDeniedException) Error() string
- func (s AccessDeniedException) GoString() string
- func (s *AccessDeniedException) Message() string
- func (s *AccessDeniedException) OrigErr() error
- func (s *AccessDeniedException) RequestID() string
- func (s *AccessDeniedException) StatusCode() int
- func (s AccessDeniedException) String() string
- type AssertionRule
- func (s AssertionRule) GoString() string
- func (s *AssertionRule) SetAssertedControls(v []*string) *AssertionRule
- func (s *AssertionRule) SetControlPanelArn(v string) *AssertionRule
- func (s *AssertionRule) SetName(v string) *AssertionRule
- func (s *AssertionRule) SetRuleConfig(v *RuleConfig) *AssertionRule
- func (s *AssertionRule) SetSafetyRuleArn(v string) *AssertionRule
- func (s *AssertionRule) SetStatus(v string) *AssertionRule
- func (s *AssertionRule) SetWaitPeriodMs(v int64) *AssertionRule
- func (s AssertionRule) String() string
- type AssertionRuleUpdate
- func (s AssertionRuleUpdate) GoString() string
- func (s *AssertionRuleUpdate) SetName(v string) *AssertionRuleUpdate
- func (s *AssertionRuleUpdate) SetSafetyRuleArn(v string) *AssertionRuleUpdate
- func (s *AssertionRuleUpdate) SetWaitPeriodMs(v int64) *AssertionRuleUpdate
- func (s AssertionRuleUpdate) String() string
- func (s *AssertionRuleUpdate) Validate() error
- type Cluster
- type ClusterEndpoint
- type ConflictException
- func (s *ConflictException) Code() string
- func (s *ConflictException) Error() string
- func (s ConflictException) GoString() string
- func (s *ConflictException) Message() string
- func (s *ConflictException) OrigErr() error
- func (s *ConflictException) RequestID() string
- func (s *ConflictException) StatusCode() int
- func (s ConflictException) String() string
- type ControlPanel
- func (s ControlPanel) GoString() string
- func (s *ControlPanel) SetClusterArn(v string) *ControlPanel
- func (s *ControlPanel) SetControlPanelArn(v string) *ControlPanel
- func (s *ControlPanel) SetDefaultControlPanel(v bool) *ControlPanel
- func (s *ControlPanel) SetName(v string) *ControlPanel
- func (s *ControlPanel) SetRoutingControlCount(v int64) *ControlPanel
- func (s *ControlPanel) SetStatus(v string) *ControlPanel
- func (s ControlPanel) String() string
- type CreateClusterInput
- type CreateClusterOutput
- type CreateControlPanelInput
- func (s CreateControlPanelInput) GoString() string
- func (s *CreateControlPanelInput) SetClientToken(v string) *CreateControlPanelInput
- func (s *CreateControlPanelInput) SetClusterArn(v string) *CreateControlPanelInput
- func (s *CreateControlPanelInput) SetControlPanelName(v string) *CreateControlPanelInput
- func (s CreateControlPanelInput) String() string
- func (s *CreateControlPanelInput) Validate() error
- type CreateControlPanelOutput
- type CreateRoutingControlInput
- func (s CreateRoutingControlInput) GoString() string
- func (s *CreateRoutingControlInput) SetClientToken(v string) *CreateRoutingControlInput
- func (s *CreateRoutingControlInput) SetClusterArn(v string) *CreateRoutingControlInput
- func (s *CreateRoutingControlInput) SetControlPanelArn(v string) *CreateRoutingControlInput
- func (s *CreateRoutingControlInput) SetRoutingControlName(v string) *CreateRoutingControlInput
- func (s CreateRoutingControlInput) String() string
- func (s *CreateRoutingControlInput) Validate() error
- type CreateRoutingControlOutput
- type CreateSafetyRuleInput
- func (s CreateSafetyRuleInput) GoString() string
- func (s *CreateSafetyRuleInput) SetAssertionRule(v *NewAssertionRule) *CreateSafetyRuleInput
- func (s *CreateSafetyRuleInput) SetClientToken(v string) *CreateSafetyRuleInput
- func (s *CreateSafetyRuleInput) SetGatingRule(v *NewGatingRule) *CreateSafetyRuleInput
- func (s CreateSafetyRuleInput) String() string
- func (s *CreateSafetyRuleInput) Validate() error
- type CreateSafetyRuleOutput
- type DeleteClusterInput
- type DeleteClusterOutput
- type DeleteControlPanelInput
- type DeleteControlPanelOutput
- type DeleteRoutingControlInput
- type DeleteRoutingControlOutput
- type DeleteSafetyRuleInput
- type DeleteSafetyRuleOutput
- type DescribeClusterInput
- type DescribeClusterOutput
- type DescribeControlPanelInput
- type DescribeControlPanelOutput
- type DescribeRoutingControlInput
- type DescribeRoutingControlOutput
- type DescribeSafetyRuleInput
- type DescribeSafetyRuleOutput
- type GatingRule
- func (s GatingRule) GoString() string
- func (s *GatingRule) SetControlPanelArn(v string) *GatingRule
- func (s *GatingRule) SetGatingControls(v []*string) *GatingRule
- func (s *GatingRule) SetName(v string) *GatingRule
- func (s *GatingRule) SetRuleConfig(v *RuleConfig) *GatingRule
- func (s *GatingRule) SetSafetyRuleArn(v string) *GatingRule
- func (s *GatingRule) SetStatus(v string) *GatingRule
- func (s *GatingRule) SetTargetControls(v []*string) *GatingRule
- func (s *GatingRule) SetWaitPeriodMs(v int64) *GatingRule
- func (s GatingRule) String() string
- type GatingRuleUpdate
- func (s GatingRuleUpdate) GoString() string
- func (s *GatingRuleUpdate) SetName(v string) *GatingRuleUpdate
- func (s *GatingRuleUpdate) SetSafetyRuleArn(v string) *GatingRuleUpdate
- func (s *GatingRuleUpdate) SetWaitPeriodMs(v int64) *GatingRuleUpdate
- func (s GatingRuleUpdate) String() string
- func (s *GatingRuleUpdate) Validate() error
- type InternalServerException
- func (s *InternalServerException) Code() string
- func (s *InternalServerException) Error() string
- func (s InternalServerException) GoString() string
- func (s *InternalServerException) Message() string
- func (s *InternalServerException) OrigErr() error
- func (s *InternalServerException) RequestID() string
- func (s *InternalServerException) StatusCode() int
- func (s InternalServerException) String() string
- type ListAssociatedRoute53HealthChecksInput
- func (s ListAssociatedRoute53HealthChecksInput) GoString() string
- func (s *ListAssociatedRoute53HealthChecksInput) SetMaxResults(v int64) *ListAssociatedRoute53HealthChecksInput
- func (s *ListAssociatedRoute53HealthChecksInput) SetNextToken(v string) *ListAssociatedRoute53HealthChecksInput
- func (s *ListAssociatedRoute53HealthChecksInput) SetRoutingControlArn(v string) *ListAssociatedRoute53HealthChecksInput
- func (s ListAssociatedRoute53HealthChecksInput) String() string
- func (s *ListAssociatedRoute53HealthChecksInput) Validate() error
- type ListAssociatedRoute53HealthChecksOutput
- func (s ListAssociatedRoute53HealthChecksOutput) GoString() string
- func (s *ListAssociatedRoute53HealthChecksOutput) SetHealthCheckIds(v []*string) *ListAssociatedRoute53HealthChecksOutput
- func (s *ListAssociatedRoute53HealthChecksOutput) SetNextToken(v string) *ListAssociatedRoute53HealthChecksOutput
- func (s ListAssociatedRoute53HealthChecksOutput) String() string
- type ListClustersInput
- type ListClustersOutput
- type ListControlPanelsInput
- func (s ListControlPanelsInput) GoString() string
- func (s *ListControlPanelsInput) SetClusterArn(v string) *ListControlPanelsInput
- func (s *ListControlPanelsInput) SetMaxResults(v int64) *ListControlPanelsInput
- func (s *ListControlPanelsInput) SetNextToken(v string) *ListControlPanelsInput
- func (s ListControlPanelsInput) String() string
- func (s *ListControlPanelsInput) Validate() error
- type ListControlPanelsOutput
- type ListRoutingControlsInput
- func (s ListRoutingControlsInput) GoString() string
- func (s *ListRoutingControlsInput) SetControlPanelArn(v string) *ListRoutingControlsInput
- func (s *ListRoutingControlsInput) SetMaxResults(v int64) *ListRoutingControlsInput
- func (s *ListRoutingControlsInput) SetNextToken(v string) *ListRoutingControlsInput
- func (s ListRoutingControlsInput) String() string
- func (s *ListRoutingControlsInput) Validate() error
- type ListRoutingControlsOutput
- type ListSafetyRulesInput
- func (s ListSafetyRulesInput) GoString() string
- func (s *ListSafetyRulesInput) SetControlPanelArn(v string) *ListSafetyRulesInput
- func (s *ListSafetyRulesInput) SetMaxResults(v int64) *ListSafetyRulesInput
- func (s *ListSafetyRulesInput) SetNextToken(v string) *ListSafetyRulesInput
- func (s ListSafetyRulesInput) String() string
- func (s *ListSafetyRulesInput) Validate() error
- type ListSafetyRulesOutput
- type NewAssertionRule
- func (s NewAssertionRule) GoString() string
- func (s *NewAssertionRule) SetAssertedControls(v []*string) *NewAssertionRule
- func (s *NewAssertionRule) SetControlPanelArn(v string) *NewAssertionRule
- func (s *NewAssertionRule) SetName(v string) *NewAssertionRule
- func (s *NewAssertionRule) SetRuleConfig(v *RuleConfig) *NewAssertionRule
- func (s *NewAssertionRule) SetWaitPeriodMs(v int64) *NewAssertionRule
- func (s NewAssertionRule) String() string
- func (s *NewAssertionRule) Validate() error
- type NewGatingRule
- func (s NewGatingRule) GoString() string
- func (s *NewGatingRule) SetControlPanelArn(v string) *NewGatingRule
- func (s *NewGatingRule) SetGatingControls(v []*string) *NewGatingRule
- func (s *NewGatingRule) SetName(v string) *NewGatingRule
- func (s *NewGatingRule) SetRuleConfig(v *RuleConfig) *NewGatingRule
- func (s *NewGatingRule) SetTargetControls(v []*string) *NewGatingRule
- func (s *NewGatingRule) SetWaitPeriodMs(v int64) *NewGatingRule
- func (s NewGatingRule) String() string
- func (s *NewGatingRule) Validate() error
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type Route53RecoveryControlConfig
- func (c *Route53RecoveryControlConfig) CreateCluster(input *CreateClusterInput) (*CreateClusterOutput, error)
- func (c *Route53RecoveryControlConfig) CreateClusterRequest(input *CreateClusterInput) (req *request.Request, output *CreateClusterOutput)
- func (c *Route53RecoveryControlConfig) CreateClusterWithContext(ctx aws.Context, input *CreateClusterInput, opts ...request.Option) (*CreateClusterOutput, error)
- func (c *Route53RecoveryControlConfig) CreateControlPanel(input *CreateControlPanelInput) (*CreateControlPanelOutput, error)
- func (c *Route53RecoveryControlConfig) CreateControlPanelRequest(input *CreateControlPanelInput) (req *request.Request, output *CreateControlPanelOutput)
- func (c *Route53RecoveryControlConfig) CreateControlPanelWithContext(ctx aws.Context, input *CreateControlPanelInput, opts ...request.Option) (*CreateControlPanelOutput, error)
- func (c *Route53RecoveryControlConfig) CreateRoutingControl(input *CreateRoutingControlInput) (*CreateRoutingControlOutput, error)
- func (c *Route53RecoveryControlConfig) CreateRoutingControlRequest(input *CreateRoutingControlInput) (req *request.Request, output *CreateRoutingControlOutput)
- func (c *Route53RecoveryControlConfig) CreateRoutingControlWithContext(ctx aws.Context, input *CreateRoutingControlInput, opts ...request.Option) (*CreateRoutingControlOutput, error)
- func (c *Route53RecoveryControlConfig) CreateSafetyRule(input *CreateSafetyRuleInput) (*CreateSafetyRuleOutput, error)
- func (c *Route53RecoveryControlConfig) CreateSafetyRuleRequest(input *CreateSafetyRuleInput) (req *request.Request, output *CreateSafetyRuleOutput)
- func (c *Route53RecoveryControlConfig) CreateSafetyRuleWithContext(ctx aws.Context, input *CreateSafetyRuleInput, opts ...request.Option) (*CreateSafetyRuleOutput, error)
- func (c *Route53RecoveryControlConfig) DeleteCluster(input *DeleteClusterInput) (*DeleteClusterOutput, error)
- func (c *Route53RecoveryControlConfig) DeleteClusterRequest(input *DeleteClusterInput) (req *request.Request, output *DeleteClusterOutput)
- func (c *Route53RecoveryControlConfig) DeleteClusterWithContext(ctx aws.Context, input *DeleteClusterInput, opts ...request.Option) (*DeleteClusterOutput, error)
- func (c *Route53RecoveryControlConfig) DeleteControlPanel(input *DeleteControlPanelInput) (*DeleteControlPanelOutput, error)
- func (c *Route53RecoveryControlConfig) DeleteControlPanelRequest(input *DeleteControlPanelInput) (req *request.Request, output *DeleteControlPanelOutput)
- func (c *Route53RecoveryControlConfig) DeleteControlPanelWithContext(ctx aws.Context, input *DeleteControlPanelInput, opts ...request.Option) (*DeleteControlPanelOutput, error)
- func (c *Route53RecoveryControlConfig) DeleteRoutingControl(input *DeleteRoutingControlInput) (*DeleteRoutingControlOutput, error)
- func (c *Route53RecoveryControlConfig) DeleteRoutingControlRequest(input *DeleteRoutingControlInput) (req *request.Request, output *DeleteRoutingControlOutput)
- func (c *Route53RecoveryControlConfig) DeleteRoutingControlWithContext(ctx aws.Context, input *DeleteRoutingControlInput, opts ...request.Option) (*DeleteRoutingControlOutput, error)
- func (c *Route53RecoveryControlConfig) DeleteSafetyRule(input *DeleteSafetyRuleInput) (*DeleteSafetyRuleOutput, error)
- func (c *Route53RecoveryControlConfig) DeleteSafetyRuleRequest(input *DeleteSafetyRuleInput) (req *request.Request, output *DeleteSafetyRuleOutput)
- func (c *Route53RecoveryControlConfig) DeleteSafetyRuleWithContext(ctx aws.Context, input *DeleteSafetyRuleInput, opts ...request.Option) (*DeleteSafetyRuleOutput, error)
- func (c *Route53RecoveryControlConfig) DescribeCluster(input *DescribeClusterInput) (*DescribeClusterOutput, error)
- func (c *Route53RecoveryControlConfig) DescribeClusterRequest(input *DescribeClusterInput) (req *request.Request, output *DescribeClusterOutput)
- func (c *Route53RecoveryControlConfig) DescribeClusterWithContext(ctx aws.Context, input *DescribeClusterInput, opts ...request.Option) (*DescribeClusterOutput, error)
- func (c *Route53RecoveryControlConfig) DescribeControlPanel(input *DescribeControlPanelInput) (*DescribeControlPanelOutput, error)
- func (c *Route53RecoveryControlConfig) DescribeControlPanelRequest(input *DescribeControlPanelInput) (req *request.Request, output *DescribeControlPanelOutput)
- func (c *Route53RecoveryControlConfig) DescribeControlPanelWithContext(ctx aws.Context, input *DescribeControlPanelInput, opts ...request.Option) (*DescribeControlPanelOutput, error)
- func (c *Route53RecoveryControlConfig) DescribeRoutingControl(input *DescribeRoutingControlInput) (*DescribeRoutingControlOutput, error)
- func (c *Route53RecoveryControlConfig) DescribeRoutingControlRequest(input *DescribeRoutingControlInput) (req *request.Request, output *DescribeRoutingControlOutput)
- func (c *Route53RecoveryControlConfig) DescribeRoutingControlWithContext(ctx aws.Context, input *DescribeRoutingControlInput, opts ...request.Option) (*DescribeRoutingControlOutput, error)
- func (c *Route53RecoveryControlConfig) DescribeSafetyRule(input *DescribeSafetyRuleInput) (*DescribeSafetyRuleOutput, error)
- func (c *Route53RecoveryControlConfig) DescribeSafetyRuleRequest(input *DescribeSafetyRuleInput) (req *request.Request, output *DescribeSafetyRuleOutput)
- func (c *Route53RecoveryControlConfig) DescribeSafetyRuleWithContext(ctx aws.Context, input *DescribeSafetyRuleInput, opts ...request.Option) (*DescribeSafetyRuleOutput, error)
- func (c *Route53RecoveryControlConfig) ListAssociatedRoute53HealthChecks(input *ListAssociatedRoute53HealthChecksInput) (*ListAssociatedRoute53HealthChecksOutput, error)
- func (c *Route53RecoveryControlConfig) ListAssociatedRoute53HealthChecksPages(input *ListAssociatedRoute53HealthChecksInput, ...) error
- func (c *Route53RecoveryControlConfig) ListAssociatedRoute53HealthChecksPagesWithContext(ctx aws.Context, input *ListAssociatedRoute53HealthChecksInput, ...) error
- func (c *Route53RecoveryControlConfig) ListAssociatedRoute53HealthChecksRequest(input *ListAssociatedRoute53HealthChecksInput) (req *request.Request, output *ListAssociatedRoute53HealthChecksOutput)
- func (c *Route53RecoveryControlConfig) ListAssociatedRoute53HealthChecksWithContext(ctx aws.Context, input *ListAssociatedRoute53HealthChecksInput, ...) (*ListAssociatedRoute53HealthChecksOutput, error)
- func (c *Route53RecoveryControlConfig) ListClusters(input *ListClustersInput) (*ListClustersOutput, error)
- func (c *Route53RecoveryControlConfig) ListClustersPages(input *ListClustersInput, fn func(*ListClustersOutput, bool) bool) error
- func (c *Route53RecoveryControlConfig) ListClustersPagesWithContext(ctx aws.Context, input *ListClustersInput, ...) error
- func (c *Route53RecoveryControlConfig) ListClustersRequest(input *ListClustersInput) (req *request.Request, output *ListClustersOutput)
- func (c *Route53RecoveryControlConfig) ListClustersWithContext(ctx aws.Context, input *ListClustersInput, opts ...request.Option) (*ListClustersOutput, error)
- func (c *Route53RecoveryControlConfig) ListControlPanels(input *ListControlPanelsInput) (*ListControlPanelsOutput, error)
- func (c *Route53RecoveryControlConfig) ListControlPanelsPages(input *ListControlPanelsInput, fn func(*ListControlPanelsOutput, bool) bool) error
- func (c *Route53RecoveryControlConfig) ListControlPanelsPagesWithContext(ctx aws.Context, input *ListControlPanelsInput, ...) error
- func (c *Route53RecoveryControlConfig) ListControlPanelsRequest(input *ListControlPanelsInput) (req *request.Request, output *ListControlPanelsOutput)
- func (c *Route53RecoveryControlConfig) ListControlPanelsWithContext(ctx aws.Context, input *ListControlPanelsInput, opts ...request.Option) (*ListControlPanelsOutput, error)
- func (c *Route53RecoveryControlConfig) ListRoutingControls(input *ListRoutingControlsInput) (*ListRoutingControlsOutput, error)
- func (c *Route53RecoveryControlConfig) ListRoutingControlsPages(input *ListRoutingControlsInput, ...) error
- func (c *Route53RecoveryControlConfig) ListRoutingControlsPagesWithContext(ctx aws.Context, input *ListRoutingControlsInput, ...) error
- func (c *Route53RecoveryControlConfig) ListRoutingControlsRequest(input *ListRoutingControlsInput) (req *request.Request, output *ListRoutingControlsOutput)
- func (c *Route53RecoveryControlConfig) ListRoutingControlsWithContext(ctx aws.Context, input *ListRoutingControlsInput, opts ...request.Option) (*ListRoutingControlsOutput, error)
- func (c *Route53RecoveryControlConfig) ListSafetyRules(input *ListSafetyRulesInput) (*ListSafetyRulesOutput, error)
- func (c *Route53RecoveryControlConfig) ListSafetyRulesPages(input *ListSafetyRulesInput, fn func(*ListSafetyRulesOutput, bool) bool) error
- func (c *Route53RecoveryControlConfig) ListSafetyRulesPagesWithContext(ctx aws.Context, input *ListSafetyRulesInput, ...) error
- func (c *Route53RecoveryControlConfig) ListSafetyRulesRequest(input *ListSafetyRulesInput) (req *request.Request, output *ListSafetyRulesOutput)
- func (c *Route53RecoveryControlConfig) ListSafetyRulesWithContext(ctx aws.Context, input *ListSafetyRulesInput, opts ...request.Option) (*ListSafetyRulesOutput, error)
- func (c *Route53RecoveryControlConfig) UpdateControlPanel(input *UpdateControlPanelInput) (*UpdateControlPanelOutput, error)
- func (c *Route53RecoveryControlConfig) UpdateControlPanelRequest(input *UpdateControlPanelInput) (req *request.Request, output *UpdateControlPanelOutput)
- func (c *Route53RecoveryControlConfig) UpdateControlPanelWithContext(ctx aws.Context, input *UpdateControlPanelInput, opts ...request.Option) (*UpdateControlPanelOutput, error)
- func (c *Route53RecoveryControlConfig) UpdateRoutingControl(input *UpdateRoutingControlInput) (*UpdateRoutingControlOutput, error)
- func (c *Route53RecoveryControlConfig) UpdateRoutingControlRequest(input *UpdateRoutingControlInput) (req *request.Request, output *UpdateRoutingControlOutput)
- func (c *Route53RecoveryControlConfig) UpdateRoutingControlWithContext(ctx aws.Context, input *UpdateRoutingControlInput, opts ...request.Option) (*UpdateRoutingControlOutput, error)
- func (c *Route53RecoveryControlConfig) UpdateSafetyRule(input *UpdateSafetyRuleInput) (*UpdateSafetyRuleOutput, error)
- func (c *Route53RecoveryControlConfig) UpdateSafetyRuleRequest(input *UpdateSafetyRuleInput) (req *request.Request, output *UpdateSafetyRuleOutput)
- func (c *Route53RecoveryControlConfig) UpdateSafetyRuleWithContext(ctx aws.Context, input *UpdateSafetyRuleInput, opts ...request.Option) (*UpdateSafetyRuleOutput, error)
- func (c *Route53RecoveryControlConfig) WaitUntilClusterCreated(input *DescribeClusterInput) error
- func (c *Route53RecoveryControlConfig) WaitUntilClusterCreatedWithContext(ctx aws.Context, input *DescribeClusterInput, opts ...request.WaiterOption) error
- func (c *Route53RecoveryControlConfig) WaitUntilClusterDeleted(input *DescribeClusterInput) error
- func (c *Route53RecoveryControlConfig) WaitUntilClusterDeletedWithContext(ctx aws.Context, input *DescribeClusterInput, opts ...request.WaiterOption) error
- func (c *Route53RecoveryControlConfig) WaitUntilControlPanelCreated(input *DescribeControlPanelInput) error
- func (c *Route53RecoveryControlConfig) WaitUntilControlPanelCreatedWithContext(ctx aws.Context, input *DescribeControlPanelInput, ...) error
- func (c *Route53RecoveryControlConfig) WaitUntilControlPanelDeleted(input *DescribeControlPanelInput) error
- func (c *Route53RecoveryControlConfig) WaitUntilControlPanelDeletedWithContext(ctx aws.Context, input *DescribeControlPanelInput, ...) error
- func (c *Route53RecoveryControlConfig) WaitUntilRoutingControlCreated(input *DescribeRoutingControlInput) error
- func (c *Route53RecoveryControlConfig) WaitUntilRoutingControlCreatedWithContext(ctx aws.Context, input *DescribeRoutingControlInput, ...) error
- func (c *Route53RecoveryControlConfig) WaitUntilRoutingControlDeleted(input *DescribeRoutingControlInput) error
- func (c *Route53RecoveryControlConfig) WaitUntilRoutingControlDeletedWithContext(ctx aws.Context, input *DescribeRoutingControlInput, ...) error
- type RoutingControl
- func (s RoutingControl) GoString() string
- func (s *RoutingControl) SetControlPanelArn(v string) *RoutingControl
- func (s *RoutingControl) SetName(v string) *RoutingControl
- func (s *RoutingControl) SetRoutingControlArn(v string) *RoutingControl
- func (s *RoutingControl) SetStatus(v string) *RoutingControl
- func (s RoutingControl) String() string
- type Rule
- type RuleConfig
- type ServiceQuotaExceededException
- func (s *ServiceQuotaExceededException) Code() string
- func (s *ServiceQuotaExceededException) Error() string
- func (s ServiceQuotaExceededException) GoString() string
- func (s *ServiceQuotaExceededException) Message() string
- func (s *ServiceQuotaExceededException) OrigErr() error
- func (s *ServiceQuotaExceededException) RequestID() string
- func (s *ServiceQuotaExceededException) StatusCode() int
- func (s ServiceQuotaExceededException) String() string
- type ThrottlingException
- func (s *ThrottlingException) Code() string
- func (s *ThrottlingException) Error() string
- func (s ThrottlingException) GoString() string
- func (s *ThrottlingException) Message() string
- func (s *ThrottlingException) OrigErr() error
- func (s *ThrottlingException) RequestID() string
- func (s *ThrottlingException) StatusCode() int
- func (s ThrottlingException) String() string
- type UpdateControlPanelInput
- func (s UpdateControlPanelInput) GoString() string
- func (s *UpdateControlPanelInput) SetControlPanelArn(v string) *UpdateControlPanelInput
- func (s *UpdateControlPanelInput) SetControlPanelName(v string) *UpdateControlPanelInput
- func (s UpdateControlPanelInput) String() string
- func (s *UpdateControlPanelInput) Validate() error
- type UpdateControlPanelOutput
- type UpdateRoutingControlInput
- func (s UpdateRoutingControlInput) GoString() string
- func (s *UpdateRoutingControlInput) SetRoutingControlArn(v string) *UpdateRoutingControlInput
- func (s *UpdateRoutingControlInput) SetRoutingControlName(v string) *UpdateRoutingControlInput
- func (s UpdateRoutingControlInput) String() string
- func (s *UpdateRoutingControlInput) Validate() error
- type UpdateRoutingControlOutput
- type UpdateSafetyRuleInput
- func (s UpdateSafetyRuleInput) GoString() string
- func (s *UpdateSafetyRuleInput) SetAssertionRuleUpdate(v *AssertionRuleUpdate) *UpdateSafetyRuleInput
- func (s *UpdateSafetyRuleInput) SetGatingRuleUpdate(v *GatingRuleUpdate) *UpdateSafetyRuleInput
- func (s UpdateSafetyRuleInput) String() string
- func (s *UpdateSafetyRuleInput) Validate() error
- type UpdateSafetyRuleOutput
- type ValidationException
- func (s *ValidationException) Code() string
- func (s *ValidationException) Error() string
- func (s ValidationException) GoString() string
- func (s *ValidationException) Message() string
- func (s *ValidationException) OrigErr() error
- func (s *ValidationException) RequestID() string
- func (s *ValidationException) StatusCode() int
- func (s ValidationException) String() string
Constants ¶
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.
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.
const ( // ErrCodeAccessDeniedException for service response error code // "AccessDeniedException". // // 403 response - AccessDeniedException. You do not have sufficient access to // perform this action. ErrCodeAccessDeniedException = "AccessDeniedException" // ErrCodeConflictException for service response error code // "ConflictException". // // 409 response - ConflictException. 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 - The query string contains a syntax error or resource not found. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeServiceQuotaExceededException for service response error code // "ServiceQuotaExceededException". // // 402 response ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" // ErrCodeThrottlingException for service response error code // "ThrottlingException". // // 429 response - ThrottlingException. 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 used parameters // together incorrectly. ErrCodeValidationException = "ValidationException" )
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 - AccessDeniedException. 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
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
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 `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 criteria that you set for specific assertion controls (routing controls) // that designate how many controls must be enabled 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 enabled, so that at least two Amazon Web Services Regions are enabled. // // 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 `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 a routing control state is changed, the criteria set by the rule configuration is met. Otherwise, the change to the routing control is not accepted.
func (AssertionRule) GoString ¶
func (s AssertionRule) GoString() string
GoString returns the string representation
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) 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
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 `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
func (*AssertionRuleUpdate) SetName ¶
func (s *AssertionRuleUpdate) SetName(v string) *AssertionRuleUpdate
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
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 `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 Cluster (Data Plane) Actions. ClusterEndpoints []*ClusterEndpoint `type:"list"` // The name of the cluster. Name *string `min:"1" 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 cluster is a set of five consensus-forming Regional endpoints that represent the infrastructure that hosts your routing controls. Typically, you host together on one cluster all of the routing controls for your applications.
func (*Cluster) SetClusterArn ¶
SetClusterArn sets the ClusterArn field's value.
func (*Cluster) SetClusterEndpoints ¶
func (s *Cluster) SetClusterEndpoints(v []*ClusterEndpoint) *Cluster
SetClusterEndpoints sets the ClusterEndpoints field's value.
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 Cluster (Data Plane) 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
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
type ConflictException ¶
type ConflictException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
409 response - ConflictException.
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
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
type ControlPanel ¶
type ControlPanel struct { // The Amazon Resource Name (ARN) of the cluster that includes the control panel. ClusterArn *string `type:"string"` // The Amazon Resource Name (ARN) of the control panel. ControlPanelArn *string `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 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
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) 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
type CreateClusterInput ¶
type CreateClusterInput struct { // Unique client idempotency token. ClientToken *string `type:"string" idempotencyToken:"true"` // The name of the cluster. // // ClusterName is a required field ClusterName *string `min:"1" type:"string" required:"true"` // 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
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) String ¶
func (s CreateClusterInput) String() string
String returns the string representation
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
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
type CreateControlPanelInput ¶
type CreateControlPanelInput struct { // Unique client idempotency token. ClientToken *string `type:"string" idempotencyToken:"true"` // The Amazon Resource Name (ARN) of the cluster for the control panel. // // ClusterArn is a required field ClusterArn *string `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 }
A request to create a control panel.
func (CreateControlPanelInput) GoString ¶
func (s CreateControlPanelInput) GoString() string
GoString returns the string representation
func (*CreateControlPanelInput) SetClientToken ¶
func (s *CreateControlPanelInput) SetClientToken(v string) *CreateControlPanelInput
SetClientToken sets the ClientToken field's value.
func (*CreateControlPanelInput) SetClusterArn ¶
func (s *CreateControlPanelInput) SetClusterArn(v string) *CreateControlPanelInput
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) String ¶
func (s CreateControlPanelInput) String() string
String returns the string representation
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
func (*CreateControlPanelOutput) SetControlPanel ¶
func (s *CreateControlPanelOutput) SetControlPanel(v *ControlPanel) *CreateControlPanelOutput
SetControlPanel sets the ControlPanel field's value.
func (CreateControlPanelOutput) String ¶
func (s CreateControlPanelOutput) String() string
String returns the string representation
type CreateRoutingControlInput ¶
type CreateRoutingControlInput struct { // Unique client idempotency token. ClientToken *string `type:"string" idempotencyToken:"true"` // The Amazon Resource Name (ARN) of the cluster that includes the routing control. // // ClusterArn is a required field ClusterArn *string `type:"string" required:"true"` // The Amazon Resource Name (ARN) of the control panel that includes the routing // control. ControlPanelArn *string `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
func (*CreateRoutingControlInput) SetClientToken ¶
func (s *CreateRoutingControlInput) SetClientToken(v string) *CreateRoutingControlInput
SetClientToken sets the ClientToken field's value.
func (*CreateRoutingControlInput) SetClusterArn ¶
func (s *CreateRoutingControlInput) SetClusterArn(v string) *CreateRoutingControlInput
SetClusterArn sets the ClusterArn field's value.
func (*CreateRoutingControlInput) SetControlPanelArn ¶
func (s *CreateRoutingControlInput) SetControlPanelArn(v string) *CreateRoutingControlInput
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
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
func (*CreateRoutingControlOutput) SetRoutingControl ¶
func (s *CreateRoutingControlOutput) SetRoutingControl(v *RoutingControl) *CreateRoutingControlOutput
SetRoutingControl sets the RoutingControl field's value.
func (CreateRoutingControlOutput) String ¶
func (s CreateRoutingControlOutput) String() string
String returns the string representation
type CreateSafetyRuleInput ¶
type CreateSafetyRuleInput struct { // A new assertion rule for a control panel. AssertionRule *NewAssertionRule `type:"structure"` // Unique client idempotency token. ClientToken *string `type:"string" idempotencyToken:"true"` // A new gating rule for a control panel. GatingRule *NewGatingRule `type:"structure"` // 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
func (*CreateSafetyRuleInput) SetAssertionRule ¶
func (s *CreateSafetyRuleInput) SetAssertionRule(v *NewAssertionRule) *CreateSafetyRuleInput
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 ¶
func (s *CreateSafetyRuleInput) SetGatingRule(v *NewGatingRule) *CreateSafetyRuleInput
SetGatingRule sets the GatingRule field's value.
func (CreateSafetyRuleInput) String ¶
func (s CreateSafetyRuleInput) String() string
String returns the string representation
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 { // 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 is not accepted. AssertionRule *AssertionRule `type:"structure"` // A gating rule verifies that a set of gating controls evaluates as true, based // on a rule configuration that you specify. If the gating rule evaluates to // true, Amazon Route 53 Application Recovery Controller allows a set of routing // control state changes to run and complete against the set of target controls. 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
func (*CreateSafetyRuleOutput) SetAssertionRule ¶
func (s *CreateSafetyRuleOutput) SetAssertionRule(v *AssertionRule) *CreateSafetyRuleOutput
SetAssertionRule sets the AssertionRule field's value.
func (*CreateSafetyRuleOutput) SetGatingRule ¶
func (s *CreateSafetyRuleOutput) SetGatingRule(v *GatingRule) *CreateSafetyRuleOutput
SetGatingRule sets the GatingRule field's value.
func (CreateSafetyRuleOutput) String ¶
func (s CreateSafetyRuleOutput) String() string
String returns the string representation
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
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
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
func (DeleteClusterOutput) String ¶
func (s DeleteClusterOutput) String() string
String returns the string representation
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
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
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
func (DeleteControlPanelOutput) String ¶
func (s DeleteControlPanelOutput) String() string
String returns the string representation
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
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
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
func (DeleteRoutingControlOutput) String ¶
func (s DeleteRoutingControlOutput) String() string
String returns the string representation
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
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
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
func (DeleteSafetyRuleOutput) String ¶
func (s DeleteSafetyRuleOutput) String() string
String returns the string representation
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
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
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
func (*DescribeClusterOutput) SetCluster ¶
func (s *DescribeClusterOutput) SetCluster(v *Cluster) *DescribeClusterOutput
SetCluster sets the Cluster field's value.
func (DescribeClusterOutput) String ¶
func (s DescribeClusterOutput) String() string
String returns the string representation
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
func (*DescribeControlPanelInput) SetControlPanelArn ¶
func (s *DescribeControlPanelInput) SetControlPanelArn(v string) *DescribeControlPanelInput
SetControlPanelArn sets the ControlPanelArn field's value.
func (DescribeControlPanelInput) String ¶
func (s DescribeControlPanelInput) String() string
String returns the string representation
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
func (*DescribeControlPanelOutput) SetControlPanel ¶
func (s *DescribeControlPanelOutput) SetControlPanel(v *ControlPanel) *DescribeControlPanelOutput
SetControlPanel sets the ControlPanel field's value.
func (DescribeControlPanelOutput) String ¶
func (s DescribeControlPanelOutput) String() string
String returns the string representation
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
func (*DescribeRoutingControlInput) SetRoutingControlArn ¶
func (s *DescribeRoutingControlInput) SetRoutingControlArn(v string) *DescribeRoutingControlInput
SetRoutingControlArn sets the RoutingControlArn field's value.
func (DescribeRoutingControlInput) String ¶
func (s DescribeRoutingControlInput) String() string
String returns the string representation
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
func (*DescribeRoutingControlOutput) SetRoutingControl ¶
func (s *DescribeRoutingControlOutput) SetRoutingControl(v *RoutingControl) *DescribeRoutingControlOutput
SetRoutingControl sets the RoutingControl field's value.
func (DescribeRoutingControlOutput) String ¶
func (s DescribeRoutingControlOutput) String() string
String returns the string representation
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
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
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 { // 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 is not accepted. AssertionRule *AssertionRule `type:"structure"` // A gating rule verifies that a set of gating controls evaluates as true, based // on a rule configuration that you specify. If the gating rule evaluates to // true, Amazon Route 53 Application Recovery Controller allows a set of routing // control state changes to run and complete against the set of target controls. 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
func (*DescribeSafetyRuleOutput) SetAssertionRule ¶
func (s *DescribeSafetyRuleOutput) SetAssertionRule(v *AssertionRule) *DescribeSafetyRuleOutput
SetAssertionRule sets the AssertionRule field's value.
func (*DescribeSafetyRuleOutput) SetGatingRule ¶
func (s *DescribeSafetyRuleOutput) SetGatingRule(v *GatingRule) *DescribeSafetyRuleOutput
SetGatingRule sets the GatingRule field's value.
func (DescribeSafetyRuleOutput) String ¶
func (s DescribeSafetyRuleOutput) String() string
String returns the string representation
type GatingRule ¶
type GatingRule struct { // The Amazon Resource Name (ARN) of the control panel. // // ControlPanelArn is a required field ControlPanelArn *string `type:"string" required:"true"` // The gating controls for the 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 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 designates how many controls must be enabled to allow you to change // (set or unset) the target controls. // // 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 `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"` // 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 gating rule verifies that a set of gating controls evaluates as true, based on a rule configuration that you specify. If the gating rule evaluates to true, Amazon Route 53 Application Recovery Controller allows a set of routing control state changes to run and complete against the set of target controls.
func (GatingRule) GoString ¶
func (s GatingRule) GoString() string
GoString returns the string representation
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) 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
type GatingRuleUpdate ¶
type GatingRuleUpdate struct { // The name for the gating rule. // // 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 `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
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
func (*GatingRuleUpdate) Validate ¶
func (s *GatingRuleUpdate) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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
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
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 ¶
func (s ListAssociatedRoute53HealthChecksInput) GoString() string
GoString returns the string representation
func (*ListAssociatedRoute53HealthChecksInput) SetMaxResults ¶
func (s *ListAssociatedRoute53HealthChecksInput) SetMaxResults(v int64) *ListAssociatedRoute53HealthChecksInput
SetMaxResults sets the MaxResults field's value.
func (*ListAssociatedRoute53HealthChecksInput) SetNextToken ¶
func (s *ListAssociatedRoute53HealthChecksInput) SetNextToken(v string) *ListAssociatedRoute53HealthChecksInput
SetNextToken sets the NextToken field's value.
func (*ListAssociatedRoute53HealthChecksInput) SetRoutingControlArn ¶
func (s *ListAssociatedRoute53HealthChecksInput) SetRoutingControlArn(v string) *ListAssociatedRoute53HealthChecksInput
SetRoutingControlArn sets the RoutingControlArn field's value.
func (ListAssociatedRoute53HealthChecksInput) String ¶
func (s ListAssociatedRoute53HealthChecksInput) String() string
String returns the string representation
func (*ListAssociatedRoute53HealthChecksInput) Validate ¶
func (s *ListAssociatedRoute53HealthChecksInput) Validate() error
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"` // The token that identifies which batch of results you want to see. NextToken *string `type:"string"` // contains filtered or unexported fields }
The result of a successful ListAssociatedRoute53HealthChecks request.
func (ListAssociatedRoute53HealthChecksOutput) GoString ¶
func (s ListAssociatedRoute53HealthChecksOutput) GoString() string
GoString returns the string representation
func (*ListAssociatedRoute53HealthChecksOutput) SetHealthCheckIds ¶
func (s *ListAssociatedRoute53HealthChecksOutput) SetHealthCheckIds(v []*string) *ListAssociatedRoute53HealthChecksOutput
SetHealthCheckIds sets the HealthCheckIds field's value.
func (*ListAssociatedRoute53HealthChecksOutput) SetNextToken ¶
func (s *ListAssociatedRoute53HealthChecksOutput) SetNextToken(v string) *ListAssociatedRoute53HealthChecksOutput
SetNextToken sets the NextToken field's value.
func (ListAssociatedRoute53HealthChecksOutput) String ¶
func (s ListAssociatedRoute53HealthChecksOutput) String() string
String returns the string representation
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
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
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 `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
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
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
func (*ListControlPanelsInput) SetClusterArn ¶
func (s *ListControlPanelsInput) SetClusterArn(v string) *ListControlPanelsInput
SetClusterArn sets the ClusterArn field's value.
func (*ListControlPanelsInput) SetMaxResults ¶
func (s *ListControlPanelsInput) SetMaxResults(v int64) *ListControlPanelsInput
SetMaxResults sets the MaxResults field's value.
func (*ListControlPanelsInput) SetNextToken ¶
func (s *ListControlPanelsInput) SetNextToken(v string) *ListControlPanelsInput
SetNextToken sets the NextToken field's value.
func (ListControlPanelsInput) String ¶
func (s ListControlPanelsInput) String() string
String returns the string representation
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 `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
func (*ListControlPanelsOutput) SetControlPanels ¶
func (s *ListControlPanelsOutput) SetControlPanels(v []*ControlPanel) *ListControlPanelsOutput
SetControlPanels sets the ControlPanels field's value.
func (*ListControlPanelsOutput) SetNextToken ¶
func (s *ListControlPanelsOutput) SetNextToken(v string) *ListControlPanelsOutput
SetNextToken sets the NextToken field's value.
func (ListControlPanelsOutput) String ¶
func (s ListControlPanelsOutput) String() string
String returns the string representation
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
func (*ListRoutingControlsInput) SetControlPanelArn ¶
func (s *ListRoutingControlsInput) SetControlPanelArn(v string) *ListRoutingControlsInput
SetControlPanelArn sets the ControlPanelArn field's value.
func (*ListRoutingControlsInput) SetMaxResults ¶
func (s *ListRoutingControlsInput) SetMaxResults(v int64) *ListRoutingControlsInput
SetMaxResults sets the MaxResults field's value.
func (*ListRoutingControlsInput) SetNextToken ¶
func (s *ListRoutingControlsInput) SetNextToken(v string) *ListRoutingControlsInput
SetNextToken sets the NextToken field's value.
func (ListRoutingControlsInput) String ¶
func (s ListRoutingControlsInput) String() string
String returns the string representation
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 `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
func (*ListRoutingControlsOutput) SetNextToken ¶
func (s *ListRoutingControlsOutput) SetNextToken(v string) *ListRoutingControlsOutput
SetNextToken sets the NextToken field's value.
func (*ListRoutingControlsOutput) SetRoutingControls ¶
func (s *ListRoutingControlsOutput) SetRoutingControls(v []*RoutingControl) *ListRoutingControlsOutput
SetRoutingControls sets the RoutingControls field's value.
func (ListRoutingControlsOutput) String ¶
func (s ListRoutingControlsOutput) String() string
String returns the string representation
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
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
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 `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
func (*ListSafetyRulesOutput) SetNextToken ¶
func (s *ListSafetyRulesOutput) SetNextToken(v string) *ListSafetyRulesOutput
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
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 `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 controls must be enabled 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 enabled, so that at least two Amazon Web Services Regions are enabled. // // 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
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
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 `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 designates how many controls must be enabled to allow you to change // (set or unset) the target controls. // // 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
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
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 - The query string contains a syntax error or resource not found.
func (*ResourceNotFoundException) Code ¶
func (s *ResourceNotFoundException) Code() string
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
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
type Route53RecoveryControlConfig ¶
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 ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *Route53RecoveryControlConfig
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 ¶
func (c *Route53RecoveryControlConfig) CreateCluster(input *CreateClusterInput) (*CreateClusterOutput, error)
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 Amazon Route 53 Application Recovery Controller 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 used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
ServiceQuotaExceededException 402 response
AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
ResourceNotFoundException 404 response - The query string contains a syntax error or resource not found.
ThrottlingException 429 response - ThrottlingException.
ConflictException 409 response - ConflictException.
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 ¶
func (c *Route53RecoveryControlConfig) CreateControlPanel(input *CreateControlPanelInput) (*CreateControlPanelOutput, error)
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 AWS 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 used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
ServiceQuotaExceededException 402 response
AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
ResourceNotFoundException 404 response - The query string contains a syntax error or resource not found.
ThrottlingException 429 response - ThrottlingException.
ConflictException 409 response - ConflictException.
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) }
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 ¶
func (c *Route53RecoveryControlConfig) CreateRoutingControl(input *CreateRoutingControlInput) (*CreateRoutingControlOutput, error)
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 used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
ServiceQuotaExceededException 402 response
AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
ResourceNotFoundException 404 response - The query string contains a syntax error or resource not found.
ThrottlingException 429 response - ThrottlingException.
ConflictException 409 response - ConflictException.
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) }
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 ¶
func (c *Route53RecoveryControlConfig) CreateSafetyRule(input *CreateSafetyRuleInput) (*CreateSafetyRuleOutput, error)
CreateSafetyRule API operation for AWS Route53 Recovery Control Config.
Creates a safety rule in a control panel. Safety rules let you add safeguards around 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 a routing control state is changed, the criteria set by the rule configuration is met. Otherwise, the change to the routing control is not accepted.
Gating rule: A gating rule verifies that a set of gating controls evaluates as true, based on a rule configuration that you specify. If the gating rule evaluates to true, Amazon Route 53 Application Recovery Controller allows a set of routing control state changes to run and complete against the set of target controls.
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 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 ¶
func (c *Route53RecoveryControlConfig) DeleteCluster(input *DeleteClusterInput) (*DeleteClusterOutput, error)
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 used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
ResourceNotFoundException 404 response - The query string contains a syntax error or resource not found.
ThrottlingException 429 response - ThrottlingException.
ConflictException 409 response - ConflictException.
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 ¶
func (c *Route53RecoveryControlConfig) DeleteControlPanel(input *DeleteControlPanelInput) (*DeleteControlPanelOutput, error)
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 used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
ResourceNotFoundException 404 response - The query string contains a syntax error or resource not found.
ThrottlingException 429 response - ThrottlingException.
ConflictException 409 response - ConflictException.
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) }
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 ¶
func (c *Route53RecoveryControlConfig) DeleteRoutingControl(input *DeleteRoutingControlInput) (*DeleteRoutingControlOutput, error)
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 used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
ResourceNotFoundException 404 response - The query string contains a syntax error or resource not found.
ThrottlingException 429 response - ThrottlingException.
ConflictException 409 response - ConflictException.
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) }
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 ¶
func (c *Route53RecoveryControlConfig) DeleteSafetyRule(input *DeleteSafetyRuleInput) (*DeleteSafetyRuleOutput, error)
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 - 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 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 ¶
func (c *Route53RecoveryControlConfig) DescribeCluster(input *DescribeClusterInput) (*DescribeClusterOutput, error)
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 used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
ResourceNotFoundException 404 response - The query string contains a syntax error or resource not found.
ThrottlingException 429 response - ThrottlingException.
ConflictException 409 response - ConflictException.
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 ¶
func (c *Route53RecoveryControlConfig) DescribeControlPanel(input *DescribeControlPanelInput) (*DescribeControlPanelOutput, error)
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 used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
ResourceNotFoundException 404 response - The query string contains a syntax error or resource not found.
ThrottlingException 429 response - ThrottlingException.
ConflictException 409 response - ConflictException.
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) }
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 ¶
func (c *Route53RecoveryControlConfig) DescribeRoutingControl(input *DescribeRoutingControlInput) (*DescribeRoutingControlOutput, error)
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 used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
ResourceNotFoundException 404 response - The query string contains a syntax error or resource not found.
ThrottlingException 429 response - ThrottlingException.
ConflictException 409 response - ConflictException.
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) }
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 ¶
func (c *Route53RecoveryControlConfig) DescribeSafetyRule(input *DescribeSafetyRuleInput) (*DescribeSafetyRuleOutput, error)
DescribeSafetyRule API operation for AWS Route53 Recovery Control Config.
Describes the safety rules (that is, the assertion rules and gating rules) 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 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 used parameters together incorrectly.
ResourceNotFoundException 404 response - The query string contains a syntax error or resource not found.
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) }
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) ListAssociatedRoute53HealthChecks ¶
func (c *Route53RecoveryControlConfig) ListAssociatedRoute53HealthChecks(input *ListAssociatedRoute53HealthChecksInput) (*ListAssociatedRoute53HealthChecksOutput, error)
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 - 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 used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
func (*Route53RecoveryControlConfig) ListAssociatedRoute53HealthChecksPages ¶
func (c *Route53RecoveryControlConfig) ListAssociatedRoute53HealthChecksPages(input *ListAssociatedRoute53HealthChecksInput, fn func(*ListAssociatedRoute53HealthChecksOutput, bool) bool) error
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) }
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 ¶
func (c *Route53RecoveryControlConfig) ListClusters(input *ListClustersInput) (*ListClustersOutput, error)
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 - The query string contains a syntax error or resource not found.
ThrottlingException 429 response - ThrottlingException.
ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
AccessDeniedException 403 response - AccessDeniedException. 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 ¶
func (c *Route53RecoveryControlConfig) ListControlPanels(input *ListControlPanelsInput) (*ListControlPanelsOutput, error)
ListControlPanels API operation for AWS Route53 Recovery Control Config.
Returns an array of control panels 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 ListControlPanels for usage and error information.
Returned Error Types:
ResourceNotFoundException 404 response - The query string contains a syntax error or resource not found.
ThrottlingException 429 response - ThrottlingException.
ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
AccessDeniedException 403 response - AccessDeniedException. 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 ¶
func (c *Route53RecoveryControlConfig) ListRoutingControls(input *ListRoutingControlsInput) (*ListRoutingControlsOutput, error)
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 - The query string contains a syntax error or resource not found.
ThrottlingException 429 response - ThrottlingException.
ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
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) }
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 ¶
func (c *Route53RecoveryControlConfig) ListSafetyRules(input *ListSafetyRulesInput) (*ListSafetyRulesOutput, error)
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 - The query string contains a syntax error or resource not found.
ThrottlingException 429 response - ThrottlingException.
ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
AccessDeniedException 403 response - AccessDeniedException. 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) UpdateControlPanel ¶
func (c *Route53RecoveryControlConfig) UpdateControlPanel(input *UpdateControlPanelInput) (*UpdateControlPanelOutput, error)
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 used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
ResourceNotFoundException 404 response - The query string contains a syntax error or resource not found.
ThrottlingException 429 response - ThrottlingException.
ConflictException 409 response - ConflictException.
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) }
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 ¶
func (c *Route53RecoveryControlConfig) UpdateRoutingControl(input *UpdateRoutingControlInput) (*UpdateRoutingControlOutput, error)
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 used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
AccessDeniedException 403 response - AccessDeniedException. You do not have sufficient access to perform this action.
ResourceNotFoundException 404 response - The query string contains a syntax error or resource not found.
ThrottlingException 429 response - ThrottlingException.
ConflictException 409 response - ConflictException.
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) }
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 ¶
func (c *Route53RecoveryControlConfig) UpdateSafetyRule(input *UpdateSafetyRuleInput) (*UpdateSafetyRuleOutput, error)
UpdateSafetyRule API operation for AWS Route53 Recovery Control Config.
Update a safety rule (an assertion rule or gating rule) for the routing controls in a control panel. 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 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 UpdateSafetyRule for usage and error information.
Returned Error Types:
ResourceNotFoundException 404 response - 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 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 `type:"string"` // The name of the routing control. Name *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) of the routing control. RoutingControlArn *string `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
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) 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
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 is not accepted. ASSERTION *AssertionRule `type:"structure"` // A gating rule verifies that a set of gating controls evaluates as true, based // on a rule configuration that you specify. If the gating rule evaluates to // true, Amazon Route 53 Application Recovery Controller allows a set of routing // control state changes to run and complete against the set of target controls. 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) 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.
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 controls must be enabled after a transaction completes.
func (RuleConfig) GoString ¶
func (s RuleConfig) GoString() string
GoString returns the string representation
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
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
func (*ServiceQuotaExceededException) Code ¶
func (s *ServiceQuotaExceededException) Code() string
Code returns the exception type name.
func (*ServiceQuotaExceededException) Error ¶
func (s *ServiceQuotaExceededException) Error() string
func (ServiceQuotaExceededException) GoString ¶
func (s ServiceQuotaExceededException) GoString() string
GoString returns the string representation
func (*ServiceQuotaExceededException) Message ¶
func (s *ServiceQuotaExceededException) Message() string
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 ¶
func (s ServiceQuotaExceededException) String() string
String returns the string representation
type ThrottlingException ¶
type ThrottlingException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
429 response - ThrottlingException.
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
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
type UpdateControlPanelInput ¶
type UpdateControlPanelInput struct { // The Amazon Resource Name (ARN) of the control panel. // // ControlPanelArn is a required field ControlPanelArn *string `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
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
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
func (*UpdateControlPanelOutput) SetControlPanel ¶
func (s *UpdateControlPanelOutput) SetControlPanel(v *ControlPanel) *UpdateControlPanelOutput
SetControlPanel sets the ControlPanel field's value.
func (UpdateControlPanelOutput) String ¶
func (s UpdateControlPanelOutput) String() string
String returns the string representation
type UpdateRoutingControlInput ¶
type UpdateRoutingControlInput struct { // The Amazon Resource Name (ARN) of the routing control. // // RoutingControlArn is a required field RoutingControlArn *string `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
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
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
func (*UpdateRoutingControlOutput) SetRoutingControl ¶
func (s *UpdateRoutingControlOutput) SetRoutingControl(v *RoutingControl) *UpdateRoutingControlOutput
SetRoutingControl sets the RoutingControl field's value.
func (UpdateRoutingControlOutput) String ¶
func (s UpdateRoutingControlOutput) String() string
String returns the string representation
type UpdateSafetyRuleInput ¶
type UpdateSafetyRuleInput struct { // 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. AssertionRuleUpdate *AssertionRuleUpdate `type:"structure"` // 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. 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
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
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 { // 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 is not accepted. AssertionRule *AssertionRule `type:"structure"` // A gating rule verifies that a set of gating controls evaluates as true, based // on a rule configuration that you specify. If the gating rule evaluates to // true, Amazon Route 53 Application Recovery Controller allows a set of routing // control state changes to run and complete against the set of target controls. 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
func (*UpdateSafetyRuleOutput) SetAssertionRule ¶
func (s *UpdateSafetyRuleOutput) SetAssertionRule(v *AssertionRule) *UpdateSafetyRuleOutput
SetAssertionRule sets the AssertionRule field's value.
func (*UpdateSafetyRuleOutput) SetGatingRule ¶
func (s *UpdateSafetyRuleOutput) SetGatingRule(v *GatingRule) *UpdateSafetyRuleOutput
SetGatingRule sets the GatingRule field's value.
func (UpdateSafetyRuleOutput) String ¶
func (s UpdateSafetyRuleOutput) String() string
String returns the string representation
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 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
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
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. |