libZSservicesZSamazonka-codestar-connectionsZSamazonka-codestar-connections
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.CodeStarConnections.Types.Connection

Description

 
Synopsis

Documentation

data Connection Source #

A resource that is used to connect third-party source providers with services like AWS CodePipeline.

Note: A connection created through CloudFormation, the CLI, or the SDK is in `PENDING` status by default. You can make its status `AVAILABLE` by updating the connection in the console.

See: newConnection smart constructor.

Constructors

Connection' 

Fields

  • ownerAccountId :: Maybe Text

    The identifier of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.

  • providerType :: Maybe ProviderType

    The name of the external provider where your third-party code repository is configured.

  • connectionName :: Maybe Text

    The name of the connection. Connection names must be unique in an AWS user account.

  • connectionStatus :: Maybe ConnectionStatus

    The current status of the connection.

  • hostArn :: Maybe Text

    The Amazon Resource Name (ARN) of the host associated with the connection.

  • connectionArn :: Maybe Text

    The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services.

    The ARN is never reused if the connection is deleted.

Instances

Instances details
Eq Connection Source # 
Instance details

Defined in Amazonka.CodeStarConnections.Types.Connection

Read Connection Source # 
Instance details

Defined in Amazonka.CodeStarConnections.Types.Connection

Show Connection Source # 
Instance details

Defined in Amazonka.CodeStarConnections.Types.Connection

Generic Connection Source # 
Instance details

Defined in Amazonka.CodeStarConnections.Types.Connection

Associated Types

type Rep Connection :: Type -> Type #

NFData Connection Source # 
Instance details

Defined in Amazonka.CodeStarConnections.Types.Connection

Methods

rnf :: Connection -> () #

Hashable Connection Source # 
Instance details

Defined in Amazonka.CodeStarConnections.Types.Connection

FromJSON Connection Source # 
Instance details

Defined in Amazonka.CodeStarConnections.Types.Connection

type Rep Connection Source # 
Instance details

Defined in Amazonka.CodeStarConnections.Types.Connection

type Rep Connection = D1 ('MetaData "Connection" "Amazonka.CodeStarConnections.Types.Connection" "libZSservicesZSamazonka-codestar-connectionsZSamazonka-codestar-connections" 'False) (C1 ('MetaCons "Connection'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "ownerAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "providerType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProviderType)) :*: S1 ('MetaSel ('Just "connectionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "connectionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionStatus)) :*: (S1 ('MetaSel ('Just "hostArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "connectionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newConnection :: Connection Source #

Create a value of Connection 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:ownerAccountId:Connection', connection_ownerAccountId - The identifier of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.

$sel:providerType:Connection', connection_providerType - The name of the external provider where your third-party code repository is configured.

$sel:connectionName:Connection', connection_connectionName - The name of the connection. Connection names must be unique in an AWS user account.

$sel:connectionStatus:Connection', connection_connectionStatus - The current status of the connection.

$sel:hostArn:Connection', connection_hostArn - The Amazon Resource Name (ARN) of the host associated with the connection.

$sel:connectionArn:Connection', connection_connectionArn - The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services.

The ARN is never reused if the connection is deleted.

connection_ownerAccountId :: Lens' Connection (Maybe Text) Source #

The identifier of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.

connection_providerType :: Lens' Connection (Maybe ProviderType) Source #

The name of the external provider where your third-party code repository is configured.

connection_connectionName :: Lens' Connection (Maybe Text) Source #

The name of the connection. Connection names must be unique in an AWS user account.

connection_connectionStatus :: Lens' Connection (Maybe ConnectionStatus) Source #

The current status of the connection.

connection_hostArn :: Lens' Connection (Maybe Text) Source #

The Amazon Resource Name (ARN) of the host associated with the connection.

connection_connectionArn :: Lens' Connection (Maybe Text) Source #

The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services.

The ARN is never reused if the connection is deleted.