func RuleType_Values() []string
RuleType_Values returns all elements of the RuleType enum
func Status_Values() []string
Status_Values returns all elements of the Status enum
type AccessDeniedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
403 response - You do not have sufficient access to perform this action.
func (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (s *AccessDeniedException) Error() string
func (s AccessDeniedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s AccessDeniedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AssertionRule struct { // The routing controls that are part of transactions that are evaluated to // determine if a request to change a routing control state is allowed. For // example, you might include three routing controls, one for each of three // Amazon Web Services Regions. // // AssertedControls is a required field AssertedControls []*string `type:"list" required:"true"` // The Amazon Resource Name (ARN) of the control panel. // // ControlPanelArn is a required field ControlPanelArn *string `min:"1" type:"string" required:"true"` // Name of the assertion rule. You can use any non-white space character in // the name. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` // The Amazon Web Services account ID of the assertion rule owner. Owner *string `min:"12" type:"string"` // The criteria that you set for specific assertion routing controls (AssertedControls) // that designate how many routing control states must be ON as the result of // a transaction. For example, if you have three assertion routing controls, // you might specify ATLEAST 2 for your rule configuration. This means that // at least two assertion routing control states must be ON, so that at least // two Amazon Web Services Regions have traffic flowing to them. // // RuleConfig is a required field RuleConfig *RuleConfig `type:"structure" required:"true"` // The Amazon Resource Name (ARN) of the assertion rule. // // SafetyRuleArn is a required field SafetyRuleArn *string `min:"1" type:"string" required:"true"` // The deployment status of an assertion rule. Status can be one of the following: // PENDING, DEPLOYED, PENDING_DELETION. // // Status is a required field Status *string `type:"string" required:"true" enum:"Status"` // An evaluation period, in milliseconds (ms), during which any request against // the target routing controls will fail. This helps prevent "flapping" of state. // The wait period is 5000 ms by default, but you can choose a custom value. // // WaitPeriodMs is a required field WaitPeriodMs *int64 `type:"integer" required:"true"` // contains filtered or unexported fields }
An assertion rule enforces that, when you change a routing control state, that the criteria that you set in the rule configuration is met. Otherwise, the change to the routing control is not accepted. For example, the criteria might be that at least one routing control state is On after the transaction so that traffic continues to flow to at least one cell for the application. This ensures that you avoid a fail-open scenario.
func (s AssertionRule) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssertionRule) SetAssertedControls(v []*string) *AssertionRule
SetAssertedControls sets the AssertedControls field's value.
func (s *AssertionRule) SetControlPanelArn(v string) *AssertionRule
SetControlPanelArn sets the ControlPanelArn field's value.
func (s *AssertionRule) SetName(v string) *AssertionRule
SetName sets the Name field's value.
func (s *AssertionRule) SetOwner(v string) *AssertionRule
SetOwner sets the Owner field's value.
func (s *AssertionRule) SetRuleConfig(v *RuleConfig) *AssertionRule
SetRuleConfig sets the RuleConfig field's value.
func (s *AssertionRule) SetSafetyRuleArn(v string) *AssertionRule
SetSafetyRuleArn sets the SafetyRuleArn field's value.
func (s *AssertionRule) SetStatus(v string) *AssertionRule
SetStatus sets the Status field's value.
func (s *AssertionRule) SetWaitPeriodMs(v int64) *AssertionRule
SetWaitPeriodMs sets the WaitPeriodMs field's value.
func (s AssertionRule) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AssertionRuleUpdate struct { // The name of the assertion rule. You can use any non-white space character // in the name. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the assertion rule. // // SafetyRuleArn is a required field SafetyRuleArn *string `min:"1" type:"string" required:"true"` // An evaluation period, in milliseconds (ms), during which any request against // the target routing controls will fail. This helps prevent "flapping" of state. // The wait period is 5000 ms by default, but you can choose a custom value. // // WaitPeriodMs is a required field WaitPeriodMs *int64 `type:"integer" required:"true"` // contains filtered or unexported fields }
An update to an assertion rule. You can update the name or the evaluation period (wait period). If you don't specify one of the items to update, the item is unchanged.
func (s AssertionRuleUpdate) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssertionRuleUpdate) SetName(v string) *AssertionRuleUpdate
SetName sets the Name field's value.
func (s *AssertionRuleUpdate) SetSafetyRuleArn(v string) *AssertionRuleUpdate
SetSafetyRuleArn sets the SafetyRuleArn field's value.
func (s *AssertionRuleUpdate) SetWaitPeriodMs(v int64) *AssertionRuleUpdate
SetWaitPeriodMs sets the WaitPeriodMs field's value.
func (s AssertionRuleUpdate) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssertionRuleUpdate) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Cluster struct { // The Amazon Resource Name (ARN) of the cluster. ClusterArn *string `min:"1" type:"string"` // Endpoints for a cluster. Specify one of these endpoints when you want to // set or retrieve a routing control state in the cluster. // // To get or update the routing control state, see the Amazon Route 53 Application // Recovery Controller Routing Control Actions. ClusterEndpoints []*ClusterEndpoint `type:"list"` // The name of the cluster. Name *string `min:"1" type:"string"` // The Amazon Web Services account ID of the cluster owner. Owner *string `min:"12" type:"string"` // Deployment status of a resource. Status can be one of the following: PENDING, // DEPLOYED, PENDING_DELETION. Status *string `type:"string" enum:"Status"` // contains filtered or unexported fields }
A set of five redundant Regional endpoints against which you can execute API calls to update or get the state of routing controls. You can host multiple control panels and routing controls on one cluster.
func (s Cluster) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Cluster) SetClusterArn(v string) *Cluster
SetClusterArn sets the ClusterArn field's value.
func (s *Cluster) SetClusterEndpoints(v []*ClusterEndpoint) *Cluster
SetClusterEndpoints sets the ClusterEndpoints field's value.
func (s *Cluster) SetName(v string) *Cluster
SetName sets the Name field's value.
func (s *Cluster) SetOwner(v string) *Cluster
SetOwner sets the Owner field's value.
func (s *Cluster) SetStatus(v string) *Cluster
SetStatus sets the Status field's value.
func (s Cluster) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ClusterEndpoint struct { // A cluster endpoint. Specify an endpoint and Amazon Web Services Region when // you want to set or retrieve a routing control state in the cluster. // // To get or update the routing control state, see the Amazon Route 53 Application // Recovery Controller Routing Control Actions. Endpoint *string `min:"1" type:"string"` // The Amazon Web Services Region for a cluster endpoint. Region *string `min:"1" type:"string"` // contains filtered or unexported fields }
A cluster endpoint. Specify an endpoint when you want to set or retrieve a routing control state in the cluster.
func (s ClusterEndpoint) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ClusterEndpoint) SetEndpoint(v string) *ClusterEndpoint
SetEndpoint sets the Endpoint field's value.
func (s *ClusterEndpoint) SetRegion(v string) *ClusterEndpoint
SetRegion sets the Region field's value.
func (s ClusterEndpoint) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ConflictException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
409 response - ConflictException. You might be using a predefined variable.
func (s *ConflictException) Code() string
Code returns the exception type name.
func (s *ConflictException) Error() string
func (s ConflictException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ConflictException) Message() string
Message returns the exception's message.
func (s *ConflictException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ConflictException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ConflictException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ConflictException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ControlPanel struct { // The Amazon Resource Name (ARN) of the cluster that includes the control panel. ClusterArn *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) of the control panel. ControlPanelArn *string `min:"1" type:"string"` // A flag that Amazon Route 53 Application Recovery Controller sets to true // to designate the default control panel for a cluster. When you create a cluster, // Amazon Route 53 Application Recovery Controller creates a control panel, // and sets this flag for that control panel. If you create a control panel // yourself, this flag is set to false. DefaultControlPanel *bool `type:"boolean"` // The name of the control panel. You can use any non-white space character // in the name. Name *string `min:"1" type:"string"` // The Amazon Web Services account ID of the control panel owner. Owner *string `min:"12" type:"string"` // The number of routing controls in the control panel. RoutingControlCount *int64 `type:"integer"` // The deployment status of control panel. Status can be one of the following: // PENDING, DEPLOYED, PENDING_DELETION. Status *string `type:"string" enum:"Status"` // contains filtered or unexported fields }
A control panel represents a group of routing controls that can be changed together in a single transaction.
func (s ControlPanel) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ControlPanel) SetClusterArn(v string) *ControlPanel
SetClusterArn sets the ClusterArn field's value.
func (s *ControlPanel) SetControlPanelArn(v string) *ControlPanel
SetControlPanelArn sets the ControlPanelArn field's value.
func (s *ControlPanel) SetDefaultControlPanel(v bool) *ControlPanel
SetDefaultControlPanel sets the DefaultControlPanel field's value.
func (s *ControlPanel) SetName(v string) *ControlPanel
SetName sets the Name field's value.
func (s *ControlPanel) SetOwner(v string) *ControlPanel
SetOwner sets the Owner field's value.
func (s *ControlPanel) SetRoutingControlCount(v int64) *ControlPanel
SetRoutingControlCount sets the RoutingControlCount field's value.
func (s *ControlPanel) SetStatus(v string) *ControlPanel
SetStatus sets the Status field's value.
func (s ControlPanel) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateClusterInput struct { // A unique, case-sensitive string of up to 64 ASCII characters. To make an // idempotent API request with an action, specify a client token in the request. ClientToken *string `min:"1" type:"string" idempotencyToken:"true"` // The name of the cluster. // // ClusterName is a required field ClusterName *string `min:"1" type:"string" required:"true"` // The tags associated with the cluster. Tags map[string]*string `type:"map"` // contains filtered or unexported fields }
The properties of a request to create a cluster.
func (s CreateClusterInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateClusterInput) SetClientToken(v string) *CreateClusterInput
SetClientToken sets the ClientToken field's value.
func (s *CreateClusterInput) SetClusterName(v string) *CreateClusterInput
SetClusterName sets the ClusterName field's value.
func (s *CreateClusterInput) SetTags(v map[string]*string) *CreateClusterInput
SetTags sets the Tags field's value.
func (s CreateClusterInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateClusterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s CreateClusterOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateClusterOutput) SetCluster(v *Cluster) *CreateClusterOutput
SetCluster sets the Cluster field's value.
func (s CreateClusterOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateControlPanelInput struct { // A unique, case-sensitive string of up to 64 ASCII characters. To make an // idempotent API request with an action, specify a client token in the request. ClientToken *string `min:"1" type:"string" idempotencyToken:"true"` // The Amazon Resource Name (ARN) of the cluster for the control panel. // // ClusterArn is a required field ClusterArn *string `min:"1" type:"string" required:"true"` // The name of the control panel. // // ControlPanelName is a required field ControlPanelName *string `min:"1" type:"string" required:"true"` // The tags associated with the control panel. Tags map[string]*string `type:"map"` // contains filtered or unexported fields }
A request to create a control panel.
func (s CreateControlPanelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateControlPanelInput) SetClientToken(v string) *CreateControlPanelInput
SetClientToken sets the ClientToken field's value.
func (s *CreateControlPanelInput) SetClusterArn(v string) *CreateControlPanelInput
SetClusterArn sets the ClusterArn field's value.
func (s *CreateControlPanelInput) SetControlPanelName(v string) *CreateControlPanelInput
SetControlPanelName sets the ControlPanelName field's value.
func (s *CreateControlPanelInput) SetTags(v map[string]*string) *CreateControlPanelInput
SetTags sets the Tags field's value.
func (s CreateControlPanelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateControlPanelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s CreateControlPanelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateControlPanelOutput) SetControlPanel(v *ControlPanel) *CreateControlPanelOutput
SetControlPanel sets the ControlPanel field's value.
func (s CreateControlPanelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateRoutingControlInput struct { // A unique, case-sensitive string of up to 64 ASCII characters. To make an // idempotent API request with an action, specify a client token in the request. ClientToken *string `min:"1" type:"string" idempotencyToken:"true"` // The Amazon Resource Name (ARN) of the cluster that includes the routing control. // // ClusterArn is a required field ClusterArn *string `min:"1" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the control panel that includes the routing // control. ControlPanelArn *string `min:"1" type:"string"` // The name of the routing control. // // RoutingControlName is a required field RoutingControlName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
A request to create a routing control. If you don't specify ControlPanelArn, Amazon Route 53 Application Recovery Controller creates the routing control in DefaultControlPanel.
func (s CreateRoutingControlInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateRoutingControlInput) SetClientToken(v string) *CreateRoutingControlInput
SetClientToken sets the ClientToken field's value.
func (s *CreateRoutingControlInput) SetClusterArn(v string) *CreateRoutingControlInput
SetClusterArn sets the ClusterArn field's value.
func (s *CreateRoutingControlInput) SetControlPanelArn(v string) *CreateRoutingControlInput
SetControlPanelArn sets the ControlPanelArn field's value.
func (s *CreateRoutingControlInput) SetRoutingControlName(v string) *CreateRoutingControlInput
SetRoutingControlName sets the RoutingControlName field's value.
func (s CreateRoutingControlInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateRoutingControlInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s CreateRoutingControlOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateRoutingControlOutput) SetRoutingControl(v *RoutingControl) *CreateRoutingControlOutput
SetRoutingControl sets the RoutingControl field's value.
func (s CreateRoutingControlOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateSafetyRuleInput struct { // The assertion rule requested. AssertionRule *NewAssertionRule `type:"structure"` // A unique, case-sensitive string of up to 64 ASCII characters. To make an // idempotent API request with an action, specify a client token in the request. ClientToken *string `min:"1" type:"string" idempotencyToken:"true"` // The gating rule requested. GatingRule *NewGatingRule `type:"structure"` // The tags associated with the safety rule. Tags map[string]*string `type:"map"` // contains filtered or unexported fields }
Request to create a safety rule. You can create either an assertion rule or a gating rule with a CreateSafetyRuleRequest call.
func (s CreateSafetyRuleInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateSafetyRuleInput) SetAssertionRule(v *NewAssertionRule) *CreateSafetyRuleInput
SetAssertionRule sets the AssertionRule field's value.
func (s *CreateSafetyRuleInput) SetClientToken(v string) *CreateSafetyRuleInput
SetClientToken sets the ClientToken field's value.
func (s *CreateSafetyRuleInput) SetGatingRule(v *NewGatingRule) *CreateSafetyRuleInput
SetGatingRule sets the GatingRule field's value.
func (s *CreateSafetyRuleInput) SetTags(v map[string]*string) *CreateSafetyRuleInput
SetTags sets the Tags field's value.
func (s CreateSafetyRuleInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateSafetyRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateSafetyRuleOutput struct { // The assertion rule created. AssertionRule *AssertionRule `type:"structure"` // The gating rule created. GatingRule *GatingRule `type:"structure"` // contains filtered or unexported fields }
The result of a successful CreateSafetyRule request.
func (s CreateSafetyRuleOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateSafetyRuleOutput) SetAssertionRule(v *AssertionRule) *CreateSafetyRuleOutput
SetAssertionRule sets the AssertionRule field's value.
func (s *CreateSafetyRuleOutput) SetGatingRule(v *GatingRule) *CreateSafetyRuleOutput
SetGatingRule sets the GatingRule field's value.
func (s CreateSafetyRuleOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteClusterInput struct { // ClusterArn is a required field ClusterArn *string `location:"uri" locationName:"ClusterArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteClusterInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteClusterInput) SetClusterArn(v string) *DeleteClusterInput
SetClusterArn sets the ClusterArn field's value.
func (s DeleteClusterInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteClusterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteClusterOutput struct {
// contains filtered or unexported fields
}
A successful DeleteCluster request returns no response.
func (s DeleteClusterOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteClusterOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteControlPanelInput struct { // ControlPanelArn is a required field ControlPanelArn *string `location:"uri" locationName:"ControlPanelArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteControlPanelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteControlPanelInput) SetControlPanelArn(v string) *DeleteControlPanelInput
SetControlPanelArn sets the ControlPanelArn field's value.
func (s DeleteControlPanelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteControlPanelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteControlPanelOutput struct {
// contains filtered or unexported fields
}
A successful DeleteControlPanel request returns no response.
func (s DeleteControlPanelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteControlPanelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteRoutingControlInput struct { // RoutingControlArn is a required field RoutingControlArn *string `location:"uri" locationName:"RoutingControlArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteRoutingControlInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteRoutingControlInput) SetRoutingControlArn(v string) *DeleteRoutingControlInput
SetRoutingControlArn sets the RoutingControlArn field's value.
func (s DeleteRoutingControlInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteRoutingControlInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteRoutingControlOutput struct {
// contains filtered or unexported fields
}
A successful DeleteRoutingControl request returns no response.
func (s DeleteRoutingControlOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteRoutingControlOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteSafetyRuleInput struct { // SafetyRuleArn is a required field SafetyRuleArn *string `location:"uri" locationName:"SafetyRuleArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteSafetyRuleInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteSafetyRuleInput) SetSafetyRuleArn(v string) *DeleteSafetyRuleInput
SetSafetyRuleArn sets the SafetyRuleArn field's value.
func (s DeleteSafetyRuleInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteSafetyRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteSafetyRuleOutput struct {
// contains filtered or unexported fields
}
There is an empty response when you delete a safety rule. />
func (s DeleteSafetyRuleOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteSafetyRuleOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeClusterInput struct { // ClusterArn is a required field ClusterArn *string `location:"uri" locationName:"ClusterArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DescribeClusterInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeClusterInput) SetClusterArn(v string) *DescribeClusterInput
SetClusterArn sets the ClusterArn field's value.
func (s DescribeClusterInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeClusterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s DescribeClusterOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeClusterOutput) SetCluster(v *Cluster) *DescribeClusterOutput
SetCluster sets the Cluster field's value.
func (s DescribeClusterOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeControlPanelInput struct { // ControlPanelArn is a required field ControlPanelArn *string `location:"uri" locationName:"ControlPanelArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DescribeControlPanelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeControlPanelInput) SetControlPanelArn(v string) *DescribeControlPanelInput
SetControlPanelArn sets the ControlPanelArn field's value.
func (s DescribeControlPanelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeControlPanelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s DescribeControlPanelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeControlPanelOutput) SetControlPanel(v *ControlPanel) *DescribeControlPanelOutput
SetControlPanel sets the ControlPanel field's value.
func (s DescribeControlPanelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeRoutingControlInput struct { // RoutingControlArn is a required field RoutingControlArn *string `location:"uri" locationName:"RoutingControlArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DescribeRoutingControlInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeRoutingControlInput) SetRoutingControlArn(v string) *DescribeRoutingControlInput
SetRoutingControlArn sets the RoutingControlArn field's value.
func (s DescribeRoutingControlInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeRoutingControlInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s DescribeRoutingControlOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeRoutingControlOutput) SetRoutingControl(v *RoutingControl) *DescribeRoutingControlOutput
SetRoutingControl sets the RoutingControl field's value.
func (s DescribeRoutingControlOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeSafetyRuleInput struct { // SafetyRuleArn is a required field SafetyRuleArn *string `location:"uri" locationName:"SafetyRuleArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DescribeSafetyRuleInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeSafetyRuleInput) SetSafetyRuleArn(v string) *DescribeSafetyRuleInput
SetSafetyRuleArn sets the SafetyRuleArn field's value.
func (s DescribeSafetyRuleInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeSafetyRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeSafetyRuleOutput struct { // The assertion rule in the response. AssertionRule *AssertionRule `type:"structure"` // The gating rule in the response. GatingRule *GatingRule `type:"structure"` // contains filtered or unexported fields }
The response when you send a DescribeSafetyRuleResponse request.
func (s DescribeSafetyRuleOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeSafetyRuleOutput) SetAssertionRule(v *AssertionRule) *DescribeSafetyRuleOutput
SetAssertionRule sets the AssertionRule field's value.
func (s *DescribeSafetyRuleOutput) SetGatingRule(v *GatingRule) *DescribeSafetyRuleOutput
SetGatingRule sets the GatingRule field's value.
func (s DescribeSafetyRuleOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GatingRule struct { // The Amazon Resource Name (ARN) of the control panel. // // ControlPanelArn is a required field ControlPanelArn *string `min:"1" type:"string" required:"true"` // An array of gating routing control Amazon Resource Names (ARNs). For a simple // "on/off" switch, specify the ARN for one routing control. The gating routing // controls are evaluated by the rule configuration that you specify to determine // if the target routing control states can be changed. // // GatingControls is a required field GatingControls []*string `type:"list" required:"true"` // The name for the gating rule. You can use any non-white space character in // the name. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` // The Amazon Web Services account ID of the gating rule owner. Owner *string `min:"12" type:"string"` // The criteria that you set for gating routing controls that designate how // many of the routing control states must be ON to allow you to update target // routing control states. // // RuleConfig is a required field RuleConfig *RuleConfig `type:"structure" required:"true"` // The Amazon Resource Name (ARN) of the gating rule. // // SafetyRuleArn is a required field SafetyRuleArn *string `min:"1" type:"string" required:"true"` // The deployment status of a gating rule. Status can be one of the following: // PENDING, DEPLOYED, PENDING_DELETION. // // Status is a required field Status *string `type:"string" required:"true" enum:"Status"` // An array of target routing control Amazon Resource Names (ARNs) for which // the states can only be updated if the rule configuration that you specify // evaluates to true for the gating routing control. As a simple example, if // you have a single gating control, it acts as an overall "on/off" switch for // a set of target routing controls. You can use this to manually override automated // failover, for example. // // TargetControls is a required field TargetControls []*string `type:"list" required:"true"` // An evaluation period, in milliseconds (ms), during which any request against // the target routing controls will fail. This helps prevent "flapping" of state. // The wait period is 5000 ms by default, but you can choose a custom value. // // WaitPeriodMs is a required field WaitPeriodMs *int64 `type:"integer" required:"true"` // contains filtered or unexported fields }
A gating rule verifies that a gating routing control or set of gating routing controls, evaluates as true, based on a rule configuration that you specify, which allows a set of routing control state changes to complete.
For example, if you specify one gating routing control and you set the Type in the rule configuration to OR, that indicates that you must set the gating routing control to On for the rule to evaluate as true; that is, for the gating control "switch" to be "On". When you do that, then you can update the routing control states for the target routing controls that you specify in the gating rule.
func (s GatingRule) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GatingRule) SetControlPanelArn(v string) *GatingRule
SetControlPanelArn sets the ControlPanelArn field's value.
func (s *GatingRule) SetGatingControls(v []*string) *GatingRule
SetGatingControls sets the GatingControls field's value.
func (s *GatingRule) SetName(v string) *GatingRule
SetName sets the Name field's value.
func (s *GatingRule) SetOwner(v string) *GatingRule
SetOwner sets the Owner field's value.
func (s *GatingRule) SetRuleConfig(v *RuleConfig) *GatingRule
SetRuleConfig sets the RuleConfig field's value.
func (s *GatingRule) SetSafetyRuleArn(v string) *GatingRule
SetSafetyRuleArn sets the SafetyRuleArn field's value.
func (s *GatingRule) SetStatus(v string) *GatingRule
SetStatus sets the Status field's value.
func (s *GatingRule) SetTargetControls(v []*string) *GatingRule
SetTargetControls sets the TargetControls field's value.
func (s *GatingRule) SetWaitPeriodMs(v int64) *GatingRule
SetWaitPeriodMs sets the WaitPeriodMs field's value.
func (s GatingRule) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GatingRuleUpdate struct { // The name for the gating rule. You can use any non-white space character in // the name. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the gating rule. // // SafetyRuleArn is a required field SafetyRuleArn *string `min:"1" type:"string" required:"true"` // An evaluation period, in milliseconds (ms), during which any request against // the target routing controls will fail. This helps prevent "flapping" of state. // The wait period is 5000 ms by default, but you can choose a custom value. // // WaitPeriodMs is a required field WaitPeriodMs *int64 `type:"integer" required:"true"` // contains filtered or unexported fields }
Update to a gating rule. You can update the name or the evaluation period (wait period). If you don't specify one of the items to update, the item is unchanged.
func (s GatingRuleUpdate) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GatingRuleUpdate) SetName(v string) *GatingRuleUpdate
SetName sets the Name field's value.
func (s *GatingRuleUpdate) SetSafetyRuleArn(v string) *GatingRuleUpdate
SetSafetyRuleArn sets the SafetyRuleArn field's value.
func (s *GatingRuleUpdate) SetWaitPeriodMs(v int64) *GatingRuleUpdate
SetWaitPeriodMs sets the WaitPeriodMs field's value.
func (s GatingRuleUpdate) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GatingRuleUpdate) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetResourcePolicyInput struct { // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetResourcePolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetResourcePolicyInput) SetResourceArn(v string) *GetResourcePolicyInput
SetResourceArn sets the ResourceArn field's value.
func (s GetResourcePolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetResourcePolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetResourcePolicyOutput struct { // The resource policy. Policy *string `min:"2" type:"string"` // contains filtered or unexported fields }
Returns the current Amazon Resource Access Manager resource policy for a cluster.
func (s GetResourcePolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetResourcePolicyOutput) SetPolicy(v string) *GetResourcePolicyOutput
SetPolicy sets the Policy field's value.
func (s GetResourcePolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InternalServerException 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 (s *InternalServerException) Code() string
Code returns the exception type name.
func (s *InternalServerException) Error() string
func (s InternalServerException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *InternalServerException) Message() string
Message returns the exception's message.
func (s *InternalServerException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InternalServerException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InternalServerException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s InternalServerException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListAssociatedRoute53HealthChecksInput 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 (s ListAssociatedRoute53HealthChecksInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListAssociatedRoute53HealthChecksInput) SetMaxResults(v int64) *ListAssociatedRoute53HealthChecksInput
SetMaxResults sets the MaxResults field's value.
func (s *ListAssociatedRoute53HealthChecksInput) SetNextToken(v string) *ListAssociatedRoute53HealthChecksInput
SetNextToken sets the NextToken field's value.
func (s *ListAssociatedRoute53HealthChecksInput) SetRoutingControlArn(v string) *ListAssociatedRoute53HealthChecksInput
SetRoutingControlArn sets the RoutingControlArn field's value.
func (s ListAssociatedRoute53HealthChecksInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListAssociatedRoute53HealthChecksInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAssociatedRoute53HealthChecksOutput struct { // Identifiers for the health checks. HealthCheckIds []*string `type:"list"` // Next token for listing health checks. NextToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
The result of a successful ListAssociatedRoute53HealthChecks request.
func (s ListAssociatedRoute53HealthChecksOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListAssociatedRoute53HealthChecksOutput) SetHealthCheckIds(v []*string) *ListAssociatedRoute53HealthChecksOutput
SetHealthCheckIds sets the HealthCheckIds field's value.
func (s *ListAssociatedRoute53HealthChecksOutput) SetNextToken(v string) *ListAssociatedRoute53HealthChecksOutput
SetNextToken sets the NextToken field's value.
func (s ListAssociatedRoute53HealthChecksOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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 (s ListClustersInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListClustersInput) SetMaxResults(v int64) *ListClustersInput
SetMaxResults sets the MaxResults field's value.
func (s *ListClustersInput) SetNextToken(v string) *ListClustersInput
SetNextToken sets the NextToken field's value.
func (s ListClustersInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListClustersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListClustersOutput struct { // An array of the clusters in an account. Clusters []*Cluster `type:"list"` // The token that identifies which batch of results you want to see. NextToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
The result of a successful ListClusters request.
func (s ListClustersOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListClustersOutput) SetClusters(v []*Cluster) *ListClustersOutput
SetClusters sets the Clusters field's value.
func (s *ListClustersOutput) SetNextToken(v string) *ListClustersOutput
SetNextToken sets the NextToken field's value.
func (s ListClustersOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListControlPanelsInput 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 (s ListControlPanelsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListControlPanelsInput) SetClusterArn(v string) *ListControlPanelsInput
SetClusterArn sets the ClusterArn field's value.
func (s *ListControlPanelsInput) SetMaxResults(v int64) *ListControlPanelsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListControlPanelsInput) SetNextToken(v string) *ListControlPanelsInput
SetNextToken sets the NextToken field's value.
func (s ListControlPanelsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListControlPanelsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListControlPanelsOutput struct { // The result of a successful ListControlPanel request. ControlPanels []*ControlPanel `type:"list"` // The token that identifies which batch of results you want to see. NextToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
The result of a successful ListControlPanel request.
func (s ListControlPanelsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListControlPanelsOutput) SetControlPanels(v []*ControlPanel) *ListControlPanelsOutput
SetControlPanels sets the ControlPanels field's value.
func (s *ListControlPanelsOutput) SetNextToken(v string) *ListControlPanelsOutput
SetNextToken sets the NextToken field's value.
func (s ListControlPanelsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListRoutingControlsInput 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 (s ListRoutingControlsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListRoutingControlsInput) SetControlPanelArn(v string) *ListRoutingControlsInput
SetControlPanelArn sets the ControlPanelArn field's value.
func (s *ListRoutingControlsInput) SetMaxResults(v int64) *ListRoutingControlsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListRoutingControlsInput) SetNextToken(v string) *ListRoutingControlsInput
SetNextToken sets the NextToken field's value.
func (s ListRoutingControlsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListRoutingControlsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListRoutingControlsOutput struct { // The token that identifies which batch of results you want to see. NextToken *string `min:"1" type:"string"` // An array of routing controls. RoutingControls []*RoutingControl `type:"list"` // contains filtered or unexported fields }
The result of a successful ListRoutingControl request.
func (s ListRoutingControlsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListRoutingControlsOutput) SetNextToken(v string) *ListRoutingControlsOutput
SetNextToken sets the NextToken field's value.
func (s *ListRoutingControlsOutput) SetRoutingControls(v []*RoutingControl) *ListRoutingControlsOutput
SetRoutingControls sets the RoutingControls field's value.
func (s ListRoutingControlsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListSafetyRulesInput 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 (s ListSafetyRulesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListSafetyRulesInput) SetControlPanelArn(v string) *ListSafetyRulesInput
SetControlPanelArn sets the ControlPanelArn field's value.
func (s *ListSafetyRulesInput) SetMaxResults(v int64) *ListSafetyRulesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListSafetyRulesInput) SetNextToken(v string) *ListSafetyRulesInput
SetNextToken sets the NextToken field's value.
func (s ListSafetyRulesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListSafetyRulesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListSafetyRulesOutput struct { // The token that identifies which batch of results you want to see. NextToken *string `min:"1" type:"string"` // The list of safety rules in a control panel. SafetyRules []*Rule `type:"list"` // contains filtered or unexported fields }
The response to a ListSafetyRulesRequest.
func (s ListSafetyRulesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListSafetyRulesOutput) SetNextToken(v string) *ListSafetyRulesOutput
SetNextToken sets the NextToken field's value.
func (s *ListSafetyRulesOutput) SetSafetyRules(v []*Rule) *ListSafetyRulesOutput
SetSafetyRules sets the SafetyRules field's value.
func (s ListSafetyRulesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListTagsForResourceInput struct { // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s ListTagsForResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput struct { // The tags associated with the resource. Tags map[string]*string `type:"map"` // contains filtered or unexported fields }
The result of a successful ListTagsForResource request.
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (s ListTagsForResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NewAssertionRule struct { // The routing controls that are part of transactions that are evaluated to // determine if a request to change a routing control state is allowed. For // example, you might include three routing controls, one for each of three // Amazon Web Services Regions. // // AssertedControls is a required field AssertedControls []*string `type:"list" required:"true"` // The Amazon Resource Name (ARN) for the control panel. // // ControlPanelArn is a required field ControlPanelArn *string `min:"1" type:"string" required:"true"` // The name of the assertion rule. You can use any non-white space character // in the name. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` // The criteria that you set for specific assertion controls (routing controls) // that designate how many control states must be ON as the result of a transaction. // For example, if you have three assertion controls, you might specify ATLEAST // 2 for your rule configuration. This means that at least two assertion controls // must be ON, so that at least two Amazon Web Services Regions have traffic // flowing to them. // // RuleConfig is a required field RuleConfig *RuleConfig `type:"structure" required:"true"` // An evaluation period, in milliseconds (ms), during which any request against // the target routing controls will fail. This helps prevent "flapping" of state. // The wait period is 5000 ms by default, but you can choose a custom value. // // WaitPeriodMs is a required field WaitPeriodMs *int64 `type:"integer" required:"true"` // contains filtered or unexported fields }
A new assertion rule for a control panel.
func (s NewAssertionRule) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NewAssertionRule) SetAssertedControls(v []*string) *NewAssertionRule
SetAssertedControls sets the AssertedControls field's value.
func (s *NewAssertionRule) SetControlPanelArn(v string) *NewAssertionRule
SetControlPanelArn sets the ControlPanelArn field's value.
func (s *NewAssertionRule) SetName(v string) *NewAssertionRule
SetName sets the Name field's value.
func (s *NewAssertionRule) SetRuleConfig(v *RuleConfig) *NewAssertionRule
SetRuleConfig sets the RuleConfig field's value.
func (s *NewAssertionRule) SetWaitPeriodMs(v int64) *NewAssertionRule
SetWaitPeriodMs sets the WaitPeriodMs field's value.
func (s NewAssertionRule) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NewAssertionRule) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NewGatingRule struct { // The Amazon Resource Name (ARN) of the control panel. // // ControlPanelArn is a required field ControlPanelArn *string `min:"1" type:"string" required:"true"` // The gating controls for the new gating rule. That is, routing controls that // are evaluated by the rule configuration that you specify. // // GatingControls is a required field GatingControls []*string `type:"list" required:"true"` // The name for the new gating rule. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` // The criteria that you set for specific gating controls (routing controls) // that designate how many control states must be ON to allow you to change // (set or unset) the target control states. // // RuleConfig is a required field RuleConfig *RuleConfig `type:"structure" required:"true"` // Routing controls that can only be set or unset if the specified RuleConfig // evaluates to true for the specified GatingControls. For example, say you // have three gating controls, one for each of three Amazon Web Services Regions. // Now you specify ATLEAST 2 as your RuleConfig. With these settings, you can // only change (set or unset) the routing controls that you have specified as // TargetControls if that rule evaluates to true. // // In other words, your ability to change the routing controls that you have // specified as TargetControls is gated by the rule that you set for the routing // controls in GatingControls. // // TargetControls is a required field TargetControls []*string `type:"list" required:"true"` // An evaluation period, in milliseconds (ms), during which any request against // the target routing controls will fail. This helps prevent "flapping" of state. // The wait period is 5000 ms by default, but you can choose a custom value. // // WaitPeriodMs is a required field WaitPeriodMs *int64 `type:"integer" required:"true"` // contains filtered or unexported fields }
A new gating rule for a control panel.
func (s NewGatingRule) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NewGatingRule) SetControlPanelArn(v string) *NewGatingRule
SetControlPanelArn sets the ControlPanelArn field's value.
func (s *NewGatingRule) SetGatingControls(v []*string) *NewGatingRule
SetGatingControls sets the GatingControls field's value.
func (s *NewGatingRule) SetName(v string) *NewGatingRule
SetName sets the Name field's value.
func (s *NewGatingRule) SetRuleConfig(v *RuleConfig) *NewGatingRule
SetRuleConfig sets the RuleConfig field's value.
func (s *NewGatingRule) SetTargetControls(v []*string) *NewGatingRule
SetTargetControls sets the TargetControls field's value.
func (s *NewGatingRule) SetWaitPeriodMs(v int64) *NewGatingRule
SetWaitPeriodMs sets the WaitPeriodMs field's value.
func (s NewGatingRule) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NewGatingRule) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResourceNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (s *ResourceNotFoundException) Error() string
func (s ResourceNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ResourceNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Route53RecoveryControlConfig struct { *client.Client }
Route53RecoveryControlConfig provides the API operation methods for making requests to AWS Route53 Recovery Control Config. See this package's package overview docs for details on the service.
Route53RecoveryControlConfig methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New(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 (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 cluster data plane.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation CreateCluster for usage and error information.
Returned Error Types:
ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
ServiceQuotaExceededException 402 response - You attempted to create more resources than the service allows based on service quotas.
AccessDeniedException 403 response - You do not have sufficient access to perform this action.
ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
ConflictException 409 response - ConflictException. You might be using a predefined variable.
See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateCluster
func (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 (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 (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 Amazon Web Services Region.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation CreateControlPanel for usage and error information.
Returned Error Types:
ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
ServiceQuotaExceededException 402 response - You attempted to create more resources than the service allows based on service quotas.
AccessDeniedException 403 response - You do not have sufficient access to perform this action.
ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
ConflictException 409 response - ConflictException. You might be using a predefined variable.
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 (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 (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 might have used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
ServiceQuotaExceededException 402 response - You attempted to create more resources than the service allows based on service quotas.
AccessDeniedException 403 response - You do not have sufficient access to perform this action.
ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
ConflictException 409 response - ConflictException. You might be using a predefined variable.
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 (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 (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 changing routing control states, and for enabling and disabling routing controls, to help prevent unexpected outcomes.
There are two types of safety rules: assertion rules and gating rules.
Assertion rule: An assertion rule enforces that, when you change a routing control state, that a certain criteria is met. For example, the criteria might be that at least one routing control state is On after the transaction so that traffic continues to flow to at least one cell for the application. This ensures that you avoid a fail-open scenario.
Gating rule: A gating rule lets you configure a gating routing control as an overall "on/off" switch for a group of routing controls. Or, you can configure more complex gating scenarios, for example by configuring multiple gating routing controls.
For more information, see Safety rules (https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.safety-rules.html) in the Amazon Route 53 Application Recovery Controller Developer Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation CreateSafetyRule for usage and error information.
Returned Error Types:
ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateSafetyRule
func (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 (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 (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 might have used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
AccessDeniedException 403 response - You do not have sufficient access to perform this action.
ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
ConflictException 409 response - ConflictException. You might be using a predefined variable.
See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DeleteCluster
func (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 (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 (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 might have used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
AccessDeniedException 403 response - You do not have sufficient access to perform this action.
ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
ConflictException 409 response - ConflictException. You might be using a predefined variable.
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 (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 (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 might have used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
AccessDeniedException 403 response - You do not have sufficient access to perform this action.
ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
ConflictException 409 response - ConflictException. You might be using a predefined variable.
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 (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 (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 - MalformedQueryString. The query string contains a syntax error or resource not found.
ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DeleteSafetyRule
func (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 (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 (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 might have used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
AccessDeniedException 403 response - You do not have sufficient access to perform this action.
ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
ConflictException 409 response - ConflictException. You might be using a predefined variable.
See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DescribeCluster
func (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 (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 (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 might have used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
AccessDeniedException 403 response - You do not have sufficient access to perform this action.
ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
ConflictException 409 response - ConflictException. You might be using a predefined variable.
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 (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 (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 might have used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
AccessDeniedException 403 response - You do not have sufficient access to perform this action.
ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
ConflictException 409 response - ConflictException. You might be using a predefined variable.
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 (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 (c *Route53RecoveryControlConfig) DescribeSafetyRule(input *DescribeSafetyRuleInput) (*DescribeSafetyRuleOutput, error)
DescribeSafetyRule API operation for AWS Route53 Recovery Control Config.
Returns information about a safety rule.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation DescribeSafetyRule for usage and error information.
Returned Error Types:
ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.
ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
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 (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 (c *Route53RecoveryControlConfig) GetResourcePolicy(input *GetResourcePolicyInput) (*GetResourcePolicyOutput, error)
GetResourcePolicy API operation for AWS Route53 Recovery Control Config.
Get information about the resource policy for a cluster.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation GetResourcePolicy for usage and error information.
Returned Error Types:
ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/GetResourcePolicy
func (c *Route53RecoveryControlConfig) GetResourcePolicyRequest(input *GetResourcePolicyInput) (req *request.Request, output *GetResourcePolicyOutput)
GetResourcePolicyRequest generates a "aws/request.Request" representing the client's request for the GetResourcePolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetResourcePolicy for more information on using the GetResourcePolicy API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetResourcePolicyRequest method. req, resp := client.GetResourcePolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/GetResourcePolicy
func (c *Route53RecoveryControlConfig) GetResourcePolicyWithContext(ctx aws.Context, input *GetResourcePolicyInput, opts ...request.Option) (*GetResourcePolicyOutput, error)
GetResourcePolicyWithContext is the same as GetResourcePolicy with the addition of the ability to pass a context and additional request options.
See GetResourcePolicy for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (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 - MalformedQueryString. The query string contains a syntax error or resource not found.
ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
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 (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 (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 (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 (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 - MalformedQueryString. The query string contains a syntax error or resource not found.
ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
AccessDeniedException 403 response - You do not have sufficient access to perform this action.
See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListClusters
func (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 (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 (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 (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 (c *Route53RecoveryControlConfig) ListControlPanels(input *ListControlPanelsInput) (*ListControlPanelsOutput, error)
ListControlPanels API operation for AWS Route53 Recovery Control Config.
Returns an array of control panels in an account or in a cluster.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation ListControlPanels for usage and error information.
Returned Error Types:
ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
AccessDeniedException 403 response - You do not have sufficient access to perform this action.
See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListControlPanels
func (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 (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 (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 (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 (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 - MalformedQueryString. The query string contains a syntax error or resource not found.
ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
AccessDeniedException 403 response - You do not have sufficient access to perform this action.
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 (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 (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 (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 (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 - MalformedQueryString. The query string contains a syntax error or resource not found.
ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
AccessDeniedException 403 response - You do not have sufficient access to perform this action.
See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListSafetyRules
func (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 (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 (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 (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 (c *Route53RecoveryControlConfig) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
ListTagsForResource API operation for AWS Route53 Recovery Control Config.
Lists the tags for a resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation ListTagsForResource for usage and error information.
Returned Error Types:
ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
func (c *Route53RecoveryControlConfig) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (c *Route53RecoveryControlConfig) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.
See ListTagsForResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Route53RecoveryControlConfig) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for AWS Route53 Recovery Control Config.
Adds a tag to a resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation TagResource for usage and error information.
Returned Error Types:
ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/TagResource
func (c *Route53RecoveryControlConfig) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TagResource for more information on using the TagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/TagResource
func (c *Route53RecoveryControlConfig) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.
See TagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *Route53RecoveryControlConfig) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for AWS Route53 Recovery Control Config.
Removes a tag from a resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation UntagResource for usage and error information.
Returned Error Types:
ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UntagResource
func (c *Route53RecoveryControlConfig) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UntagResource for more information on using the UntagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UntagResource
func (c *Route53RecoveryControlConfig) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.
See UntagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (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 might have used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
AccessDeniedException 403 response - You do not have sufficient access to perform this action.
ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
ConflictException 409 response - ConflictException. You might be using a predefined variable.
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 (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 (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 might have used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
AccessDeniedException 403 response - You do not have sufficient access to perform this action.
ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
ThrottlingException 429 response - LimitExceededException or TooManyRequestsException.
ConflictException 409 response - ConflictException. You might be using a predefined variable.
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 (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 (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). You can only update the name and the waiting period for a safety rule. To make other updates, delete the safety rule and create a new one.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Route53 Recovery Control Config's API operation UpdateSafetyRule for usage and error information.
Returned Error Types:
ResourceNotFoundException 404 response - MalformedQueryString. The query string contains a syntax error or resource not found.
ValidationException 400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.
InternalServerException 500 response - InternalServiceError. Temporary service error. Retry the request.
See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UpdateSafetyRule
func (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 struct { // The Amazon Resource Name (ARN) of the control panel that includes the routing // control. ControlPanelArn *string `min:"1" type:"string"` // The name of the routing control. Name *string `min:"1" type:"string"` // The Amazon Web Services account ID of the routing control owner. Owner *string `min:"12" type:"string"` // The Amazon Resource Name (ARN) of the routing control. RoutingControlArn *string `min:"1" type:"string"` // The deployment status of a routing control. Status can be one of the following: // PENDING, DEPLOYED, PENDING_DELETION. Status *string `type:"string" enum:"Status"` // contains filtered or unexported fields }
A routing control has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control traffic routing.
func (s RoutingControl) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *RoutingControl) SetControlPanelArn(v string) *RoutingControl
SetControlPanelArn sets the ControlPanelArn field's value.
func (s *RoutingControl) SetName(v string) *RoutingControl
SetName sets the Name field's value.
func (s *RoutingControl) SetOwner(v string) *RoutingControl
SetOwner sets the Owner field's value.
func (s *RoutingControl) SetRoutingControlArn(v string) *RoutingControl
SetRoutingControlArn sets the RoutingControlArn field's value.
func (s *RoutingControl) SetStatus(v string) *RoutingControl
SetStatus sets the Status field's value.
func (s RoutingControl) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Rule struct { // An assertion rule enforces that, when a routing control state is changed, // the criteria set by the rule configuration is met. Otherwise, the change // to the routing control state is not accepted. For example, the criteria might // be that at least one routing control state is On after the transaction so // that traffic continues to flow to at least one cell for the application. // This ensures that you avoid a fail-open scenario. ASSERTION *AssertionRule `type:"structure"` // A gating rule verifies that a gating routing control or set of gating routing // controls, evaluates as true, based on a rule configuration that you specify, // which allows a set of routing control state changes to complete. // // For example, if you specify one gating routing control and you set the Type // in the rule configuration to OR, that indicates that you must set the gating // routing control to On for the rule to evaluate as true; that is, for the // gating control "switch" to be "On". When you do that, then you can update // the routing control states for the target routing controls that you specify // in the gating rule. GATING *GatingRule `type:"structure"` // contains filtered or unexported fields }
A safety rule. A safety rule can be an assertion rule or a gating rule.
func (s Rule) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Rule) SetASSERTION(v *AssertionRule) *Rule
SetASSERTION sets the ASSERTION field's value.
func (s *Rule) SetGATING(v *GatingRule) *Rule
SetGATING sets the GATING field's value.
func (s Rule) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RuleConfig struct { // Logical negation of the rule. If the rule would usually evaluate true, it's // evaluated as false, and vice versa. // // Inverted is a required field Inverted *bool `type:"boolean" required:"true"` // The value of N, when you specify an ATLEAST rule type. That is, Threshold // is the number of controls that must be set when you specify an ATLEAST type. // // Threshold is a required field Threshold *int64 `type:"integer" required:"true"` // A rule can be one of the following: ATLEAST, AND, or OR. // // Type is a required field Type *string `type:"string" required:"true" enum:"RuleType"` // contains filtered or unexported fields }
The rule configuration for an assertion rule. That is, the criteria that you set for specific assertion controls (routing controls) that specify how many control states must be ON after a transaction completes.
func (s RuleConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *RuleConfig) SetInverted(v bool) *RuleConfig
SetInverted sets the Inverted field's value.
func (s *RuleConfig) SetThreshold(v int64) *RuleConfig
SetThreshold sets the Threshold field's value.
func (s *RuleConfig) SetType(v string) *RuleConfig
SetType sets the Type field's value.
func (s RuleConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *RuleConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ServiceQuotaExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
402 response - You attempted to create more resources than the service allows based on service quotas.
func (s *ServiceQuotaExceededException) Code() string
Code returns the exception type name.
func (s *ServiceQuotaExceededException) Error() string
func (s ServiceQuotaExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ServiceQuotaExceededException) Message() string
Message returns the exception's message.
func (s *ServiceQuotaExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ServiceQuotaExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ServiceQuotaExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ServiceQuotaExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TagResourceInput struct { // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"` // The tags associated with the resource. // // Tags is a required field Tags map[string]*string `type:"map" required:"true"` // contains filtered or unexported fields }
Request to tag a resource.
func (s TagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput
SetTags sets the Tags field's value.
func (s TagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput struct {
// contains filtered or unexported fields
}
The result of a successful TagResource request.
func (s TagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s TagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ThrottlingException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
429 response - LimitExceededException or TooManyRequestsException.
func (s *ThrottlingException) Code() string
Code returns the exception type name.
func (s *ThrottlingException) Error() string
func (s ThrottlingException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ThrottlingException) Message() string
Message returns the exception's message.
func (s *ThrottlingException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ThrottlingException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ThrottlingException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ThrottlingException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UntagResourceInput struct { // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"` // TagKeys is a required field TagKeys []*string `location:"querystring" locationName:"TagKeys" type:"list" required:"true"` // contains filtered or unexported fields }
func (s UntagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (s UntagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
The result of a successful UntagResource request.
func (s UntagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s UntagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateControlPanelInput struct { // The Amazon Resource Name (ARN) of the control panel. // // ControlPanelArn is a required field ControlPanelArn *string `min:"1" type:"string" required:"true"` // The name of the control panel. // // ControlPanelName is a required field ControlPanelName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Updates an existing control panel.
func (s UpdateControlPanelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateControlPanelInput) SetControlPanelArn(v string) *UpdateControlPanelInput
SetControlPanelArn sets the ControlPanelArn field's value.
func (s *UpdateControlPanelInput) SetControlPanelName(v string) *UpdateControlPanelInput
SetControlPanelName sets the ControlPanelName field's value.
func (s UpdateControlPanelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateControlPanelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s UpdateControlPanelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateControlPanelOutput) SetControlPanel(v *ControlPanel) *UpdateControlPanelOutput
SetControlPanel sets the ControlPanel field's value.
func (s UpdateControlPanelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateRoutingControlInput struct { // The Amazon Resource Name (ARN) of the routing control. // // RoutingControlArn is a required field RoutingControlArn *string `min:"1" type:"string" required:"true"` // The name of the routing control. // // RoutingControlName is a required field RoutingControlName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
A request to update a routing control.
func (s UpdateRoutingControlInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateRoutingControlInput) SetRoutingControlArn(v string) *UpdateRoutingControlInput
SetRoutingControlArn sets the RoutingControlArn field's value.
func (s *UpdateRoutingControlInput) SetRoutingControlName(v string) *UpdateRoutingControlInput
SetRoutingControlName sets the RoutingControlName field's value.
func (s UpdateRoutingControlInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateRoutingControlInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s UpdateRoutingControlOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateRoutingControlOutput) SetRoutingControl(v *RoutingControl) *UpdateRoutingControlOutput
SetRoutingControl sets the RoutingControl field's value.
func (s UpdateRoutingControlOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateSafetyRuleInput struct { // The assertion rule to update. AssertionRuleUpdate *AssertionRuleUpdate `type:"structure"` // The gating rule to update. GatingRuleUpdate *GatingRuleUpdate `type:"structure"` // contains filtered or unexported fields }
Request to update a safety rule. A safety rule can be an assertion rule or a gating rule.
func (s UpdateSafetyRuleInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateSafetyRuleInput) SetAssertionRuleUpdate(v *AssertionRuleUpdate) *UpdateSafetyRuleInput
SetAssertionRuleUpdate sets the AssertionRuleUpdate field's value.
func (s *UpdateSafetyRuleInput) SetGatingRuleUpdate(v *GatingRuleUpdate) *UpdateSafetyRuleInput
SetGatingRuleUpdate sets the GatingRuleUpdate field's value.
func (s UpdateSafetyRuleInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateSafetyRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateSafetyRuleOutput struct { // The assertion rule updated. AssertionRule *AssertionRule `type:"structure"` // The gating rule updated. GatingRule *GatingRule `type:"structure"` // contains filtered or unexported fields }
The result of a successful UpdateSafetyRule request.
func (s UpdateSafetyRuleOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateSafetyRuleOutput) SetAssertionRule(v *AssertionRule) *UpdateSafetyRuleOutput
SetAssertionRule sets the AssertionRule field's value.
func (s *UpdateSafetyRuleOutput) SetGatingRule(v *GatingRule) *UpdateSafetyRuleOutput
SetGatingRule sets the GatingRule field's value.
func (s UpdateSafetyRuleOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ValidationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you might have used parameters together incorrectly.
func (s *ValidationException) Code() string
Code returns the exception type name.
func (s *ValidationException) Error() string
func (s ValidationException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ValidationException) Message() string
Message returns the exception's message.
func (s *ValidationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ValidationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ValidationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ValidationException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".