amazonka-apprunner-2.0: Amazon App Runner 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.AppRunner.ListConnections

Description

Returns a list of App Runner connections that are associated with your Amazon Web Services account.

Synopsis

Creating a Request

data ListConnections Source #

See: newListConnections smart constructor.

Constructors

ListConnections' 

Fields

  • connectionName :: Maybe Text

    If specified, only this connection is returned. If not specified, the result isn't filtered by name.

  • maxResults :: Maybe Natural

    The maximum number of results to include in each response (result page). Used for a paginated request.

    If you don't specify MaxResults, the request retrieves all available results in a single response.

  • nextToken :: Maybe Text

    A token from a previous result page. Used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones specified in the initial request.

    If you don't specify NextToken, the request retrieves the first result page.

Instances

Instances details
ToJSON ListConnections Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

ToHeaders ListConnections Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

ToPath ListConnections Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

ToQuery ListConnections Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

AWSRequest ListConnections Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

Associated Types

type AWSResponse ListConnections #

Generic ListConnections Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

Associated Types

type Rep ListConnections :: Type -> Type #

Read ListConnections Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

Show ListConnections Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

NFData ListConnections Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

Methods

rnf :: ListConnections -> () #

Eq ListConnections Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

Hashable ListConnections Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

type AWSResponse ListConnections Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

type Rep ListConnections Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

type Rep ListConnections = D1 ('MetaData "ListConnections" "Amazonka.AppRunner.ListConnections" "amazonka-apprunner-2.0-EwwUWnxXZrM2Mgbv25gcO5" 'False) (C1 ('MetaCons "ListConnections'" 'PrefixI 'True) (S1 ('MetaSel ('Just "connectionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newListConnections :: ListConnections Source #

Create a value of ListConnections 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:

ListConnections, listConnections_connectionName - If specified, only this connection is returned. If not specified, the result isn't filtered by name.

$sel:maxResults:ListConnections', listConnections_maxResults - The maximum number of results to include in each response (result page). Used for a paginated request.

If you don't specify MaxResults, the request retrieves all available results in a single response.

ListConnections, listConnections_nextToken - A token from a previous result page. Used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones specified in the initial request.

If you don't specify NextToken, the request retrieves the first result page.

Request Lenses

listConnections_connectionName :: Lens' ListConnections (Maybe Text) Source #

If specified, only this connection is returned. If not specified, the result isn't filtered by name.

listConnections_maxResults :: Lens' ListConnections (Maybe Natural) Source #

The maximum number of results to include in each response (result page). Used for a paginated request.

If you don't specify MaxResults, the request retrieves all available results in a single response.

listConnections_nextToken :: Lens' ListConnections (Maybe Text) Source #

A token from a previous result page. Used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones specified in the initial request.

If you don't specify NextToken, the request retrieves the first result page.

Destructuring the Response

data ListConnectionsResponse Source #

See: newListConnectionsResponse smart constructor.

Constructors

ListConnectionsResponse' 

Fields

  • nextToken :: Maybe Text

    The token that you can pass in a subsequent request to get the next result page. Returned in a paginated request.

  • httpStatus :: Int

    The response's http status code.

  • connectionSummaryList :: [ConnectionSummary]

    A list of summary information records for connections. In a paginated request, the request returns up to MaxResults records for each call.

Instances

Instances details
Generic ListConnectionsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

Associated Types

type Rep ListConnectionsResponse :: Type -> Type #

Read ListConnectionsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

Show ListConnectionsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

NFData ListConnectionsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

Methods

rnf :: ListConnectionsResponse -> () #

Eq ListConnectionsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

type Rep ListConnectionsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

type Rep ListConnectionsResponse = D1 ('MetaData "ListConnectionsResponse" "Amazonka.AppRunner.ListConnections" "amazonka-apprunner-2.0-EwwUWnxXZrM2Mgbv25gcO5" 'False) (C1 ('MetaCons "ListConnectionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "connectionSummaryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ConnectionSummary]))))

newListConnectionsResponse Source #

Create a value of ListConnectionsResponse 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:

ListConnections, listConnectionsResponse_nextToken - The token that you can pass in a subsequent request to get the next result page. Returned in a paginated request.

$sel:httpStatus:ListConnectionsResponse', listConnectionsResponse_httpStatus - The response's http status code.

$sel:connectionSummaryList:ListConnectionsResponse', listConnectionsResponse_connectionSummaryList - A list of summary information records for connections. In a paginated request, the request returns up to MaxResults records for each call.

Response Lenses

listConnectionsResponse_nextToken :: Lens' ListConnectionsResponse (Maybe Text) Source #

The token that you can pass in a subsequent request to get the next result page. Returned in a paginated request.

listConnectionsResponse_connectionSummaryList :: Lens' ListConnectionsResponse [ConnectionSummary] Source #

A list of summary information records for connections. In a paginated request, the request returns up to MaxResults records for each call.