Documentation ¶
Overview ¶
Package fis provides the client and types for making API requests to AWS Fault Injection Simulator.
Fault Injection Simulator is a managed service that enables you to perform fault injection experiments on your Amazon Web Services workloads. For more information, see the 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
- func ExperimentActionStatus_Values() []string
- func ExperimentStatus_Values() []string
- type Action
- func (s Action) GoString() string
- func (s *Action) SetDescription(v string) *Action
- func (s *Action) SetId(v string) *Action
- func (s *Action) SetParameters(v map[string]*ActionParameter) *Action
- func (s *Action) SetTags(v map[string]*string) *Action
- func (s *Action) SetTargets(v map[string]*ActionTarget) *Action
- func (s Action) String() string
- type ActionParameter
- type ActionSummary
- func (s ActionSummary) GoString() string
- func (s *ActionSummary) SetDescription(v string) *ActionSummary
- func (s *ActionSummary) SetId(v string) *ActionSummary
- func (s *ActionSummary) SetTags(v map[string]*string) *ActionSummary
- func (s *ActionSummary) SetTargets(v map[string]*ActionTarget) *ActionSummary
- func (s ActionSummary) String() string
- type ActionTarget
- type ConflictException
- func (s *ConflictException) Code() string
- func (s *ConflictException) Error() string
- func (s ConflictException) GoString() string
- func (s *ConflictException) Message() string
- func (s *ConflictException) OrigErr() error
- func (s *ConflictException) RequestID() string
- func (s *ConflictException) StatusCode() int
- func (s ConflictException) String() string
- type CreateExperimentTemplateActionInput
- func (s CreateExperimentTemplateActionInput) GoString() string
- func (s *CreateExperimentTemplateActionInput) SetActionId(v string) *CreateExperimentTemplateActionInput
- func (s *CreateExperimentTemplateActionInput) SetDescription(v string) *CreateExperimentTemplateActionInput
- func (s *CreateExperimentTemplateActionInput) SetParameters(v map[string]*string) *CreateExperimentTemplateActionInput
- func (s *CreateExperimentTemplateActionInput) SetStartAfter(v []*string) *CreateExperimentTemplateActionInput
- func (s *CreateExperimentTemplateActionInput) SetTargets(v map[string]*string) *CreateExperimentTemplateActionInput
- func (s CreateExperimentTemplateActionInput) String() string
- func (s *CreateExperimentTemplateActionInput) Validate() error
- type CreateExperimentTemplateInput
- func (s CreateExperimentTemplateInput) GoString() string
- func (s *CreateExperimentTemplateInput) SetActions(v map[string]*CreateExperimentTemplateActionInput) *CreateExperimentTemplateInput
- func (s *CreateExperimentTemplateInput) SetClientToken(v string) *CreateExperimentTemplateInput
- func (s *CreateExperimentTemplateInput) SetDescription(v string) *CreateExperimentTemplateInput
- func (s *CreateExperimentTemplateInput) SetLogConfiguration(v *CreateExperimentTemplateLogConfigurationInput_) *CreateExperimentTemplateInput
- func (s *CreateExperimentTemplateInput) SetRoleArn(v string) *CreateExperimentTemplateInput
- func (s *CreateExperimentTemplateInput) SetStopConditions(v []*CreateExperimentTemplateStopConditionInput) *CreateExperimentTemplateInput
- func (s *CreateExperimentTemplateInput) SetTags(v map[string]*string) *CreateExperimentTemplateInput
- func (s *CreateExperimentTemplateInput) SetTargets(v map[string]*CreateExperimentTemplateTargetInput) *CreateExperimentTemplateInput
- func (s CreateExperimentTemplateInput) String() string
- func (s *CreateExperimentTemplateInput) Validate() error
- type CreateExperimentTemplateLogConfigurationInput_
- func (s CreateExperimentTemplateLogConfigurationInput_) GoString() string
- func (s *CreateExperimentTemplateLogConfigurationInput_) SetCloudWatchLogsConfiguration(v *ExperimentTemplateCloudWatchLogsLogConfigurationInput_) *CreateExperimentTemplateLogConfigurationInput_
- func (s *CreateExperimentTemplateLogConfigurationInput_) SetLogSchemaVersion(v int64) *CreateExperimentTemplateLogConfigurationInput_
- func (s *CreateExperimentTemplateLogConfigurationInput_) SetS3Configuration(v *ExperimentTemplateS3LogConfigurationInput_) *CreateExperimentTemplateLogConfigurationInput_
- func (s CreateExperimentTemplateLogConfigurationInput_) String() string
- func (s *CreateExperimentTemplateLogConfigurationInput_) Validate() error
- type CreateExperimentTemplateOutput
- type CreateExperimentTemplateStopConditionInput
- func (s CreateExperimentTemplateStopConditionInput) GoString() string
- func (s *CreateExperimentTemplateStopConditionInput) SetSource(v string) *CreateExperimentTemplateStopConditionInput
- func (s *CreateExperimentTemplateStopConditionInput) SetValue(v string) *CreateExperimentTemplateStopConditionInput
- func (s CreateExperimentTemplateStopConditionInput) String() string
- func (s *CreateExperimentTemplateStopConditionInput) Validate() error
- type CreateExperimentTemplateTargetInput
- func (s CreateExperimentTemplateTargetInput) GoString() string
- func (s *CreateExperimentTemplateTargetInput) SetFilters(v []*ExperimentTemplateTargetInputFilter) *CreateExperimentTemplateTargetInput
- func (s *CreateExperimentTemplateTargetInput) SetParameters(v map[string]*string) *CreateExperimentTemplateTargetInput
- func (s *CreateExperimentTemplateTargetInput) SetResourceArns(v []*string) *CreateExperimentTemplateTargetInput
- func (s *CreateExperimentTemplateTargetInput) SetResourceTags(v map[string]*string) *CreateExperimentTemplateTargetInput
- func (s *CreateExperimentTemplateTargetInput) SetResourceType(v string) *CreateExperimentTemplateTargetInput
- func (s *CreateExperimentTemplateTargetInput) SetSelectionMode(v string) *CreateExperimentTemplateTargetInput
- func (s CreateExperimentTemplateTargetInput) String() string
- func (s *CreateExperimentTemplateTargetInput) Validate() error
- type DeleteExperimentTemplateInput
- type DeleteExperimentTemplateOutput
- type Experiment
- func (s Experiment) GoString() string
- func (s *Experiment) SetActions(v map[string]*ExperimentAction) *Experiment
- func (s *Experiment) SetCreationTime(v time.Time) *Experiment
- func (s *Experiment) SetEndTime(v time.Time) *Experiment
- func (s *Experiment) SetExperimentTemplateId(v string) *Experiment
- func (s *Experiment) SetId(v string) *Experiment
- func (s *Experiment) SetLogConfiguration(v *ExperimentLogConfiguration) *Experiment
- func (s *Experiment) SetRoleArn(v string) *Experiment
- func (s *Experiment) SetStartTime(v time.Time) *Experiment
- func (s *Experiment) SetState(v *ExperimentState) *Experiment
- func (s *Experiment) SetStopConditions(v []*ExperimentStopCondition) *Experiment
- func (s *Experiment) SetTags(v map[string]*string) *Experiment
- func (s *Experiment) SetTargets(v map[string]*ExperimentTarget) *Experiment
- func (s Experiment) String() string
- type ExperimentAction
- func (s ExperimentAction) GoString() string
- func (s *ExperimentAction) SetActionId(v string) *ExperimentAction
- func (s *ExperimentAction) SetDescription(v string) *ExperimentAction
- func (s *ExperimentAction) SetEndTime(v time.Time) *ExperimentAction
- func (s *ExperimentAction) SetParameters(v map[string]*string) *ExperimentAction
- func (s *ExperimentAction) SetStartAfter(v []*string) *ExperimentAction
- func (s *ExperimentAction) SetStartTime(v time.Time) *ExperimentAction
- func (s *ExperimentAction) SetState(v *ExperimentActionState) *ExperimentAction
- func (s *ExperimentAction) SetTargets(v map[string]*string) *ExperimentAction
- func (s ExperimentAction) String() string
- type ExperimentActionState
- type ExperimentCloudWatchLogsLogConfiguration
- type ExperimentLogConfiguration
- func (s ExperimentLogConfiguration) GoString() string
- func (s *ExperimentLogConfiguration) SetCloudWatchLogsConfiguration(v *ExperimentCloudWatchLogsLogConfiguration) *ExperimentLogConfiguration
- func (s *ExperimentLogConfiguration) SetLogSchemaVersion(v int64) *ExperimentLogConfiguration
- func (s *ExperimentLogConfiguration) SetS3Configuration(v *ExperimentS3LogConfiguration) *ExperimentLogConfiguration
- func (s ExperimentLogConfiguration) String() string
- type ExperimentS3LogConfiguration
- type ExperimentState
- type ExperimentStopCondition
- type ExperimentSummary
- func (s ExperimentSummary) GoString() string
- func (s *ExperimentSummary) SetCreationTime(v time.Time) *ExperimentSummary
- func (s *ExperimentSummary) SetExperimentTemplateId(v string) *ExperimentSummary
- func (s *ExperimentSummary) SetId(v string) *ExperimentSummary
- func (s *ExperimentSummary) SetState(v *ExperimentState) *ExperimentSummary
- func (s *ExperimentSummary) SetTags(v map[string]*string) *ExperimentSummary
- func (s ExperimentSummary) String() string
- type ExperimentTarget
- func (s ExperimentTarget) GoString() string
- func (s *ExperimentTarget) SetFilters(v []*ExperimentTargetFilter) *ExperimentTarget
- func (s *ExperimentTarget) SetParameters(v map[string]*string) *ExperimentTarget
- func (s *ExperimentTarget) SetResourceArns(v []*string) *ExperimentTarget
- func (s *ExperimentTarget) SetResourceTags(v map[string]*string) *ExperimentTarget
- func (s *ExperimentTarget) SetResourceType(v string) *ExperimentTarget
- func (s *ExperimentTarget) SetSelectionMode(v string) *ExperimentTarget
- func (s ExperimentTarget) String() string
- type ExperimentTargetFilter
- type ExperimentTemplate
- func (s ExperimentTemplate) GoString() string
- func (s *ExperimentTemplate) SetActions(v map[string]*ExperimentTemplateAction) *ExperimentTemplate
- func (s *ExperimentTemplate) SetCreationTime(v time.Time) *ExperimentTemplate
- func (s *ExperimentTemplate) SetDescription(v string) *ExperimentTemplate
- func (s *ExperimentTemplate) SetId(v string) *ExperimentTemplate
- func (s *ExperimentTemplate) SetLastUpdateTime(v time.Time) *ExperimentTemplate
- func (s *ExperimentTemplate) SetLogConfiguration(v *ExperimentTemplateLogConfiguration) *ExperimentTemplate
- func (s *ExperimentTemplate) SetRoleArn(v string) *ExperimentTemplate
- func (s *ExperimentTemplate) SetStopConditions(v []*ExperimentTemplateStopCondition) *ExperimentTemplate
- func (s *ExperimentTemplate) SetTags(v map[string]*string) *ExperimentTemplate
- func (s *ExperimentTemplate) SetTargets(v map[string]*ExperimentTemplateTarget) *ExperimentTemplate
- func (s ExperimentTemplate) String() string
- type ExperimentTemplateAction
- func (s ExperimentTemplateAction) GoString() string
- func (s *ExperimentTemplateAction) SetActionId(v string) *ExperimentTemplateAction
- func (s *ExperimentTemplateAction) SetDescription(v string) *ExperimentTemplateAction
- func (s *ExperimentTemplateAction) SetParameters(v map[string]*string) *ExperimentTemplateAction
- func (s *ExperimentTemplateAction) SetStartAfter(v []*string) *ExperimentTemplateAction
- func (s *ExperimentTemplateAction) SetTargets(v map[string]*string) *ExperimentTemplateAction
- func (s ExperimentTemplateAction) String() string
- type ExperimentTemplateCloudWatchLogsLogConfiguration
- type ExperimentTemplateCloudWatchLogsLogConfigurationInput_
- func (s ExperimentTemplateCloudWatchLogsLogConfigurationInput_) GoString() string
- func (s *ExperimentTemplateCloudWatchLogsLogConfigurationInput_) SetLogGroupArn(v string) *ExperimentTemplateCloudWatchLogsLogConfigurationInput_
- func (s ExperimentTemplateCloudWatchLogsLogConfigurationInput_) String() string
- func (s *ExperimentTemplateCloudWatchLogsLogConfigurationInput_) Validate() error
- type ExperimentTemplateLogConfiguration
- func (s ExperimentTemplateLogConfiguration) GoString() string
- func (s *ExperimentTemplateLogConfiguration) SetCloudWatchLogsConfiguration(v *ExperimentTemplateCloudWatchLogsLogConfiguration) *ExperimentTemplateLogConfiguration
- func (s *ExperimentTemplateLogConfiguration) SetLogSchemaVersion(v int64) *ExperimentTemplateLogConfiguration
- func (s *ExperimentTemplateLogConfiguration) SetS3Configuration(v *ExperimentTemplateS3LogConfiguration) *ExperimentTemplateLogConfiguration
- func (s ExperimentTemplateLogConfiguration) String() string
- type ExperimentTemplateS3LogConfiguration
- func (s ExperimentTemplateS3LogConfiguration) GoString() string
- func (s *ExperimentTemplateS3LogConfiguration) SetBucketName(v string) *ExperimentTemplateS3LogConfiguration
- func (s *ExperimentTemplateS3LogConfiguration) SetPrefix(v string) *ExperimentTemplateS3LogConfiguration
- func (s ExperimentTemplateS3LogConfiguration) String() string
- type ExperimentTemplateS3LogConfigurationInput_
- func (s ExperimentTemplateS3LogConfigurationInput_) GoString() string
- func (s *ExperimentTemplateS3LogConfigurationInput_) SetBucketName(v string) *ExperimentTemplateS3LogConfigurationInput_
- func (s *ExperimentTemplateS3LogConfigurationInput_) SetPrefix(v string) *ExperimentTemplateS3LogConfigurationInput_
- func (s ExperimentTemplateS3LogConfigurationInput_) String() string
- func (s *ExperimentTemplateS3LogConfigurationInput_) Validate() error
- type ExperimentTemplateStopCondition
- func (s ExperimentTemplateStopCondition) GoString() string
- func (s *ExperimentTemplateStopCondition) SetSource(v string) *ExperimentTemplateStopCondition
- func (s *ExperimentTemplateStopCondition) SetValue(v string) *ExperimentTemplateStopCondition
- func (s ExperimentTemplateStopCondition) String() string
- type ExperimentTemplateSummary
- func (s ExperimentTemplateSummary) GoString() string
- func (s *ExperimentTemplateSummary) SetCreationTime(v time.Time) *ExperimentTemplateSummary
- func (s *ExperimentTemplateSummary) SetDescription(v string) *ExperimentTemplateSummary
- func (s *ExperimentTemplateSummary) SetId(v string) *ExperimentTemplateSummary
- func (s *ExperimentTemplateSummary) SetLastUpdateTime(v time.Time) *ExperimentTemplateSummary
- func (s *ExperimentTemplateSummary) SetTags(v map[string]*string) *ExperimentTemplateSummary
- func (s ExperimentTemplateSummary) String() string
- type ExperimentTemplateTarget
- func (s ExperimentTemplateTarget) GoString() string
- func (s *ExperimentTemplateTarget) SetFilters(v []*ExperimentTemplateTargetFilter) *ExperimentTemplateTarget
- func (s *ExperimentTemplateTarget) SetParameters(v map[string]*string) *ExperimentTemplateTarget
- func (s *ExperimentTemplateTarget) SetResourceArns(v []*string) *ExperimentTemplateTarget
- func (s *ExperimentTemplateTarget) SetResourceTags(v map[string]*string) *ExperimentTemplateTarget
- func (s *ExperimentTemplateTarget) SetResourceType(v string) *ExperimentTemplateTarget
- func (s *ExperimentTemplateTarget) SetSelectionMode(v string) *ExperimentTemplateTarget
- func (s ExperimentTemplateTarget) String() string
- type ExperimentTemplateTargetFilter
- func (s ExperimentTemplateTargetFilter) GoString() string
- func (s *ExperimentTemplateTargetFilter) SetPath(v string) *ExperimentTemplateTargetFilter
- func (s *ExperimentTemplateTargetFilter) SetValues(v []*string) *ExperimentTemplateTargetFilter
- func (s ExperimentTemplateTargetFilter) String() string
- type ExperimentTemplateTargetInputFilter
- func (s ExperimentTemplateTargetInputFilter) GoString() string
- func (s *ExperimentTemplateTargetInputFilter) SetPath(v string) *ExperimentTemplateTargetInputFilter
- func (s *ExperimentTemplateTargetInputFilter) SetValues(v []*string) *ExperimentTemplateTargetInputFilter
- func (s ExperimentTemplateTargetInputFilter) String() string
- func (s *ExperimentTemplateTargetInputFilter) Validate() error
- type FIS
- func (c *FIS) CreateExperimentTemplate(input *CreateExperimentTemplateInput) (*CreateExperimentTemplateOutput, error)
- func (c *FIS) CreateExperimentTemplateRequest(input *CreateExperimentTemplateInput) (req *request.Request, output *CreateExperimentTemplateOutput)
- func (c *FIS) CreateExperimentTemplateWithContext(ctx aws.Context, input *CreateExperimentTemplateInput, opts ...request.Option) (*CreateExperimentTemplateOutput, error)
- func (c *FIS) DeleteExperimentTemplate(input *DeleteExperimentTemplateInput) (*DeleteExperimentTemplateOutput, error)
- func (c *FIS) DeleteExperimentTemplateRequest(input *DeleteExperimentTemplateInput) (req *request.Request, output *DeleteExperimentTemplateOutput)
- func (c *FIS) DeleteExperimentTemplateWithContext(ctx aws.Context, input *DeleteExperimentTemplateInput, opts ...request.Option) (*DeleteExperimentTemplateOutput, error)
- func (c *FIS) GetAction(input *GetActionInput) (*GetActionOutput, error)
- func (c *FIS) GetActionRequest(input *GetActionInput) (req *request.Request, output *GetActionOutput)
- func (c *FIS) GetActionWithContext(ctx aws.Context, input *GetActionInput, opts ...request.Option) (*GetActionOutput, error)
- func (c *FIS) GetExperiment(input *GetExperimentInput) (*GetExperimentOutput, error)
- func (c *FIS) GetExperimentRequest(input *GetExperimentInput) (req *request.Request, output *GetExperimentOutput)
- func (c *FIS) GetExperimentTemplate(input *GetExperimentTemplateInput) (*GetExperimentTemplateOutput, error)
- func (c *FIS) GetExperimentTemplateRequest(input *GetExperimentTemplateInput) (req *request.Request, output *GetExperimentTemplateOutput)
- func (c *FIS) GetExperimentTemplateWithContext(ctx aws.Context, input *GetExperimentTemplateInput, opts ...request.Option) (*GetExperimentTemplateOutput, error)
- func (c *FIS) GetExperimentWithContext(ctx aws.Context, input *GetExperimentInput, opts ...request.Option) (*GetExperimentOutput, error)
- func (c *FIS) GetTargetResourceType(input *GetTargetResourceTypeInput) (*GetTargetResourceTypeOutput, error)
- func (c *FIS) GetTargetResourceTypeRequest(input *GetTargetResourceTypeInput) (req *request.Request, output *GetTargetResourceTypeOutput)
- func (c *FIS) GetTargetResourceTypeWithContext(ctx aws.Context, input *GetTargetResourceTypeInput, opts ...request.Option) (*GetTargetResourceTypeOutput, error)
- func (c *FIS) ListActions(input *ListActionsInput) (*ListActionsOutput, error)
- func (c *FIS) ListActionsPages(input *ListActionsInput, fn func(*ListActionsOutput, bool) bool) error
- func (c *FIS) ListActionsPagesWithContext(ctx aws.Context, input *ListActionsInput, ...) error
- func (c *FIS) ListActionsRequest(input *ListActionsInput) (req *request.Request, output *ListActionsOutput)
- func (c *FIS) ListActionsWithContext(ctx aws.Context, input *ListActionsInput, opts ...request.Option) (*ListActionsOutput, error)
- func (c *FIS) ListExperimentTemplates(input *ListExperimentTemplatesInput) (*ListExperimentTemplatesOutput, error)
- func (c *FIS) ListExperimentTemplatesPages(input *ListExperimentTemplatesInput, ...) error
- func (c *FIS) ListExperimentTemplatesPagesWithContext(ctx aws.Context, input *ListExperimentTemplatesInput, ...) error
- func (c *FIS) ListExperimentTemplatesRequest(input *ListExperimentTemplatesInput) (req *request.Request, output *ListExperimentTemplatesOutput)
- func (c *FIS) ListExperimentTemplatesWithContext(ctx aws.Context, input *ListExperimentTemplatesInput, opts ...request.Option) (*ListExperimentTemplatesOutput, error)
- func (c *FIS) ListExperiments(input *ListExperimentsInput) (*ListExperimentsOutput, error)
- func (c *FIS) ListExperimentsPages(input *ListExperimentsInput, fn func(*ListExperimentsOutput, bool) bool) error
- func (c *FIS) ListExperimentsPagesWithContext(ctx aws.Context, input *ListExperimentsInput, ...) error
- func (c *FIS) ListExperimentsRequest(input *ListExperimentsInput) (req *request.Request, output *ListExperimentsOutput)
- func (c *FIS) ListExperimentsWithContext(ctx aws.Context, input *ListExperimentsInput, opts ...request.Option) (*ListExperimentsOutput, error)
- func (c *FIS) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
- func (c *FIS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
- func (c *FIS) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
- func (c *FIS) ListTargetResourceTypes(input *ListTargetResourceTypesInput) (*ListTargetResourceTypesOutput, error)
- func (c *FIS) ListTargetResourceTypesPages(input *ListTargetResourceTypesInput, ...) error
- func (c *FIS) ListTargetResourceTypesPagesWithContext(ctx aws.Context, input *ListTargetResourceTypesInput, ...) error
- func (c *FIS) ListTargetResourceTypesRequest(input *ListTargetResourceTypesInput) (req *request.Request, output *ListTargetResourceTypesOutput)
- func (c *FIS) ListTargetResourceTypesWithContext(ctx aws.Context, input *ListTargetResourceTypesInput, opts ...request.Option) (*ListTargetResourceTypesOutput, error)
- func (c *FIS) StartExperiment(input *StartExperimentInput) (*StartExperimentOutput, error)
- func (c *FIS) StartExperimentRequest(input *StartExperimentInput) (req *request.Request, output *StartExperimentOutput)
- func (c *FIS) StartExperimentWithContext(ctx aws.Context, input *StartExperimentInput, opts ...request.Option) (*StartExperimentOutput, error)
- func (c *FIS) StopExperiment(input *StopExperimentInput) (*StopExperimentOutput, error)
- func (c *FIS) StopExperimentRequest(input *StopExperimentInput) (req *request.Request, output *StopExperimentOutput)
- func (c *FIS) StopExperimentWithContext(ctx aws.Context, input *StopExperimentInput, opts ...request.Option) (*StopExperimentOutput, error)
- func (c *FIS) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
- func (c *FIS) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
- func (c *FIS) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
- func (c *FIS) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
- func (c *FIS) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
- func (c *FIS) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
- func (c *FIS) UpdateExperimentTemplate(input *UpdateExperimentTemplateInput) (*UpdateExperimentTemplateOutput, error)
- func (c *FIS) UpdateExperimentTemplateRequest(input *UpdateExperimentTemplateInput) (req *request.Request, output *UpdateExperimentTemplateOutput)
- func (c *FIS) UpdateExperimentTemplateWithContext(ctx aws.Context, input *UpdateExperimentTemplateInput, opts ...request.Option) (*UpdateExperimentTemplateOutput, error)
- type GetActionInput
- type GetActionOutput
- type GetExperimentInput
- type GetExperimentOutput
- type GetExperimentTemplateInput
- type GetExperimentTemplateOutput
- type GetTargetResourceTypeInput
- type GetTargetResourceTypeOutput
- type ListActionsInput
- type ListActionsOutput
- type ListExperimentTemplatesInput
- func (s ListExperimentTemplatesInput) GoString() string
- func (s *ListExperimentTemplatesInput) SetMaxResults(v int64) *ListExperimentTemplatesInput
- func (s *ListExperimentTemplatesInput) SetNextToken(v string) *ListExperimentTemplatesInput
- func (s ListExperimentTemplatesInput) String() string
- func (s *ListExperimentTemplatesInput) Validate() error
- type ListExperimentTemplatesOutput
- func (s ListExperimentTemplatesOutput) GoString() string
- func (s *ListExperimentTemplatesOutput) SetExperimentTemplates(v []*ExperimentTemplateSummary) *ListExperimentTemplatesOutput
- func (s *ListExperimentTemplatesOutput) SetNextToken(v string) *ListExperimentTemplatesOutput
- func (s ListExperimentTemplatesOutput) String() string
- type ListExperimentsInput
- type ListExperimentsOutput
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListTargetResourceTypesInput
- func (s ListTargetResourceTypesInput) GoString() string
- func (s *ListTargetResourceTypesInput) SetMaxResults(v int64) *ListTargetResourceTypesInput
- func (s *ListTargetResourceTypesInput) SetNextToken(v string) *ListTargetResourceTypesInput
- func (s ListTargetResourceTypesInput) String() string
- func (s *ListTargetResourceTypesInput) Validate() error
- type ListTargetResourceTypesOutput
- func (s ListTargetResourceTypesOutput) GoString() string
- func (s *ListTargetResourceTypesOutput) SetNextToken(v string) *ListTargetResourceTypesOutput
- func (s *ListTargetResourceTypesOutput) SetTargetResourceTypes(v []*TargetResourceTypeSummary) *ListTargetResourceTypesOutput
- func (s ListTargetResourceTypesOutput) String() string
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type ServiceQuotaExceededException
- func (s *ServiceQuotaExceededException) Code() string
- func (s *ServiceQuotaExceededException) Error() string
- func (s ServiceQuotaExceededException) GoString() string
- func (s *ServiceQuotaExceededException) Message() string
- func (s *ServiceQuotaExceededException) OrigErr() error
- func (s *ServiceQuotaExceededException) RequestID() string
- func (s *ServiceQuotaExceededException) StatusCode() int
- func (s ServiceQuotaExceededException) String() string
- type StartExperimentInput
- func (s StartExperimentInput) GoString() string
- func (s *StartExperimentInput) SetClientToken(v string) *StartExperimentInput
- func (s *StartExperimentInput) SetExperimentTemplateId(v string) *StartExperimentInput
- func (s *StartExperimentInput) SetTags(v map[string]*string) *StartExperimentInput
- func (s StartExperimentInput) String() string
- func (s *StartExperimentInput) Validate() error
- type StartExperimentOutput
- type StopExperimentInput
- type StopExperimentOutput
- type TagResourceInput
- type TagResourceOutput
- type TargetResourceType
- func (s TargetResourceType) GoString() string
- func (s *TargetResourceType) SetDescription(v string) *TargetResourceType
- func (s *TargetResourceType) SetParameters(v map[string]*TargetResourceTypeParameter) *TargetResourceType
- func (s *TargetResourceType) SetResourceType(v string) *TargetResourceType
- func (s TargetResourceType) String() string
- type TargetResourceTypeParameter
- type TargetResourceTypeSummary
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateExperimentTemplateActionInputItem
- func (s UpdateExperimentTemplateActionInputItem) GoString() string
- func (s *UpdateExperimentTemplateActionInputItem) SetActionId(v string) *UpdateExperimentTemplateActionInputItem
- func (s *UpdateExperimentTemplateActionInputItem) SetDescription(v string) *UpdateExperimentTemplateActionInputItem
- func (s *UpdateExperimentTemplateActionInputItem) SetParameters(v map[string]*string) *UpdateExperimentTemplateActionInputItem
- func (s *UpdateExperimentTemplateActionInputItem) SetStartAfter(v []*string) *UpdateExperimentTemplateActionInputItem
- func (s *UpdateExperimentTemplateActionInputItem) SetTargets(v map[string]*string) *UpdateExperimentTemplateActionInputItem
- func (s UpdateExperimentTemplateActionInputItem) String() string
- type UpdateExperimentTemplateInput
- func (s UpdateExperimentTemplateInput) GoString() string
- func (s *UpdateExperimentTemplateInput) SetActions(v map[string]*UpdateExperimentTemplateActionInputItem) *UpdateExperimentTemplateInput
- func (s *UpdateExperimentTemplateInput) SetDescription(v string) *UpdateExperimentTemplateInput
- func (s *UpdateExperimentTemplateInput) SetId(v string) *UpdateExperimentTemplateInput
- func (s *UpdateExperimentTemplateInput) SetLogConfiguration(v *UpdateExperimentTemplateLogConfigurationInput_) *UpdateExperimentTemplateInput
- func (s *UpdateExperimentTemplateInput) SetRoleArn(v string) *UpdateExperimentTemplateInput
- func (s *UpdateExperimentTemplateInput) SetStopConditions(v []*UpdateExperimentTemplateStopConditionInput) *UpdateExperimentTemplateInput
- func (s *UpdateExperimentTemplateInput) SetTargets(v map[string]*UpdateExperimentTemplateTargetInput) *UpdateExperimentTemplateInput
- func (s UpdateExperimentTemplateInput) String() string
- func (s *UpdateExperimentTemplateInput) Validate() error
- type UpdateExperimentTemplateLogConfigurationInput_
- func (s UpdateExperimentTemplateLogConfigurationInput_) GoString() string
- func (s *UpdateExperimentTemplateLogConfigurationInput_) SetCloudWatchLogsConfiguration(v *ExperimentTemplateCloudWatchLogsLogConfigurationInput_) *UpdateExperimentTemplateLogConfigurationInput_
- func (s *UpdateExperimentTemplateLogConfigurationInput_) SetLogSchemaVersion(v int64) *UpdateExperimentTemplateLogConfigurationInput_
- func (s *UpdateExperimentTemplateLogConfigurationInput_) SetS3Configuration(v *ExperimentTemplateS3LogConfigurationInput_) *UpdateExperimentTemplateLogConfigurationInput_
- func (s UpdateExperimentTemplateLogConfigurationInput_) String() string
- func (s *UpdateExperimentTemplateLogConfigurationInput_) Validate() error
- type UpdateExperimentTemplateOutput
- type UpdateExperimentTemplateStopConditionInput
- func (s UpdateExperimentTemplateStopConditionInput) GoString() string
- func (s *UpdateExperimentTemplateStopConditionInput) SetSource(v string) *UpdateExperimentTemplateStopConditionInput
- func (s *UpdateExperimentTemplateStopConditionInput) SetValue(v string) *UpdateExperimentTemplateStopConditionInput
- func (s UpdateExperimentTemplateStopConditionInput) String() string
- func (s *UpdateExperimentTemplateStopConditionInput) Validate() error
- type UpdateExperimentTemplateTargetInput
- func (s UpdateExperimentTemplateTargetInput) GoString() string
- func (s *UpdateExperimentTemplateTargetInput) SetFilters(v []*ExperimentTemplateTargetInputFilter) *UpdateExperimentTemplateTargetInput
- func (s *UpdateExperimentTemplateTargetInput) SetParameters(v map[string]*string) *UpdateExperimentTemplateTargetInput
- func (s *UpdateExperimentTemplateTargetInput) SetResourceArns(v []*string) *UpdateExperimentTemplateTargetInput
- func (s *UpdateExperimentTemplateTargetInput) SetResourceTags(v map[string]*string) *UpdateExperimentTemplateTargetInput
- func (s *UpdateExperimentTemplateTargetInput) SetResourceType(v string) *UpdateExperimentTemplateTargetInput
- func (s *UpdateExperimentTemplateTargetInput) SetSelectionMode(v string) *UpdateExperimentTemplateTargetInput
- func (s UpdateExperimentTemplateTargetInput) String() string
- func (s *UpdateExperimentTemplateTargetInput) Validate() error
- type ValidationException
- func (s *ValidationException) Code() string
- func (s *ValidationException) Error() string
- func (s ValidationException) GoString() string
- func (s *ValidationException) Message() string
- func (s *ValidationException) OrigErr() error
- func (s *ValidationException) RequestID() string
- func (s *ValidationException) StatusCode() int
- func (s ValidationException) String() string
Constants ¶
const ( // 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" )
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" )
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" )
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 FIS actions (https://docs.aws.amazon.com/fis/latest/userguide/fis-actions-reference.html) in the Fault Injection Simulator User Guide.
func (Action) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Action) SetDescription ¶
SetDescription sets the Description field's value.
func (*Action) SetParameters ¶
func (s *Action) SetParameters(v map[string]*ActionParameter) *Action
SetParameters sets the Parameters field's value.
func (*Action) SetTargets ¶
func (s *Action) SetTargets(v map[string]*ActionTarget) *Action
SetTargets sets the Targets field's value.
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ConflictException ¶
type ConflictException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ConflictException) Message ¶
func (s *ConflictException) Message() string
Message returns the exception's message.
func (*ConflictException) OrigErr ¶
func (s *ConflictException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ConflictException) RequestID ¶
func (s *ConflictException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ConflictException) StatusCode ¶
func (s *ConflictException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ConflictException) String ¶
func (s ConflictException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateExperimentTemplateActionInput ¶
type CreateExperimentTemplateActionInput struct { // The ID of the action. The format of the action ID is: aws:service-name:action-type. // // 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.
For more information, see Actions (https://docs.aws.amazon.com/fis/latest/userguide/actions.html) in the Fault Injection Simulator User Guide.
func (CreateExperimentTemplateActionInput) GoString ¶
func (s CreateExperimentTemplateActionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateExperimentTemplateActionInput) SetActionId ¶
func (s *CreateExperimentTemplateActionInput) SetActionId(v string) *CreateExperimentTemplateActionInput
SetActionId sets the ActionId field's value.
func (*CreateExperimentTemplateActionInput) SetDescription ¶
func (s *CreateExperimentTemplateActionInput) SetDescription(v string) *CreateExperimentTemplateActionInput
SetDescription sets the Description field's value.
func (*CreateExperimentTemplateActionInput) SetParameters ¶
func (s *CreateExperimentTemplateActionInput) SetParameters(v map[string]*string) *CreateExperimentTemplateActionInput
SetParameters sets the Parameters field's value.
func (*CreateExperimentTemplateActionInput) SetStartAfter ¶
func (s *CreateExperimentTemplateActionInput) SetStartAfter(v []*string) *CreateExperimentTemplateActionInput
SetStartAfter sets the StartAfter field's value.
func (*CreateExperimentTemplateActionInput) SetTargets ¶
func (s *CreateExperimentTemplateActionInput) SetTargets(v map[string]*string) *CreateExperimentTemplateActionInput
SetTargets sets the Targets field's value.
func (CreateExperimentTemplateActionInput) String ¶
func (s CreateExperimentTemplateActionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateExperimentTemplateActionInput) Validate ¶
func (s *CreateExperimentTemplateActionInput) Validate() error
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. // // Description is a required field Description *string `locationName:"description" type:"string" required:"true"` // The configuration for experiment logging. LogConfiguration *CreateExperimentTemplateLogConfigurationInput_ `locationName:"logConfiguration" type:"structure"` // The Amazon Resource Name (ARN) of an IAM role that grants the 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 ¶
func (s CreateExperimentTemplateInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateExperimentTemplateInput) SetActions ¶
func (s *CreateExperimentTemplateInput) SetActions(v map[string]*CreateExperimentTemplateActionInput) *CreateExperimentTemplateInput
SetActions sets the Actions field's value.
func (*CreateExperimentTemplateInput) SetClientToken ¶
func (s *CreateExperimentTemplateInput) SetClientToken(v string) *CreateExperimentTemplateInput
SetClientToken sets the ClientToken field's value.
func (*CreateExperimentTemplateInput) SetDescription ¶
func (s *CreateExperimentTemplateInput) SetDescription(v string) *CreateExperimentTemplateInput
SetDescription sets the Description field's value.
func (*CreateExperimentTemplateInput) SetLogConfiguration ¶ added in v1.43.8
func (s *CreateExperimentTemplateInput) SetLogConfiguration(v *CreateExperimentTemplateLogConfigurationInput_) *CreateExperimentTemplateInput
SetLogConfiguration sets the LogConfiguration field's value.
func (*CreateExperimentTemplateInput) SetRoleArn ¶
func (s *CreateExperimentTemplateInput) SetRoleArn(v string) *CreateExperimentTemplateInput
SetRoleArn sets the RoleArn field's value.
func (*CreateExperimentTemplateInput) SetStopConditions ¶
func (s *CreateExperimentTemplateInput) SetStopConditions(v []*CreateExperimentTemplateStopConditionInput) *CreateExperimentTemplateInput
SetStopConditions sets the StopConditions field's value.
func (*CreateExperimentTemplateInput) SetTags ¶
func (s *CreateExperimentTemplateInput) SetTags(v map[string]*string) *CreateExperimentTemplateInput
SetTags sets the Tags field's value.
func (*CreateExperimentTemplateInput) SetTargets ¶
func (s *CreateExperimentTemplateInput) SetTargets(v map[string]*CreateExperimentTemplateTargetInput) *CreateExperimentTemplateInput
SetTargets sets the Targets field's value.
func (CreateExperimentTemplateInput) String ¶
func (s CreateExperimentTemplateInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateExperimentTemplateInput) Validate ¶
func (s *CreateExperimentTemplateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateExperimentTemplateLogConfigurationInput_ ¶ added in v1.43.8
type CreateExperimentTemplateLogConfigurationInput_ struct { // The configuration for experiment logging to Amazon CloudWatch Logs. CloudWatchLogsConfiguration *ExperimentTemplateCloudWatchLogsLogConfigurationInput_ `locationName:"cloudWatchLogsConfiguration" type:"structure"` // The schema version. // // LogSchemaVersion is a required field LogSchemaVersion *int64 `locationName:"logSchemaVersion" type:"integer" required:"true"` // The configuration for experiment logging to Amazon S3. S3Configuration *ExperimentTemplateS3LogConfigurationInput_ `locationName:"s3Configuration" type:"structure"` // contains filtered or unexported fields }
Specifies the configuration for experiment logging.
func (CreateExperimentTemplateLogConfigurationInput_) GoString ¶ added in v1.43.8
func (s CreateExperimentTemplateLogConfigurationInput_) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateExperimentTemplateLogConfigurationInput_) SetCloudWatchLogsConfiguration ¶ added in v1.43.8
func (s *CreateExperimentTemplateLogConfigurationInput_) SetCloudWatchLogsConfiguration(v *ExperimentTemplateCloudWatchLogsLogConfigurationInput_) *CreateExperimentTemplateLogConfigurationInput_
SetCloudWatchLogsConfiguration sets the CloudWatchLogsConfiguration field's value.
func (*CreateExperimentTemplateLogConfigurationInput_) SetLogSchemaVersion ¶ added in v1.43.8
func (s *CreateExperimentTemplateLogConfigurationInput_) SetLogSchemaVersion(v int64) *CreateExperimentTemplateLogConfigurationInput_
SetLogSchemaVersion sets the LogSchemaVersion field's value.
func (*CreateExperimentTemplateLogConfigurationInput_) SetS3Configuration ¶ added in v1.43.8
func (s *CreateExperimentTemplateLogConfigurationInput_) SetS3Configuration(v *ExperimentTemplateS3LogConfigurationInput_) *CreateExperimentTemplateLogConfigurationInput_
SetS3Configuration sets the S3Configuration field's value.
func (CreateExperimentTemplateLogConfigurationInput_) String ¶ added in v1.43.8
func (s CreateExperimentTemplateLogConfigurationInput_) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateExperimentTemplateLogConfigurationInput_) Validate ¶ added in v1.43.8
func (s *CreateExperimentTemplateLogConfigurationInput_) 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 ¶
func (s CreateExperimentTemplateOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateExperimentTemplateOutput) SetExperimentTemplate ¶
func (s *CreateExperimentTemplateOutput) SetExperimentTemplate(v *ExperimentTemplate) *CreateExperimentTemplateOutput
SetExperimentTemplate sets the ExperimentTemplate field's value.
func (CreateExperimentTemplateOutput) String ¶
func (s CreateExperimentTemplateOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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 ¶
func (s CreateExperimentTemplateStopConditionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateExperimentTemplateStopConditionInput) SetSource ¶
func (s *CreateExperimentTemplateStopConditionInput) SetSource(v string) *CreateExperimentTemplateStopConditionInput
SetSource sets the Source field's value.
func (*CreateExperimentTemplateStopConditionInput) SetValue ¶
func (s *CreateExperimentTemplateStopConditionInput) SetValue(v string) *CreateExperimentTemplateStopConditionInput
SetValue sets the Value field's value.
func (CreateExperimentTemplateStopConditionInput) String ¶
func (s CreateExperimentTemplateStopConditionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateExperimentTemplateStopConditionInput) Validate ¶
func (s *CreateExperimentTemplateStopConditionInput) Validate() error
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 resource type parameters. Parameters map[string]*string `locationName:"parameters" type:"map"` // 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. 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.
For more information, see Targets (https://docs.aws.amazon.com/fis/latest/userguide/targets.html) in the Fault Injection Simulator User Guide.
func (CreateExperimentTemplateTargetInput) GoString ¶
func (s CreateExperimentTemplateTargetInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateExperimentTemplateTargetInput) SetFilters ¶
func (s *CreateExperimentTemplateTargetInput) SetFilters(v []*ExperimentTemplateTargetInputFilter) *CreateExperimentTemplateTargetInput
SetFilters sets the Filters field's value.
func (*CreateExperimentTemplateTargetInput) SetParameters ¶ added in v1.42.45
func (s *CreateExperimentTemplateTargetInput) SetParameters(v map[string]*string) *CreateExperimentTemplateTargetInput
SetParameters sets the Parameters field's value.
func (*CreateExperimentTemplateTargetInput) SetResourceArns ¶
func (s *CreateExperimentTemplateTargetInput) SetResourceArns(v []*string) *CreateExperimentTemplateTargetInput
SetResourceArns sets the ResourceArns field's value.
func (*CreateExperimentTemplateTargetInput) SetResourceTags ¶
func (s *CreateExperimentTemplateTargetInput) SetResourceTags(v map[string]*string) *CreateExperimentTemplateTargetInput
SetResourceTags sets the ResourceTags field's value.
func (*CreateExperimentTemplateTargetInput) SetResourceType ¶
func (s *CreateExperimentTemplateTargetInput) SetResourceType(v string) *CreateExperimentTemplateTargetInput
SetResourceType sets the ResourceType field's value.
func (*CreateExperimentTemplateTargetInput) SetSelectionMode ¶
func (s *CreateExperimentTemplateTargetInput) SetSelectionMode(v string) *CreateExperimentTemplateTargetInput
SetSelectionMode sets the SelectionMode field's value.
func (CreateExperimentTemplateTargetInput) String ¶
func (s CreateExperimentTemplateTargetInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateExperimentTemplateTargetInput) Validate ¶
func (s *CreateExperimentTemplateTargetInput) Validate() error
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 ¶
func (s DeleteExperimentTemplateInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteExperimentTemplateInput) SetId ¶
func (s *DeleteExperimentTemplateInput) SetId(v string) *DeleteExperimentTemplateInput
SetId sets the Id field's value.
func (DeleteExperimentTemplateInput) String ¶
func (s DeleteExperimentTemplateInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*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 ¶
func (s DeleteExperimentTemplateOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteExperimentTemplateOutput) SetExperimentTemplate ¶
func (s *DeleteExperimentTemplateOutput) SetExperimentTemplate(v *ExperimentTemplate) *DeleteExperimentTemplateOutput
SetExperimentTemplate sets the ExperimentTemplate field's value.
func (DeleteExperimentTemplateOutput) String ¶
func (s DeleteExperimentTemplateOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Experiment ¶
type Experiment struct { // The actions for the experiment. Actions map[string]*ExperimentAction `locationName:"actions" type:"map"` // The time that 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 configuration for experiment logging. LogConfiguration *ExperimentLogConfiguration `locationName:"logConfiguration" type:"structure"` // The Amazon Resource Name (ARN) of an IAM role that grants the FIS service // permission to perform service actions on your behalf. RoleArn *string `locationName:"roleArn" min:"20" type:"string"` // The time that the experiment 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*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) SetLogConfiguration ¶ added in v1.43.8
func (s *Experiment) SetLogConfiguration(v *ExperimentLogConfiguration) *Experiment
SetLogConfiguration sets the LogConfiguration 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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 time that the action ended. EndTime *time.Time `locationName:"endTime" type:"timestamp"` // 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 time that the action started. StartTime *time.Time `locationName:"startTime" type:"timestamp"` // 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*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) SetEndTime ¶ added in v1.42.38
func (s *ExperimentAction) SetEndTime(v time.Time) *ExperimentAction
SetEndTime sets the EndTime 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) SetStartTime ¶ added in v1.42.38
func (s *ExperimentAction) SetStartTime(v time.Time) *ExperimentAction
SetStartTime sets the StartTime field's value.
func (*ExperimentAction) SetState ¶
func (s *ExperimentAction) SetState(v *ExperimentActionState) *ExperimentAction
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExperimentActionState) SetReason ¶
func (s *ExperimentActionState) SetReason(v string) *ExperimentActionState
SetReason sets the Reason field's value.
func (*ExperimentActionState) SetStatus ¶
func (s *ExperimentActionState) SetStatus(v string) *ExperimentActionState
SetStatus sets the Status field's value.
func (ExperimentActionState) String ¶
func (s ExperimentActionState) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExperimentCloudWatchLogsLogConfiguration ¶ added in v1.43.8
type ExperimentCloudWatchLogsLogConfiguration struct { // The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs // log group. LogGroupArn *string `locationName:"logGroupArn" min:"20" type:"string"` // contains filtered or unexported fields }
Describes the configuration for experiment logging to Amazon CloudWatch Logs.
func (ExperimentCloudWatchLogsLogConfiguration) GoString ¶ added in v1.43.8
func (s ExperimentCloudWatchLogsLogConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExperimentCloudWatchLogsLogConfiguration) SetLogGroupArn ¶ added in v1.43.8
func (s *ExperimentCloudWatchLogsLogConfiguration) SetLogGroupArn(v string) *ExperimentCloudWatchLogsLogConfiguration
SetLogGroupArn sets the LogGroupArn field's value.
func (ExperimentCloudWatchLogsLogConfiguration) String ¶ added in v1.43.8
func (s ExperimentCloudWatchLogsLogConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExperimentLogConfiguration ¶ added in v1.43.8
type ExperimentLogConfiguration struct { // The configuration for experiment logging to Amazon CloudWatch Logs. CloudWatchLogsConfiguration *ExperimentCloudWatchLogsLogConfiguration `locationName:"cloudWatchLogsConfiguration" type:"structure"` // The schema version. LogSchemaVersion *int64 `locationName:"logSchemaVersion" type:"integer"` // The configuration for experiment logging to Amazon S3. S3Configuration *ExperimentS3LogConfiguration `locationName:"s3Configuration" type:"structure"` // contains filtered or unexported fields }
Describes the configuration for experiment logging.
func (ExperimentLogConfiguration) GoString ¶ added in v1.43.8
func (s ExperimentLogConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExperimentLogConfiguration) SetCloudWatchLogsConfiguration ¶ added in v1.43.8
func (s *ExperimentLogConfiguration) SetCloudWatchLogsConfiguration(v *ExperimentCloudWatchLogsLogConfiguration) *ExperimentLogConfiguration
SetCloudWatchLogsConfiguration sets the CloudWatchLogsConfiguration field's value.
func (*ExperimentLogConfiguration) SetLogSchemaVersion ¶ added in v1.43.8
func (s *ExperimentLogConfiguration) SetLogSchemaVersion(v int64) *ExperimentLogConfiguration
SetLogSchemaVersion sets the LogSchemaVersion field's value.
func (*ExperimentLogConfiguration) SetS3Configuration ¶ added in v1.43.8
func (s *ExperimentLogConfiguration) SetS3Configuration(v *ExperimentS3LogConfiguration) *ExperimentLogConfiguration
SetS3Configuration sets the S3Configuration field's value.
func (ExperimentLogConfiguration) String ¶ added in v1.43.8
func (s ExperimentLogConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExperimentS3LogConfiguration ¶ added in v1.43.8
type ExperimentS3LogConfiguration struct { // The name of the destination bucket. BucketName *string `locationName:"bucketName" min:"3" type:"string"` // The bucket prefix. Prefix *string `locationName:"prefix" min:"1" type:"string"` // contains filtered or unexported fields }
Describes the configuration for experiment logging to Amazon S3.
func (ExperimentS3LogConfiguration) GoString ¶ added in v1.43.8
func (s ExperimentS3LogConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExperimentS3LogConfiguration) SetBucketName ¶ added in v1.43.8
func (s *ExperimentS3LogConfiguration) SetBucketName(v string) *ExperimentS3LogConfiguration
SetBucketName sets the BucketName field's value.
func (*ExperimentS3LogConfiguration) SetPrefix ¶ added in v1.43.8
func (s *ExperimentS3LogConfiguration) SetPrefix(v string) *ExperimentS3LogConfiguration
SetPrefix sets the Prefix field's value.
func (ExperimentS3LogConfiguration) String ¶ added in v1.43.8
func (s ExperimentS3LogConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExperimentStopCondition) SetSource ¶
func (s *ExperimentStopCondition) SetSource(v string) *ExperimentStopCondition
SetSource sets the Source field's value.
func (*ExperimentStopCondition) SetValue ¶
func (s *ExperimentStopCondition) SetValue(v string) *ExperimentStopCondition
SetValue sets the Value field's value.
func (ExperimentStopCondition) String ¶
func (s ExperimentStopCondition) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*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 ¶
func (s *ExperimentSummary) SetId(v string) *ExperimentSummary
SetId sets the Id field's value.
func (*ExperimentSummary) SetState ¶
func (s *ExperimentSummary) SetState(v *ExperimentState) *ExperimentSummary
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExperimentTarget ¶
type ExperimentTarget struct { // The filters to apply to identify target resources using specific attributes. Filters []*ExperimentTargetFilter `locationName:"filters" type:"list"` // The resource type parameters. Parameters map[string]*string `locationName:"parameters" type:"map"` // 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExperimentTarget) SetFilters ¶
func (s *ExperimentTarget) SetFilters(v []*ExperimentTargetFilter) *ExperimentTarget
SetFilters sets the Filters field's value.
func (*ExperimentTarget) SetParameters ¶ added in v1.42.45
func (s *ExperimentTarget) SetParameters(v map[string]*string) *ExperimentTarget
SetParameters sets the Parameters 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExperimentTargetFilter) SetPath ¶
func (s *ExperimentTargetFilter) SetPath(v string) *ExperimentTargetFilter
SetPath sets the Path field's value.
func (*ExperimentTargetFilter) SetValues ¶
func (s *ExperimentTargetFilter) SetValues(v []*string) *ExperimentTargetFilter
SetValues sets the Values field's value.
func (ExperimentTargetFilter) String ¶
func (s ExperimentTargetFilter) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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 configuration for experiment logging. LogConfiguration *ExperimentTemplateLogConfiguration `locationName:"logConfiguration" type:"structure"` // 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExperimentTemplate) SetActions ¶
func (s *ExperimentTemplate) SetActions(v map[string]*ExperimentTemplateAction) *ExperimentTemplate
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 ¶
func (s *ExperimentTemplate) SetId(v string) *ExperimentTemplate
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) SetLogConfiguration ¶ added in v1.43.8
func (s *ExperimentTemplate) SetLogConfiguration(v *ExperimentTemplateLogConfiguration) *ExperimentTemplate
SetLogConfiguration sets the LogConfiguration field's value.
func (*ExperimentTemplate) SetRoleArn ¶
func (s *ExperimentTemplate) SetRoleArn(v string) *ExperimentTemplate
SetRoleArn sets the RoleArn field's value.
func (*ExperimentTemplate) SetStopConditions ¶
func (s *ExperimentTemplate) SetStopConditions(v []*ExperimentTemplateStopCondition) *ExperimentTemplate
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 ¶
func (s *ExperimentTemplate) SetTargets(v map[string]*ExperimentTemplateTarget) *ExperimentTemplate
SetTargets sets the Targets field's value.
func (ExperimentTemplate) String ¶
func (s ExperimentTemplate) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExperimentTemplateAction) SetActionId ¶
func (s *ExperimentTemplateAction) SetActionId(v string) *ExperimentTemplateAction
SetActionId sets the ActionId field's value.
func (*ExperimentTemplateAction) SetDescription ¶
func (s *ExperimentTemplateAction) SetDescription(v string) *ExperimentTemplateAction
SetDescription sets the Description field's value.
func (*ExperimentTemplateAction) SetParameters ¶
func (s *ExperimentTemplateAction) SetParameters(v map[string]*string) *ExperimentTemplateAction
SetParameters sets the Parameters field's value.
func (*ExperimentTemplateAction) SetStartAfter ¶
func (s *ExperimentTemplateAction) SetStartAfter(v []*string) *ExperimentTemplateAction
SetStartAfter sets the StartAfter field's value.
func (*ExperimentTemplateAction) SetTargets ¶
func (s *ExperimentTemplateAction) SetTargets(v map[string]*string) *ExperimentTemplateAction
SetTargets sets the Targets field's value.
func (ExperimentTemplateAction) String ¶
func (s ExperimentTemplateAction) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExperimentTemplateCloudWatchLogsLogConfiguration ¶ added in v1.43.8
type ExperimentTemplateCloudWatchLogsLogConfiguration struct { // The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs // log group. LogGroupArn *string `locationName:"logGroupArn" min:"20" type:"string"` // contains filtered or unexported fields }
Describes the configuration for experiment logging to Amazon CloudWatch Logs.
func (ExperimentTemplateCloudWatchLogsLogConfiguration) GoString ¶ added in v1.43.8
func (s ExperimentTemplateCloudWatchLogsLogConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExperimentTemplateCloudWatchLogsLogConfiguration) SetLogGroupArn ¶ added in v1.43.8
func (s *ExperimentTemplateCloudWatchLogsLogConfiguration) SetLogGroupArn(v string) *ExperimentTemplateCloudWatchLogsLogConfiguration
SetLogGroupArn sets the LogGroupArn field's value.
func (ExperimentTemplateCloudWatchLogsLogConfiguration) String ¶ added in v1.43.8
func (s ExperimentTemplateCloudWatchLogsLogConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExperimentTemplateCloudWatchLogsLogConfigurationInput_ ¶ added in v1.43.8
type ExperimentTemplateCloudWatchLogsLogConfigurationInput_ struct { // The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs // log group. // // LogGroupArn is a required field LogGroupArn *string `locationName:"logGroupArn" min:"20" type:"string" required:"true"` // contains filtered or unexported fields }
Specifies the configuration for experiment logging to Amazon CloudWatch Logs.
func (ExperimentTemplateCloudWatchLogsLogConfigurationInput_) GoString ¶ added in v1.43.8
func (s ExperimentTemplateCloudWatchLogsLogConfigurationInput_) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExperimentTemplateCloudWatchLogsLogConfigurationInput_) SetLogGroupArn ¶ added in v1.43.8
func (s *ExperimentTemplateCloudWatchLogsLogConfigurationInput_) SetLogGroupArn(v string) *ExperimentTemplateCloudWatchLogsLogConfigurationInput_
SetLogGroupArn sets the LogGroupArn field's value.
func (ExperimentTemplateCloudWatchLogsLogConfigurationInput_) String ¶ added in v1.43.8
func (s ExperimentTemplateCloudWatchLogsLogConfigurationInput_) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExperimentTemplateCloudWatchLogsLogConfigurationInput_) Validate ¶ added in v1.43.8
func (s *ExperimentTemplateCloudWatchLogsLogConfigurationInput_) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ExperimentTemplateLogConfiguration ¶ added in v1.43.8
type ExperimentTemplateLogConfiguration struct { // The configuration for experiment logging to Amazon CloudWatch Logs. CloudWatchLogsConfiguration *ExperimentTemplateCloudWatchLogsLogConfiguration `locationName:"cloudWatchLogsConfiguration" type:"structure"` // The schema version. LogSchemaVersion *int64 `locationName:"logSchemaVersion" type:"integer"` // The configuration for experiment logging to Amazon S3. S3Configuration *ExperimentTemplateS3LogConfiguration `locationName:"s3Configuration" type:"structure"` // contains filtered or unexported fields }
Describes the configuration for experiment logging.
func (ExperimentTemplateLogConfiguration) GoString ¶ added in v1.43.8
func (s ExperimentTemplateLogConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExperimentTemplateLogConfiguration) SetCloudWatchLogsConfiguration ¶ added in v1.43.8
func (s *ExperimentTemplateLogConfiguration) SetCloudWatchLogsConfiguration(v *ExperimentTemplateCloudWatchLogsLogConfiguration) *ExperimentTemplateLogConfiguration
SetCloudWatchLogsConfiguration sets the CloudWatchLogsConfiguration field's value.
func (*ExperimentTemplateLogConfiguration) SetLogSchemaVersion ¶ added in v1.43.8
func (s *ExperimentTemplateLogConfiguration) SetLogSchemaVersion(v int64) *ExperimentTemplateLogConfiguration
SetLogSchemaVersion sets the LogSchemaVersion field's value.
func (*ExperimentTemplateLogConfiguration) SetS3Configuration ¶ added in v1.43.8
func (s *ExperimentTemplateLogConfiguration) SetS3Configuration(v *ExperimentTemplateS3LogConfiguration) *ExperimentTemplateLogConfiguration
SetS3Configuration sets the S3Configuration field's value.
func (ExperimentTemplateLogConfiguration) String ¶ added in v1.43.8
func (s ExperimentTemplateLogConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExperimentTemplateS3LogConfiguration ¶ added in v1.43.8
type ExperimentTemplateS3LogConfiguration struct { // The name of the destination bucket. BucketName *string `locationName:"bucketName" min:"3" type:"string"` // The bucket prefix. Prefix *string `locationName:"prefix" min:"1" type:"string"` // contains filtered or unexported fields }
Describes the configuration for experiment logging to Amazon S3.
func (ExperimentTemplateS3LogConfiguration) GoString ¶ added in v1.43.8
func (s ExperimentTemplateS3LogConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExperimentTemplateS3LogConfiguration) SetBucketName ¶ added in v1.43.8
func (s *ExperimentTemplateS3LogConfiguration) SetBucketName(v string) *ExperimentTemplateS3LogConfiguration
SetBucketName sets the BucketName field's value.
func (*ExperimentTemplateS3LogConfiguration) SetPrefix ¶ added in v1.43.8
func (s *ExperimentTemplateS3LogConfiguration) SetPrefix(v string) *ExperimentTemplateS3LogConfiguration
SetPrefix sets the Prefix field's value.
func (ExperimentTemplateS3LogConfiguration) String ¶ added in v1.43.8
func (s ExperimentTemplateS3LogConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExperimentTemplateS3LogConfigurationInput_ ¶ added in v1.43.8
type ExperimentTemplateS3LogConfigurationInput_ struct { // The name of the destination bucket. // // BucketName is a required field BucketName *string `locationName:"bucketName" min:"3" type:"string" required:"true"` // The bucket prefix. Prefix *string `locationName:"prefix" min:"1" type:"string"` // contains filtered or unexported fields }
Specifies the configuration for experiment logging to Amazon S3.
func (ExperimentTemplateS3LogConfigurationInput_) GoString ¶ added in v1.43.8
func (s ExperimentTemplateS3LogConfigurationInput_) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExperimentTemplateS3LogConfigurationInput_) SetBucketName ¶ added in v1.43.8
func (s *ExperimentTemplateS3LogConfigurationInput_) SetBucketName(v string) *ExperimentTemplateS3LogConfigurationInput_
SetBucketName sets the BucketName field's value.
func (*ExperimentTemplateS3LogConfigurationInput_) SetPrefix ¶ added in v1.43.8
func (s *ExperimentTemplateS3LogConfigurationInput_) SetPrefix(v string) *ExperimentTemplateS3LogConfigurationInput_
SetPrefix sets the Prefix field's value.
func (ExperimentTemplateS3LogConfigurationInput_) String ¶ added in v1.43.8
func (s ExperimentTemplateS3LogConfigurationInput_) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExperimentTemplateS3LogConfigurationInput_) Validate ¶ added in v1.43.8
func (s *ExperimentTemplateS3LogConfigurationInput_) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 ¶
func (s ExperimentTemplateStopCondition) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExperimentTemplateStopCondition) SetSource ¶
func (s *ExperimentTemplateStopCondition) SetSource(v string) *ExperimentTemplateStopCondition
SetSource sets the Source field's value.
func (*ExperimentTemplateStopCondition) SetValue ¶
func (s *ExperimentTemplateStopCondition) SetValue(v string) *ExperimentTemplateStopCondition
SetValue sets the Value field's value.
func (ExperimentTemplateStopCondition) String ¶
func (s ExperimentTemplateStopCondition) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExperimentTemplateSummary) SetCreationTime ¶
func (s *ExperimentTemplateSummary) SetCreationTime(v time.Time) *ExperimentTemplateSummary
SetCreationTime sets the CreationTime field's value.
func (*ExperimentTemplateSummary) SetDescription ¶
func (s *ExperimentTemplateSummary) SetDescription(v string) *ExperimentTemplateSummary
SetDescription sets the Description field's value.
func (*ExperimentTemplateSummary) SetId ¶
func (s *ExperimentTemplateSummary) SetId(v string) *ExperimentTemplateSummary
SetId sets the Id field's value.
func (*ExperimentTemplateSummary) SetLastUpdateTime ¶
func (s *ExperimentTemplateSummary) SetLastUpdateTime(v time.Time) *ExperimentTemplateSummary
SetLastUpdateTime sets the LastUpdateTime field's value.
func (*ExperimentTemplateSummary) SetTags ¶
func (s *ExperimentTemplateSummary) SetTags(v map[string]*string) *ExperimentTemplateSummary
SetTags sets the Tags field's value.
func (ExperimentTemplateSummary) String ¶
func (s ExperimentTemplateSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ExperimentTemplateTarget ¶
type ExperimentTemplateTarget struct { // The filters to apply to identify target resources using specific attributes. Filters []*ExperimentTemplateTargetFilter `locationName:"filters" type:"list"` // The resource type parameters. Parameters map[string]*string `locationName:"parameters" type:"map"` // 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExperimentTemplateTarget) SetFilters ¶
func (s *ExperimentTemplateTarget) SetFilters(v []*ExperimentTemplateTargetFilter) *ExperimentTemplateTarget
SetFilters sets the Filters field's value.
func (*ExperimentTemplateTarget) SetParameters ¶ added in v1.42.45
func (s *ExperimentTemplateTarget) SetParameters(v map[string]*string) *ExperimentTemplateTarget
SetParameters sets the Parameters 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 ¶
func (s *ExperimentTemplateTarget) SetResourceType(v string) *ExperimentTemplateTarget
SetResourceType sets the ResourceType field's value.
func (*ExperimentTemplateTarget) SetSelectionMode ¶
func (s *ExperimentTemplateTarget) SetSelectionMode(v string) *ExperimentTemplateTarget
SetSelectionMode sets the SelectionMode field's value.
func (ExperimentTemplateTarget) String ¶
func (s ExperimentTemplateTarget) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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 ¶
func (s ExperimentTemplateTargetFilter) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExperimentTemplateTargetFilter) SetPath ¶
func (s *ExperimentTemplateTargetFilter) SetPath(v string) *ExperimentTemplateTargetFilter
SetPath sets the Path field's value.
func (*ExperimentTemplateTargetFilter) SetValues ¶
func (s *ExperimentTemplateTargetFilter) SetValues(v []*string) *ExperimentTemplateTargetFilter
SetValues sets the Values field's value.
func (ExperimentTemplateTargetFilter) String ¶
func (s ExperimentTemplateTargetFilter) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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 }
Specifies a filter used for the target resource input in an experiment template.
For more information, see Resource filters (https://docs.aws.amazon.com/fis/latest/userguide/targets.html#target-filters) in the Fault Injection Simulator User Guide.
func (ExperimentTemplateTargetInputFilter) GoString ¶
func (s ExperimentTemplateTargetInputFilter) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExperimentTemplateTargetInputFilter) SetPath ¶
func (s *ExperimentTemplateTargetInputFilter) SetPath(v string) *ExperimentTemplateTargetInputFilter
SetPath sets the Path field's value.
func (*ExperimentTemplateTargetInputFilter) SetValues ¶
func (s *ExperimentTemplateTargetInputFilter) SetValues(v []*string) *ExperimentTemplateTargetInputFilter
SetValues sets the Values field's value.
func (ExperimentTemplateTargetInputFilter) String ¶
func (s ExperimentTemplateTargetInputFilter) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ExperimentTemplateTargetInputFilter) Validate ¶
func (s *ExperimentTemplateTargetInputFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type FIS ¶
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.
An experiment template includes the following components:
Targets: A target can be a specific resource in your Amazon Web Services 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 Experiment templates (https://docs.aws.amazon.com/fis/latest/userguide/experiment-templates.html) in the Fault Injection Simulator User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS 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 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) GetTargetResourceType ¶ added in v1.42.45
func (c *FIS) GetTargetResourceType(input *GetTargetResourceTypeInput) (*GetTargetResourceTypeOutput, error)
GetTargetResourceType API operation for AWS Fault Injection Simulator.
Gets information about the specified resource type.
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 GetTargetResourceType 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/GetTargetResourceType
func (*FIS) GetTargetResourceTypeRequest ¶ added in v1.42.45
func (c *FIS) GetTargetResourceTypeRequest(input *GetTargetResourceTypeInput) (req *request.Request, output *GetTargetResourceTypeOutput)
GetTargetResourceTypeRequest generates a "aws/request.Request" representing the client's request for the GetTargetResourceType 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 GetTargetResourceType for more information on using the GetTargetResourceType 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 GetTargetResourceTypeRequest method. req, resp := client.GetTargetResourceTypeRequest(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/GetTargetResourceType
func (*FIS) GetTargetResourceTypeWithContext ¶ added in v1.42.45
func (c *FIS) GetTargetResourceTypeWithContext(ctx aws.Context, input *GetTargetResourceTypeInput, opts ...request.Option) (*GetTargetResourceTypeOutput, error)
GetTargetResourceTypeWithContext is the same as GetTargetResourceType with the addition of the ability to pass a context and additional request options.
See GetTargetResourceType 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 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) ListTargetResourceTypes ¶ added in v1.42.45
func (c *FIS) ListTargetResourceTypes(input *ListTargetResourceTypesInput) (*ListTargetResourceTypesOutput, error)
ListTargetResourceTypes API operation for AWS Fault Injection Simulator.
Lists the target resource types.
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 ListTargetResourceTypes 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/ListTargetResourceTypes
func (*FIS) ListTargetResourceTypesPages ¶ added in v1.42.45
func (c *FIS) ListTargetResourceTypesPages(input *ListTargetResourceTypesInput, fn func(*ListTargetResourceTypesOutput, bool) bool) error
ListTargetResourceTypesPages iterates over the pages of a ListTargetResourceTypes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListTargetResourceTypes 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 ListTargetResourceTypes operation. pageNum := 0 err := client.ListTargetResourceTypesPages(params, func(page *fis.ListTargetResourceTypesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*FIS) ListTargetResourceTypesPagesWithContext ¶ added in v1.42.45
func (c *FIS) ListTargetResourceTypesPagesWithContext(ctx aws.Context, input *ListTargetResourceTypesInput, fn func(*ListTargetResourceTypesOutput, bool) bool, opts ...request.Option) error
ListTargetResourceTypesPagesWithContext same as ListTargetResourceTypesPages 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) ListTargetResourceTypesRequest ¶ added in v1.42.45
func (c *FIS) ListTargetResourceTypesRequest(input *ListTargetResourceTypesInput) (req *request.Request, output *ListTargetResourceTypesOutput)
ListTargetResourceTypesRequest generates a "aws/request.Request" representing the client's request for the ListTargetResourceTypes 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 ListTargetResourceTypes for more information on using the ListTargetResourceTypes 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 ListTargetResourceTypesRequest method. req, resp := client.ListTargetResourceTypesRequest(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/ListTargetResourceTypes
func (*FIS) ListTargetResourceTypesWithContext ¶ added in v1.42.45
func (c *FIS) ListTargetResourceTypesWithContext(ctx aws.Context, input *ListTargetResourceTypesInput, opts ...request.Option) (*ListTargetResourceTypesOutput, error)
ListTargetResourceTypesWithContext is the same as ListTargetResourceTypes with the addition of the ability to pass a context and additional request options.
See ListTargetResourceTypes 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetExperimentInput) SetId ¶
func (s *GetExperimentInput) SetId(v string) *GetExperimentInput
SetId sets the Id field's value.
func (GetExperimentInput) String ¶
func (s GetExperimentInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetExperimentTemplateInput) SetId ¶
func (s *GetExperimentTemplateInput) SetId(v string) *GetExperimentTemplateInput
SetId sets the Id field's value.
func (GetExperimentTemplateInput) String ¶
func (s GetExperimentTemplateInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetExperimentTemplateOutput) SetExperimentTemplate ¶
func (s *GetExperimentTemplateOutput) SetExperimentTemplate(v *ExperimentTemplate) *GetExperimentTemplateOutput
SetExperimentTemplate sets the ExperimentTemplate field's value.
func (GetExperimentTemplateOutput) String ¶
func (s GetExperimentTemplateOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetTargetResourceTypeInput ¶ added in v1.42.45
type GetTargetResourceTypeInput struct { // The resource type. // // ResourceType is a required field ResourceType *string `location:"uri" locationName:"resourceType" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetTargetResourceTypeInput) GoString ¶ added in v1.42.45
func (s GetTargetResourceTypeInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetTargetResourceTypeInput) SetResourceType ¶ added in v1.42.45
func (s *GetTargetResourceTypeInput) SetResourceType(v string) *GetTargetResourceTypeInput
SetResourceType sets the ResourceType field's value.
func (GetTargetResourceTypeInput) String ¶ added in v1.42.45
func (s GetTargetResourceTypeInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetTargetResourceTypeInput) Validate ¶ added in v1.42.45
func (s *GetTargetResourceTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetTargetResourceTypeOutput ¶ added in v1.42.45
type GetTargetResourceTypeOutput struct { // Information about the resource type. TargetResourceType *TargetResourceType `locationName:"targetResourceType" type:"structure"` // contains filtered or unexported fields }
func (GetTargetResourceTypeOutput) GoString ¶ added in v1.42.45
func (s GetTargetResourceTypeOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetTargetResourceTypeOutput) SetTargetResourceType ¶ added in v1.42.45
func (s *GetTargetResourceTypeOutput) SetTargetResourceType(v *TargetResourceType) *GetTargetResourceTypeOutput
SetTargetResourceType sets the TargetResourceType field's value.
func (GetTargetResourceTypeOutput) String ¶ added in v1.42.45
func (s GetTargetResourceTypeOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListExperimentTemplatesInput) SetMaxResults ¶
func (s *ListExperimentTemplatesInput) SetMaxResults(v int64) *ListExperimentTemplatesInput
SetMaxResults sets the MaxResults field's value.
func (*ListExperimentTemplatesInput) SetNextToken ¶
func (s *ListExperimentTemplatesInput) SetNextToken(v string) *ListExperimentTemplatesInput
SetNextToken sets the NextToken field's value.
func (ListExperimentTemplatesInput) String ¶
func (s ListExperimentTemplatesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*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 ¶
func (s ListExperimentTemplatesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListExperimentTemplatesOutput) SetExperimentTemplates ¶
func (s *ListExperimentTemplatesOutput) SetExperimentTemplates(v []*ExperimentTemplateSummary) *ListExperimentTemplatesOutput
SetExperimentTemplates sets the ExperimentTemplates field's value.
func (*ListExperimentTemplatesOutput) SetNextToken ¶
func (s *ListExperimentTemplatesOutput) SetNextToken(v string) *ListExperimentTemplatesOutput
SetNextToken sets the NextToken field's value.
func (ListExperimentTemplatesOutput) String ¶
func (s ListExperimentTemplatesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListExperimentsOutput) SetExperiments ¶
func (s *ListExperimentsOutput) SetExperiments(v []*ExperimentSummary) *ListExperimentsOutput
SetExperiments sets the Experiments field's value.
func (*ListExperimentsOutput) SetNextToken ¶
func (s *ListExperimentsOutput) SetNextToken(v string) *ListExperimentsOutput
SetNextToken sets the NextToken field's value.
func (ListExperimentsOutput) String ¶
func (s ListExperimentsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsForResourceInput) SetResourceArn ¶
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
func (ListTagsForResourceInput) String ¶
func (s ListTagsForResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsForResourceInput) Validate ¶
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // The tags 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsForResourceOutput) SetTags ¶
func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (ListTagsForResourceOutput) String ¶
func (s ListTagsForResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListTargetResourceTypesInput ¶ added in v1.42.45
type ListTargetResourceTypesInput 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 (ListTargetResourceTypesInput) GoString ¶ added in v1.42.45
func (s ListTargetResourceTypesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTargetResourceTypesInput) SetMaxResults ¶ added in v1.42.45
func (s *ListTargetResourceTypesInput) SetMaxResults(v int64) *ListTargetResourceTypesInput
SetMaxResults sets the MaxResults field's value.
func (*ListTargetResourceTypesInput) SetNextToken ¶ added in v1.42.45
func (s *ListTargetResourceTypesInput) SetNextToken(v string) *ListTargetResourceTypesInput
SetNextToken sets the NextToken field's value.
func (ListTargetResourceTypesInput) String ¶ added in v1.42.45
func (s ListTargetResourceTypesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTargetResourceTypesInput) Validate ¶ added in v1.42.45
func (s *ListTargetResourceTypesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTargetResourceTypesOutput ¶ added in v1.42.45
type ListTargetResourceTypesOutput struct { // 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"` // The target resource types. TargetResourceTypes []*TargetResourceTypeSummary `locationName:"targetResourceTypes" type:"list"` // contains filtered or unexported fields }
func (ListTargetResourceTypesOutput) GoString ¶ added in v1.42.45
func (s ListTargetResourceTypesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTargetResourceTypesOutput) SetNextToken ¶ added in v1.42.45
func (s *ListTargetResourceTypesOutput) SetNextToken(v string) *ListTargetResourceTypesOutput
SetNextToken sets the NextToken field's value.
func (*ListTargetResourceTypesOutput) SetTargetResourceTypes ¶ added in v1.42.45
func (s *ListTargetResourceTypesOutput) SetTargetResourceTypes(v []*TargetResourceTypeSummary) *ListTargetResourceTypesOutput
SetTargetResourceTypes sets the TargetResourceTypes field's value.
func (ListTargetResourceTypesOutput) String ¶ added in v1.42.45
func (s ListTargetResourceTypesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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 ¶
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (*ResourceNotFoundException) Error ¶
func (s *ResourceNotFoundException) Error() string
func (ResourceNotFoundException) GoString ¶
func (s ResourceNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceNotFoundException) Message ¶
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (*ResourceNotFoundException) OrigErr ¶
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceNotFoundException) RequestID ¶
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceNotFoundException) StatusCode ¶
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceNotFoundException) String ¶
func (s ResourceNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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 ¶
func (s *ServiceQuotaExceededException) Code() string
Code returns the exception type name.
func (*ServiceQuotaExceededException) Error ¶
func (s *ServiceQuotaExceededException) Error() string
func (ServiceQuotaExceededException) GoString ¶
func (s ServiceQuotaExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ServiceQuotaExceededException) Message ¶
func (s *ServiceQuotaExceededException) Message() string
Message returns the exception's message.
func (*ServiceQuotaExceededException) OrigErr ¶
func (s *ServiceQuotaExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ServiceQuotaExceededException) RequestID ¶
func (s *ServiceQuotaExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ServiceQuotaExceededException) StatusCode ¶
func (s *ServiceQuotaExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ServiceQuotaExceededException) String ¶
func (s ServiceQuotaExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*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 ¶
func (s *StartExperimentInput) SetTags(v map[string]*string) *StartExperimentInput
SetTags sets the Tags field's value.
func (StartExperimentInput) String ¶
func (s StartExperimentInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StartExperimentOutput) SetExperiment ¶
func (s *StartExperimentOutput) SetExperiment(v *Experiment) *StartExperimentOutput
SetExperiment sets the Experiment field's value.
func (StartExperimentOutput) String ¶
func (s StartExperimentOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StopExperimentInput) SetId ¶
func (s *StopExperimentInput) SetId(v string) *StopExperimentInput
SetId sets the Id field's value.
func (StopExperimentInput) String ¶
func (s StopExperimentInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*StopExperimentOutput) SetExperiment ¶
func (s *StopExperimentOutput) SetExperiment(v *Experiment) *StopExperimentOutput
SetExperiment sets the Experiment field's value.
func (StopExperimentOutput) String ¶
func (s StopExperimentOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TagResourceInput ¶
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagResourceInput) SetResourceArn ¶
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*TagResourceInput) SetTags ¶
func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput
SetTags sets the Tags field's value.
func (TagResourceInput) String ¶
func (s TagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagResourceInput) Validate ¶
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) GoString ¶
func (s TagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (TagResourceOutput) String ¶
func (s TagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TargetResourceType ¶ added in v1.42.45
type TargetResourceType struct { // A description of the resource type. Description *string `locationName:"description" type:"string"` // The parameters for the resource type. Parameters map[string]*TargetResourceTypeParameter `locationName:"parameters" type:"map"` // The resource type. ResourceType *string `locationName:"resourceType" type:"string"` // contains filtered or unexported fields }
Describes a resource type.
func (TargetResourceType) GoString ¶ added in v1.42.45
func (s TargetResourceType) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TargetResourceType) SetDescription ¶ added in v1.42.45
func (s *TargetResourceType) SetDescription(v string) *TargetResourceType
SetDescription sets the Description field's value.
func (*TargetResourceType) SetParameters ¶ added in v1.42.45
func (s *TargetResourceType) SetParameters(v map[string]*TargetResourceTypeParameter) *TargetResourceType
SetParameters sets the Parameters field's value.
func (*TargetResourceType) SetResourceType ¶ added in v1.42.45
func (s *TargetResourceType) SetResourceType(v string) *TargetResourceType
SetResourceType sets the ResourceType field's value.
func (TargetResourceType) String ¶ added in v1.42.45
func (s TargetResourceType) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TargetResourceTypeParameter ¶ added in v1.42.45
type TargetResourceTypeParameter struct { // A description of the parameter. Description *string `locationName:"description" type:"string"` // Indicates whether the parameter is required. Required *bool `locationName:"required" type:"boolean"` // contains filtered or unexported fields }
Describes the parameters for a resource type. Use parameters to determine which tasks are identified during target resolution.
func (TargetResourceTypeParameter) GoString ¶ added in v1.42.45
func (s TargetResourceTypeParameter) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TargetResourceTypeParameter) SetDescription ¶ added in v1.42.45
func (s *TargetResourceTypeParameter) SetDescription(v string) *TargetResourceTypeParameter
SetDescription sets the Description field's value.
func (*TargetResourceTypeParameter) SetRequired ¶ added in v1.42.45
func (s *TargetResourceTypeParameter) SetRequired(v bool) *TargetResourceTypeParameter
SetRequired sets the Required field's value.
func (TargetResourceTypeParameter) String ¶ added in v1.42.45
func (s TargetResourceTypeParameter) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TargetResourceTypeSummary ¶ added in v1.42.45
type TargetResourceTypeSummary struct { // A description of the resource type. Description *string `locationName:"description" type:"string"` // The resource type. ResourceType *string `locationName:"resourceType" type:"string"` // contains filtered or unexported fields }
Describes a resource type.
func (TargetResourceTypeSummary) GoString ¶ added in v1.42.45
func (s TargetResourceTypeSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TargetResourceTypeSummary) SetDescription ¶ added in v1.42.45
func (s *TargetResourceTypeSummary) SetDescription(v string) *TargetResourceTypeSummary
SetDescription sets the Description field's value.
func (*TargetResourceTypeSummary) SetResourceType ¶ added in v1.42.45
func (s *TargetResourceTypeSummary) SetResourceType(v string) *TargetResourceTypeSummary
SetResourceType sets the ResourceType field's value.
func (TargetResourceTypeSummary) String ¶ added in v1.42.45
func (s TargetResourceTypeSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UntagResourceInput ¶
type UntagResourceInput struct { // 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UntagResourceInput) SetResourceArn ¶
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*UntagResourceInput) SetTagKeys ¶
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (UntagResourceInput) String ¶
func (s UntagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UntagResourceInput) Validate ¶
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) GoString ¶
func (s UntagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (UntagResourceOutput) String ¶
func (s UntagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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 ¶
func (s UpdateExperimentTemplateActionInputItem) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateExperimentTemplateActionInputItem) SetActionId ¶
func (s *UpdateExperimentTemplateActionInputItem) SetActionId(v string) *UpdateExperimentTemplateActionInputItem
SetActionId sets the ActionId field's value.
func (*UpdateExperimentTemplateActionInputItem) SetDescription ¶
func (s *UpdateExperimentTemplateActionInputItem) SetDescription(v string) *UpdateExperimentTemplateActionInputItem
SetDescription sets the Description field's value.
func (*UpdateExperimentTemplateActionInputItem) SetParameters ¶
func (s *UpdateExperimentTemplateActionInputItem) SetParameters(v map[string]*string) *UpdateExperimentTemplateActionInputItem
SetParameters sets the Parameters field's value.
func (*UpdateExperimentTemplateActionInputItem) SetStartAfter ¶
func (s *UpdateExperimentTemplateActionInputItem) SetStartAfter(v []*string) *UpdateExperimentTemplateActionInputItem
SetStartAfter sets the StartAfter field's value.
func (*UpdateExperimentTemplateActionInputItem) SetTargets ¶
func (s *UpdateExperimentTemplateActionInputItem) SetTargets(v map[string]*string) *UpdateExperimentTemplateActionInputItem
SetTargets sets the Targets field's value.
func (UpdateExperimentTemplateActionInputItem) String ¶
func (s UpdateExperimentTemplateActionInputItem) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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 configuration for experiment logging. LogConfiguration *UpdateExperimentTemplateLogConfigurationInput_ `locationName:"logConfiguration" type:"structure"` // The Amazon Resource Name (ARN) of an IAM role that grants the 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 ¶
func (s UpdateExperimentTemplateInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateExperimentTemplateInput) SetActions ¶
func (s *UpdateExperimentTemplateInput) SetActions(v map[string]*UpdateExperimentTemplateActionInputItem) *UpdateExperimentTemplateInput
SetActions sets the Actions field's value.
func (*UpdateExperimentTemplateInput) SetDescription ¶
func (s *UpdateExperimentTemplateInput) SetDescription(v string) *UpdateExperimentTemplateInput
SetDescription sets the Description field's value.
func (*UpdateExperimentTemplateInput) SetId ¶
func (s *UpdateExperimentTemplateInput) SetId(v string) *UpdateExperimentTemplateInput
SetId sets the Id field's value.
func (*UpdateExperimentTemplateInput) SetLogConfiguration ¶ added in v1.43.8
func (s *UpdateExperimentTemplateInput) SetLogConfiguration(v *UpdateExperimentTemplateLogConfigurationInput_) *UpdateExperimentTemplateInput
SetLogConfiguration sets the LogConfiguration field's value.
func (*UpdateExperimentTemplateInput) SetRoleArn ¶
func (s *UpdateExperimentTemplateInput) SetRoleArn(v string) *UpdateExperimentTemplateInput
SetRoleArn sets the RoleArn field's value.
func (*UpdateExperimentTemplateInput) SetStopConditions ¶
func (s *UpdateExperimentTemplateInput) SetStopConditions(v []*UpdateExperimentTemplateStopConditionInput) *UpdateExperimentTemplateInput
SetStopConditions sets the StopConditions field's value.
func (*UpdateExperimentTemplateInput) SetTargets ¶
func (s *UpdateExperimentTemplateInput) SetTargets(v map[string]*UpdateExperimentTemplateTargetInput) *UpdateExperimentTemplateInput
SetTargets sets the Targets field's value.
func (UpdateExperimentTemplateInput) String ¶
func (s UpdateExperimentTemplateInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateExperimentTemplateInput) Validate ¶
func (s *UpdateExperimentTemplateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateExperimentTemplateLogConfigurationInput_ ¶ added in v1.43.8
type UpdateExperimentTemplateLogConfigurationInput_ struct { // The configuration for experiment logging to Amazon CloudWatch Logs. CloudWatchLogsConfiguration *ExperimentTemplateCloudWatchLogsLogConfigurationInput_ `locationName:"cloudWatchLogsConfiguration" type:"structure"` // The schema version. LogSchemaVersion *int64 `locationName:"logSchemaVersion" type:"integer"` // The configuration for experiment logging to Amazon S3. S3Configuration *ExperimentTemplateS3LogConfigurationInput_ `locationName:"s3Configuration" type:"structure"` // contains filtered or unexported fields }
Specifies the configuration for experiment logging.
func (UpdateExperimentTemplateLogConfigurationInput_) GoString ¶ added in v1.43.8
func (s UpdateExperimentTemplateLogConfigurationInput_) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateExperimentTemplateLogConfigurationInput_) SetCloudWatchLogsConfiguration ¶ added in v1.43.8
func (s *UpdateExperimentTemplateLogConfigurationInput_) SetCloudWatchLogsConfiguration(v *ExperimentTemplateCloudWatchLogsLogConfigurationInput_) *UpdateExperimentTemplateLogConfigurationInput_
SetCloudWatchLogsConfiguration sets the CloudWatchLogsConfiguration field's value.
func (*UpdateExperimentTemplateLogConfigurationInput_) SetLogSchemaVersion ¶ added in v1.43.8
func (s *UpdateExperimentTemplateLogConfigurationInput_) SetLogSchemaVersion(v int64) *UpdateExperimentTemplateLogConfigurationInput_
SetLogSchemaVersion sets the LogSchemaVersion field's value.
func (*UpdateExperimentTemplateLogConfigurationInput_) SetS3Configuration ¶ added in v1.43.8
func (s *UpdateExperimentTemplateLogConfigurationInput_) SetS3Configuration(v *ExperimentTemplateS3LogConfigurationInput_) *UpdateExperimentTemplateLogConfigurationInput_
SetS3Configuration sets the S3Configuration field's value.
func (UpdateExperimentTemplateLogConfigurationInput_) String ¶ added in v1.43.8
func (s UpdateExperimentTemplateLogConfigurationInput_) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateExperimentTemplateLogConfigurationInput_) Validate ¶ added in v1.43.8
func (s *UpdateExperimentTemplateLogConfigurationInput_) 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 ¶
func (s UpdateExperimentTemplateOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateExperimentTemplateOutput) SetExperimentTemplate ¶
func (s *UpdateExperimentTemplateOutput) SetExperimentTemplate(v *ExperimentTemplate) *UpdateExperimentTemplateOutput
SetExperimentTemplate sets the ExperimentTemplate field's value.
func (UpdateExperimentTemplateOutput) String ¶
func (s UpdateExperimentTemplateOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type 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 ¶
func (s UpdateExperimentTemplateStopConditionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateExperimentTemplateStopConditionInput) SetSource ¶
func (s *UpdateExperimentTemplateStopConditionInput) SetSource(v string) *UpdateExperimentTemplateStopConditionInput
SetSource sets the Source field's value.
func (*UpdateExperimentTemplateStopConditionInput) SetValue ¶
func (s *UpdateExperimentTemplateStopConditionInput) SetValue(v string) *UpdateExperimentTemplateStopConditionInput
SetValue sets the Value field's value.
func (UpdateExperimentTemplateStopConditionInput) String ¶
func (s UpdateExperimentTemplateStopConditionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateExperimentTemplateStopConditionInput) Validate ¶
func (s *UpdateExperimentTemplateStopConditionInput) Validate() error
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 resource type parameters. Parameters map[string]*string `locationName:"parameters" type:"map"` // 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. 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 ¶
func (s UpdateExperimentTemplateTargetInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateExperimentTemplateTargetInput) SetFilters ¶
func (s *UpdateExperimentTemplateTargetInput) SetFilters(v []*ExperimentTemplateTargetInputFilter) *UpdateExperimentTemplateTargetInput
SetFilters sets the Filters field's value.
func (*UpdateExperimentTemplateTargetInput) SetParameters ¶ added in v1.42.45
func (s *UpdateExperimentTemplateTargetInput) SetParameters(v map[string]*string) *UpdateExperimentTemplateTargetInput
SetParameters sets the Parameters field's value.
func (*UpdateExperimentTemplateTargetInput) SetResourceArns ¶
func (s *UpdateExperimentTemplateTargetInput) SetResourceArns(v []*string) *UpdateExperimentTemplateTargetInput
SetResourceArns sets the ResourceArns field's value.
func (*UpdateExperimentTemplateTargetInput) SetResourceTags ¶
func (s *UpdateExperimentTemplateTargetInput) SetResourceTags(v map[string]*string) *UpdateExperimentTemplateTargetInput
SetResourceTags sets the ResourceTags field's value.
func (*UpdateExperimentTemplateTargetInput) SetResourceType ¶
func (s *UpdateExperimentTemplateTargetInput) SetResourceType(v string) *UpdateExperimentTemplateTargetInput
SetResourceType sets the ResourceType field's value.
func (*UpdateExperimentTemplateTargetInput) SetSelectionMode ¶
func (s *UpdateExperimentTemplateTargetInput) SetSelectionMode(v string) *UpdateExperimentTemplateTargetInput
SetSelectionMode sets the SelectionMode field's value.
func (UpdateExperimentTemplateTargetInput) String ¶
func (s UpdateExperimentTemplateTargetInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateExperimentTemplateTargetInput) Validate ¶
func (s *UpdateExperimentTemplateTargetInput) Validate() error
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ValidationException) Message ¶
func (s *ValidationException) Message() string
Message returns the exception's message.
func (*ValidationException) OrigErr ¶
func (s *ValidationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ValidationException) RequestID ¶
func (s *ValidationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ValidationException) StatusCode ¶
func (s *ValidationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ValidationException) String ¶
func (s ValidationException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".