libZSservicesZSamazonka-apprunnerZSamazonka-apprunner
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.AppRunner.CreateConnection

Description

Create an App Runner connection resource. App Runner requires a connection resource when you create App Runner services that access private repositories from certain third-party providers. You can share a connection across multiple services.

A connection resource is needed to access GitHub repositories. GitHub requires a user interface approval process through the App Runner console before you can use the connection.

Synopsis

Creating a Request

data CreateConnection Source #

See: newCreateConnection smart constructor.

Constructors

CreateConnection' 

Fields

  • tags :: Maybe [Tag]

    A list of metadata items that you can associate with your connection resource. A tag is a key-value pair.

  • connectionName :: Text

    A name for the new connection. It must be unique across all App Runner connections for the Amazon Web Services account in the Amazon Web Services Region.

  • providerType :: ProviderType

    The source repository provider.

Instances

Instances details
Eq CreateConnection Source # 
Instance details

Defined in Amazonka.AppRunner.CreateConnection

Read CreateConnection Source # 
Instance details

Defined in Amazonka.AppRunner.CreateConnection

Show CreateConnection Source # 
Instance details

Defined in Amazonka.AppRunner.CreateConnection

Generic CreateConnection Source # 
Instance details

Defined in Amazonka.AppRunner.CreateConnection

Associated Types

type Rep CreateConnection :: Type -> Type #

NFData CreateConnection Source # 
Instance details

Defined in Amazonka.AppRunner.CreateConnection

Methods

rnf :: CreateConnection -> () #

Hashable CreateConnection Source # 
Instance details

Defined in Amazonka.AppRunner.CreateConnection

ToJSON CreateConnection Source # 
Instance details

Defined in Amazonka.AppRunner.CreateConnection

AWSRequest CreateConnection Source # 
Instance details

Defined in Amazonka.AppRunner.CreateConnection

Associated Types

type AWSResponse CreateConnection #

ToHeaders CreateConnection Source # 
Instance details

Defined in Amazonka.AppRunner.CreateConnection

ToPath CreateConnection Source # 
Instance details

Defined in Amazonka.AppRunner.CreateConnection

ToQuery CreateConnection Source # 
Instance details

Defined in Amazonka.AppRunner.CreateConnection

type Rep CreateConnection Source # 
Instance details

Defined in Amazonka.AppRunner.CreateConnection

type Rep CreateConnection = D1 ('MetaData "CreateConnection" "Amazonka.AppRunner.CreateConnection" "libZSservicesZSamazonka-apprunnerZSamazonka-apprunner" 'False) (C1 ('MetaCons "CreateConnection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 ('MetaSel ('Just "connectionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "providerType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ProviderType))))
type AWSResponse CreateConnection Source # 
Instance details

Defined in Amazonka.AppRunner.CreateConnection

newCreateConnection Source #

Create a value of CreateConnection 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:tags:CreateConnection', createConnection_tags - A list of metadata items that you can associate with your connection resource. A tag is a key-value pair.

$sel:connectionName:CreateConnection', createConnection_connectionName - A name for the new connection. It must be unique across all App Runner connections for the Amazon Web Services account in the Amazon Web Services Region.

$sel:providerType:CreateConnection', createConnection_providerType - The source repository provider.

Request Lenses

createConnection_tags :: Lens' CreateConnection (Maybe [Tag]) Source #

A list of metadata items that you can associate with your connection resource. A tag is a key-value pair.

createConnection_connectionName :: Lens' CreateConnection Text Source #

A name for the new connection. It must be unique across all App Runner connections for the Amazon Web Services account in the Amazon Web Services Region.

Destructuring the Response

data CreateConnectionResponse Source #

See: newCreateConnectionResponse smart constructor.

Constructors

CreateConnectionResponse' 

Fields

Instances

Instances details
Eq CreateConnectionResponse Source # 
Instance details

Defined in Amazonka.AppRunner.CreateConnection

Read CreateConnectionResponse Source # 
Instance details

Defined in Amazonka.AppRunner.CreateConnection

Show CreateConnectionResponse Source # 
Instance details

Defined in Amazonka.AppRunner.CreateConnection

Generic CreateConnectionResponse Source # 
Instance details

Defined in Amazonka.AppRunner.CreateConnection

Associated Types

type Rep CreateConnectionResponse :: Type -> Type #

NFData CreateConnectionResponse Source # 
Instance details

Defined in Amazonka.AppRunner.CreateConnection

type Rep CreateConnectionResponse Source # 
Instance details

Defined in Amazonka.AppRunner.CreateConnection

type Rep CreateConnectionResponse = D1 ('MetaData "CreateConnectionResponse" "Amazonka.AppRunner.CreateConnection" "libZSservicesZSamazonka-apprunnerZSamazonka-apprunner" 'False) (C1 ('MetaCons "CreateConnectionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "connection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Connection)))

newCreateConnectionResponse Source #

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

$sel:connection:CreateConnectionResponse', createConnectionResponse_connection - A description of the App Runner connection that's created by this request.

Response Lenses

createConnectionResponse_connection :: Lens' CreateConnectionResponse Connection Source #

A description of the App Runner connection that's created by this request.