amazonka-databrew-2.0: Amazon Glue DataBrew SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DataBrew.PublishRecipe

Description

Publishes a new version of a DataBrew recipe.

Synopsis

Creating a Request

data PublishRecipe Source #

See: newPublishRecipe smart constructor.

Constructors

PublishRecipe' 

Fields

  • description :: Maybe Text

    A description of the recipe to be published, for this version of the recipe.

  • name :: Text

    The name of the recipe to be published.

Instances

Instances details
ToJSON PublishRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.PublishRecipe

ToHeaders PublishRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.PublishRecipe

ToPath PublishRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.PublishRecipe

ToQuery PublishRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.PublishRecipe

AWSRequest PublishRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.PublishRecipe

Associated Types

type AWSResponse PublishRecipe #

Generic PublishRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.PublishRecipe

Associated Types

type Rep PublishRecipe :: Type -> Type #

Read PublishRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.PublishRecipe

Show PublishRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.PublishRecipe

NFData PublishRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.PublishRecipe

Methods

rnf :: PublishRecipe -> () #

Eq PublishRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.PublishRecipe

Hashable PublishRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.PublishRecipe

type AWSResponse PublishRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.PublishRecipe

type Rep PublishRecipe Source # 
Instance details

Defined in Amazonka.DataBrew.PublishRecipe

type Rep PublishRecipe = D1 ('MetaData "PublishRecipe" "Amazonka.DataBrew.PublishRecipe" "amazonka-databrew-2.0-GJMXoRzRb387Yq6XNY29RM" 'False) (C1 ('MetaCons "PublishRecipe'" 'PrefixI 'True) (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newPublishRecipe Source #

Create a value of PublishRecipe 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:

PublishRecipe, publishRecipe_description - A description of the recipe to be published, for this version of the recipe.

PublishRecipe, publishRecipe_name - The name of the recipe to be published.

Request Lenses

publishRecipe_description :: Lens' PublishRecipe (Maybe Text) Source #

A description of the recipe to be published, for this version of the recipe.

publishRecipe_name :: Lens' PublishRecipe Text Source #

The name of the recipe to be published.

Destructuring the Response

data PublishRecipeResponse Source #

See: newPublishRecipeResponse smart constructor.

Constructors

PublishRecipeResponse' 

Fields

Instances

Instances details
Generic PublishRecipeResponse Source # 
Instance details

Defined in Amazonka.DataBrew.PublishRecipe

Associated Types

type Rep PublishRecipeResponse :: Type -> Type #

Read PublishRecipeResponse Source # 
Instance details

Defined in Amazonka.DataBrew.PublishRecipe

Show PublishRecipeResponse Source # 
Instance details

Defined in Amazonka.DataBrew.PublishRecipe

NFData PublishRecipeResponse Source # 
Instance details

Defined in Amazonka.DataBrew.PublishRecipe

Methods

rnf :: PublishRecipeResponse -> () #

Eq PublishRecipeResponse Source # 
Instance details

Defined in Amazonka.DataBrew.PublishRecipe

type Rep PublishRecipeResponse Source # 
Instance details

Defined in Amazonka.DataBrew.PublishRecipe

type Rep PublishRecipeResponse = D1 ('MetaData "PublishRecipeResponse" "Amazonka.DataBrew.PublishRecipe" "amazonka-databrew-2.0-GJMXoRzRb387Yq6XNY29RM" 'False) (C1 ('MetaCons "PublishRecipeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newPublishRecipeResponse Source #

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

PublishRecipe, publishRecipeResponse_name - The name of the recipe that you published.

Response Lenses

publishRecipeResponse_name :: Lens' PublishRecipeResponse Text Source #

The name of the recipe that you published.