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

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

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

Instances

Instances details
Eq ListConnections Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

Read ListConnections Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

Show ListConnections Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

Generic ListConnections Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

Associated Types

type Rep ListConnections :: Type -> Type #

NFData ListConnections Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

Methods

rnf :: ListConnections -> () #

Hashable ListConnections Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

ToJSON ListConnections Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

AWSRequest ListConnections Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

Associated Types

type AWSResponse 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

type Rep ListConnections Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

type Rep ListConnections = D1 ('MetaData "ListConnections" "Amazonka.AppRunner.ListConnections" "libZSservicesZSamazonka-apprunnerZSamazonka-apprunner" 'False) (C1 ('MetaCons "ListConnections'" 'PrefixI 'True) (S1 ('MetaSel ('Just "connectionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListConnections Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

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:

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

$sel:nextToken: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.

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

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

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.

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
Eq ListConnectionsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

Read ListConnectionsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

Show ListConnectionsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

Generic ListConnectionsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

Associated Types

type Rep ListConnectionsResponse :: Type -> Type #

NFData ListConnectionsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

Methods

rnf :: ListConnectionsResponse -> () #

type Rep ListConnectionsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListConnections

type Rep ListConnectionsResponse = D1 ('MetaData "ListConnectionsResponse" "Amazonka.AppRunner.ListConnections" "libZSservicesZSamazonka-apprunnerZSamazonka-apprunner" '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:

$sel:nextToken: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.