libZSservicesZSamazonka-protonZSamazonka-proton
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.Proton.UpdateEnvironmentAccountConnection

Description

In an environment account, update an environment account connection to use a new IAM role.

For more information, see Environment account connections in the AWS Proton Administrator guide.

Synopsis

Creating a Request

data UpdateEnvironmentAccountConnection Source #

Constructors

UpdateEnvironmentAccountConnection' 

Fields

  • id :: Text

    The ID of the environment account connection to update.

  • roleArn :: Text

    The Amazon Resource Name (ARN) of the IAM service role that is associated with the environment account connection to update.

Instances

Instances details
Eq UpdateEnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.UpdateEnvironmentAccountConnection

Read UpdateEnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.UpdateEnvironmentAccountConnection

Show UpdateEnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.UpdateEnvironmentAccountConnection

Generic UpdateEnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.UpdateEnvironmentAccountConnection

Associated Types

type Rep UpdateEnvironmentAccountConnection :: Type -> Type #

NFData UpdateEnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.UpdateEnvironmentAccountConnection

Hashable UpdateEnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.UpdateEnvironmentAccountConnection

ToJSON UpdateEnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.UpdateEnvironmentAccountConnection

AWSRequest UpdateEnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.UpdateEnvironmentAccountConnection

ToHeaders UpdateEnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.UpdateEnvironmentAccountConnection

ToPath UpdateEnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.UpdateEnvironmentAccountConnection

ToQuery UpdateEnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.UpdateEnvironmentAccountConnection

type Rep UpdateEnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.UpdateEnvironmentAccountConnection

type Rep UpdateEnvironmentAccountConnection = D1 ('MetaData "UpdateEnvironmentAccountConnection" "Amazonka.Proton.UpdateEnvironmentAccountConnection" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "UpdateEnvironmentAccountConnection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse UpdateEnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.UpdateEnvironmentAccountConnection

newUpdateEnvironmentAccountConnection Source #

Create a value of UpdateEnvironmentAccountConnection 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:id:UpdateEnvironmentAccountConnection', updateEnvironmentAccountConnection_id - The ID of the environment account connection to update.

$sel:roleArn:UpdateEnvironmentAccountConnection', updateEnvironmentAccountConnection_roleArn - The Amazon Resource Name (ARN) of the IAM service role that is associated with the environment account connection to update.

Request Lenses

updateEnvironmentAccountConnection_id :: Lens' UpdateEnvironmentAccountConnection Text Source #

The ID of the environment account connection to update.

updateEnvironmentAccountConnection_roleArn :: Lens' UpdateEnvironmentAccountConnection Text Source #

The Amazon Resource Name (ARN) of the IAM service role that is associated with the environment account connection to update.

Destructuring the Response

data UpdateEnvironmentAccountConnectionResponse Source #

Constructors

UpdateEnvironmentAccountConnectionResponse' 

Fields

Instances

Instances details
Eq UpdateEnvironmentAccountConnectionResponse Source # 
Instance details

Defined in Amazonka.Proton.UpdateEnvironmentAccountConnection

Read UpdateEnvironmentAccountConnectionResponse Source # 
Instance details

Defined in Amazonka.Proton.UpdateEnvironmentAccountConnection

Show UpdateEnvironmentAccountConnectionResponse Source # 
Instance details

Defined in Amazonka.Proton.UpdateEnvironmentAccountConnection

Generic UpdateEnvironmentAccountConnectionResponse Source # 
Instance details

Defined in Amazonka.Proton.UpdateEnvironmentAccountConnection

NFData UpdateEnvironmentAccountConnectionResponse Source # 
Instance details

Defined in Amazonka.Proton.UpdateEnvironmentAccountConnection

type Rep UpdateEnvironmentAccountConnectionResponse Source # 
Instance details

Defined in Amazonka.Proton.UpdateEnvironmentAccountConnection

type Rep UpdateEnvironmentAccountConnectionResponse = D1 ('MetaData "UpdateEnvironmentAccountConnectionResponse" "Amazonka.Proton.UpdateEnvironmentAccountConnection" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "UpdateEnvironmentAccountConnectionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "environmentAccountConnection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EnvironmentAccountConnection)))

Response Lenses