libZSservicesZSamazonka-fisZSamazonka-fis
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.FIS.Lens

Description

 
Synopsis

Operations

GetExperimentTemplate

getExperimentTemplate_id :: Lens' GetExperimentTemplate Text Source #

The ID of the experiment template.

ListActions

listActions_nextToken :: Lens' ListActions (Maybe Text) Source #

The token for the next page of results.

listActions_maxResults :: Lens' ListActions (Maybe Natural) Source #

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

listActionsResponse_nextToken :: Lens' ListActionsResponse (Maybe Text) Source #

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

ListTagsForResource

listTagsForResource_resourceArn :: Lens' ListTagsForResource Text Source #

The Amazon Resource Name (ARN) of the resource.

CreateExperimentTemplate

createExperimentTemplate_tags :: Lens' CreateExperimentTemplate (Maybe (HashMap Text Text)) Source #

The tags to apply to the experiment template.

createExperimentTemplate_clientToken :: Lens' CreateExperimentTemplate Text Source #

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

createExperimentTemplate_description :: Lens' CreateExperimentTemplate Text Source #

A description for the experiment template. Can contain up to 64 letters (A-Z and a-z).

createExperimentTemplate_roleArn :: Lens' CreateExperimentTemplate Text Source #

The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.

ListExperiments

listExperiments_nextToken :: Lens' ListExperiments (Maybe Text) Source #

The token for the next page of results.

listExperiments_maxResults :: Lens' ListExperiments (Maybe Natural) Source #

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

listExperimentsResponse_nextToken :: Lens' ListExperimentsResponse (Maybe Text) Source #

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

UpdateExperimentTemplate

updateExperimentTemplate_roleArn :: Lens' UpdateExperimentTemplate (Maybe Text) Source #

The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.

GetAction

getAction_id :: Lens' GetAction Text Source #

The ID of the action.

getActionResponse_httpStatus :: Lens' GetActionResponse Int Source #

The response's http status code.

DeleteExperimentTemplate

StartExperiment

startExperiment_tags :: Lens' StartExperiment (Maybe (HashMap Text Text)) Source #

The tags to apply to the experiment.

startExperiment_clientToken :: Lens' StartExperiment Text Source #

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

GetExperiment

getExperiment_id :: Lens' GetExperiment Text Source #

The ID of the experiment.

ListExperimentTemplates

listExperimentTemplates_maxResults :: Lens' ListExperimentTemplates (Maybe Natural) Source #

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

listExperimentTemplatesResponse_nextToken :: Lens' ListExperimentTemplatesResponse (Maybe Text) Source #

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

TagResource

tagResource_resourceArn :: Lens' TagResource Text Source #

The Amazon Resource Name (ARN) of the resource.

tagResource_tags :: Lens' TagResource (HashMap Text Text) Source #

The tags for the resource.

UntagResource

untagResource_resourceArn :: Lens' UntagResource Text Source #

The Amazon Resource Name (ARN) of the resource.

StopExperiment

stopExperiment_id :: Lens' StopExperiment Text Source #

The ID of the experiment.

Types

Action

action_parameters :: Lens' Action (Maybe (HashMap Text ActionParameter)) Source #

The action parameters, if applicable.

action_targets :: Lens' Action (Maybe (HashMap Text ActionTarget)) Source #

The supported targets for the action.

action_id :: Lens' Action (Maybe Text) Source #

The ID of the action.

action_description :: Lens' Action (Maybe Text) Source #

The description for the action.

action_tags :: Lens' Action (Maybe (HashMap Text Text)) Source #

The tags for the action.

ActionParameter

actionParameter_required :: Lens' ActionParameter (Maybe Bool) Source #

Indicates whether the parameter is required.

ActionSummary

actionSummary_description :: Lens' ActionSummary (Maybe Text) Source #

The description for the action.

ActionTarget

actionTarget_resourceType :: Lens' ActionTarget (Maybe Text) Source #

The resource type of the target.

CreateExperimentTemplateActionInput

createExperimentTemplateActionInput_startAfter :: Lens' CreateExperimentTemplateActionInput (Maybe [Text]) Source #

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.

CreateExperimentTemplateStopConditionInput

createExperimentTemplateStopConditionInput_value :: Lens' CreateExperimentTemplateStopConditionInput (Maybe Text) Source #

The Amazon Resource Name (ARN) of the CloudWatch alarm. This is required if the source is a CloudWatch alarm.

createExperimentTemplateStopConditionInput_source :: Lens' CreateExperimentTemplateStopConditionInput Text Source #

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.

CreateExperimentTemplateTargetInput

createExperimentTemplateTargetInput_filters :: Lens' CreateExperimentTemplateTargetInput (Maybe [ExperimentTemplateTargetInputFilter]) Source #

The filters to apply to identify target resources using specific attributes.

createExperimentTemplateTargetInput_resourceType :: Lens' CreateExperimentTemplateTargetInput Text Source #

The AWS resource type. The resource type must be supported for the specified action.

createExperimentTemplateTargetInput_selectionMode :: Lens' CreateExperimentTemplateTargetInput Text Source #

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.

Experiment

experiment_creationTime :: Lens' Experiment (Maybe UTCTime) Source #

The time the experiment was created.

experiment_experimentTemplateId :: Lens' Experiment (Maybe Text) Source #

The ID of the experiment template.

experiment_state :: Lens' Experiment (Maybe ExperimentState) Source #

The state of the experiment.

experiment_startTime :: Lens' Experiment (Maybe UTCTime) Source #

The time that the experiment was started.

experiment_stopConditions :: Lens' Experiment (Maybe [ExperimentStopCondition]) Source #

The stop conditions for the experiment.

experiment_endTime :: Lens' Experiment (Maybe UTCTime) Source #

The time that the experiment ended.

experiment_id :: Lens' Experiment (Maybe Text) Source #

The ID of the experiment.

experiment_tags :: Lens' Experiment (Maybe (HashMap Text Text)) Source #

The tags for the experiment.

experiment_roleArn :: Lens' Experiment (Maybe Text) Source #

The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.

ExperimentAction

experimentAction_startAfter :: Lens' ExperimentAction (Maybe [Text]) Source #

The name of the action that must be completed before this action starts.

ExperimentActionState

ExperimentState

ExperimentStopCondition

experimentStopCondition_value :: Lens' ExperimentStopCondition (Maybe Text) Source #

The Amazon Resource Name (ARN) of the CloudWatch alarm, if applicable.

ExperimentSummary

experimentSummary_creationTime :: Lens' ExperimentSummary (Maybe UTCTime) Source #

The time that the experiment was created.

ExperimentTarget

experimentTarget_filters :: Lens' ExperimentTarget (Maybe [ExperimentTargetFilter]) Source #

The filters to apply to identify target resources using specific attributes.

experimentTarget_resourceArns :: Lens' ExperimentTarget (Maybe [Text]) Source #

The Amazon Resource Names (ARNs) of the resources.

experimentTarget_selectionMode :: Lens' ExperimentTarget (Maybe Text) Source #

Scopes the identified resources to a specific count or percentage.

ExperimentTargetFilter

experimentTargetFilter_values :: Lens' ExperimentTargetFilter (Maybe [Text]) Source #

The attribute values for the filter.

ExperimentTemplate

experimentTemplate_creationTime :: Lens' ExperimentTemplate (Maybe UTCTime) Source #

The time the experiment template was created.

experimentTemplate_id :: Lens' ExperimentTemplate (Maybe Text) Source #

The ID of the experiment template.

experimentTemplate_lastUpdateTime :: Lens' ExperimentTemplate (Maybe UTCTime) Source #

The time the experiment template was last updated.

experimentTemplate_description :: Lens' ExperimentTemplate (Maybe Text) Source #

The description for the experiment template.

experimentTemplate_tags :: Lens' ExperimentTemplate (Maybe (HashMap Text Text)) Source #

The tags for the experiment template.

experimentTemplate_roleArn :: Lens' ExperimentTemplate (Maybe Text) Source #

The Amazon Resource Name (ARN) of an IAM role.

ExperimentTemplateAction

experimentTemplateAction_startAfter :: Lens' ExperimentTemplateAction (Maybe [Text]) Source #

The name of the action that must be completed before the current action starts.

ExperimentTemplateStopCondition

experimentTemplateStopCondition_value :: Lens' ExperimentTemplateStopCondition (Maybe Text) Source #

The Amazon Resource Name (ARN) of the CloudWatch alarm, if applicable.

ExperimentTemplateSummary

experimentTemplateSummary_creationTime :: Lens' ExperimentTemplateSummary (Maybe UTCTime) Source #

The time that the experiment template was created.

experimentTemplateSummary_lastUpdateTime :: Lens' ExperimentTemplateSummary (Maybe UTCTime) Source #

The time that the experiment template was last updated.

ExperimentTemplateTarget

experimentTemplateTarget_filters :: Lens' ExperimentTemplateTarget (Maybe [ExperimentTemplateTargetFilter]) Source #

The filters to apply to identify target resources using specific attributes.

experimentTemplateTarget_resourceArns :: Lens' ExperimentTemplateTarget (Maybe [Text]) Source #

The Amazon Resource Names (ARNs) of the targets.

experimentTemplateTarget_selectionMode :: Lens' ExperimentTemplateTarget (Maybe Text) Source #

Scopes the identified resources to a specific count or percentage.

ExperimentTemplateTargetFilter

ExperimentTemplateTargetInputFilter

UpdateExperimentTemplateActionInputItem

updateExperimentTemplateActionInputItem_startAfter :: Lens' UpdateExperimentTemplateActionInputItem (Maybe [Text]) Source #

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.

UpdateExperimentTemplateStopConditionInput

updateExperimentTemplateStopConditionInput_source :: Lens' UpdateExperimentTemplateStopConditionInput Text Source #

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.

UpdateExperimentTemplateTargetInput

updateExperimentTemplateTargetInput_filters :: Lens' UpdateExperimentTemplateTargetInput (Maybe [ExperimentTemplateTargetInputFilter]) Source #

The filters to apply to identify target resources using specific attributes.

updateExperimentTemplateTargetInput_resourceType :: Lens' UpdateExperimentTemplateTargetInput Text Source #

The AWS resource type. The resource type must be supported for the specified action.

updateExperimentTemplateTargetInput_selectionMode :: Lens' UpdateExperimentTemplateTargetInput Text Source #

Scopes the identified resources to a specific count or percentage.