libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
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.SageMaker.CreateFlowDefinition

Description

Creates a flow definition.

Synopsis

Creating a Request

data CreateFlowDefinition Source #

See: newCreateFlowDefinition smart constructor.

Constructors

CreateFlowDefinition' 

Fields

Instances

Instances details
Eq CreateFlowDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.CreateFlowDefinition

Read CreateFlowDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.CreateFlowDefinition

Show CreateFlowDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.CreateFlowDefinition

Generic CreateFlowDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.CreateFlowDefinition

Associated Types

type Rep CreateFlowDefinition :: Type -> Type #

NFData CreateFlowDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.CreateFlowDefinition

Methods

rnf :: CreateFlowDefinition -> () #

Hashable CreateFlowDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.CreateFlowDefinition

ToJSON CreateFlowDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.CreateFlowDefinition

AWSRequest CreateFlowDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.CreateFlowDefinition

Associated Types

type AWSResponse CreateFlowDefinition #

ToHeaders CreateFlowDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.CreateFlowDefinition

ToPath CreateFlowDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.CreateFlowDefinition

ToQuery CreateFlowDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.CreateFlowDefinition

type Rep CreateFlowDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.CreateFlowDefinition

type Rep CreateFlowDefinition = D1 ('MetaData "CreateFlowDefinition" "Amazonka.SageMaker.CreateFlowDefinition" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "CreateFlowDefinition'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "humanLoopRequestSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HumanLoopRequestSource)) :*: (S1 ('MetaSel ('Just "humanLoopActivationConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HumanLoopActivationConfig)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])))) :*: ((S1 ('MetaSel ('Just "flowDefinitionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "humanLoopConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HumanLoopConfig)) :*: (S1 ('MetaSel ('Just "outputConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FlowDefinitionOutputConfig) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateFlowDefinition Source # 
Instance details

Defined in Amazonka.SageMaker.CreateFlowDefinition

newCreateFlowDefinition Source #

Create a value of CreateFlowDefinition with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:humanLoopRequestSource:CreateFlowDefinition', createFlowDefinition_humanLoopRequestSource - Container for configuring the source of human task requests. Use to specify if Amazon Rekognition or Amazon Textract is used as an integration source.

$sel:humanLoopActivationConfig:CreateFlowDefinition', createFlowDefinition_humanLoopActivationConfig - An object containing information about the events that trigger a human workflow.

$sel:tags:CreateFlowDefinition', createFlowDefinition_tags - An array of key-value pairs that contain metadata to help you categorize and organize a flow definition. Each tag consists of a key and a value, both of which you define.

$sel:flowDefinitionName:CreateFlowDefinition', createFlowDefinition_flowDefinitionName - The name of your flow definition.

$sel:humanLoopConfig:CreateFlowDefinition', createFlowDefinition_humanLoopConfig - An object containing information about the tasks the human reviewers will perform.

$sel:outputConfig:CreateFlowDefinition', createFlowDefinition_outputConfig - An object containing information about where the human review results will be uploaded.

$sel:roleArn:CreateFlowDefinition', createFlowDefinition_roleArn - The Amazon Resource Name (ARN) of the role needed to call other services on your behalf. For example, arn:aws:iam::1234567890:role/service-role/AmazonSageMaker-ExecutionRole-20180111T151298.

Request Lenses

createFlowDefinition_humanLoopRequestSource :: Lens' CreateFlowDefinition (Maybe HumanLoopRequestSource) Source #

Container for configuring the source of human task requests. Use to specify if Amazon Rekognition or Amazon Textract is used as an integration source.

createFlowDefinition_humanLoopActivationConfig :: Lens' CreateFlowDefinition (Maybe HumanLoopActivationConfig) Source #

An object containing information about the events that trigger a human workflow.

createFlowDefinition_tags :: Lens' CreateFlowDefinition (Maybe [Tag]) Source #

An array of key-value pairs that contain metadata to help you categorize and organize a flow definition. Each tag consists of a key and a value, both of which you define.

createFlowDefinition_humanLoopConfig :: Lens' CreateFlowDefinition HumanLoopConfig Source #

An object containing information about the tasks the human reviewers will perform.

createFlowDefinition_outputConfig :: Lens' CreateFlowDefinition FlowDefinitionOutputConfig Source #

An object containing information about where the human review results will be uploaded.

createFlowDefinition_roleArn :: Lens' CreateFlowDefinition Text Source #

The Amazon Resource Name (ARN) of the role needed to call other services on your behalf. For example, arn:aws:iam::1234567890:role/service-role/AmazonSageMaker-ExecutionRole-20180111T151298.

Destructuring the Response

data CreateFlowDefinitionResponse Source #

See: newCreateFlowDefinitionResponse smart constructor.

Constructors

CreateFlowDefinitionResponse' 

Fields

Instances

Instances details
Eq CreateFlowDefinitionResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateFlowDefinition

Read CreateFlowDefinitionResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateFlowDefinition

Show CreateFlowDefinitionResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateFlowDefinition

Generic CreateFlowDefinitionResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateFlowDefinition

Associated Types

type Rep CreateFlowDefinitionResponse :: Type -> Type #

NFData CreateFlowDefinitionResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateFlowDefinition

type Rep CreateFlowDefinitionResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateFlowDefinition

type Rep CreateFlowDefinitionResponse = D1 ('MetaData "CreateFlowDefinitionResponse" "Amazonka.SageMaker.CreateFlowDefinition" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "CreateFlowDefinitionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "flowDefinitionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCreateFlowDefinitionResponse Source #

Create a value of CreateFlowDefinitionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:CreateFlowDefinitionResponse', createFlowDefinitionResponse_httpStatus - The response's http status code.

$sel:flowDefinitionArn:CreateFlowDefinitionResponse', createFlowDefinitionResponse_flowDefinitionArn - The Amazon Resource Name (ARN) of the flow definition you create.

Response Lenses

createFlowDefinitionResponse_flowDefinitionArn :: Lens' CreateFlowDefinitionResponse Text Source #

The Amazon Resource Name (ARN) of the flow definition you create.