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.UpdateAccountSettings

Description

Update Proton settings that are used for multiple services in the Amazon Web Services account.

Synopsis

Creating a Request

data UpdateAccountSettings Source #

See: newUpdateAccountSettings smart constructor.

Constructors

UpdateAccountSettings' 

Fields

  • deletePipelineProvisioningRepository :: Maybe Bool

    Set to true to remove a configured pipeline repository from the account settings. Don't set this field if you are updating the configured pipeline repository.

  • pipelineCodebuildRoleArn :: Maybe Text

    The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Proton assumes this role for CodeBuild-based provisioning.

  • pipelineProvisioningRepository :: Maybe RepositoryBranchInput

    A linked repository for pipeline provisioning. Specify it if you have environments configured for self-managed provisioning with services that include pipelines. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.

    To remove a previously configured repository, set deletePipelineProvisioningRepository to true, and don't set pipelineProvisioningRepository.

  • pipelineServiceRoleArn :: Maybe Text

    The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Assumed by Proton for Amazon Web Services-managed provisioning, and by customer-owned automation for self-managed provisioning.

    To remove a previously configured ARN, specify an empty string.

Instances

Instances details
ToJSON UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.Proton.UpdateAccountSettings

ToHeaders UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.Proton.UpdateAccountSettings

ToPath UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.Proton.UpdateAccountSettings

ToQuery UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.Proton.UpdateAccountSettings

AWSRequest UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.Proton.UpdateAccountSettings

Associated Types

type AWSResponse UpdateAccountSettings #

Generic UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.Proton.UpdateAccountSettings

Associated Types

type Rep UpdateAccountSettings :: Type -> Type #

Read UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.Proton.UpdateAccountSettings

Show UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.Proton.UpdateAccountSettings

NFData UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.Proton.UpdateAccountSettings

Methods

rnf :: UpdateAccountSettings -> () #

Eq UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.Proton.UpdateAccountSettings

Hashable UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.Proton.UpdateAccountSettings

type AWSResponse UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.Proton.UpdateAccountSettings

type Rep UpdateAccountSettings Source # 
Instance details

Defined in Amazonka.Proton.UpdateAccountSettings

type Rep UpdateAccountSettings = D1 ('MetaData "UpdateAccountSettings" "Amazonka.Proton.UpdateAccountSettings" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "UpdateAccountSettings'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deletePipelineProvisioningRepository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "pipelineCodebuildRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "pipelineProvisioningRepository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RepositoryBranchInput)) :*: S1 ('MetaSel ('Just "pipelineServiceRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newUpdateAccountSettings :: UpdateAccountSettings Source #

Create a value of UpdateAccountSettings 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:deletePipelineProvisioningRepository:UpdateAccountSettings', updateAccountSettings_deletePipelineProvisioningRepository - Set to true to remove a configured pipeline repository from the account settings. Don't set this field if you are updating the configured pipeline repository.

UpdateAccountSettings, updateAccountSettings_pipelineCodebuildRoleArn - The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Proton assumes this role for CodeBuild-based provisioning.

UpdateAccountSettings, updateAccountSettings_pipelineProvisioningRepository - A linked repository for pipeline provisioning. Specify it if you have environments configured for self-managed provisioning with services that include pipelines. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.

To remove a previously configured repository, set deletePipelineProvisioningRepository to true, and don't set pipelineProvisioningRepository.

UpdateAccountSettings, updateAccountSettings_pipelineServiceRoleArn - The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Assumed by Proton for Amazon Web Services-managed provisioning, and by customer-owned automation for self-managed provisioning.

To remove a previously configured ARN, specify an empty string.

Request Lenses

updateAccountSettings_deletePipelineProvisioningRepository :: Lens' UpdateAccountSettings (Maybe Bool) Source #

Set to true to remove a configured pipeline repository from the account settings. Don't set this field if you are updating the configured pipeline repository.

updateAccountSettings_pipelineCodebuildRoleArn :: Lens' UpdateAccountSettings (Maybe Text) Source #

The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Proton assumes this role for CodeBuild-based provisioning.

updateAccountSettings_pipelineProvisioningRepository :: Lens' UpdateAccountSettings (Maybe RepositoryBranchInput) Source #

A linked repository for pipeline provisioning. Specify it if you have environments configured for self-managed provisioning with services that include pipelines. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.

To remove a previously configured repository, set deletePipelineProvisioningRepository to true, and don't set pipelineProvisioningRepository.

updateAccountSettings_pipelineServiceRoleArn :: Lens' UpdateAccountSettings (Maybe Text) Source #

The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Assumed by Proton for Amazon Web Services-managed provisioning, and by customer-owned automation for self-managed provisioning.

To remove a previously configured ARN, specify an empty string.

Destructuring the Response

data UpdateAccountSettingsResponse Source #

See: newUpdateAccountSettingsResponse smart constructor.

Constructors

UpdateAccountSettingsResponse' 

Fields

Instances

Instances details
Generic UpdateAccountSettingsResponse Source # 
Instance details

Defined in Amazonka.Proton.UpdateAccountSettings

Associated Types

type Rep UpdateAccountSettingsResponse :: Type -> Type #

Read UpdateAccountSettingsResponse Source # 
Instance details

Defined in Amazonka.Proton.UpdateAccountSettings

Show UpdateAccountSettingsResponse Source # 
Instance details

Defined in Amazonka.Proton.UpdateAccountSettings

NFData UpdateAccountSettingsResponse Source # 
Instance details

Defined in Amazonka.Proton.UpdateAccountSettings

Eq UpdateAccountSettingsResponse Source # 
Instance details

Defined in Amazonka.Proton.UpdateAccountSettings

type Rep UpdateAccountSettingsResponse Source # 
Instance details

Defined in Amazonka.Proton.UpdateAccountSettings

type Rep UpdateAccountSettingsResponse = D1 ('MetaData "UpdateAccountSettingsResponse" "Amazonka.Proton.UpdateAccountSettings" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "UpdateAccountSettingsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "accountSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AccountSettings)))

newUpdateAccountSettingsResponse Source #

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

$sel:accountSettings:UpdateAccountSettingsResponse', updateAccountSettingsResponse_accountSettings - The Proton pipeline service role and repository data shared across the Amazon Web Services account.

Response Lenses

updateAccountSettingsResponse_accountSettings :: Lens' UpdateAccountSettingsResponse AccountSettings Source #

The Proton pipeline service role and repository data shared across the Amazon Web Services account.