Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- defaultService :: Service
- _ResourceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError
- _UnsupportedOperationException :: AsError a => Getting (First ServiceError) a ServiceError
- _ConflictException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- newtype ConnectionStatus where
- ConnectionStatus' { }
- pattern ConnectionStatus_AVAILABLE :: ConnectionStatus
- pattern ConnectionStatus_ERROR :: ConnectionStatus
- pattern ConnectionStatus_PENDING :: ConnectionStatus
- newtype ProviderType where
- ProviderType' { }
- pattern ProviderType_Bitbucket :: ProviderType
- pattern ProviderType_GitHub :: ProviderType
- pattern ProviderType_GitHubEnterpriseServer :: ProviderType
- data Connection = Connection' {}
- newConnection :: Connection
- connection_ownerAccountId :: Lens' Connection (Maybe Text)
- connection_providerType :: Lens' Connection (Maybe ProviderType)
- connection_connectionName :: Lens' Connection (Maybe Text)
- connection_connectionStatus :: Lens' Connection (Maybe ConnectionStatus)
- connection_hostArn :: Lens' Connection (Maybe Text)
- connection_connectionArn :: Lens' Connection (Maybe Text)
- data Host = Host' {}
- newHost :: Host
- host_status :: Lens' Host (Maybe Text)
- host_providerEndpoint :: Lens' Host (Maybe Text)
- host_providerType :: Lens' Host (Maybe ProviderType)
- host_statusMessage :: Lens' Host (Maybe Text)
- host_name :: Lens' Host (Maybe Text)
- host_hostArn :: Lens' Host (Maybe Text)
- host_vpcConfiguration :: Lens' Host (Maybe VpcConfiguration)
- data Tag = Tag' {}
- newTag :: Text -> Text -> Tag
- tag_key :: Lens' Tag Text
- tag_value :: Lens' Tag Text
- data VpcConfiguration = VpcConfiguration' {}
- newVpcConfiguration :: Text -> NonEmpty Text -> NonEmpty Text -> VpcConfiguration
- vpcConfiguration_tlsCertificate :: Lens' VpcConfiguration (Maybe Text)
- vpcConfiguration_vpcId :: Lens' VpcConfiguration Text
- vpcConfiguration_subnetIds :: Lens' VpcConfiguration (NonEmpty Text)
- vpcConfiguration_securityGroupIds :: Lens' VpcConfiguration (NonEmpty Text)
Service Configuration
defaultService :: Service Source #
API version 2019-12-01
of the Amazon CodeStar connections SDK configuration.
Errors
_ResourceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Resource not found. Verify the ARN for the host resource and try again.
_UnsupportedOperationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation is not supported. Check the connection status and try again.
_ConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Two conflicting operations have been made on the same resource.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Resource not found. Verify the connection resource ARN and try again.
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Exceeded the maximum limit for connections.
ConnectionStatus
newtype ConnectionStatus Source #
pattern ConnectionStatus_AVAILABLE :: ConnectionStatus | |
pattern ConnectionStatus_ERROR :: ConnectionStatus | |
pattern ConnectionStatus_PENDING :: ConnectionStatus |
Instances
ProviderType
newtype ProviderType Source #
pattern ProviderType_Bitbucket :: ProviderType | |
pattern ProviderType_GitHub :: ProviderType | |
pattern ProviderType_GitHubEnterpriseServer :: ProviderType |
Instances
Connection
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.
Connection' | |
|
Instances
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.
Host
A resource that represents the infrastructure where a third-party provider is installed. The host is used when you create connections to an installed third-party provider type, such as GitHub Enterprise Server. You create one host for all connections to that provider.
A host created through the CLI or the SDK is in `PENDING` status by default. You can make its status `AVAILABLE` by setting up the host in the console.
See: newHost
smart constructor.
Host' | |
|
Instances
Create a value of Host
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:status:Host'
, host_status
- The status of the host, such as PENDING, AVAILABLE, VPC_CONFIG_DELETING,
VPC_CONFIG_INITIALIZING, and VPC_CONFIG_FAILED_INITIALIZATION.
$sel:providerEndpoint:Host'
, host_providerEndpoint
- The endpoint of the infrastructure where your provider type is
installed.
$sel:providerType:Host'
, host_providerType
- The name of the installed provider to be associated with your
connection. The host resource represents the infrastructure where your
provider type is installed. The valid provider type is GitHub Enterprise
Server.
$sel:statusMessage:Host'
, host_statusMessage
- The status description for the host.
$sel:name:Host'
, host_name
- The name of the host.
$sel:hostArn:Host'
, host_hostArn
- The Amazon Resource Name (ARN) of the host.
$sel:vpcConfiguration:Host'
, host_vpcConfiguration
- The VPC configuration provisioned for the host.
host_status :: Lens' Host (Maybe Text) Source #
The status of the host, such as PENDING, AVAILABLE, VPC_CONFIG_DELETING, VPC_CONFIG_INITIALIZING, and VPC_CONFIG_FAILED_INITIALIZATION.
host_providerEndpoint :: Lens' Host (Maybe Text) Source #
The endpoint of the infrastructure where your provider type is installed.
host_providerType :: Lens' Host (Maybe ProviderType) Source #
The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.
host_vpcConfiguration :: Lens' Host (Maybe VpcConfiguration) Source #
The VPC configuration provisioned for the host.
Tag
A tag is a key-value pair that is used to manage the resource.
This tag is available for use by AWS services that support tags.
See: newTag
smart constructor.
Instances
Eq Tag Source # | |
Read Tag Source # | |
Show Tag Source # | |
Generic Tag Source # | |
NFData Tag Source # | |
Defined in Amazonka.CodeStarConnections.Types.Tag | |
Hashable Tag Source # | |
Defined in Amazonka.CodeStarConnections.Types.Tag | |
ToJSON Tag Source # | |
Defined in Amazonka.CodeStarConnections.Types.Tag | |
FromJSON Tag Source # | |
type Rep Tag Source # | |
Defined in Amazonka.CodeStarConnections.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.CodeStarConnections.Types.Tag" "libZSservicesZSamazonka-codestar-connectionsZSamazonka-codestar-connections" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of Tag
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:key:Tag'
, tag_key
- The tag's key.
$sel:value:Tag'
, tag_value
- The tag's value.
VpcConfiguration
data VpcConfiguration Source #
The VPC configuration provisioned for the host.
See: newVpcConfiguration
smart constructor.
VpcConfiguration' | |
|
Instances
Create a value of VpcConfiguration
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:tlsCertificate:VpcConfiguration'
, vpcConfiguration_tlsCertificate
- The value of the Transport Layer Security (TLS) certificate associated
with the infrastructure where your provider type is installed.
$sel:vpcId:VpcConfiguration'
, vpcConfiguration_vpcId
- The ID of the Amazon VPC connected to the infrastructure where your
provider type is installed.
$sel:subnetIds:VpcConfiguration'
, vpcConfiguration_subnetIds
- The ID of the subnet or subnets associated with the Amazon VPC connected
to the infrastructure where your provider type is installed.
$sel:securityGroupIds:VpcConfiguration'
, vpcConfiguration_securityGroupIds
- The ID of the security group or security groups associated with the
Amazon VPC connected to the infrastructure where your provider type is
installed.
vpcConfiguration_tlsCertificate :: Lens' VpcConfiguration (Maybe Text) Source #
The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
vpcConfiguration_vpcId :: Lens' VpcConfiguration Text Source #
The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
vpcConfiguration_subnetIds :: Lens' VpcConfiguration (NonEmpty Text) Source #
The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
vpcConfiguration_securityGroupIds :: Lens' VpcConfiguration (NonEmpty Text) Source #
The ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed.