amazonka-codedeploy-2.0: Amazon CodeDeploy 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.CodeDeploy.ListDeploymentGroups

Description

Lists the deployment groups for an application registered with the IAM user or Amazon Web Services 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 CodeDeploy application associated with the IAM user or Amazon Web Services account.

Instances

Instances details
ToJSON ListDeploymentGroups Source # 
Instance details

Defined in Amazonka.CodeDeploy.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

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 #

Generic ListDeploymentGroups Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

Associated Types

type Rep ListDeploymentGroups :: Type -> Type #

Read ListDeploymentGroups Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

Show ListDeploymentGroups Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

NFData ListDeploymentGroups Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

Methods

rnf :: ListDeploymentGroups -> () #

Eq ListDeploymentGroups Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

Hashable ListDeploymentGroups Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

type AWSResponse 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" "amazonka-codedeploy-2.0-4OehMEUeOr9G9ZXD2VmvAo" '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)))

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:

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.

ListDeploymentGroups, listDeploymentGroups_applicationName - The name of an CodeDeploy application associated with the IAM user or Amazon Web Services 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 CodeDeploy application associated with the IAM user or Amazon Web Services account.

Destructuring the Response

data ListDeploymentGroupsResponse Source #

Represents the output of a ListDeploymentGroups operation.

See: newListDeploymentGroupsResponse smart constructor.

Constructors

ListDeploymentGroupsResponse' 

Fields

Instances

Instances details
Generic ListDeploymentGroupsResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

Associated Types

type Rep ListDeploymentGroupsResponse :: Type -> Type #

Read ListDeploymentGroupsResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

Show ListDeploymentGroupsResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

NFData ListDeploymentGroupsResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.ListDeploymentGroups

Eq 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" "amazonka-codedeploy-2.0-4OehMEUeOr9G9ZXD2VmvAo" 'False) (C1 ('MetaCons "ListDeploymentGroupsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "applicationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "deploymentGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "nextToken") '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:

ListDeploymentGroups, listDeploymentGroupsResponse_applicationName - The application name.

ListDeploymentGroupsResponse, listDeploymentGroupsResponse_deploymentGroups - A list of deployment group names.

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