libZSservicesZSamazonka-backupZSamazonka-backup
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.Backup.CreateFramework

Description

Creates a framework with one or more controls. A framework is a collection of controls that you can use to evaluate your backup practices. By using pre-built customizable controls to define your policies, you can evaluate whether your backup practices comply with your policies and which resources are not yet in compliance.

Synopsis

Creating a Request

data CreateFramework Source #

See: newCreateFramework smart constructor.

Constructors

CreateFramework' 

Fields

  • idempotencyToken :: Maybe Text

    A customer-chosen string that you can use to distinguish between otherwise identical calls to CreateFrameworkInput. Retrying a successful request with the same idempotency token results in a success message with no action taken.

  • frameworkDescription :: Maybe Text

    An optional description of the framework with a maximum of 1,024 characters.

  • frameworkTags :: Maybe (HashMap Text Text)

    Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.

  • frameworkName :: Text

    The unique name of the framework. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).

  • frameworkControls :: [FrameworkControl]

    A list of the controls that make up the framework. Each control in the list has a name, input parameters, and scope.

Instances

Instances details
Eq CreateFramework Source # 
Instance details

Defined in Amazonka.Backup.CreateFramework

Read CreateFramework Source # 
Instance details

Defined in Amazonka.Backup.CreateFramework

Show CreateFramework Source # 
Instance details

Defined in Amazonka.Backup.CreateFramework

Generic CreateFramework Source # 
Instance details

Defined in Amazonka.Backup.CreateFramework

Associated Types

type Rep CreateFramework :: Type -> Type #

NFData CreateFramework Source # 
Instance details

Defined in Amazonka.Backup.CreateFramework

Methods

rnf :: CreateFramework -> () #

Hashable CreateFramework Source # 
Instance details

Defined in Amazonka.Backup.CreateFramework

ToJSON CreateFramework Source # 
Instance details

Defined in Amazonka.Backup.CreateFramework

AWSRequest CreateFramework Source # 
Instance details

Defined in Amazonka.Backup.CreateFramework

Associated Types

type AWSResponse CreateFramework #

ToHeaders CreateFramework Source # 
Instance details

Defined in Amazonka.Backup.CreateFramework

ToPath CreateFramework Source # 
Instance details

Defined in Amazonka.Backup.CreateFramework

ToQuery CreateFramework Source # 
Instance details

Defined in Amazonka.Backup.CreateFramework

type Rep CreateFramework Source # 
Instance details

Defined in Amazonka.Backup.CreateFramework

type Rep CreateFramework = D1 ('MetaData "CreateFramework" "Amazonka.Backup.CreateFramework" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "CreateFramework'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "idempotencyToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "frameworkDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "frameworkTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "frameworkName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "frameworkControls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [FrameworkControl])))))
type AWSResponse CreateFramework Source # 
Instance details

Defined in Amazonka.Backup.CreateFramework

newCreateFramework Source #

Create a value of CreateFramework 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:idempotencyToken:CreateFramework', createFramework_idempotencyToken - A customer-chosen string that you can use to distinguish between otherwise identical calls to CreateFrameworkInput. Retrying a successful request with the same idempotency token results in a success message with no action taken.

$sel:frameworkDescription:CreateFramework', createFramework_frameworkDescription - An optional description of the framework with a maximum of 1,024 characters.

$sel:frameworkTags:CreateFramework', createFramework_frameworkTags - Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.

$sel:frameworkName:CreateFramework', createFramework_frameworkName - The unique name of the framework. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).

$sel:frameworkControls:CreateFramework', createFramework_frameworkControls - A list of the controls that make up the framework. Each control in the list has a name, input parameters, and scope.

Request Lenses

createFramework_idempotencyToken :: Lens' CreateFramework (Maybe Text) Source #

A customer-chosen string that you can use to distinguish between otherwise identical calls to CreateFrameworkInput. Retrying a successful request with the same idempotency token results in a success message with no action taken.

createFramework_frameworkDescription :: Lens' CreateFramework (Maybe Text) Source #

An optional description of the framework with a maximum of 1,024 characters.

createFramework_frameworkTags :: Lens' CreateFramework (Maybe (HashMap Text Text)) Source #

Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.

createFramework_frameworkName :: Lens' CreateFramework Text Source #

The unique name of the framework. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).

createFramework_frameworkControls :: Lens' CreateFramework [FrameworkControl] Source #

A list of the controls that make up the framework. Each control in the list has a name, input parameters, and scope.

Destructuring the Response

data CreateFrameworkResponse Source #

See: newCreateFrameworkResponse smart constructor.

Constructors

CreateFrameworkResponse' 

Fields

  • frameworkArn :: Maybe Text

    An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

  • frameworkName :: Maybe Text

    The unique name of the framework. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq CreateFrameworkResponse Source # 
Instance details

Defined in Amazonka.Backup.CreateFramework

Read CreateFrameworkResponse Source # 
Instance details

Defined in Amazonka.Backup.CreateFramework

Show CreateFrameworkResponse Source # 
Instance details

Defined in Amazonka.Backup.CreateFramework

Generic CreateFrameworkResponse Source # 
Instance details

Defined in Amazonka.Backup.CreateFramework

Associated Types

type Rep CreateFrameworkResponse :: Type -> Type #

NFData CreateFrameworkResponse Source # 
Instance details

Defined in Amazonka.Backup.CreateFramework

Methods

rnf :: CreateFrameworkResponse -> () #

type Rep CreateFrameworkResponse Source # 
Instance details

Defined in Amazonka.Backup.CreateFramework

type Rep CreateFrameworkResponse = D1 ('MetaData "CreateFrameworkResponse" "Amazonka.Backup.CreateFramework" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "CreateFrameworkResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "frameworkArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "frameworkName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateFrameworkResponse Source #

Create a value of CreateFrameworkResponse 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:frameworkArn:CreateFrameworkResponse', createFrameworkResponse_frameworkArn - An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

$sel:frameworkName:CreateFramework', createFrameworkResponse_frameworkName - The unique name of the framework. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).

$sel:httpStatus:CreateFrameworkResponse', createFrameworkResponse_httpStatus - The response's http status code.

Response Lenses

createFrameworkResponse_frameworkArn :: Lens' CreateFrameworkResponse (Maybe Text) Source #

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

createFrameworkResponse_frameworkName :: Lens' CreateFrameworkResponse (Maybe Text) Source #

The unique name of the framework. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).