libZSservicesZSamazonka-ampZSamazonka-amp
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.AMP.CreateRuleGroupsNamespace

Description

Create a rule group namespace.

Synopsis

Creating a Request

data CreateRuleGroupsNamespace Source #

Represents the input of a CreateRuleGroupsNamespace operation.

See: newCreateRuleGroupsNamespace smart constructor.

Constructors

CreateRuleGroupsNamespace' 

Fields

  • clientToken :: Maybe Text

    Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

  • tags :: Maybe (HashMap Text Text)

    Optional, user-provided tags for this rule groups namespace.

  • data' :: Base64

    The namespace data that define the rule groups.

  • name :: Text

    The rule groups namespace name.

  • workspaceId :: Text

    The ID of the workspace in which to create the rule group namespace.

Instances

Instances details
Eq CreateRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.CreateRuleGroupsNamespace

Read CreateRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.CreateRuleGroupsNamespace

Show CreateRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.CreateRuleGroupsNamespace

Generic CreateRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.CreateRuleGroupsNamespace

Associated Types

type Rep CreateRuleGroupsNamespace :: Type -> Type #

NFData CreateRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.CreateRuleGroupsNamespace

Hashable CreateRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.CreateRuleGroupsNamespace

ToJSON CreateRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.CreateRuleGroupsNamespace

AWSRequest CreateRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.CreateRuleGroupsNamespace

ToHeaders CreateRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.CreateRuleGroupsNamespace

ToPath CreateRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.CreateRuleGroupsNamespace

ToQuery CreateRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.CreateRuleGroupsNamespace

type Rep CreateRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.CreateRuleGroupsNamespace

type Rep CreateRuleGroupsNamespace = D1 ('MetaData "CreateRuleGroupsNamespace" "Amazonka.AMP.CreateRuleGroupsNamespace" "libZSservicesZSamazonka-ampZSamazonka-amp" 'False) (C1 ('MetaCons "CreateRuleGroupsNamespace'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "data'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Base64) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "workspaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.CreateRuleGroupsNamespace

newCreateRuleGroupsNamespace Source #

Create a value of CreateRuleGroupsNamespace 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:clientToken:CreateRuleGroupsNamespace', createRuleGroupsNamespace_clientToken - Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

$sel:tags:CreateRuleGroupsNamespace', createRuleGroupsNamespace_tags - Optional, user-provided tags for this rule groups namespace.

$sel:data':CreateRuleGroupsNamespace', createRuleGroupsNamespace_data - The namespace data that define the rule groups.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:name:CreateRuleGroupsNamespace', createRuleGroupsNamespace_name - The rule groups namespace name.

$sel:workspaceId:CreateRuleGroupsNamespace', createRuleGroupsNamespace_workspaceId - The ID of the workspace in which to create the rule group namespace.

Request Lenses

createRuleGroupsNamespace_clientToken :: Lens' CreateRuleGroupsNamespace (Maybe Text) Source #

Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

createRuleGroupsNamespace_tags :: Lens' CreateRuleGroupsNamespace (Maybe (HashMap Text Text)) Source #

Optional, user-provided tags for this rule groups namespace.

createRuleGroupsNamespace_data :: Lens' CreateRuleGroupsNamespace ByteString Source #

The namespace data that define the rule groups.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

createRuleGroupsNamespace_workspaceId :: Lens' CreateRuleGroupsNamespace Text Source #

The ID of the workspace in which to create the rule group namespace.

Destructuring the Response

data CreateRuleGroupsNamespaceResponse Source #

Represents the output of a CreateRuleGroupsNamespace operation.

See: newCreateRuleGroupsNamespaceResponse smart constructor.

Constructors

CreateRuleGroupsNamespaceResponse' 

Fields

Instances

Instances details
Eq CreateRuleGroupsNamespaceResponse Source # 
Instance details

Defined in Amazonka.AMP.CreateRuleGroupsNamespace

Read CreateRuleGroupsNamespaceResponse Source # 
Instance details

Defined in Amazonka.AMP.CreateRuleGroupsNamespace

Show CreateRuleGroupsNamespaceResponse Source # 
Instance details

Defined in Amazonka.AMP.CreateRuleGroupsNamespace

Generic CreateRuleGroupsNamespaceResponse Source # 
Instance details

Defined in Amazonka.AMP.CreateRuleGroupsNamespace

Associated Types

type Rep CreateRuleGroupsNamespaceResponse :: Type -> Type #

NFData CreateRuleGroupsNamespaceResponse Source # 
Instance details

Defined in Amazonka.AMP.CreateRuleGroupsNamespace

type Rep CreateRuleGroupsNamespaceResponse Source # 
Instance details

Defined in Amazonka.AMP.CreateRuleGroupsNamespace

type Rep CreateRuleGroupsNamespaceResponse = D1 ('MetaData "CreateRuleGroupsNamespaceResponse" "Amazonka.AMP.CreateRuleGroupsNamespace" "libZSservicesZSamazonka-ampZSamazonka-amp" 'False) (C1 ('MetaCons "CreateRuleGroupsNamespaceResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RuleGroupsNamespaceStatus)))))

Response Lenses

createRuleGroupsNamespaceResponse_arn :: Lens' CreateRuleGroupsNamespaceResponse Text Source #

The Amazon Resource Name (ARN) of this rule groups namespace.