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

Description

Returns the connection ARN and details such as status, owner, and provider type.

Synopsis

Creating a Request

data GetConnection Source #

See: newGetConnection smart constructor.

Constructors

GetConnection' 

Fields

Instances

Instances details
Eq GetConnection Source # 
Instance details

Defined in Amazonka.CodeStarConnections.GetConnection

Read GetConnection Source # 
Instance details

Defined in Amazonka.CodeStarConnections.GetConnection

Show GetConnection Source # 
Instance details

Defined in Amazonka.CodeStarConnections.GetConnection

Generic GetConnection Source # 
Instance details

Defined in Amazonka.CodeStarConnections.GetConnection

Associated Types

type Rep GetConnection :: Type -> Type #

NFData GetConnection Source # 
Instance details

Defined in Amazonka.CodeStarConnections.GetConnection

Methods

rnf :: GetConnection -> () #

Hashable GetConnection Source # 
Instance details

Defined in Amazonka.CodeStarConnections.GetConnection

ToJSON GetConnection Source # 
Instance details

Defined in Amazonka.CodeStarConnections.GetConnection

AWSRequest GetConnection Source # 
Instance details

Defined in Amazonka.CodeStarConnections.GetConnection

Associated Types

type AWSResponse GetConnection #

ToHeaders GetConnection Source # 
Instance details

Defined in Amazonka.CodeStarConnections.GetConnection

ToPath GetConnection Source # 
Instance details

Defined in Amazonka.CodeStarConnections.GetConnection

ToQuery GetConnection Source # 
Instance details

Defined in Amazonka.CodeStarConnections.GetConnection

type Rep GetConnection Source # 
Instance details

Defined in Amazonka.CodeStarConnections.GetConnection

type Rep GetConnection = D1 ('MetaData "GetConnection" "Amazonka.CodeStarConnections.GetConnection" "libZSservicesZSamazonka-codestar-connectionsZSamazonka-codestar-connections" 'False) (C1 ('MetaCons "GetConnection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "connectionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetConnection Source # 
Instance details

Defined in Amazonka.CodeStarConnections.GetConnection

newGetConnection Source #

Create a value of GetConnection 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:connectionArn:GetConnection', getConnection_connectionArn - The Amazon Resource Name (ARN) of a connection.

Request Lenses

getConnection_connectionArn :: Lens' GetConnection Text Source #

The Amazon Resource Name (ARN) of a connection.

Destructuring the Response

data GetConnectionResponse Source #

See: newGetConnectionResponse smart constructor.

Constructors

GetConnectionResponse' 

Fields

Instances

Instances details
Eq GetConnectionResponse Source # 
Instance details

Defined in Amazonka.CodeStarConnections.GetConnection

Read GetConnectionResponse Source # 
Instance details

Defined in Amazonka.CodeStarConnections.GetConnection

Show GetConnectionResponse Source # 
Instance details

Defined in Amazonka.CodeStarConnections.GetConnection

Generic GetConnectionResponse Source # 
Instance details

Defined in Amazonka.CodeStarConnections.GetConnection

Associated Types

type Rep GetConnectionResponse :: Type -> Type #

NFData GetConnectionResponse Source # 
Instance details

Defined in Amazonka.CodeStarConnections.GetConnection

Methods

rnf :: GetConnectionResponse -> () #

type Rep GetConnectionResponse Source # 
Instance details

Defined in Amazonka.CodeStarConnections.GetConnection

type Rep GetConnectionResponse = D1 ('MetaData "GetConnectionResponse" "Amazonka.CodeStarConnections.GetConnection" "libZSservicesZSamazonka-codestar-connectionsZSamazonka-codestar-connections" 'False) (C1 ('MetaCons "GetConnectionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "connection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Connection)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetConnectionResponse Source #

Create a value of GetConnectionResponse 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:connection:GetConnectionResponse', getConnectionResponse_connection - The connection details, such as status, owner, and provider type.

$sel:httpStatus:GetConnectionResponse', getConnectionResponse_httpStatus - The response's http status code.

Response Lenses

getConnectionResponse_connection :: Lens' GetConnectionResponse (Maybe Connection) Source #

The connection details, such as status, owner, and provider type.