amazonka-proton-2.0: Amazon Proton 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.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 Proton User guide.

Synopsis

Creating a Request

data UpdateEnvironmentAccountConnection Source #

Constructors

UpdateEnvironmentAccountConnection' 

Fields

  • codebuildRoleArn :: Maybe Text

    The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.

  • componentRoleArn :: Maybe Text

    The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.

    The environment account connection must have a componentRoleArn to allow directly defined components to be associated with any environments running in the account.

    For more information about components, see Proton components in the Proton User Guide.

  • roleArn :: Maybe Text

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

  • id :: Text

    The ID of the environment account connection to update.

Instances

Instances details
ToJSON 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

AWSRequest 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 #

Read UpdateEnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.UpdateEnvironmentAccountConnection

Show UpdateEnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.UpdateEnvironmentAccountConnection

NFData UpdateEnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.UpdateEnvironmentAccountConnection

Eq UpdateEnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.UpdateEnvironmentAccountConnection

Hashable UpdateEnvironmentAccountConnection Source # 
Instance details

Defined in Amazonka.Proton.UpdateEnvironmentAccountConnection

type AWSResponse 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" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "UpdateEnvironmentAccountConnection'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "codebuildRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "componentRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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:

UpdateEnvironmentAccountConnection, updateEnvironmentAccountConnection_codebuildRoleArn - The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.

UpdateEnvironmentAccountConnection, updateEnvironmentAccountConnection_componentRoleArn - The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.

The environment account connection must have a componentRoleArn to allow directly defined components to be associated with any environments running in the account.

For more information about components, see Proton components in the Proton User Guide.

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

UpdateEnvironmentAccountConnection, updateEnvironmentAccountConnection_id - The ID of the environment account connection to update.

Request Lenses

updateEnvironmentAccountConnection_codebuildRoleArn :: Lens' UpdateEnvironmentAccountConnection (Maybe Text) Source #

The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.

updateEnvironmentAccountConnection_componentRoleArn :: Lens' UpdateEnvironmentAccountConnection (Maybe Text) Source #

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.

The environment account connection must have a componentRoleArn to allow directly defined components to be associated with any environments running in the account.

For more information about components, see Proton components in the Proton User Guide.

updateEnvironmentAccountConnection_roleArn :: Lens' UpdateEnvironmentAccountConnection (Maybe Text) Source #

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

updateEnvironmentAccountConnection_id :: Lens' UpdateEnvironmentAccountConnection Text Source #

The ID of the environment account connection to update.

Destructuring the Response

data UpdateEnvironmentAccountConnectionResponse Source #

Constructors

UpdateEnvironmentAccountConnectionResponse' 

Fields

Instances

Instances details
Generic 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

NFData UpdateEnvironmentAccountConnectionResponse Source # 
Instance details

Defined in Amazonka.Proton.UpdateEnvironmentAccountConnection

Eq 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" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" '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