Documentation ¶
Index ¶
- type AccountTargeting
- type Action
- type ActionParameter
- type ActionSummary
- type ActionTarget
- type ActionsMode
- type ConflictException
- type CreateExperimentTemplateActionInput
- type CreateExperimentTemplateExperimentOptionsInput
- type CreateExperimentTemplateLogConfigurationInput
- type CreateExperimentTemplateReportConfigurationInput
- type CreateExperimentTemplateStopConditionInput
- type CreateExperimentTemplateTargetInput
- type EmptyTargetResolutionMode
- type Experiment
- type ExperimentAction
- type ExperimentActionState
- type ExperimentActionStatus
- type ExperimentCloudWatchLogsLogConfiguration
- type ExperimentError
- type ExperimentLogConfiguration
- type ExperimentOptions
- type ExperimentReport
- type ExperimentReportConfiguration
- type ExperimentReportConfigurationCloudWatchDashboard
- type ExperimentReportConfigurationDataSources
- type ExperimentReportConfigurationOutputs
- type ExperimentReportConfigurationOutputsS3Configuration
- type ExperimentReportError
- type ExperimentReportS3Report
- type ExperimentReportState
- type ExperimentReportStatus
- type ExperimentS3LogConfiguration
- type ExperimentState
- type ExperimentStatus
- type ExperimentStopCondition
- type ExperimentSummary
- type ExperimentTarget
- type ExperimentTargetAccountConfiguration
- type ExperimentTargetAccountConfigurationSummary
- type ExperimentTargetFilter
- type ExperimentTemplate
- type ExperimentTemplateAction
- type ExperimentTemplateCloudWatchLogsLogConfiguration
- type ExperimentTemplateCloudWatchLogsLogConfigurationInput
- type ExperimentTemplateExperimentOptions
- type ExperimentTemplateLogConfiguration
- type ExperimentTemplateReportConfiguration
- type ExperimentTemplateReportConfigurationCloudWatchDashboard
- type ExperimentTemplateReportConfigurationDataSources
- type ExperimentTemplateReportConfigurationDataSourcesInput
- type ExperimentTemplateReportConfigurationOutputs
- type ExperimentTemplateReportConfigurationOutputsInput
- type ExperimentTemplateS3LogConfiguration
- type ExperimentTemplateS3LogConfigurationInput
- type ExperimentTemplateStopCondition
- type ExperimentTemplateSummary
- type ExperimentTemplateTarget
- type ExperimentTemplateTargetFilter
- type ExperimentTemplateTargetInputFilter
- type ReportConfigurationCloudWatchDashboardInput
- type ReportConfigurationS3Output
- type ReportConfigurationS3OutputInput
- type ResolvedTarget
- type ResourceNotFoundException
- type SafetyLever
- type SafetyLeverState
- type SafetyLeverStatus
- type SafetyLeverStatusInput
- type ServiceQuotaExceededException
- type StartExperimentExperimentOptionsInput
- type TargetAccountConfiguration
- type TargetAccountConfigurationSummary
- type TargetResourceType
- type TargetResourceTypeParameter
- type TargetResourceTypeSummary
- type UpdateExperimentTemplateActionInputItem
- type UpdateExperimentTemplateExperimentOptionsInput
- type UpdateExperimentTemplateLogConfigurationInput
- type UpdateExperimentTemplateReportConfigurationInput
- type UpdateExperimentTemplateStopConditionInput
- type UpdateExperimentTemplateTargetInput
- type UpdateSafetyLeverStateInput
- type ValidationException
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountTargeting ¶ added in v1.20.0
type AccountTargeting string
const ( AccountTargetingSingleAccount AccountTargeting = "single-account" AccountTargetingMultiAccount AccountTargeting = "multi-account" )
Enum values for AccountTargeting
func (AccountTargeting) Values ¶ added in v1.20.0
func (AccountTargeting) Values() []AccountTargeting
Values returns all known values for AccountTargeting. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type Action ¶
type Action struct { // The Amazon Resource Name (ARN) of the action. Arn *string // The description for the action. Description *string // The ID of the action. Id *string // The action parameters, if applicable. Parameters map[string]ActionParameter // The tags for the action. Tags map[string]string // The supported targets for the action. Targets map[string]ActionTarget // contains filtered or unexported fields }
Describes an action. For more information, see FIS actions in the Fault Injection Service User Guide.
type ActionParameter ¶
type ActionParameter struct { // The parameter description. Description *string // Indicates whether the parameter is required. Required *bool // contains filtered or unexported fields }
Describes a parameter for an action.
type ActionSummary ¶
type ActionSummary struct { // The Amazon Resource Name (ARN) of the action. Arn *string // The description for the action. Description *string // The ID of the action. Id *string // The tags for the action. Tags map[string]string // The targets for the action. Targets map[string]ActionTarget // contains filtered or unexported fields }
Provides a summary of an action.
type ActionTarget ¶
type ActionTarget struct { // The resource type of the target. ResourceType *string // contains filtered or unexported fields }
Describes a target for an action.
type ActionsMode ¶ added in v1.24.0
type ActionsMode string
const ( ActionsModeSkipAll ActionsMode = "skip-all" ActionsModeRunAll ActionsMode = "run-all" )
Enum values for ActionsMode
func (ActionsMode) Values ¶ added in v1.24.0
func (ActionsMode) Values() []ActionsMode
Values returns all known values for ActionsMode. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ConflictException ¶
type ConflictException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The request could not be processed because of a conflict.
func (*ConflictException) Error ¶
func (e *ConflictException) Error() string
func (*ConflictException) ErrorCode ¶
func (e *ConflictException) ErrorCode() string
func (*ConflictException) ErrorFault ¶
func (e *ConflictException) ErrorFault() smithy.ErrorFault
func (*ConflictException) ErrorMessage ¶
func (e *ConflictException) ErrorMessage() string
type CreateExperimentTemplateActionInput ¶
type CreateExperimentTemplateActionInput struct { // The ID of the action. The format of the action ID is: // aws:service-name:action-type. // // This member is required. ActionId *string // A description for the action. Description *string // The parameters for the action, if applicable. Parameters map[string]string // 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 // The targets for the action. Targets map[string]string // contains filtered or unexported fields }
Specifies an action for an experiment template.
For more information, see Actions in the Fault Injection Service User Guide.
type CreateExperimentTemplateExperimentOptionsInput ¶ added in v1.20.0
type CreateExperimentTemplateExperimentOptionsInput struct { // Specifies the account targeting setting for experiment options. AccountTargeting AccountTargeting // Specifies the empty target resolution mode for experiment options. EmptyTargetResolutionMode EmptyTargetResolutionMode // contains filtered or unexported fields }
Specifies experiment options for an experiment template.
type CreateExperimentTemplateLogConfigurationInput ¶ added in v1.12.0
type CreateExperimentTemplateLogConfigurationInput struct { // The schema version. // // This member is required. LogSchemaVersion *int32 // The configuration for experiment logging to Amazon CloudWatch Logs. CloudWatchLogsConfiguration *ExperimentTemplateCloudWatchLogsLogConfigurationInput // The configuration for experiment logging to Amazon S3. S3Configuration *ExperimentTemplateS3LogConfigurationInput // contains filtered or unexported fields }
Specifies the configuration for experiment logging.
type CreateExperimentTemplateReportConfigurationInput ¶ added in v1.31.0
type CreateExperimentTemplateReportConfigurationInput struct { // The data sources for the experiment report. DataSources *ExperimentTemplateReportConfigurationDataSourcesInput // The output destinations of the experiment report. Outputs *ExperimentTemplateReportConfigurationOutputsInput // The duration after the experiment end time for the data sources to include in // the report. PostExperimentDuration *string // The duration before the experiment start time for the data sources to include // in the report. PreExperimentDuration *string // contains filtered or unexported fields }
Specifies the configuration for experiment reports.
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. // // This member is required. Source *string // The Amazon Resource Name (ARN) of the CloudWatch alarm. This is required if the // source is a CloudWatch alarm. Value *string // contains filtered or unexported fields }
Specifies a stop condition for an experiment template.
type CreateExperimentTemplateTargetInput ¶
type CreateExperimentTemplateTargetInput struct { // The resource type. The resource type must be supported for the specified action. // // This member is required. ResourceType *string // 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. // // This member is required. SelectionMode *string // The filters to apply to identify target resources using specific attributes. Filters []ExperimentTemplateTargetInputFilter // The resource type parameters. Parameters map[string]string // The Amazon Resource Names (ARNs) of the resources. ResourceArns []string // The tags for the target resources. ResourceTags map[string]string // 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 in the Fault Injection Service User Guide.
type EmptyTargetResolutionMode ¶ added in v1.20.0
type EmptyTargetResolutionMode string
const ( EmptyTargetResolutionModeFail EmptyTargetResolutionMode = "fail" EmptyTargetResolutionModeSkip EmptyTargetResolutionMode = "skip" )
Enum values for EmptyTargetResolutionMode
func (EmptyTargetResolutionMode) Values ¶ added in v1.20.0
func (EmptyTargetResolutionMode) Values() []EmptyTargetResolutionMode
Values returns all known values for EmptyTargetResolutionMode. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type Experiment ¶
type Experiment struct { // The actions for the experiment. Actions map[string]ExperimentAction // The Amazon Resource Name (ARN) of the experiment. Arn *string // The time that the experiment was created. CreationTime *time.Time // The time that the experiment ended. EndTime *time.Time // The experiment options for the experiment. ExperimentOptions *ExperimentOptions // The experiment report for the experiment. ExperimentReport *ExperimentReport // The experiment report configuration for the experiment. ExperimentReportConfiguration *ExperimentReportConfiguration // The ID of the experiment template. ExperimentTemplateId *string // The ID of the experiment. Id *string // The configuration for experiment logging. LogConfiguration *ExperimentLogConfiguration // The Amazon Resource Name (ARN) of an IAM role that grants the FIS service // permission to perform service actions on your behalf. RoleArn *string // The time that the experiment started. StartTime *time.Time // The state of the experiment. State *ExperimentState // The stop conditions for the experiment. StopConditions []ExperimentStopCondition // The tags for the experiment. Tags map[string]string // The count of target account configurations for the experiment. TargetAccountConfigurationsCount *int64 // The targets for the experiment. Targets map[string]ExperimentTarget // contains filtered or unexported fields }
Describes an experiment.
type ExperimentAction ¶
type ExperimentAction struct { // The ID of the action. ActionId *string // The description for the action. Description *string // The time that the action ended. EndTime *time.Time // The parameters for the action. Parameters map[string]string // The name of the action that must be completed before this action starts. StartAfter []string // The time that the action started. StartTime *time.Time // The state of the action. State *ExperimentActionState // The targets for the action. Targets map[string]string // contains filtered or unexported fields }
Describes the action for an experiment.
type ExperimentActionState ¶
type ExperimentActionState struct { // The reason for the state. Reason *string // The state of the action. Status ExperimentActionStatus // contains filtered or unexported fields }
Describes the state of an action.
type ExperimentActionStatus ¶
type ExperimentActionStatus string
const ( ExperimentActionStatusPending ExperimentActionStatus = "pending" ExperimentActionStatusInitiating ExperimentActionStatus = "initiating" ExperimentActionStatusRunning ExperimentActionStatus = "running" ExperimentActionStatusCompleted ExperimentActionStatus = "completed" ExperimentActionStatusCancelled ExperimentActionStatus = "cancelled" ExperimentActionStatusStopping ExperimentActionStatus = "stopping" ExperimentActionStatusStopped ExperimentActionStatus = "stopped" ExperimentActionStatusFailed ExperimentActionStatus = "failed" ExperimentActionStatusSkipped ExperimentActionStatus = "skipped" )
Enum values for ExperimentActionStatus
func (ExperimentActionStatus) Values ¶
func (ExperimentActionStatus) Values() []ExperimentActionStatus
Values returns all known values for ExperimentActionStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ExperimentCloudWatchLogsLogConfiguration ¶ added in v1.12.0
type ExperimentCloudWatchLogsLogConfiguration struct { // The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log // group. LogGroupArn *string // contains filtered or unexported fields }
Describes the configuration for experiment logging to Amazon CloudWatch Logs.
type ExperimentError ¶ added in v1.27.0
type ExperimentError struct { // The Amazon Web Services Account ID where the experiment failure occurred. AccountId *string // The error code for the failed experiment. Code *string // Context for the section of the experiment template that failed. Location *string // contains filtered or unexported fields }
Describes the error when an experiment has failed .
type ExperimentLogConfiguration ¶ added in v1.12.0
type ExperimentLogConfiguration struct { // The configuration for experiment logging to Amazon CloudWatch Logs. CloudWatchLogsConfiguration *ExperimentCloudWatchLogsLogConfiguration // The schema version. LogSchemaVersion *int32 // The configuration for experiment logging to Amazon S3. S3Configuration *ExperimentS3LogConfiguration // contains filtered or unexported fields }
Describes the configuration for experiment logging.
type ExperimentOptions ¶ added in v1.20.0
type ExperimentOptions struct { // The account targeting setting for an experiment. AccountTargeting AccountTargeting // The actions mode of the experiment that is set from the StartExperiment API // command. ActionsMode ActionsMode // The empty target resolution mode for an experiment. EmptyTargetResolutionMode EmptyTargetResolutionMode // contains filtered or unexported fields }
Describes the options for an experiment.
type ExperimentReport ¶ added in v1.31.0
type ExperimentReport struct { // The S3 destination of the experiment report. S3Reports []ExperimentReportS3Report // The state of the experiment report. State *ExperimentReportState // contains filtered or unexported fields }
Describes the experiment report.
type ExperimentReportConfiguration ¶ added in v1.31.0
type ExperimentReportConfiguration struct { // The data sources for the experiment report. DataSources *ExperimentReportConfigurationDataSources // The output destinations of the experiment report. Outputs *ExperimentReportConfigurationOutputs // The duration after the experiment end time for the data sources to include in // the report. PostExperimentDuration *string // The duration before the experiment start time for the data sources to include // in the report. PreExperimentDuration *string // contains filtered or unexported fields }
Describes the report configuration for the experiment. For more information, see Experiment report configurations for AWS FIS.
type ExperimentReportConfigurationCloudWatchDashboard ¶ added in v1.31.0
type ExperimentReportConfigurationCloudWatchDashboard struct { // The Amazon Resource Name (ARN) of the CloudWatch dashboard to include in the // experiment report. DashboardIdentifier *string // contains filtered or unexported fields }
Specifies the CloudWatch dashboard to include in the experiment report. The dashboard widgets will be captured as snapshot graphs within the report.
type ExperimentReportConfigurationDataSources ¶ added in v1.31.0
type ExperimentReportConfigurationDataSources struct { // The CloudWatch dashboards to include as data sources in the experiment report. CloudWatchDashboards []ExperimentReportConfigurationCloudWatchDashboard // contains filtered or unexported fields }
Describes the data sources for the experiment report.
type ExperimentReportConfigurationOutputs ¶ added in v1.31.0
type ExperimentReportConfigurationOutputs struct { // The S3 destination for the experiment report. S3Configuration *ExperimentReportConfigurationOutputsS3Configuration // contains filtered or unexported fields }
Describes the output destinations of the experiment report.
type ExperimentReportConfigurationOutputsS3Configuration ¶ added in v1.31.0
type ExperimentReportConfigurationOutputsS3Configuration struct { // The name of the S3 bucket where the experiment report will be stored. BucketName *string // The prefix of the S3 bucket where the experiment report will be stored. Prefix *string // contains filtered or unexported fields }
Specifies the S3 destination for the experiment report.
type ExperimentReportError ¶ added in v1.31.0
type ExperimentReportError struct { // The error code for the failed experiment report generation. Code *string // contains filtered or unexported fields }
Describes the error when experiment report generation has failed.
type ExperimentReportS3Report ¶ added in v1.31.0
type ExperimentReportS3Report struct { // The Amazon Resource Name (ARN) of the generated report. Arn *string // The report type for the experiment report. ReportType *string // contains filtered or unexported fields }
Describes the S3 destination for the report.
type ExperimentReportState ¶ added in v1.31.0
type ExperimentReportState struct { // The error information of the experiment when the experiment report generation // has failed. Error *ExperimentReportError // The reason for the state of the experiment report generation. Reason *string // The state of the experiment report generation. Status ExperimentReportStatus // contains filtered or unexported fields }
Describes the state of the experiment report generation.
type ExperimentReportStatus ¶ added in v1.31.0
type ExperimentReportStatus string
const ( ExperimentReportStatusPending ExperimentReportStatus = "pending" ExperimentReportStatusRunning ExperimentReportStatus = "running" ExperimentReportStatusCompleted ExperimentReportStatus = "completed" ExperimentReportStatusCancelled ExperimentReportStatus = "cancelled" ExperimentReportStatusFailed ExperimentReportStatus = "failed" )
Enum values for ExperimentReportStatus
func (ExperimentReportStatus) Values ¶ added in v1.31.0
func (ExperimentReportStatus) Values() []ExperimentReportStatus
Values returns all known values for ExperimentReportStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ExperimentS3LogConfiguration ¶ added in v1.12.0
type ExperimentS3LogConfiguration struct { // The name of the destination bucket. BucketName *string // The bucket prefix. Prefix *string // contains filtered or unexported fields }
Describes the configuration for experiment logging to Amazon S3.
type ExperimentState ¶
type ExperimentState struct { // The error information of the experiment when the action has failed . Error *ExperimentError // The reason for the state. Reason *string // The state of the experiment. Status ExperimentStatus // contains filtered or unexported fields }
Describes the state of an experiment.
type ExperimentStatus ¶
type ExperimentStatus string
const ( ExperimentStatusPending ExperimentStatus = "pending" ExperimentStatusInitiating ExperimentStatus = "initiating" ExperimentStatusRunning ExperimentStatus = "running" ExperimentStatusCompleted ExperimentStatus = "completed" ExperimentStatusStopping ExperimentStatus = "stopping" ExperimentStatusStopped ExperimentStatus = "stopped" ExperimentStatusFailed ExperimentStatus = "failed" ExperimentStatusCancelled ExperimentStatus = "cancelled" )
Enum values for ExperimentStatus
func (ExperimentStatus) Values ¶
func (ExperimentStatus) Values() []ExperimentStatus
Values returns all known values for ExperimentStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ExperimentStopCondition ¶
type ExperimentStopCondition struct { // The source for the stop condition. Source *string // The Amazon Resource Name (ARN) of the CloudWatch alarm, if applicable. Value *string // contains filtered or unexported fields }
Describes the stop condition for an experiment.
type ExperimentSummary ¶
type ExperimentSummary struct { // The Amazon Resource Name (ARN) of the experiment. Arn *string // The time that the experiment was created. CreationTime *time.Time // The experiment options for the experiment. ExperimentOptions *ExperimentOptions // The ID of the experiment template. ExperimentTemplateId *string // The ID of the experiment. Id *string // The state of the experiment. State *ExperimentState // The tags for the experiment. Tags map[string]string // contains filtered or unexported fields }
Provides a summary of an experiment.
type ExperimentTarget ¶
type ExperimentTarget struct { // The filters to apply to identify target resources using specific attributes. Filters []ExperimentTargetFilter // The resource type parameters. Parameters map[string]string // The Amazon Resource Names (ARNs) of the resources. ResourceArns []string // The tags for the target resources. ResourceTags map[string]string // The resource type. ResourceType *string // Scopes the identified resources to a specific count or percentage. SelectionMode *string // contains filtered or unexported fields }
Describes a target for an experiment.
type ExperimentTargetAccountConfiguration ¶ added in v1.20.0
type ExperimentTargetAccountConfiguration struct { // The Amazon Web Services account ID of the target account. AccountId *string // The description of the target account. Description *string // The Amazon Resource Name (ARN) of an IAM role for the target account. RoleArn *string // contains filtered or unexported fields }
Describes a target account configuration for an experiment.
type ExperimentTargetAccountConfigurationSummary ¶ added in v1.20.0
type ExperimentTargetAccountConfigurationSummary struct { // The Amazon Web Services account ID of the target account. AccountId *string // The description of the target account. Description *string // The Amazon Resource Name (ARN) of an IAM role for the target account. RoleArn *string // contains filtered or unexported fields }
Provides a summary of a target account configuration.
type ExperimentTargetFilter ¶
type ExperimentTargetFilter struct { // The attribute path for the filter. Path *string // The attribute values for the filter. Values []string // contains filtered or unexported fields }
Describes a filter used for the target resources in an experiment.
type ExperimentTemplate ¶
type ExperimentTemplate struct { // The actions for the experiment. Actions map[string]ExperimentTemplateAction // The Amazon Resource Name (ARN) of the experiment template. Arn *string // The time the experiment template was created. CreationTime *time.Time // The description for the experiment template. Description *string // The experiment options for an experiment template. ExperimentOptions *ExperimentTemplateExperimentOptions // Describes the report configuration for the experiment template. ExperimentReportConfiguration *ExperimentTemplateReportConfiguration // The ID of the experiment template. Id *string // The time the experiment template was last updated. LastUpdateTime *time.Time // The configuration for experiment logging. LogConfiguration *ExperimentTemplateLogConfiguration // The Amazon Resource Name (ARN) of an IAM role. RoleArn *string // The stop conditions for the experiment. StopConditions []ExperimentTemplateStopCondition // The tags for the experiment template. Tags map[string]string // The count of target account configurations for the experiment template. TargetAccountConfigurationsCount *int64 // The targets for the experiment. Targets map[string]ExperimentTemplateTarget // contains filtered or unexported fields }
Describes an experiment template.
type ExperimentTemplateAction ¶
type ExperimentTemplateAction struct { // The ID of the action. ActionId *string // A description for the action. Description *string // The parameters for the action. Parameters map[string]string // The name of the action that must be completed before the current action starts. StartAfter []string // The targets for the action. Targets map[string]string // contains filtered or unexported fields }
Describes an action for an experiment template.
type ExperimentTemplateCloudWatchLogsLogConfiguration ¶ added in v1.12.0
type ExperimentTemplateCloudWatchLogsLogConfiguration struct { // The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log // group. LogGroupArn *string // contains filtered or unexported fields }
Describes the configuration for experiment logging to Amazon CloudWatch Logs.
type ExperimentTemplateCloudWatchLogsLogConfigurationInput ¶ added in v1.12.0
type ExperimentTemplateCloudWatchLogsLogConfigurationInput struct { // The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log // group. // // This member is required. LogGroupArn *string // contains filtered or unexported fields }
Specifies the configuration for experiment logging to Amazon CloudWatch Logs.
type ExperimentTemplateExperimentOptions ¶ added in v1.20.0
type ExperimentTemplateExperimentOptions struct { // The account targeting setting for an experiment template. AccountTargeting AccountTargeting // The empty target resolution mode for an experiment template. EmptyTargetResolutionMode EmptyTargetResolutionMode // contains filtered or unexported fields }
Describes the experiment options for an experiment template.
type ExperimentTemplateLogConfiguration ¶ added in v1.12.0
type ExperimentTemplateLogConfiguration struct { // The configuration for experiment logging to Amazon CloudWatch Logs. CloudWatchLogsConfiguration *ExperimentTemplateCloudWatchLogsLogConfiguration // The schema version. LogSchemaVersion *int32 // The configuration for experiment logging to Amazon S3. S3Configuration *ExperimentTemplateS3LogConfiguration // contains filtered or unexported fields }
Describes the configuration for experiment logging.
type ExperimentTemplateReportConfiguration ¶ added in v1.31.0
type ExperimentTemplateReportConfiguration struct { // The data sources for the experiment report. DataSources *ExperimentTemplateReportConfigurationDataSources // Describes the output destinations of the experiment report. Outputs *ExperimentTemplateReportConfigurationOutputs // The duration after the experiment end time for the data sources to include in // the report. PostExperimentDuration *string // The duration before the experiment start time for the data sources to include // in the report. PreExperimentDuration *string // contains filtered or unexported fields }
Describes the experiment report configuration. For more information, see Experiment report configurations for AWS FIS.
type ExperimentTemplateReportConfigurationCloudWatchDashboard ¶ added in v1.31.0
type ExperimentTemplateReportConfigurationCloudWatchDashboard struct { // The Amazon Resource Name (ARN) of the CloudWatch dashboard to include in the // experiment report. DashboardIdentifier *string // contains filtered or unexported fields }
The CloudWatch dashboards to include as data sources in the experiment report.
type ExperimentTemplateReportConfigurationDataSources ¶ added in v1.31.0
type ExperimentTemplateReportConfigurationDataSources struct { // The CloudWatch dashboards to include as data sources in the experiment report. CloudWatchDashboards []ExperimentTemplateReportConfigurationCloudWatchDashboard // contains filtered or unexported fields }
Describes the data sources for the experiment report.
type ExperimentTemplateReportConfigurationDataSourcesInput ¶ added in v1.31.0
type ExperimentTemplateReportConfigurationDataSourcesInput struct { // The CloudWatch dashboards to include as data sources in the experiment report. CloudWatchDashboards []ReportConfigurationCloudWatchDashboardInput // contains filtered or unexported fields }
Specifies the data sources for the experiment report.
type ExperimentTemplateReportConfigurationOutputs ¶ added in v1.31.0
type ExperimentTemplateReportConfigurationOutputs struct { // The S3 destination for the experiment report. S3Configuration *ReportConfigurationS3Output // contains filtered or unexported fields }
The output destinations of the experiment report.
type ExperimentTemplateReportConfigurationOutputsInput ¶ added in v1.31.0
type ExperimentTemplateReportConfigurationOutputsInput struct { // The S3 destination for the experiment report. S3Configuration *ReportConfigurationS3OutputInput // contains filtered or unexported fields }
Specifies the outputs for the experiment templates.
type ExperimentTemplateS3LogConfiguration ¶ added in v1.12.0
type ExperimentTemplateS3LogConfiguration struct { // The name of the destination bucket. BucketName *string // The bucket prefix. Prefix *string // contains filtered or unexported fields }
Describes the configuration for experiment logging to Amazon S3.
type ExperimentTemplateS3LogConfigurationInput ¶ added in v1.12.0
type ExperimentTemplateS3LogConfigurationInput struct { // The name of the destination bucket. // // This member is required. BucketName *string // The bucket prefix. Prefix *string // contains filtered or unexported fields }
Specifies the configuration for experiment logging to Amazon S3.
type ExperimentTemplateStopCondition ¶
type ExperimentTemplateStopCondition struct { // The source for the stop condition. Source *string // The Amazon Resource Name (ARN) of the CloudWatch alarm, if applicable. Value *string // contains filtered or unexported fields }
Describes a stop condition for an experiment template.
type ExperimentTemplateSummary ¶
type ExperimentTemplateSummary struct { // The Amazon Resource Name (ARN) of the experiment template. Arn *string // The time that the experiment template was created. CreationTime *time.Time // The description of the experiment template. Description *string // The ID of the experiment template. Id *string // The time that the experiment template was last updated. LastUpdateTime *time.Time // The tags for the experiment template. Tags map[string]string // contains filtered or unexported fields }
Provides a summary of an experiment template.
type ExperimentTemplateTarget ¶
type ExperimentTemplateTarget struct { // The filters to apply to identify target resources using specific attributes. Filters []ExperimentTemplateTargetFilter // The resource type parameters. Parameters map[string]string // The Amazon Resource Names (ARNs) of the targets. ResourceArns []string // The tags for the target resources. ResourceTags map[string]string // The resource type. ResourceType *string // Scopes the identified resources to a specific count or percentage. SelectionMode *string // contains filtered or unexported fields }
Describes a target for an experiment template.
type ExperimentTemplateTargetFilter ¶
type ExperimentTemplateTargetFilter struct { // The attribute path for the filter. Path *string // The attribute values for the filter. Values []string // contains filtered or unexported fields }
Describes a filter used for the target resources in an experiment template.
type ExperimentTemplateTargetInputFilter ¶
type ExperimentTemplateTargetInputFilter struct { // The attribute path for the filter. // // This member is required. Path *string // The attribute values for the filter. // // This member is required. Values []string // contains filtered or unexported fields }
Specifies a filter used for the target resource input in an experiment template.
For more information, see Resource filters in the Fault Injection Service User Guide.
type ReportConfigurationCloudWatchDashboardInput ¶ added in v1.31.0
type ReportConfigurationCloudWatchDashboardInput struct { // The Amazon Resource Name (ARN) of the CloudWatch dashboard to include in the // experiment report. DashboardIdentifier *string // contains filtered or unexported fields }
Specifies the CloudWatch dashboard for the experiment report.
type ReportConfigurationS3Output ¶ added in v1.31.0
type ReportConfigurationS3Output struct { // The name of the S3 bucket where the experiment report will be stored. BucketName *string // The prefix of the S3 bucket where the experiment report will be stored. Prefix *string // contains filtered or unexported fields }
Describes the S3 destination for the experiment report.
type ReportConfigurationS3OutputInput ¶ added in v1.31.0
type ReportConfigurationS3OutputInput struct { // The name of the S3 bucket where the experiment report will be stored. BucketName *string // The prefix of the S3 bucket where the experiment report will be stored. Prefix *string // contains filtered or unexported fields }
Specifies the S3 destination for the experiment report.
type ResolvedTarget ¶ added in v1.20.0
type ResolvedTarget struct { // The resource type of the target. ResourceType *string // Information about the target. TargetInformation map[string]string // The name of the target. TargetName *string // contains filtered or unexported fields }
Describes a resolved target.
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The specified resource cannot be found.
func (*ResourceNotFoundException) Error ¶
func (e *ResourceNotFoundException) Error() string
func (*ResourceNotFoundException) ErrorCode ¶
func (e *ResourceNotFoundException) ErrorCode() string
func (*ResourceNotFoundException) ErrorFault ¶
func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶
func (e *ResourceNotFoundException) ErrorMessage() string
type SafetyLever ¶ added in v1.28.0
type SafetyLever struct { // The Amazon Resource Name (ARN) of the safety lever. Arn *string // The ID of the safety lever. Id *string // The state of the safety lever. State *SafetyLeverState // contains filtered or unexported fields }
Describes a safety lever.
type SafetyLeverState ¶ added in v1.28.0
type SafetyLeverState struct { // The reason for the state of the safety lever. Reason *string // The state of the safety lever. Status SafetyLeverStatus // contains filtered or unexported fields }
Describes the state of the safety lever.
type SafetyLeverStatus ¶ added in v1.28.0
type SafetyLeverStatus string
const ( SafetyLeverStatusDisengaged SafetyLeverStatus = "disengaged" SafetyLeverStatusEngaged SafetyLeverStatus = "engaged" SafetyLeverStatusEngaging SafetyLeverStatus = "engaging" )
Enum values for SafetyLeverStatus
func (SafetyLeverStatus) Values ¶ added in v1.28.0
func (SafetyLeverStatus) Values() []SafetyLeverStatus
Values returns all known values for SafetyLeverStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type SafetyLeverStatusInput ¶ added in v1.28.0
type SafetyLeverStatusInput string
const ( SafetyLeverStatusInputDisengaged SafetyLeverStatusInput = "disengaged" SafetyLeverStatusInputEngaged SafetyLeverStatusInput = "engaged" )
Enum values for SafetyLeverStatusInput
func (SafetyLeverStatusInput) Values ¶ added in v1.28.0
func (SafetyLeverStatusInput) Values() []SafetyLeverStatusInput
Values returns all known values for SafetyLeverStatusInput. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ServiceQuotaExceededException ¶
type ServiceQuotaExceededException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
You have exceeded your service quota.
func (*ServiceQuotaExceededException) Error ¶
func (e *ServiceQuotaExceededException) Error() string
func (*ServiceQuotaExceededException) ErrorCode ¶
func (e *ServiceQuotaExceededException) ErrorCode() string
func (*ServiceQuotaExceededException) ErrorFault ¶
func (e *ServiceQuotaExceededException) ErrorFault() smithy.ErrorFault
func (*ServiceQuotaExceededException) ErrorMessage ¶
func (e *ServiceQuotaExceededException) ErrorMessage() string
type StartExperimentExperimentOptionsInput ¶ added in v1.24.0
type StartExperimentExperimentOptionsInput struct { // Specifies the actions mode for experiment options. ActionsMode ActionsMode // contains filtered or unexported fields }
Specifies experiment options for running an experiment.
type TargetAccountConfiguration ¶ added in v1.20.0
type TargetAccountConfiguration struct { // The Amazon Web Services account ID of the target account. AccountId *string // The description of the target account. Description *string // The Amazon Resource Name (ARN) of an IAM role for the target account. RoleArn *string // contains filtered or unexported fields }
Describes a target account configuration.
type TargetAccountConfigurationSummary ¶ added in v1.20.0
type TargetAccountConfigurationSummary struct { // The Amazon Web Services account ID of the target account. AccountId *string // The description of the target account. Description *string // The Amazon Resource Name (ARN) of an IAM role for the target account. RoleArn *string // contains filtered or unexported fields }
Provides a summary of a target account configuration.
type TargetResourceType ¶ added in v1.11.0
type TargetResourceType struct { // A description of the resource type. Description *string // The parameters for the resource type. Parameters map[string]TargetResourceTypeParameter // The resource type. ResourceType *string // contains filtered or unexported fields }
Describes a resource type.
type TargetResourceTypeParameter ¶ added in v1.11.0
type TargetResourceTypeParameter struct { // A description of the parameter. Description *string // Indicates whether the parameter is required. Required *bool // contains filtered or unexported fields }
Describes the parameters for a resource type. Use parameters to determine which tasks are identified during target resolution.
type TargetResourceTypeSummary ¶ added in v1.11.0
type TargetResourceTypeSummary struct { // A description of the resource type. Description *string // The resource type. ResourceType *string // contains filtered or unexported fields }
Describes a resource type.
type UpdateExperimentTemplateActionInputItem ¶
type UpdateExperimentTemplateActionInputItem struct { // The ID of the action. ActionId *string // A description for the action. Description *string // The parameters for the action, if applicable. Parameters map[string]string // 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 // The targets for the action. Targets map[string]string // contains filtered or unexported fields }
Specifies an action for an experiment template.
type UpdateExperimentTemplateExperimentOptionsInput ¶ added in v1.20.0
type UpdateExperimentTemplateExperimentOptionsInput struct { // The empty target resolution mode of the experiment template. EmptyTargetResolutionMode EmptyTargetResolutionMode // contains filtered or unexported fields }
Specifies an experiment option for an experiment template.
type UpdateExperimentTemplateLogConfigurationInput ¶ added in v1.12.0
type UpdateExperimentTemplateLogConfigurationInput struct { // The configuration for experiment logging to Amazon CloudWatch Logs. CloudWatchLogsConfiguration *ExperimentTemplateCloudWatchLogsLogConfigurationInput // The schema version. LogSchemaVersion *int32 // The configuration for experiment logging to Amazon S3. S3Configuration *ExperimentTemplateS3LogConfigurationInput // contains filtered or unexported fields }
Specifies the configuration for experiment logging.
type UpdateExperimentTemplateReportConfigurationInput ¶ added in v1.31.0
type UpdateExperimentTemplateReportConfigurationInput struct { // The data sources for the experiment report. DataSources *ExperimentTemplateReportConfigurationDataSourcesInput // Describes the output destinations of the experiment report. Outputs *ExperimentTemplateReportConfigurationOutputsInput // The duration after the experiment end time for the data sources to include in // the report. PostExperimentDuration *string // The duration before the experiment start time for the data sources to include // in the report. PreExperimentDuration *string // contains filtered or unexported fields }
Specifies the input for the experiment report configuration.
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. // // This member is required. Source *string // The Amazon Resource Name (ARN) of the CloudWatch alarm. Value *string // contains filtered or unexported fields }
Specifies a stop condition for an experiment. You can define a stop condition as a CloudWatch alarm.
type UpdateExperimentTemplateTargetInput ¶
type UpdateExperimentTemplateTargetInput struct { // The resource type. The resource type must be supported for the specified action. // // This member is required. ResourceType *string // Scopes the identified resources to a specific count or percentage. // // This member is required. SelectionMode *string // The filters to apply to identify target resources using specific attributes. Filters []ExperimentTemplateTargetInputFilter // The resource type parameters. Parameters map[string]string // The Amazon Resource Names (ARNs) of the targets. ResourceArns []string // The tags for the target resources. ResourceTags map[string]string // 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.
type UpdateSafetyLeverStateInput ¶ added in v1.28.0
type UpdateSafetyLeverStateInput struct { // The reason for updating the state of the safety lever. // // This member is required. Reason *string // The updated state of the safety lever. // // This member is required. Status SafetyLeverStatusInput // contains filtered or unexported fields }
Specifies a state for a safety lever.
type ValidationException ¶
type ValidationException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The specified input is not valid, or fails to satisfy the constraints for the request.
func (*ValidationException) Error ¶
func (e *ValidationException) Error() string
func (*ValidationException) ErrorCode ¶
func (e *ValidationException) ErrorCode() string
func (*ValidationException) ErrorFault ¶
func (e *ValidationException) ErrorFault() smithy.ErrorFault
func (*ValidationException) ErrorMessage ¶
func (e *ValidationException) ErrorMessage() string