amazonka-backup-2.0: Amazon Backup 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.Backup.ListFrameworks

Description

Returns a list of all frameworks for an Amazon Web Services account and Amazon Web Services Region.

Synopsis

Creating a Request

data ListFrameworks Source #

See: newListFrameworks smart constructor.

Constructors

ListFrameworks' 

Fields

  • maxResults :: Maybe Natural

    The number of desired results from 1 to 1000. Optional. If unspecified, the query will return 1 MB of data.

  • nextToken :: Maybe Text

    An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

Instances

Instances details
ToHeaders ListFrameworks Source # 
Instance details

Defined in Amazonka.Backup.ListFrameworks

ToPath ListFrameworks Source # 
Instance details

Defined in Amazonka.Backup.ListFrameworks

ToQuery ListFrameworks Source # 
Instance details

Defined in Amazonka.Backup.ListFrameworks

AWSRequest ListFrameworks Source # 
Instance details

Defined in Amazonka.Backup.ListFrameworks

Associated Types

type AWSResponse ListFrameworks #

Generic ListFrameworks Source # 
Instance details

Defined in Amazonka.Backup.ListFrameworks

Associated Types

type Rep ListFrameworks :: Type -> Type #

Read ListFrameworks Source # 
Instance details

Defined in Amazonka.Backup.ListFrameworks

Show ListFrameworks Source # 
Instance details

Defined in Amazonka.Backup.ListFrameworks

NFData ListFrameworks Source # 
Instance details

Defined in Amazonka.Backup.ListFrameworks

Methods

rnf :: ListFrameworks -> () #

Eq ListFrameworks Source # 
Instance details

Defined in Amazonka.Backup.ListFrameworks

Hashable ListFrameworks Source # 
Instance details

Defined in Amazonka.Backup.ListFrameworks

type AWSResponse ListFrameworks Source # 
Instance details

Defined in Amazonka.Backup.ListFrameworks

type Rep ListFrameworks Source # 
Instance details

Defined in Amazonka.Backup.ListFrameworks

type Rep ListFrameworks = D1 ('MetaData "ListFrameworks" "Amazonka.Backup.ListFrameworks" "amazonka-backup-2.0-LovIt41tphM6jvgQJhTyRf" 'False) (C1 ('MetaCons "ListFrameworks'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListFrameworks :: ListFrameworks Source #

Create a value of ListFrameworks 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:maxResults:ListFrameworks', listFrameworks_maxResults - The number of desired results from 1 to 1000. Optional. If unspecified, the query will return 1 MB of data.

ListFrameworks, listFrameworks_nextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

Request Lenses

listFrameworks_maxResults :: Lens' ListFrameworks (Maybe Natural) Source #

The number of desired results from 1 to 1000. Optional. If unspecified, the query will return 1 MB of data.

listFrameworks_nextToken :: Lens' ListFrameworks (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

Destructuring the Response

data ListFrameworksResponse Source #

See: newListFrameworksResponse smart constructor.

Constructors

ListFrameworksResponse' 

Fields

  • frameworks :: Maybe [Framework]

    A list of frameworks with details for each framework, including the framework name, Amazon Resource Name (ARN), description, number of controls, creation time, and deployment status.

  • nextToken :: Maybe Text

    An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListFrameworksResponse Source # 
Instance details

Defined in Amazonka.Backup.ListFrameworks

Associated Types

type Rep ListFrameworksResponse :: Type -> Type #

Read ListFrameworksResponse Source # 
Instance details

Defined in Amazonka.Backup.ListFrameworks

Show ListFrameworksResponse Source # 
Instance details

Defined in Amazonka.Backup.ListFrameworks

NFData ListFrameworksResponse Source # 
Instance details

Defined in Amazonka.Backup.ListFrameworks

Methods

rnf :: ListFrameworksResponse -> () #

Eq ListFrameworksResponse Source # 
Instance details

Defined in Amazonka.Backup.ListFrameworks

type Rep ListFrameworksResponse Source # 
Instance details

Defined in Amazonka.Backup.ListFrameworks

type Rep ListFrameworksResponse = D1 ('MetaData "ListFrameworksResponse" "Amazonka.Backup.ListFrameworks" "amazonka-backup-2.0-LovIt41tphM6jvgQJhTyRf" 'False) (C1 ('MetaCons "ListFrameworksResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "frameworks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Framework])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListFrameworksResponse Source #

Create a value of ListFrameworksResponse 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:frameworks:ListFrameworksResponse', listFrameworksResponse_frameworks - A list of frameworks with details for each framework, including the framework name, Amazon Resource Name (ARN), description, number of controls, creation time, and deployment status.

ListFrameworks, listFrameworksResponse_nextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

$sel:httpStatus:ListFrameworksResponse', listFrameworksResponse_httpStatus - The response's http status code.

Response Lenses

listFrameworksResponse_frameworks :: Lens' ListFrameworksResponse (Maybe [Framework]) Source #

A list of frameworks with details for each framework, including the framework name, Amazon Resource Name (ARN), description, number of controls, creation time, and deployment status.

listFrameworksResponse_nextToken :: Lens' ListFrameworksResponse (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.