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

Description

Lists the connections associated with your account.

Synopsis

Creating a Request

data ListConnections Source #

See: newListConnections smart constructor.

Constructors

ListConnections' 

Fields

  • hostArnFilter :: Maybe Text

    Filters the list of connections to those associated with a specified host.

  • nextToken :: Maybe Text

    The token that was returned from the previous ListConnections call, which can be used to return the next set of connections in the list.

  • maxResults :: Maybe Natural

    The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value.

  • providerTypeFilter :: Maybe ProviderType

    Filters the list of connections to those associated with a specified provider, such as Bitbucket.

Instances

Instances details
Eq ListConnections Source # 
Instance details

Defined in Amazonka.CodeStarConnections.ListConnections

Read ListConnections Source # 
Instance details

Defined in Amazonka.CodeStarConnections.ListConnections

Show ListConnections Source # 
Instance details

Defined in Amazonka.CodeStarConnections.ListConnections

Generic ListConnections Source # 
Instance details

Defined in Amazonka.CodeStarConnections.ListConnections

Associated Types

type Rep ListConnections :: Type -> Type #

NFData ListConnections Source # 
Instance details

Defined in Amazonka.CodeStarConnections.ListConnections

Methods

rnf :: ListConnections -> () #

Hashable ListConnections Source # 
Instance details

Defined in Amazonka.CodeStarConnections.ListConnections

ToJSON ListConnections Source # 
Instance details

Defined in Amazonka.CodeStarConnections.ListConnections

AWSRequest ListConnections Source # 
Instance details

Defined in Amazonka.CodeStarConnections.ListConnections

Associated Types

type AWSResponse ListConnections #

ToHeaders ListConnections Source # 
Instance details

Defined in Amazonka.CodeStarConnections.ListConnections

ToPath ListConnections Source # 
Instance details

Defined in Amazonka.CodeStarConnections.ListConnections

ToQuery ListConnections Source # 
Instance details

Defined in Amazonka.CodeStarConnections.ListConnections

type Rep ListConnections Source # 
Instance details

Defined in Amazonka.CodeStarConnections.ListConnections

type Rep ListConnections = D1 ('MetaData "ListConnections" "Amazonka.CodeStarConnections.ListConnections" "libZSservicesZSamazonka-codestar-connectionsZSamazonka-codestar-connections" 'False) (C1 ('MetaCons "ListConnections'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "hostArnFilter") '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)) :*: S1 ('MetaSel ('Just "providerTypeFilter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProviderType)))))
type AWSResponse ListConnections Source # 
Instance details

Defined in Amazonka.CodeStarConnections.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:hostArnFilter:ListConnections', listConnections_hostArnFilter - Filters the list of connections to those associated with a specified host.

$sel:nextToken:ListConnections', listConnections_nextToken - The token that was returned from the previous ListConnections call, which can be used to return the next set of connections in the list.

$sel:maxResults:ListConnections', listConnections_maxResults - The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value.

$sel:providerTypeFilter:ListConnections', listConnections_providerTypeFilter - Filters the list of connections to those associated with a specified provider, such as Bitbucket.

Request Lenses

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

Filters the list of connections to those associated with a specified host.

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

The token that was returned from the previous ListConnections call, which can be used to return the next set of connections in the list.

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

The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value.

listConnections_providerTypeFilter :: Lens' ListConnections (Maybe ProviderType) Source #

Filters the list of connections to those associated with a specified provider, such as Bitbucket.

Destructuring the Response

data ListConnectionsResponse Source #

See: newListConnectionsResponse smart constructor.

Constructors

ListConnectionsResponse' 

Fields

  • connections :: Maybe [Connection]

    A list of connections and the details for each connection, such as status, owner, and provider type.

  • nextToken :: Maybe Text

    A token that can be used in the next ListConnections call. To view all items in the list, continue to call this operation with each subsequent token until no more nextToken values are returned.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListConnectionsResponse Source # 
Instance details

Defined in Amazonka.CodeStarConnections.ListConnections

Read ListConnectionsResponse Source # 
Instance details

Defined in Amazonka.CodeStarConnections.ListConnections

Show ListConnectionsResponse Source # 
Instance details

Defined in Amazonka.CodeStarConnections.ListConnections

Generic ListConnectionsResponse Source # 
Instance details

Defined in Amazonka.CodeStarConnections.ListConnections

Associated Types

type Rep ListConnectionsResponse :: Type -> Type #

NFData ListConnectionsResponse Source # 
Instance details

Defined in Amazonka.CodeStarConnections.ListConnections

Methods

rnf :: ListConnectionsResponse -> () #

type Rep ListConnectionsResponse Source # 
Instance details

Defined in Amazonka.CodeStarConnections.ListConnections

type Rep ListConnectionsResponse = D1 ('MetaData "ListConnectionsResponse" "Amazonka.CodeStarConnections.ListConnections" "libZSservicesZSamazonka-codestar-connectionsZSamazonka-codestar-connections" 'False) (C1 ('MetaCons "ListConnectionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "connections") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Connection])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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:connections:ListConnectionsResponse', listConnectionsResponse_connections - A list of connections and the details for each connection, such as status, owner, and provider type.

$sel:nextToken:ListConnections', listConnectionsResponse_nextToken - A token that can be used in the next ListConnections call. To view all items in the list, continue to call this operation with each subsequent token until no more nextToken values are returned.

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

Response Lenses

listConnectionsResponse_connections :: Lens' ListConnectionsResponse (Maybe [Connection]) Source #

A list of connections and the details for each connection, such as status, owner, and provider type.

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

A token that can be used in the next ListConnections call. To view all items in the list, continue to call this operation with each subsequent token until no more nextToken values are returned.