fis

package
v1.38.20 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: Apache-2.0 Imports: 10 Imported by: 7

Documentation

Overview

Package fis provides the client and types for making API requests to AWS Fault Injection Simulator.

AWS Fault Injection Simulator is a managed service that enables you to perform fault injection experiments on your AWS workloads. For more information, see the AWS Fault Injection Simulator User Guide (https://docs.aws.amazon.com/fis/latest/userguide/).

See https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01 for more information on this service.

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

Using the Client

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

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

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

See the AWS Fault Injection Simulator client FIS for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/fis/#New

Index

Constants

View Source
const (
	// ExperimentActionStatusPending is a ExperimentActionStatus enum value
	ExperimentActionStatusPending = "pending"

	// ExperimentActionStatusInitiating is a ExperimentActionStatus enum value
	ExperimentActionStatusInitiating = "initiating"

	// ExperimentActionStatusRunning is a ExperimentActionStatus enum value
	ExperimentActionStatusRunning = "running"

	// ExperimentActionStatusCompleted is a ExperimentActionStatus enum value
	ExperimentActionStatusCompleted = "completed"

	// ExperimentActionStatusCancelled is a ExperimentActionStatus enum value
	ExperimentActionStatusCancelled = "cancelled"

	// ExperimentActionStatusStopping is a ExperimentActionStatus enum value
	ExperimentActionStatusStopping = "stopping"

	// ExperimentActionStatusStopped is a ExperimentActionStatus enum value
	ExperimentActionStatusStopped = "stopped"

	// ExperimentActionStatusFailed is a ExperimentActionStatus enum value
	ExperimentActionStatusFailed = "failed"
)
View Source
const (
	// ExperimentStatusPending is a ExperimentStatus enum value
	ExperimentStatusPending = "pending"

	// ExperimentStatusInitiating is a ExperimentStatus enum value
	ExperimentStatusInitiating = "initiating"

	// ExperimentStatusRunning is a ExperimentStatus enum value
	ExperimentStatusRunning = "running"

	// ExperimentStatusCompleted is a ExperimentStatus enum value
	ExperimentStatusCompleted = "completed"

	// ExperimentStatusStopping is a ExperimentStatus enum value
	ExperimentStatusStopping = "stopping"

	// ExperimentStatusStopped is a ExperimentStatus enum value
	ExperimentStatusStopped = "stopped"

	// ExperimentStatusFailed is a ExperimentStatus enum value
	ExperimentStatusFailed = "failed"
)
View Source
const (

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// The request could not be processed because of a conflict.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The specified resource cannot be found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// You have exceeded your service quota.
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// The specified input is not valid, or fails to satisfy the constraints for
	// the request.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "fis"       // Name of service.
	EndpointsID = ServiceName // ID to lookup a service endpoint with.
	ServiceID   = "fis"       // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

func ExperimentActionStatus_Values

func ExperimentActionStatus_Values() []string

ExperimentActionStatus_Values returns all elements of the ExperimentActionStatus enum

func ExperimentStatus_Values

func ExperimentStatus_Values() []string

ExperimentStatus_Values returns all elements of the ExperimentStatus enum

Types

type Action

type Action struct {

	// The description for the action.
	Description *string `locationName:"description" type:"string"`

	// The ID of the action.
	Id *string `locationName:"id" type:"string"`

	// The action parameters, if applicable.
	Parameters map[string]*ActionParameter `locationName:"parameters" type:"map"`

	// The tags for the action.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// The supported targets for the action.
	Targets map[string]*ActionTarget `locationName:"targets" type:"map"`
	// contains filtered or unexported fields
}

Describes an action. For more information, see AWS FIS actions (https://docs.aws.amazon.com/fis/latest/userguide/fis-actions-reference.html) in the AWS Fault Injection Simulator User Guide.

func (Action) GoString

func (s Action) GoString() string

GoString returns the string representation

func (*Action) SetDescription

func (s *Action) SetDescription(v string) *Action

SetDescription sets the Description field's value.

func (*Action) SetId

func (s *Action) SetId(v string) *Action

SetId sets the Id field's value.

func (*Action) SetParameters

func (s *Action) SetParameters(v map[string]*ActionParameter) *Action

SetParameters sets the Parameters field's value.

func (*Action) SetTags

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

SetTags sets the Tags field's value.

func (*Action) SetTargets

func (s *Action) SetTargets(v map[string]*ActionTarget) *Action

SetTargets sets the Targets field's value.

func (Action) String

func (s Action) String() string

String returns the string representation

type ActionParameter

type ActionParameter struct {

	// The parameter description.
	Description *string `locationName:"description" type:"string"`

	// Indicates whether the parameter is required.
	Required *bool `locationName:"required" type:"boolean"`
	// contains filtered or unexported fields
}

Describes a parameter for an action.

func (ActionParameter) GoString

func (s ActionParameter) GoString() string

GoString returns the string representation

func (*ActionParameter) SetDescription

func (s *ActionParameter) SetDescription(v string) *ActionParameter

SetDescription sets the Description field's value.

func (*ActionParameter) SetRequired

func (s *ActionParameter) SetRequired(v bool) *ActionParameter

SetRequired sets the Required field's value.

func (ActionParameter) String

func (s ActionParameter) String() string

String returns the string representation

type ActionSummary

type ActionSummary struct {

	// The description for the action.
	Description *string `locationName:"description" type:"string"`

	// The ID of the action.
	Id *string `locationName:"id" type:"string"`

	// The tags for the action.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// The targets for the action.
	Targets map[string]*ActionTarget `locationName:"targets" type:"map"`
	// contains filtered or unexported fields
}

Provides a summary of an action.

func (ActionSummary) GoString

func (s ActionSummary) GoString() string

GoString returns the string representation

func (*ActionSummary) SetDescription

func (s *ActionSummary) SetDescription(v string) *ActionSummary

SetDescription sets the Description field's value.

func (*ActionSummary) SetId

func (s *ActionSummary) SetId(v string) *ActionSummary

SetId sets the Id field's value.

func (*ActionSummary) SetTags

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

SetTags sets the Tags field's value.

func (*ActionSummary) SetTargets

func (s *ActionSummary) SetTargets(v map[string]*ActionTarget) *ActionSummary

SetTargets sets the Targets field's value.

func (ActionSummary) String

func (s ActionSummary) String() string

String returns the string representation

type ActionTarget

type ActionTarget struct {

	// The resource type of the target.
	ResourceType *string `locationName:"resourceType" type:"string"`
	// contains filtered or unexported fields
}

Describes a target for an action.

func (ActionTarget) GoString

func (s ActionTarget) GoString() string

GoString returns the string representation

func (*ActionTarget) SetResourceType

func (s *ActionTarget) SetResourceType(v string) *ActionTarget

SetResourceType sets the ResourceType field's value.

func (ActionTarget) String

func (s ActionTarget) String() string

String returns the string representation

type ConflictException

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

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

The request could not be processed because of a conflict.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

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

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation

type CreateExperimentTemplateActionInput

type CreateExperimentTemplateActionInput struct {

	// The ID of the action.
	//
	// ActionId is a required field
	ActionId *string `locationName:"actionId" type:"string" required:"true"`

	// A description for the action.
	Description *string `locationName:"description" type:"string"`

	// The parameters for the action, if applicable.
	Parameters map[string]*string `locationName:"parameters" type:"map"`

	// The name of the action that must be completed before the current action starts.
	// Omit this parameter to run the action at the start of the experiment.
	StartAfter []*string `locationName:"startAfter" type:"list"`

	// The targets for the action.
	Targets map[string]*string `locationName:"targets" type:"map"`
	// contains filtered or unexported fields
}

Specifies an action for an experiment template.

func (CreateExperimentTemplateActionInput) GoString

GoString returns the string representation

func (*CreateExperimentTemplateActionInput) SetActionId

SetActionId sets the ActionId field's value.

func (*CreateExperimentTemplateActionInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateExperimentTemplateActionInput) SetParameters

SetParameters sets the Parameters field's value.

func (*CreateExperimentTemplateActionInput) SetStartAfter

SetStartAfter sets the StartAfter field's value.

func (*CreateExperimentTemplateActionInput) SetTargets

SetTargets sets the Targets field's value.

func (CreateExperimentTemplateActionInput) String

String returns the string representation

func (*CreateExperimentTemplateActionInput) Validate

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

type CreateExperimentTemplateInput

type CreateExperimentTemplateInput struct {

	// The actions for the experiment.
	//
	// Actions is a required field
	Actions map[string]*CreateExperimentTemplateActionInput `locationName:"actions" type:"map" required:"true"`

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// A description for the experiment template. Can contain up to 64 letters (A-Z
	// and a-z).
	//
	// Description is a required field
	Description *string `locationName:"description" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service
	// permission to perform service actions on your behalf.
	//
	// RoleArn is a required field
	RoleArn *string `locationName:"roleArn" min:"20" type:"string" required:"true"`

	// The stop conditions.
	//
	// StopConditions is a required field
	StopConditions []*CreateExperimentTemplateStopConditionInput `locationName:"stopConditions" type:"list" required:"true"`

	// The tags to apply to the experiment template.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// The targets for the experiment.
	Targets map[string]*CreateExperimentTemplateTargetInput `locationName:"targets" type:"map"`
	// contains filtered or unexported fields
}

func (CreateExperimentTemplateInput) GoString

GoString returns the string representation

func (*CreateExperimentTemplateInput) SetActions

SetActions sets the Actions field's value.

func (*CreateExperimentTemplateInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateExperimentTemplateInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateExperimentTemplateInput) SetRoleArn

SetRoleArn sets the RoleArn field's value.

func (*CreateExperimentTemplateInput) SetStopConditions

SetStopConditions sets the StopConditions field's value.

func (*CreateExperimentTemplateInput) SetTags

SetTags sets the Tags field's value.

func (*CreateExperimentTemplateInput) SetTargets

SetTargets sets the Targets field's value.

func (CreateExperimentTemplateInput) String

String returns the string representation

func (*CreateExperimentTemplateInput) Validate

func (s *CreateExperimentTemplateInput) Validate() error

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

type CreateExperimentTemplateOutput

type CreateExperimentTemplateOutput struct {

	// Information about the experiment template.
	ExperimentTemplate *ExperimentTemplate `locationName:"experimentTemplate" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateExperimentTemplateOutput) GoString

GoString returns the string representation

func (*CreateExperimentTemplateOutput) SetExperimentTemplate

SetExperimentTemplate sets the ExperimentTemplate field's value.

func (CreateExperimentTemplateOutput) String

String returns the string representation

type CreateExperimentTemplateStopConditionInput

type CreateExperimentTemplateStopConditionInput struct {

	// The source for the stop condition. Specify aws:cloudwatch:alarm if the stop
	// condition is defined by a CloudWatch alarm. Specify none if there is no stop
	// condition.
	//
	// Source is a required field
	Source *string `locationName:"source" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the CloudWatch alarm. This is required
	// if the source is a CloudWatch alarm.
	Value *string `locationName:"value" min:"20" type:"string"`
	// contains filtered or unexported fields
}

Specifies a stop condition for an experiment template.

func (CreateExperimentTemplateStopConditionInput) GoString

GoString returns the string representation

func (*CreateExperimentTemplateStopConditionInput) SetSource

SetSource sets the Source field's value.

func (*CreateExperimentTemplateStopConditionInput) SetValue

SetValue sets the Value field's value.

func (CreateExperimentTemplateStopConditionInput) String

String returns the string representation

func (*CreateExperimentTemplateStopConditionInput) Validate

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

type CreateExperimentTemplateTargetInput

type CreateExperimentTemplateTargetInput struct {

	// The filters to apply to identify target resources using specific attributes.
	Filters []*ExperimentTemplateTargetInputFilter `locationName:"filters" type:"list"`

	// The Amazon Resource Names (ARNs) of the resources.
	ResourceArns []*string `locationName:"resourceArns" type:"list"`

	// The tags for the target resources.
	ResourceTags map[string]*string `locationName:"resourceTags" type:"map"`

	// The AWS resource type. The resource type must be supported for the specified
	// action.
	//
	// ResourceType is a required field
	ResourceType *string `locationName:"resourceType" type:"string" required:"true"`

	// Scopes the identified resources to a specific count of the resources at random,
	// or a percentage of the resources. All identified resources are included in
	// the target.
	//
	//    * ALL - Run the action on all identified targets. This is the default.
	//
	//    * COUNT(n) - Run the action on the specified number of targets, chosen
	//    from the identified targets at random. For example, COUNT(1) selects one
	//    of the targets.
	//
	//    * PERCENT(n) - Run the action on the specified percentage of targets,
	//    chosen from the identified targets at random. For example, PERCENT(25)
	//    selects 25% of the targets.
	//
	// SelectionMode is a required field
	SelectionMode *string `locationName:"selectionMode" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Specifies a target for an experiment. You must specify at least one Amazon Resource Name (ARN) or at least one resource tag. You cannot specify both ARNs and tags.

func (CreateExperimentTemplateTargetInput) GoString

GoString returns the string representation

func (*CreateExperimentTemplateTargetInput) SetFilters

SetFilters sets the Filters field's value.

func (*CreateExperimentTemplateTargetInput) SetResourceArns

SetResourceArns sets the ResourceArns field's value.

func (*CreateExperimentTemplateTargetInput) SetResourceTags

SetResourceTags sets the ResourceTags field's value.

func (*CreateExperimentTemplateTargetInput) SetResourceType

SetResourceType sets the ResourceType field's value.

func (*CreateExperimentTemplateTargetInput) SetSelectionMode

SetSelectionMode sets the SelectionMode field's value.

func (CreateExperimentTemplateTargetInput) String

String returns the string representation

func (*CreateExperimentTemplateTargetInput) Validate

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

type DeleteExperimentTemplateInput

type DeleteExperimentTemplateInput struct {

	// The ID of the experiment template.
	//
	// Id is a required field
	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteExperimentTemplateInput) GoString

GoString returns the string representation

func (*DeleteExperimentTemplateInput) SetId

SetId sets the Id field's value.

func (DeleteExperimentTemplateInput) String

String returns the string representation

func (*DeleteExperimentTemplateInput) Validate

func (s *DeleteExperimentTemplateInput) Validate() error

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

type DeleteExperimentTemplateOutput

type DeleteExperimentTemplateOutput struct {

	// Information about the experiment template.
	ExperimentTemplate *ExperimentTemplate `locationName:"experimentTemplate" type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteExperimentTemplateOutput) GoString

GoString returns the string representation

func (*DeleteExperimentTemplateOutput) SetExperimentTemplate

SetExperimentTemplate sets the ExperimentTemplate field's value.

func (DeleteExperimentTemplateOutput) String

String returns the string representation

type Experiment

type Experiment struct {

	// The actions for the experiment.
	Actions map[string]*ExperimentAction `locationName:"actions" type:"map"`

	// The time the experiment was created.
	CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`

	// The time that the experiment ended.
	EndTime *time.Time `locationName:"endTime" type:"timestamp"`

	// The ID of the experiment template.
	ExperimentTemplateId *string `locationName:"experimentTemplateId" type:"string"`

	// The ID of the experiment.
	Id *string `locationName:"id" type:"string"`

	// The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service
	// permission to perform service actions on your behalf.
	RoleArn *string `locationName:"roleArn" min:"20" type:"string"`

	// The time that the experiment was started.
	StartTime *time.Time `locationName:"startTime" type:"timestamp"`

	// The state of the experiment.
	State *ExperimentState `locationName:"state" type:"structure"`

	// The stop conditions for the experiment.
	StopConditions []*ExperimentStopCondition `locationName:"stopConditions" type:"list"`

	// The tags for the experiment.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// The targets for the experiment.
	Targets map[string]*ExperimentTarget `locationName:"targets" type:"map"`
	// contains filtered or unexported fields
}

Describes an experiment.

func (Experiment) GoString

func (s Experiment) GoString() string

GoString returns the string representation

func (*Experiment) SetActions

func (s *Experiment) SetActions(v map[string]*ExperimentAction) *Experiment

SetActions sets the Actions field's value.

func (*Experiment) SetCreationTime

func (s *Experiment) SetCreationTime(v time.Time) *Experiment

SetCreationTime sets the CreationTime field's value.

func (*Experiment) SetEndTime

func (s *Experiment) SetEndTime(v time.Time) *Experiment

SetEndTime sets the EndTime field's value.

func (*Experiment) SetExperimentTemplateId

func (s *Experiment) SetExperimentTemplateId(v string) *Experiment

SetExperimentTemplateId sets the ExperimentTemplateId field's value.

func (*Experiment) SetId

func (s *Experiment) SetId(v string) *Experiment

SetId sets the Id field's value.

func (*Experiment) SetRoleArn

func (s *Experiment) SetRoleArn(v string) *Experiment

SetRoleArn sets the RoleArn field's value.

func (*Experiment) SetStartTime

func (s *Experiment) SetStartTime(v time.Time) *Experiment

SetStartTime sets the StartTime field's value.

func (*Experiment) SetState

func (s *Experiment) SetState(v *ExperimentState) *Experiment

SetState sets the State field's value.

func (*Experiment) SetStopConditions

func (s *Experiment) SetStopConditions(v []*ExperimentStopCondition) *Experiment

SetStopConditions sets the StopConditions field's value.

func (*Experiment) SetTags

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

SetTags sets the Tags field's value.

func (*Experiment) SetTargets

func (s *Experiment) SetTargets(v map[string]*ExperimentTarget) *Experiment

SetTargets sets the Targets field's value.

func (Experiment) String

func (s Experiment) String() string

String returns the string representation

type ExperimentAction

type ExperimentAction struct {

	// The ID of the action.
	ActionId *string `locationName:"actionId" type:"string"`

	// The description for the action.
	Description *string `locationName:"description" type:"string"`

	// The parameters for the action.
	Parameters map[string]*string `locationName:"parameters" type:"map"`

	// The name of the action that must be completed before this action starts.
	StartAfter []*string `locationName:"startAfter" type:"list"`

	// The state of the action.
	State *ExperimentActionState `locationName:"state" type:"structure"`

	// The targets for the action.
	Targets map[string]*string `locationName:"targets" type:"map"`
	// contains filtered or unexported fields
}

Describes the action for an experiment.

func (ExperimentAction) GoString

func (s ExperimentAction) GoString() string

GoString returns the string representation

func (*ExperimentAction) SetActionId

func (s *ExperimentAction) SetActionId(v string) *ExperimentAction

SetActionId sets the ActionId field's value.

func (*ExperimentAction) SetDescription

func (s *ExperimentAction) SetDescription(v string) *ExperimentAction

SetDescription sets the Description field's value.

func (*ExperimentAction) SetParameters

func (s *ExperimentAction) SetParameters(v map[string]*string) *ExperimentAction

SetParameters sets the Parameters field's value.

func (*ExperimentAction) SetStartAfter

func (s *ExperimentAction) SetStartAfter(v []*string) *ExperimentAction

SetStartAfter sets the StartAfter field's value.

func (*ExperimentAction) SetState

SetState sets the State field's value.

func (*ExperimentAction) SetTargets

func (s *ExperimentAction) SetTargets(v map[string]*string) *ExperimentAction

SetTargets sets the Targets field's value.

func (ExperimentAction) String

func (s ExperimentAction) String() string

String returns the string representation

type ExperimentActionState

type ExperimentActionState struct {

	// The reason for the state.
	Reason *string `locationName:"reason" type:"string"`

	// The state of the action.
	Status *string `locationName:"status" type:"string" enum:"ExperimentActionStatus"`
	// contains filtered or unexported fields
}

Describes the state of an action.

func (ExperimentActionState) GoString

func (s ExperimentActionState) GoString() string

GoString returns the string representation

func (*ExperimentActionState) SetReason

SetReason sets the Reason field's value.

func (*ExperimentActionState) SetStatus

SetStatus sets the Status field's value.

func (ExperimentActionState) String

func (s ExperimentActionState) String() string

String returns the string representation

type ExperimentState

type ExperimentState struct {

	// The reason for the state.
	Reason *string `locationName:"reason" type:"string"`

	// The state of the experiment.
	Status *string `locationName:"status" type:"string" enum:"ExperimentStatus"`
	// contains filtered or unexported fields
}

Describes the state of an experiment.

func (ExperimentState) GoString

func (s ExperimentState) GoString() string

GoString returns the string representation

func (*ExperimentState) SetReason

func (s *ExperimentState) SetReason(v string) *ExperimentState

SetReason sets the Reason field's value.

func (*ExperimentState) SetStatus

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

SetStatus sets the Status field's value.

func (ExperimentState) String

func (s ExperimentState) String() string

String returns the string representation

type ExperimentStopCondition

type ExperimentStopCondition struct {

	// The source for the stop condition.
	Source *string `locationName:"source" type:"string"`

	// The Amazon Resource Name (ARN) of the CloudWatch alarm, if applicable.
	Value *string `locationName:"value" min:"20" type:"string"`
	// contains filtered or unexported fields
}

Describes the stop condition for an experiment.

func (ExperimentStopCondition) GoString

func (s ExperimentStopCondition) GoString() string

GoString returns the string representation

func (*ExperimentStopCondition) SetSource

SetSource sets the Source field's value.

func (*ExperimentStopCondition) SetValue

SetValue sets the Value field's value.

func (ExperimentStopCondition) String

func (s ExperimentStopCondition) String() string

String returns the string representation

type ExperimentSummary

type ExperimentSummary struct {

	// The time that the experiment was created.
	CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`

	// The ID of the experiment template.
	ExperimentTemplateId *string `locationName:"experimentTemplateId" type:"string"`

	// The ID of the experiment.
	Id *string `locationName:"id" type:"string"`

	// The state of the experiment.
	State *ExperimentState `locationName:"state" type:"structure"`

	// The tags for the experiment.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

Provides a summary of an experiment.

func (ExperimentSummary) GoString

func (s ExperimentSummary) GoString() string

GoString returns the string representation

func (*ExperimentSummary) SetCreationTime

func (s *ExperimentSummary) SetCreationTime(v time.Time) *ExperimentSummary

SetCreationTime sets the CreationTime field's value.

func (*ExperimentSummary) SetExperimentTemplateId

func (s *ExperimentSummary) SetExperimentTemplateId(v string) *ExperimentSummary

SetExperimentTemplateId sets the ExperimentTemplateId field's value.

func (*ExperimentSummary) SetId

SetId sets the Id field's value.

func (*ExperimentSummary) SetState

SetState sets the State field's value.

func (*ExperimentSummary) SetTags

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

SetTags sets the Tags field's value.

func (ExperimentSummary) String

func (s ExperimentSummary) String() string

String returns the string representation

type ExperimentTarget

type ExperimentTarget struct {

	// The filters to apply to identify target resources using specific attributes.
	Filters []*ExperimentTargetFilter `locationName:"filters" type:"list"`

	// The Amazon Resource Names (ARNs) of the resources.
	ResourceArns []*string `locationName:"resourceArns" type:"list"`

	// The tags for the target resources.
	ResourceTags map[string]*string `locationName:"resourceTags" type:"map"`

	// The resource type.
	ResourceType *string `locationName:"resourceType" type:"string"`

	// Scopes the identified resources to a specific count or percentage.
	SelectionMode *string `locationName:"selectionMode" type:"string"`
	// contains filtered or unexported fields
}

Describes a target for an experiment.

func (ExperimentTarget) GoString

func (s ExperimentTarget) GoString() string

GoString returns the string representation

func (*ExperimentTarget) SetFilters

SetFilters sets the Filters field's value.

func (*ExperimentTarget) SetResourceArns

func (s *ExperimentTarget) SetResourceArns(v []*string) *ExperimentTarget

SetResourceArns sets the ResourceArns field's value.

func (*ExperimentTarget) SetResourceTags

func (s *ExperimentTarget) SetResourceTags(v map[string]*string) *ExperimentTarget

SetResourceTags sets the ResourceTags field's value.

func (*ExperimentTarget) SetResourceType

func (s *ExperimentTarget) SetResourceType(v string) *ExperimentTarget

SetResourceType sets the ResourceType field's value.

func (*ExperimentTarget) SetSelectionMode

func (s *ExperimentTarget) SetSelectionMode(v string) *ExperimentTarget

SetSelectionMode sets the SelectionMode field's value.

func (ExperimentTarget) String

func (s ExperimentTarget) String() string

String returns the string representation

type ExperimentTargetFilter

type ExperimentTargetFilter struct {

	// The attribute path for the filter.
	Path *string `locationName:"path" type:"string"`

	// The attribute values for the filter.
	Values []*string `locationName:"values" type:"list"`
	// contains filtered or unexported fields
}

Describes a filter used for the target resources in an experiment.

func (ExperimentTargetFilter) GoString

func (s ExperimentTargetFilter) GoString() string

GoString returns the string representation

func (*ExperimentTargetFilter) SetPath

SetPath sets the Path field's value.

func (*ExperimentTargetFilter) SetValues

SetValues sets the Values field's value.

func (ExperimentTargetFilter) String

func (s ExperimentTargetFilter) String() string

String returns the string representation

type ExperimentTemplate

type ExperimentTemplate struct {

	// The actions for the experiment.
	Actions map[string]*ExperimentTemplateAction `locationName:"actions" type:"map"`

	// The time the experiment template was created.
	CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`

	// The description for the experiment template.
	Description *string `locationName:"description" type:"string"`

	// The ID of the experiment template.
	Id *string `locationName:"id" type:"string"`

	// The time the experiment template was last updated.
	LastUpdateTime *time.Time `locationName:"lastUpdateTime" type:"timestamp"`

	// The Amazon Resource Name (ARN) of an IAM role.
	RoleArn *string `locationName:"roleArn" min:"20" type:"string"`

	// The stop conditions for the experiment.
	StopConditions []*ExperimentTemplateStopCondition `locationName:"stopConditions" type:"list"`

	// The tags for the experiment template.
	Tags map[string]*string `locationName:"tags" type:"map"`

	// The targets for the experiment.
	Targets map[string]*ExperimentTemplateTarget `locationName:"targets" type:"map"`
	// contains filtered or unexported fields
}

Describes an experiment template.

func (ExperimentTemplate) GoString

func (s ExperimentTemplate) GoString() string

GoString returns the string representation

func (*ExperimentTemplate) SetActions

SetActions sets the Actions field's value.

func (*ExperimentTemplate) SetCreationTime

func (s *ExperimentTemplate) SetCreationTime(v time.Time) *ExperimentTemplate

SetCreationTime sets the CreationTime field's value.

func (*ExperimentTemplate) SetDescription

func (s *ExperimentTemplate) SetDescription(v string) *ExperimentTemplate

SetDescription sets the Description field's value.

func (*ExperimentTemplate) SetId

SetId sets the Id field's value.

func (*ExperimentTemplate) SetLastUpdateTime

func (s *ExperimentTemplate) SetLastUpdateTime(v time.Time) *ExperimentTemplate

SetLastUpdateTime sets the LastUpdateTime field's value.

func (*ExperimentTemplate) SetRoleArn

func (s *ExperimentTemplate) SetRoleArn(v string) *ExperimentTemplate

SetRoleArn sets the RoleArn field's value.

func (*ExperimentTemplate) SetStopConditions

SetStopConditions sets the StopConditions field's value.

func (*ExperimentTemplate) SetTags

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

SetTags sets the Tags field's value.

func (*ExperimentTemplate) SetTargets

SetTargets sets the Targets field's value.

func (ExperimentTemplate) String

func (s ExperimentTemplate) String() string

String returns the string representation

type ExperimentTemplateAction

type ExperimentTemplateAction struct {

	// The ID of the action.
	ActionId *string `locationName:"actionId" type:"string"`

	// A description for the action.
	Description *string `locationName:"description" type:"string"`

	// The parameters for the action.
	Parameters map[string]*string `locationName:"parameters" type:"map"`

	// The name of the action that must be completed before the current action starts.
	StartAfter []*string `locationName:"startAfter" type:"list"`

	// The targets for the action.
	Targets map[string]*string `locationName:"targets" type:"map"`
	// contains filtered or unexported fields
}

Describes an action for an experiment template.

func (ExperimentTemplateAction) GoString

func (s ExperimentTemplateAction) GoString() string

GoString returns the string representation

func (*ExperimentTemplateAction) SetActionId

SetActionId sets the ActionId field's value.

func (*ExperimentTemplateAction) SetDescription

SetDescription sets the Description field's value.

func (*ExperimentTemplateAction) SetParameters

SetParameters sets the Parameters field's value.

func (*ExperimentTemplateAction) SetStartAfter

SetStartAfter sets the StartAfter field's value.

func (*ExperimentTemplateAction) SetTargets

SetTargets sets the Targets field's value.

func (ExperimentTemplateAction) String

func (s ExperimentTemplateAction) String() string

String returns the string representation

type ExperimentTemplateStopCondition

type ExperimentTemplateStopCondition struct {

	// The source for the stop condition.
	Source *string `locationName:"source" type:"string"`

	// The Amazon Resource Name (ARN) of the CloudWatch alarm, if applicable.
	Value *string `locationName:"value" min:"20" type:"string"`
	// contains filtered or unexported fields
}

Describes a stop condition for an experiment template.

func (ExperimentTemplateStopCondition) GoString

GoString returns the string representation

func (*ExperimentTemplateStopCondition) SetSource

SetSource sets the Source field's value.

func (*ExperimentTemplateStopCondition) SetValue

SetValue sets the Value field's value.

func (ExperimentTemplateStopCondition) String

String returns the string representation

type ExperimentTemplateSummary

type ExperimentTemplateSummary struct {

	// The time that the experiment template was created.
	CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`

	// The description of the experiment template.
	Description *string `locationName:"description" type:"string"`

	// The ID of the experiment template.
	Id *string `locationName:"id" type:"string"`

	// The time that the experiment template was last updated.
	LastUpdateTime *time.Time `locationName:"lastUpdateTime" type:"timestamp"`

	// The tags for the experiment template.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

Provides a summary of an experiment template.

func (ExperimentTemplateSummary) GoString

func (s ExperimentTemplateSummary) GoString() string

GoString returns the string representation

func (*ExperimentTemplateSummary) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*ExperimentTemplateSummary) SetDescription

SetDescription sets the Description field's value.

func (*ExperimentTemplateSummary) SetId

SetId sets the Id field's value.

func (*ExperimentTemplateSummary) SetLastUpdateTime

SetLastUpdateTime sets the LastUpdateTime field's value.

func (*ExperimentTemplateSummary) SetTags

SetTags sets the Tags field's value.

func (ExperimentTemplateSummary) String

func (s ExperimentTemplateSummary) String() string

String returns the string representation

type ExperimentTemplateTarget

type ExperimentTemplateTarget struct {

	// The filters to apply to identify target resources using specific attributes.
	Filters []*ExperimentTemplateTargetFilter `locationName:"filters" type:"list"`

	// The Amazon Resource Names (ARNs) of the targets.
	ResourceArns []*string `locationName:"resourceArns" type:"list"`

	// The tags for the target resources.
	ResourceTags map[string]*string `locationName:"resourceTags" type:"map"`

	// The resource type.
	ResourceType *string `locationName:"resourceType" type:"string"`

	// Scopes the identified resources to a specific count or percentage.
	SelectionMode *string `locationName:"selectionMode" type:"string"`
	// contains filtered or unexported fields
}

Describes a target for an experiment template.

func (ExperimentTemplateTarget) GoString

func (s ExperimentTemplateTarget) GoString() string

GoString returns the string representation

func (*ExperimentTemplateTarget) SetFilters

SetFilters sets the Filters field's value.

func (*ExperimentTemplateTarget) SetResourceArns

func (s *ExperimentTemplateTarget) SetResourceArns(v []*string) *ExperimentTemplateTarget

SetResourceArns sets the ResourceArns field's value.

func (*ExperimentTemplateTarget) SetResourceTags

func (s *ExperimentTemplateTarget) SetResourceTags(v map[string]*string) *ExperimentTemplateTarget

SetResourceTags sets the ResourceTags field's value.

func (*ExperimentTemplateTarget) SetResourceType

SetResourceType sets the ResourceType field's value.

func (*ExperimentTemplateTarget) SetSelectionMode

SetSelectionMode sets the SelectionMode field's value.

func (ExperimentTemplateTarget) String

func (s ExperimentTemplateTarget) String() string

String returns the string representation

type ExperimentTemplateTargetFilter

type ExperimentTemplateTargetFilter struct {

	// The attribute path for the filter.
	Path *string `locationName:"path" type:"string"`

	// The attribute values for the filter.
	Values []*string `locationName:"values" type:"list"`
	// contains filtered or unexported fields
}

Describes a filter used for the target resources in an experiment template.

func (ExperimentTemplateTargetFilter) GoString

GoString returns the string representation

func (*ExperimentTemplateTargetFilter) SetPath

SetPath sets the Path field's value.

func (*ExperimentTemplateTargetFilter) SetValues

SetValues sets the Values field's value.

func (ExperimentTemplateTargetFilter) String

String returns the string representation

type ExperimentTemplateTargetInputFilter

type ExperimentTemplateTargetInputFilter struct {

	// The attribute path for the filter.
	//
	// Path is a required field
	Path *string `locationName:"path" type:"string" required:"true"`

	// The attribute values for the filter.
	//
	// Values is a required field
	Values []*string `locationName:"values" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Describes a filter used for the target resource input in an experiment template.

func (ExperimentTemplateTargetInputFilter) GoString

GoString returns the string representation

func (*ExperimentTemplateTargetInputFilter) SetPath

SetPath sets the Path field's value.

func (*ExperimentTemplateTargetInputFilter) SetValues

SetValues sets the Values field's value.

func (ExperimentTemplateTargetInputFilter) String

String returns the string representation

func (*ExperimentTemplateTargetInputFilter) Validate

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

type FIS

type FIS struct {
	*client.Client
}

FIS provides the API operation methods for making requests to AWS Fault Injection Simulator. See this package's package overview docs for details on the service.

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

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *FIS

New creates a new instance of the FIS 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 FIS client from just a session.
svc := fis.New(mySession)

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

func (*FIS) CreateExperimentTemplate

func (c *FIS) CreateExperimentTemplate(input *CreateExperimentTemplateInput) (*CreateExperimentTemplateOutput, error)

CreateExperimentTemplate API operation for AWS Fault Injection Simulator.

Creates an experiment template.

To create a template, specify the following information:

  • Targets: A target can be a specific resource in your AWS environment, or one or more resources that match criteria that you specify, for example, resources that have specific tags.

  • Actions: The actions to carry out on the target. You can specify multiple actions, the duration of each action, and when to start each action during an experiment.

  • Stop conditions: If a stop condition is triggered while an experiment is running, the experiment is automatically stopped. You can define a stop condition as a CloudWatch alarm.

For more information, see the AWS Fault Injection Simulator User Guide (https://docs.aws.amazon.com/fis/latest/userguide/).

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 Fault Injection Simulator's API operation CreateExperimentTemplate for usage and error information.

Returned Error Types:

  • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.

  • ConflictException The request could not be processed because of a conflict.

  • ResourceNotFoundException The specified resource cannot be found.

  • ServiceQuotaExceededException You have exceeded your service quota.

See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/CreateExperimentTemplate

func (*FIS) CreateExperimentTemplateRequest

func (c *FIS) CreateExperimentTemplateRequest(input *CreateExperimentTemplateInput) (req *request.Request, output *CreateExperimentTemplateOutput)

CreateExperimentTemplateRequest generates a "aws/request.Request" representing the client's request for the CreateExperimentTemplate 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 CreateExperimentTemplate for more information on using the CreateExperimentTemplate 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 CreateExperimentTemplateRequest method.
req, resp := client.CreateExperimentTemplateRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/CreateExperimentTemplate

func (*FIS) CreateExperimentTemplateWithContext

func (c *FIS) CreateExperimentTemplateWithContext(ctx aws.Context, input *CreateExperimentTemplateInput, opts ...request.Option) (*CreateExperimentTemplateOutput, error)

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

See CreateExperimentTemplate 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 (*FIS) DeleteExperimentTemplate

func (c *FIS) DeleteExperimentTemplate(input *DeleteExperimentTemplateInput) (*DeleteExperimentTemplateOutput, error)

DeleteExperimentTemplate API operation for AWS Fault Injection Simulator.

Deletes the specified experiment template.

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 Fault Injection Simulator's API operation DeleteExperimentTemplate for usage and error information.

Returned Error Types:

  • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.

  • ResourceNotFoundException The specified resource cannot be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/DeleteExperimentTemplate

func (*FIS) DeleteExperimentTemplateRequest

func (c *FIS) DeleteExperimentTemplateRequest(input *DeleteExperimentTemplateInput) (req *request.Request, output *DeleteExperimentTemplateOutput)

DeleteExperimentTemplateRequest generates a "aws/request.Request" representing the client's request for the DeleteExperimentTemplate 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 DeleteExperimentTemplate for more information on using the DeleteExperimentTemplate 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 DeleteExperimentTemplateRequest method.
req, resp := client.DeleteExperimentTemplateRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/DeleteExperimentTemplate

func (*FIS) DeleteExperimentTemplateWithContext

func (c *FIS) DeleteExperimentTemplateWithContext(ctx aws.Context, input *DeleteExperimentTemplateInput, opts ...request.Option) (*DeleteExperimentTemplateOutput, error)

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

See DeleteExperimentTemplate 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 (*FIS) GetAction

func (c *FIS) GetAction(input *GetActionInput) (*GetActionOutput, error)

GetAction API operation for AWS Fault Injection Simulator.

Gets information about the specified AWS FIS action.

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 Fault Injection Simulator's API operation GetAction for usage and error information.

Returned Error Types:

  • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.

  • ResourceNotFoundException The specified resource cannot be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetAction

func (*FIS) GetActionRequest

func (c *FIS) GetActionRequest(input *GetActionInput) (req *request.Request, output *GetActionOutput)

GetActionRequest generates a "aws/request.Request" representing the client's request for the GetAction 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 GetAction for more information on using the GetAction 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 GetActionRequest method.
req, resp := client.GetActionRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetAction

func (*FIS) GetActionWithContext

func (c *FIS) GetActionWithContext(ctx aws.Context, input *GetActionInput, opts ...request.Option) (*GetActionOutput, error)

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

See GetAction 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 (*FIS) GetExperiment

func (c *FIS) GetExperiment(input *GetExperimentInput) (*GetExperimentOutput, error)

GetExperiment API operation for AWS Fault Injection Simulator.

Gets information about the specified experiment.

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 Fault Injection Simulator's API operation GetExperiment for usage and error information.

Returned Error Types:

  • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.

  • ResourceNotFoundException The specified resource cannot be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetExperiment

func (*FIS) GetExperimentRequest

func (c *FIS) GetExperimentRequest(input *GetExperimentInput) (req *request.Request, output *GetExperimentOutput)

GetExperimentRequest generates a "aws/request.Request" representing the client's request for the GetExperiment 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 GetExperiment for more information on using the GetExperiment 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 GetExperimentRequest method.
req, resp := client.GetExperimentRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetExperiment

func (*FIS) GetExperimentTemplate

func (c *FIS) GetExperimentTemplate(input *GetExperimentTemplateInput) (*GetExperimentTemplateOutput, error)

GetExperimentTemplate API operation for AWS Fault Injection Simulator.

Gets information about the specified experiment template.

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 Fault Injection Simulator's API operation GetExperimentTemplate for usage and error information.

Returned Error Types:

  • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.

  • ResourceNotFoundException The specified resource cannot be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetExperimentTemplate

func (*FIS) GetExperimentTemplateRequest

func (c *FIS) GetExperimentTemplateRequest(input *GetExperimentTemplateInput) (req *request.Request, output *GetExperimentTemplateOutput)

GetExperimentTemplateRequest generates a "aws/request.Request" representing the client's request for the GetExperimentTemplate 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 GetExperimentTemplate for more information on using the GetExperimentTemplate 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 GetExperimentTemplateRequest method.
req, resp := client.GetExperimentTemplateRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetExperimentTemplate

func (*FIS) GetExperimentTemplateWithContext

func (c *FIS) GetExperimentTemplateWithContext(ctx aws.Context, input *GetExperimentTemplateInput, opts ...request.Option) (*GetExperimentTemplateOutput, error)

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

See GetExperimentTemplate 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 (*FIS) GetExperimentWithContext

func (c *FIS) GetExperimentWithContext(ctx aws.Context, input *GetExperimentInput, opts ...request.Option) (*GetExperimentOutput, error)

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

See GetExperiment 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 (*FIS) ListActions

func (c *FIS) ListActions(input *ListActionsInput) (*ListActionsOutput, error)

ListActions API operation for AWS Fault Injection Simulator.

Lists the available AWS FIS actions.

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 Fault Injection Simulator's API operation ListActions for usage and error information.

Returned Error Types:

  • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.

See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListActions

func (*FIS) ListActionsPages

func (c *FIS) ListActionsPages(input *ListActionsInput, fn func(*ListActionsOutput, bool) bool) error

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

See ListActions 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 ListActions operation.
pageNum := 0
err := client.ListActionsPages(params,
    func(page *fis.ListActionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*FIS) ListActionsPagesWithContext

func (c *FIS) ListActionsPagesWithContext(ctx aws.Context, input *ListActionsInput, fn func(*ListActionsOutput, bool) bool, opts ...request.Option) error

ListActionsPagesWithContext same as ListActionsPages 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 (*FIS) ListActionsRequest

func (c *FIS) ListActionsRequest(input *ListActionsInput) (req *request.Request, output *ListActionsOutput)

ListActionsRequest generates a "aws/request.Request" representing the client's request for the ListActions 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 ListActions for more information on using the ListActions 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 ListActionsRequest method.
req, resp := client.ListActionsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListActions

func (*FIS) ListActionsWithContext

func (c *FIS) ListActionsWithContext(ctx aws.Context, input *ListActionsInput, opts ...request.Option) (*ListActionsOutput, error)

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

See ListActions 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 (*FIS) ListExperimentTemplates

func (c *FIS) ListExperimentTemplates(input *ListExperimentTemplatesInput) (*ListExperimentTemplatesOutput, error)

ListExperimentTemplates API operation for AWS Fault Injection Simulator.

Lists your experiment templates.

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 Fault Injection Simulator's API operation ListExperimentTemplates for usage and error information.

Returned Error Types:

  • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.

See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListExperimentTemplates

func (*FIS) ListExperimentTemplatesPages

func (c *FIS) ListExperimentTemplatesPages(input *ListExperimentTemplatesInput, fn func(*ListExperimentTemplatesOutput, bool) bool) error

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

See ListExperimentTemplates 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 ListExperimentTemplates operation.
pageNum := 0
err := client.ListExperimentTemplatesPages(params,
    func(page *fis.ListExperimentTemplatesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*FIS) ListExperimentTemplatesPagesWithContext

func (c *FIS) ListExperimentTemplatesPagesWithContext(ctx aws.Context, input *ListExperimentTemplatesInput, fn func(*ListExperimentTemplatesOutput, bool) bool, opts ...request.Option) error

ListExperimentTemplatesPagesWithContext same as ListExperimentTemplatesPages 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 (*FIS) ListExperimentTemplatesRequest

func (c *FIS) ListExperimentTemplatesRequest(input *ListExperimentTemplatesInput) (req *request.Request, output *ListExperimentTemplatesOutput)

ListExperimentTemplatesRequest generates a "aws/request.Request" representing the client's request for the ListExperimentTemplates 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 ListExperimentTemplates for more information on using the ListExperimentTemplates 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 ListExperimentTemplatesRequest method.
req, resp := client.ListExperimentTemplatesRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListExperimentTemplates

func (*FIS) ListExperimentTemplatesWithContext

func (c *FIS) ListExperimentTemplatesWithContext(ctx aws.Context, input *ListExperimentTemplatesInput, opts ...request.Option) (*ListExperimentTemplatesOutput, error)

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

See ListExperimentTemplates 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 (*FIS) ListExperiments

func (c *FIS) ListExperiments(input *ListExperimentsInput) (*ListExperimentsOutput, error)

ListExperiments API operation for AWS Fault Injection Simulator.

Lists your experiments.

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 Fault Injection Simulator's API operation ListExperiments for usage and error information.

Returned Error Types:

  • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.

See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListExperiments

func (*FIS) ListExperimentsPages

func (c *FIS) ListExperimentsPages(input *ListExperimentsInput, fn func(*ListExperimentsOutput, bool) bool) error

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

See ListExperiments 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 ListExperiments operation.
pageNum := 0
err := client.ListExperimentsPages(params,
    func(page *fis.ListExperimentsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*FIS) ListExperimentsPagesWithContext

func (c *FIS) ListExperimentsPagesWithContext(ctx aws.Context, input *ListExperimentsInput, fn func(*ListExperimentsOutput, bool) bool, opts ...request.Option) error

ListExperimentsPagesWithContext same as ListExperimentsPages 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 (*FIS) ListExperimentsRequest

func (c *FIS) ListExperimentsRequest(input *ListExperimentsInput) (req *request.Request, output *ListExperimentsOutput)

ListExperimentsRequest generates a "aws/request.Request" representing the client's request for the ListExperiments 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 ListExperiments for more information on using the ListExperiments 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 ListExperimentsRequest method.
req, resp := client.ListExperimentsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListExperiments

func (*FIS) ListExperimentsWithContext

func (c *FIS) ListExperimentsWithContext(ctx aws.Context, input *ListExperimentsInput, opts ...request.Option) (*ListExperimentsOutput, error)

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

See ListExperiments 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 (*FIS) ListTagsForResource

func (c *FIS) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for AWS Fault Injection Simulator.

Lists the tags for the specified 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 Fault Injection Simulator's API operation ListTagsForResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListTagsForResource

func (*FIS) ListTagsForResourceRequest

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

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListTagsForResource

func (*FIS) ListTagsForResourceWithContext

func (c *FIS) 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 (*FIS) StartExperiment

func (c *FIS) StartExperiment(input *StartExperimentInput) (*StartExperimentOutput, error)

StartExperiment API operation for AWS Fault Injection Simulator.

Starts running an experiment from the specified experiment template.

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 Fault Injection Simulator's API operation StartExperiment for usage and error information.

Returned Error Types:

  • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.

  • ConflictException The request could not be processed because of a conflict.

  • ResourceNotFoundException The specified resource cannot be found.

  • ServiceQuotaExceededException You have exceeded your service quota.

See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/StartExperiment

func (*FIS) StartExperimentRequest

func (c *FIS) StartExperimentRequest(input *StartExperimentInput) (req *request.Request, output *StartExperimentOutput)

StartExperimentRequest generates a "aws/request.Request" representing the client's request for the StartExperiment 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 StartExperiment for more information on using the StartExperiment 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 StartExperimentRequest method.
req, resp := client.StartExperimentRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/StartExperiment

func (*FIS) StartExperimentWithContext

func (c *FIS) StartExperimentWithContext(ctx aws.Context, input *StartExperimentInput, opts ...request.Option) (*StartExperimentOutput, error)

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

See StartExperiment 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 (*FIS) StopExperiment

func (c *FIS) StopExperiment(input *StopExperimentInput) (*StopExperimentOutput, error)

StopExperiment API operation for AWS Fault Injection Simulator.

Stops the specified experiment.

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 Fault Injection Simulator's API operation StopExperiment for usage and error information.

Returned Error Types:

  • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.

  • ResourceNotFoundException The specified resource cannot be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/StopExperiment

func (*FIS) StopExperimentRequest

func (c *FIS) StopExperimentRequest(input *StopExperimentInput) (req *request.Request, output *StopExperimentOutput)

StopExperimentRequest generates a "aws/request.Request" representing the client's request for the StopExperiment 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 StopExperiment for more information on using the StopExperiment 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 StopExperimentRequest method.
req, resp := client.StopExperimentRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/StopExperiment

func (*FIS) StopExperimentWithContext

func (c *FIS) StopExperimentWithContext(ctx aws.Context, input *StopExperimentInput, opts ...request.Option) (*StopExperimentOutput, error)

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

See StopExperiment 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 (*FIS) TagResource

func (c *FIS) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for AWS Fault Injection Simulator.

Applies the specified tags to the specified 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 Fault Injection Simulator's API operation TagResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/TagResource

func (*FIS) TagResourceRequest

func (c *FIS) 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/fis-2020-12-01/TagResource

func (*FIS) TagResourceWithContext

func (c *FIS) 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 (*FIS) UntagResource

func (c *FIS) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for AWS Fault Injection Simulator.

Removes the specified tags from the specified 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 Fault Injection Simulator's API operation UntagResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/UntagResource

func (*FIS) UntagResourceRequest

func (c *FIS) 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/fis-2020-12-01/UntagResource

func (*FIS) UntagResourceWithContext

func (c *FIS) 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 (*FIS) UpdateExperimentTemplate

func (c *FIS) UpdateExperimentTemplate(input *UpdateExperimentTemplateInput) (*UpdateExperimentTemplateOutput, error)

UpdateExperimentTemplate API operation for AWS Fault Injection Simulator.

Updates the specified experiment template.

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 Fault Injection Simulator's API operation UpdateExperimentTemplate for usage and error information.

Returned Error Types:

  • ValidationException The specified input is not valid, or fails to satisfy the constraints for the request.

  • ResourceNotFoundException The specified resource cannot be found.

  • ServiceQuotaExceededException You have exceeded your service quota.

See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/UpdateExperimentTemplate

func (*FIS) UpdateExperimentTemplateRequest

func (c *FIS) UpdateExperimentTemplateRequest(input *UpdateExperimentTemplateInput) (req *request.Request, output *UpdateExperimentTemplateOutput)

UpdateExperimentTemplateRequest generates a "aws/request.Request" representing the client's request for the UpdateExperimentTemplate 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 UpdateExperimentTemplate for more information on using the UpdateExperimentTemplate 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 UpdateExperimentTemplateRequest method.
req, resp := client.UpdateExperimentTemplateRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/UpdateExperimentTemplate

func (*FIS) UpdateExperimentTemplateWithContext

func (c *FIS) UpdateExperimentTemplateWithContext(ctx aws.Context, input *UpdateExperimentTemplateInput, opts ...request.Option) (*UpdateExperimentTemplateOutput, error)

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

See UpdateExperimentTemplate 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.

type GetActionInput

type GetActionInput struct {

	// The ID of the action.
	//
	// Id is a required field
	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetActionInput) GoString

func (s GetActionInput) GoString() string

GoString returns the string representation

func (*GetActionInput) SetId

func (s *GetActionInput) SetId(v string) *GetActionInput

SetId sets the Id field's value.

func (GetActionInput) String

func (s GetActionInput) String() string

String returns the string representation

func (*GetActionInput) Validate

func (s *GetActionInput) Validate() error

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

type GetActionOutput

type GetActionOutput struct {

	// Information about the action.
	Action *Action `locationName:"action" type:"structure"`
	// contains filtered or unexported fields
}

func (GetActionOutput) GoString

func (s GetActionOutput) GoString() string

GoString returns the string representation

func (*GetActionOutput) SetAction

func (s *GetActionOutput) SetAction(v *Action) *GetActionOutput

SetAction sets the Action field's value.

func (GetActionOutput) String

func (s GetActionOutput) String() string

String returns the string representation

type GetExperimentInput

type GetExperimentInput struct {

	// The ID of the experiment.
	//
	// Id is a required field
	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetExperimentInput) GoString

func (s GetExperimentInput) GoString() string

GoString returns the string representation

func (*GetExperimentInput) SetId

SetId sets the Id field's value.

func (GetExperimentInput) String

func (s GetExperimentInput) String() string

String returns the string representation

func (*GetExperimentInput) Validate

func (s *GetExperimentInput) Validate() error

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

type GetExperimentOutput

type GetExperimentOutput struct {

	// Information about the experiment.
	Experiment *Experiment `locationName:"experiment" type:"structure"`
	// contains filtered or unexported fields
}

func (GetExperimentOutput) GoString

func (s GetExperimentOutput) GoString() string

GoString returns the string representation

func (*GetExperimentOutput) SetExperiment

func (s *GetExperimentOutput) SetExperiment(v *Experiment) *GetExperimentOutput

SetExperiment sets the Experiment field's value.

func (GetExperimentOutput) String

func (s GetExperimentOutput) String() string

String returns the string representation

type GetExperimentTemplateInput

type GetExperimentTemplateInput struct {

	// The ID of the experiment template.
	//
	// Id is a required field
	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetExperimentTemplateInput) GoString

func (s GetExperimentTemplateInput) GoString() string

GoString returns the string representation

func (*GetExperimentTemplateInput) SetId

SetId sets the Id field's value.

func (GetExperimentTemplateInput) String

String returns the string representation

func (*GetExperimentTemplateInput) Validate

func (s *GetExperimentTemplateInput) Validate() error

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

type GetExperimentTemplateOutput

type GetExperimentTemplateOutput struct {

	// Information about the experiment template.
	ExperimentTemplate *ExperimentTemplate `locationName:"experimentTemplate" type:"structure"`
	// contains filtered or unexported fields
}

func (GetExperimentTemplateOutput) GoString

func (s GetExperimentTemplateOutput) GoString() string

GoString returns the string representation

func (*GetExperimentTemplateOutput) SetExperimentTemplate

SetExperimentTemplate sets the ExperimentTemplate field's value.

func (GetExperimentTemplateOutput) String

String returns the string representation

type ListActionsInput

type ListActionsInput struct {

	// The maximum number of results to return with a single call. To retrieve the
	// remaining results, make another call with the returned nextToken value.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next page of results.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListActionsInput) GoString

func (s ListActionsInput) GoString() string

GoString returns the string representation

func (*ListActionsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListActionsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListActionsInput) String

func (s ListActionsInput) String() string

String returns the string representation

func (*ListActionsInput) Validate

func (s *ListActionsInput) Validate() error

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

type ListActionsOutput

type ListActionsOutput struct {

	// The actions.
	Actions []*ActionSummary `locationName:"actions" type:"list"`

	// The token to use to retrieve the next page of results. This value is null
	// when there are no more results to return.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListActionsOutput) GoString

func (s ListActionsOutput) GoString() string

GoString returns the string representation

func (*ListActionsOutput) SetActions

func (s *ListActionsOutput) SetActions(v []*ActionSummary) *ListActionsOutput

SetActions sets the Actions field's value.

func (*ListActionsOutput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListActionsOutput) String

func (s ListActionsOutput) String() string

String returns the string representation

type ListExperimentTemplatesInput

type ListExperimentTemplatesInput struct {

	// The maximum number of results to return with a single call. To retrieve the
	// remaining results, make another call with the returned nextToken value.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next page of results.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListExperimentTemplatesInput) GoString

func (s ListExperimentTemplatesInput) GoString() string

GoString returns the string representation

func (*ListExperimentTemplatesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListExperimentTemplatesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListExperimentTemplatesInput) String

String returns the string representation

func (*ListExperimentTemplatesInput) Validate

func (s *ListExperimentTemplatesInput) Validate() error

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

type ListExperimentTemplatesOutput

type ListExperimentTemplatesOutput struct {

	// The experiment templates.
	ExperimentTemplates []*ExperimentTemplateSummary `locationName:"experimentTemplates" type:"list"`

	// The token to use to retrieve the next page of results. This value is null
	// when there are no more results to return.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListExperimentTemplatesOutput) GoString

GoString returns the string representation

func (*ListExperimentTemplatesOutput) SetExperimentTemplates

SetExperimentTemplates sets the ExperimentTemplates field's value.

func (*ListExperimentTemplatesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListExperimentTemplatesOutput) String

String returns the string representation

type ListExperimentsInput

type ListExperimentsInput struct {

	// The maximum number of results to return with a single call. To retrieve the
	// remaining results, make another call with the returned nextToken value.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next page of results.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListExperimentsInput) GoString

func (s ListExperimentsInput) GoString() string

GoString returns the string representation

func (*ListExperimentsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListExperimentsInput) SetNextToken

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

SetNextToken sets the NextToken field's value.

func (ListExperimentsInput) String

func (s ListExperimentsInput) String() string

String returns the string representation

func (*ListExperimentsInput) Validate

func (s *ListExperimentsInput) Validate() error

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

type ListExperimentsOutput

type ListExperimentsOutput struct {

	// The experiments.
	Experiments []*ExperimentSummary `locationName:"experiments" type:"list"`

	// The token to use to retrieve the next page of results. This value is null
	// when there are no more results to return.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListExperimentsOutput) GoString

func (s ListExperimentsOutput) GoString() string

GoString returns the string representation

func (*ListExperimentsOutput) SetExperiments

SetExperiments sets the Experiments field's value.

func (*ListExperimentsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListExperimentsOutput) String

func (s ListExperimentsOutput) String() string

String returns the string representation

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"20" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

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

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ResourceNotFoundException

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

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

The specified resource cannot be found.

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

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

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation

type ServiceQuotaExceededException

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

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

You have exceeded your service quota.

func (*ServiceQuotaExceededException) Code

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error

func (ServiceQuotaExceededException) GoString

GoString returns the string representation

func (*ServiceQuotaExceededException) Message

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode

func (s *ServiceQuotaExceededException) StatusCode() int

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

func (ServiceQuotaExceededException) String

String returns the string representation

type StartExperimentInput

type StartExperimentInput struct {

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request.
	ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`

	// The ID of the experiment template.
	//
	// ExperimentTemplateId is a required field
	ExperimentTemplateId *string `locationName:"experimentTemplateId" type:"string" required:"true"`

	// The tags to apply to the experiment.
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (StartExperimentInput) GoString

func (s StartExperimentInput) GoString() string

GoString returns the string representation

func (*StartExperimentInput) SetClientToken

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

SetClientToken sets the ClientToken field's value.

func (*StartExperimentInput) SetExperimentTemplateId

func (s *StartExperimentInput) SetExperimentTemplateId(v string) *StartExperimentInput

SetExperimentTemplateId sets the ExperimentTemplateId field's value.

func (*StartExperimentInput) SetTags

SetTags sets the Tags field's value.

func (StartExperimentInput) String

func (s StartExperimentInput) String() string

String returns the string representation

func (*StartExperimentInput) Validate

func (s *StartExperimentInput) Validate() error

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

type StartExperimentOutput

type StartExperimentOutput struct {

	// Information about the experiment.
	Experiment *Experiment `locationName:"experiment" type:"structure"`
	// contains filtered or unexported fields
}

func (StartExperimentOutput) GoString

func (s StartExperimentOutput) GoString() string

GoString returns the string representation

func (*StartExperimentOutput) SetExperiment

SetExperiment sets the Experiment field's value.

func (StartExperimentOutput) String

func (s StartExperimentOutput) String() string

String returns the string representation

type StopExperimentInput

type StopExperimentInput struct {

	// The ID of the experiment.
	//
	// Id is a required field
	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StopExperimentInput) GoString

func (s StopExperimentInput) GoString() string

GoString returns the string representation

func (*StopExperimentInput) SetId

SetId sets the Id field's value.

func (StopExperimentInput) String

func (s StopExperimentInput) String() string

String returns the string representation

func (*StopExperimentInput) Validate

func (s *StopExperimentInput) Validate() error

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

type StopExperimentOutput

type StopExperimentOutput struct {

	// Information about the experiment.
	Experiment *Experiment `locationName:"experiment" type:"structure"`
	// contains filtered or unexported fields
}

func (StopExperimentOutput) GoString

func (s StopExperimentOutput) GoString() string

GoString returns the string representation

func (*StopExperimentOutput) SetExperiment

SetExperiment sets the Experiment field's value.

func (StopExperimentOutput) String

func (s StopExperimentOutput) String() string

String returns the string representation

type TagResourceInput

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"20" type:"string" required:"true"`

	// The tags for the resource.
	//
	// Tags is a required field
	Tags map[string]*string `locationName:"tags" type:"map" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

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

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput

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

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type UntagResourceInput

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resourceArn" min:"20" type:"string" required:"true"`

	// The tag keys to remove.
	TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput

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

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UpdateExperimentTemplateActionInputItem

type UpdateExperimentTemplateActionInputItem struct {

	// The ID of the action.
	ActionId *string `locationName:"actionId" type:"string"`

	// A description for the action.
	Description *string `locationName:"description" type:"string"`

	// The parameters for the action, if applicable.
	Parameters map[string]*string `locationName:"parameters" type:"map"`

	// The name of the action that must be completed before the current action starts.
	// Omit this parameter to run the action at the start of the experiment.
	StartAfter []*string `locationName:"startAfter" type:"list"`

	// The targets for the action.
	Targets map[string]*string `locationName:"targets" type:"map"`
	// contains filtered or unexported fields
}

Specifies an action for an experiment template.

func (UpdateExperimentTemplateActionInputItem) GoString

GoString returns the string representation

func (*UpdateExperimentTemplateActionInputItem) SetActionId

SetActionId sets the ActionId field's value.

func (*UpdateExperimentTemplateActionInputItem) SetDescription

SetDescription sets the Description field's value.

func (*UpdateExperimentTemplateActionInputItem) SetParameters

SetParameters sets the Parameters field's value.

func (*UpdateExperimentTemplateActionInputItem) SetStartAfter

SetStartAfter sets the StartAfter field's value.

func (*UpdateExperimentTemplateActionInputItem) SetTargets

SetTargets sets the Targets field's value.

func (UpdateExperimentTemplateActionInputItem) String

String returns the string representation

type UpdateExperimentTemplateInput

type UpdateExperimentTemplateInput struct {

	// The actions for the experiment.
	Actions map[string]*UpdateExperimentTemplateActionInputItem `locationName:"actions" type:"map"`

	// A description for the template.
	Description *string `locationName:"description" type:"string"`

	// The ID of the experiment template.
	//
	// Id is a required field
	Id *string `location:"uri" locationName:"id" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service
	// permission to perform service actions on your behalf.
	RoleArn *string `locationName:"roleArn" min:"20" type:"string"`

	// The stop conditions for the experiment.
	StopConditions []*UpdateExperimentTemplateStopConditionInput `locationName:"stopConditions" type:"list"`

	// The targets for the experiment.
	Targets map[string]*UpdateExperimentTemplateTargetInput `locationName:"targets" type:"map"`
	// contains filtered or unexported fields
}

func (UpdateExperimentTemplateInput) GoString

GoString returns the string representation

func (*UpdateExperimentTemplateInput) SetActions

SetActions sets the Actions field's value.

func (*UpdateExperimentTemplateInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateExperimentTemplateInput) SetId

SetId sets the Id field's value.

func (*UpdateExperimentTemplateInput) SetRoleArn

SetRoleArn sets the RoleArn field's value.

func (*UpdateExperimentTemplateInput) SetStopConditions

SetStopConditions sets the StopConditions field's value.

func (*UpdateExperimentTemplateInput) SetTargets

SetTargets sets the Targets field's value.

func (UpdateExperimentTemplateInput) String

String returns the string representation

func (*UpdateExperimentTemplateInput) Validate

func (s *UpdateExperimentTemplateInput) Validate() error

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

type UpdateExperimentTemplateOutput

type UpdateExperimentTemplateOutput struct {

	// Information about the experiment template.
	ExperimentTemplate *ExperimentTemplate `locationName:"experimentTemplate" type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateExperimentTemplateOutput) GoString

GoString returns the string representation

func (*UpdateExperimentTemplateOutput) SetExperimentTemplate

SetExperimentTemplate sets the ExperimentTemplate field's value.

func (UpdateExperimentTemplateOutput) String

String returns the string representation

type UpdateExperimentTemplateStopConditionInput

type UpdateExperimentTemplateStopConditionInput struct {

	// The source for the stop condition. Specify aws:cloudwatch:alarm if the stop
	// condition is defined by a CloudWatch alarm. Specify none if there is no stop
	// condition.
	//
	// Source is a required field
	Source *string `locationName:"source" type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the CloudWatch alarm.
	Value *string `locationName:"value" min:"20" type:"string"`
	// contains filtered or unexported fields
}

Specifies a stop condition for an experiment. You can define a stop condition as a CloudWatch alarm.

func (UpdateExperimentTemplateStopConditionInput) GoString

GoString returns the string representation

func (*UpdateExperimentTemplateStopConditionInput) SetSource

SetSource sets the Source field's value.

func (*UpdateExperimentTemplateStopConditionInput) SetValue

SetValue sets the Value field's value.

func (UpdateExperimentTemplateStopConditionInput) String

String returns the string representation

func (*UpdateExperimentTemplateStopConditionInput) Validate

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

type UpdateExperimentTemplateTargetInput

type UpdateExperimentTemplateTargetInput struct {

	// The filters to apply to identify target resources using specific attributes.
	Filters []*ExperimentTemplateTargetInputFilter `locationName:"filters" type:"list"`

	// The Amazon Resource Names (ARNs) of the targets.
	ResourceArns []*string `locationName:"resourceArns" type:"list"`

	// The tags for the target resources.
	ResourceTags map[string]*string `locationName:"resourceTags" type:"map"`

	// The AWS resource type. The resource type must be supported for the specified
	// action.
	//
	// ResourceType is a required field
	ResourceType *string `locationName:"resourceType" type:"string" required:"true"`

	// Scopes the identified resources to a specific count or percentage.
	//
	// SelectionMode is a required field
	SelectionMode *string `locationName:"selectionMode" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Specifies a target for an experiment. You must specify at least one Amazon Resource Name (ARN) or at least one resource tag. You cannot specify both.

func (UpdateExperimentTemplateTargetInput) GoString

GoString returns the string representation

func (*UpdateExperimentTemplateTargetInput) SetFilters

SetFilters sets the Filters field's value.

func (*UpdateExperimentTemplateTargetInput) SetResourceArns

SetResourceArns sets the ResourceArns field's value.

func (*UpdateExperimentTemplateTargetInput) SetResourceTags

SetResourceTags sets the ResourceTags field's value.

func (*UpdateExperimentTemplateTargetInput) SetResourceType

SetResourceType sets the ResourceType field's value.

func (*UpdateExperimentTemplateTargetInput) SetSelectionMode

SetSelectionMode sets the SelectionMode field's value.

func (UpdateExperimentTemplateTargetInput) String

String returns the string representation

func (*UpdateExperimentTemplateTargetInput) Validate

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

type ValidationException

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

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

The specified input is not valid, or fails to satisfy the constraints for the request.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

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

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation

Directories

Path Synopsis
Package fisiface provides an interface to enable mocking the AWS Fault Injection Simulator service client for testing your code.
Package fisiface provides an interface to enable mocking the AWS Fault Injection Simulator service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL