libZSservicesZSamazonka-codedeployZSamazonka-codedeploy
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.CodeDeploy.ListDeploymentGroups

Description

Lists the deployment groups for an application registered with the IAM user or AWS account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListDeploymentGroups Source #

Represents the input of a ListDeploymentGroups operation.

See: newListDeploymentGroups smart constructor.

Constructors

ListDeploymentGroups' 

Fields

  • nextToken :: Maybe Text

    An identifier returned from the previous list deployment groups call. It can be used to return the next set of deployment groups in the list.

  • applicationName :: Text

    The name of an AWS CodeDeploy application associated with the IAM user or AWS account.

Instances

Instances details
Eq ListDeploymentGroups Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

Read ListDeploymentGroups Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

Show ListDeploymentGroups Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

Generic ListDeploymentGroups Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

Associated Types

type Rep ListDeploymentGroups :: Type -> Type #

NFData ListDeploymentGroups Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

Methods

rnf :: ListDeploymentGroups -> () #

Hashable ListDeploymentGroups Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

ToJSON ListDeploymentGroups Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

AWSPager ListDeploymentGroups Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

AWSRequest ListDeploymentGroups Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

Associated Types

type AWSResponse ListDeploymentGroups #

ToHeaders ListDeploymentGroups Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

ToPath ListDeploymentGroups Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

ToQuery ListDeploymentGroups Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

type Rep ListDeploymentGroups Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

type Rep ListDeploymentGroups = D1 ('MetaData "ListDeploymentGroups" "Amazonka.CodeDeploy.ListDeploymentGroups" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" 'False) (C1 ('MetaCons "ListDeploymentGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "applicationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse ListDeploymentGroups Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

newListDeploymentGroups Source #

Create a value of ListDeploymentGroups 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:ListDeploymentGroups', listDeploymentGroups_nextToken - An identifier returned from the previous list deployment groups call. It can be used to return the next set of deployment groups in the list.

$sel:applicationName:ListDeploymentGroups', listDeploymentGroups_applicationName - The name of an AWS CodeDeploy application associated with the IAM user or AWS account.

Request Lenses

listDeploymentGroups_nextToken :: Lens' ListDeploymentGroups (Maybe Text) Source #

An identifier returned from the previous list deployment groups call. It can be used to return the next set of deployment groups in the list.

listDeploymentGroups_applicationName :: Lens' ListDeploymentGroups Text Source #

The name of an AWS CodeDeploy application associated with the IAM user or AWS account.

Destructuring the Response

data ListDeploymentGroupsResponse Source #

Represents the output of a ListDeploymentGroups operation.

See: newListDeploymentGroupsResponse smart constructor.

Constructors

ListDeploymentGroupsResponse' 

Fields

Instances

Instances details
Eq ListDeploymentGroupsResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

Read ListDeploymentGroupsResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

Show ListDeploymentGroupsResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

Generic ListDeploymentGroupsResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

Associated Types

type Rep ListDeploymentGroupsResponse :: Type -> Type #

NFData ListDeploymentGroupsResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

type Rep ListDeploymentGroupsResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

type Rep ListDeploymentGroupsResponse = D1 ('MetaData "ListDeploymentGroupsResponse" "Amazonka.CodeDeploy.ListDeploymentGroups" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" 'False) (C1 ('MetaCons "ListDeploymentGroupsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "applicationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "deploymentGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListDeploymentGroupsResponse Source #

Create a value of ListDeploymentGroupsResponse 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:ListDeploymentGroups', listDeploymentGroupsResponse_nextToken - If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployment groups call to return the next set of deployment groups in the list.

$sel:applicationName:ListDeploymentGroups', listDeploymentGroupsResponse_applicationName - The application name.

$sel:deploymentGroups:ListDeploymentGroupsResponse', listDeploymentGroupsResponse_deploymentGroups - A list of deployment group names.

$sel:httpStatus:ListDeploymentGroupsResponse', listDeploymentGroupsResponse_httpStatus - The response's http status code.

Response Lenses

listDeploymentGroupsResponse_nextToken :: Lens' ListDeploymentGroupsResponse (Maybe Text) Source #

If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployment groups call to return the next set of deployment groups in the list.