libZSservicesZSamazonka-databrewZSamazonka-databrew
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.DataBrew.CreateRecipe

Description

Creates a new DataBrew recipe.

Synopsis

Creating a Request

data CreateRecipe Source #

See: newCreateRecipe smart constructor.

Constructors

CreateRecipe' 

Fields

  • description :: Maybe Text

    A description for the recipe.

  • tags :: Maybe (HashMap Text Text)

    Metadata tags to apply to this recipe.

  • name :: Text

    A unique name for the recipe. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.

  • steps :: [RecipeStep]

    An array containing the steps to be performed by the recipe. Each recipe step consists of one recipe action and (optionally) an array of condition expressions.

Instances

Instances details
Eq CreateRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.CreateRecipe

Read CreateRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.CreateRecipe

Show CreateRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.CreateRecipe

Generic CreateRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.CreateRecipe

Associated Types

type Rep CreateRecipe :: Type -> Type #

NFData CreateRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.CreateRecipe

Methods

rnf :: CreateRecipe -> () #

Hashable CreateRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.CreateRecipe

ToJSON CreateRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.CreateRecipe

AWSRequest CreateRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.CreateRecipe

Associated Types

type AWSResponse CreateRecipe #

ToHeaders CreateRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.CreateRecipe

ToPath CreateRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.CreateRecipe

ToQuery CreateRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.CreateRecipe

type Rep CreateRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.CreateRecipe

type Rep CreateRecipe = D1 ('MetaData "CreateRecipe" "Amazonka.DataBrew.CreateRecipe" "libZSservicesZSamazonka-databrewZSamazonka-databrew" 'False) (C1 ('MetaCons "CreateRecipe'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "steps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [RecipeStep]))))
type AWSResponse CreateRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.CreateRecipe

newCreateRecipe Source #

Create a value of CreateRecipe 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:description:CreateRecipe', createRecipe_description - A description for the recipe.

$sel:tags:CreateRecipe', createRecipe_tags - Metadata tags to apply to this recipe.

$sel:name:CreateRecipe', createRecipe_name - A unique name for the recipe. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.

$sel:steps:CreateRecipe', createRecipe_steps - An array containing the steps to be performed by the recipe. Each recipe step consists of one recipe action and (optionally) an array of condition expressions.

Request Lenses

createRecipe_description :: Lens' CreateRecipe (Maybe Text) Source #

A description for the recipe.

createRecipe_tags :: Lens' CreateRecipe (Maybe (HashMap Text Text)) Source #

Metadata tags to apply to this recipe.

createRecipe_name :: Lens' CreateRecipe Text Source #

A unique name for the recipe. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.

createRecipe_steps :: Lens' CreateRecipe [RecipeStep] Source #

An array containing the steps to be performed by the recipe. Each recipe step consists of one recipe action and (optionally) an array of condition expressions.

Destructuring the Response

data CreateRecipeResponse Source #

See: newCreateRecipeResponse smart constructor.

Constructors

CreateRecipeResponse' 

Fields

Instances

Instances details
Eq CreateRecipeResponse Source # 
Instance details

Defined in Amazonka.DataBrew.CreateRecipe

Read CreateRecipeResponse Source # 
Instance details

Defined in Amazonka.DataBrew.CreateRecipe

Show CreateRecipeResponse Source # 
Instance details

Defined in Amazonka.DataBrew.CreateRecipe

Generic CreateRecipeResponse Source # 
Instance details

Defined in Amazonka.DataBrew.CreateRecipe

Associated Types

type Rep CreateRecipeResponse :: Type -> Type #

NFData CreateRecipeResponse Source # 
Instance details

Defined in Amazonka.DataBrew.CreateRecipe

Methods

rnf :: CreateRecipeResponse -> () #

type Rep CreateRecipeResponse Source # 
Instance details

Defined in Amazonka.DataBrew.CreateRecipe

type Rep CreateRecipeResponse = D1 ('MetaData "CreateRecipeResponse" "Amazonka.DataBrew.CreateRecipe" "libZSservicesZSamazonka-databrewZSamazonka-databrew" 'False) (C1 ('MetaCons "CreateRecipeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCreateRecipeResponse Source #

Create a value of CreateRecipeResponse 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:CreateRecipeResponse', createRecipeResponse_httpStatus - The response's http status code.

$sel:name:CreateRecipe', createRecipeResponse_name - The name of the recipe that you created.

Response Lenses

createRecipeResponse_name :: Lens' CreateRecipeResponse Text Source #

The name of the recipe that you created.