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

Description

Update a rule groups namespace.

Synopsis

Creating a Request

data PutRuleGroupsNamespace Source #

Represents the input of a PutRuleGroupsNamespace operation.

See: newPutRuleGroupsNamespace smart constructor.

Constructors

PutRuleGroupsNamespace' 

Fields

  • clientToken :: Maybe Text

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

  • 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 update the rule group namespace.

Instances

Instances details
Eq PutRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.PutRuleGroupsNamespace

Read PutRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.PutRuleGroupsNamespace

Show PutRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.PutRuleGroupsNamespace

Generic PutRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.PutRuleGroupsNamespace

Associated Types

type Rep PutRuleGroupsNamespace :: Type -> Type #

NFData PutRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.PutRuleGroupsNamespace

Methods

rnf :: PutRuleGroupsNamespace -> () #

Hashable PutRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.PutRuleGroupsNamespace

ToJSON PutRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.PutRuleGroupsNamespace

AWSRequest PutRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.PutRuleGroupsNamespace

Associated Types

type AWSResponse PutRuleGroupsNamespace #

ToHeaders PutRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.PutRuleGroupsNamespace

ToPath PutRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.PutRuleGroupsNamespace

ToQuery PutRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.PutRuleGroupsNamespace

type Rep PutRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.PutRuleGroupsNamespace

type Rep PutRuleGroupsNamespace = D1 ('MetaData "PutRuleGroupsNamespace" "Amazonka.AMP.PutRuleGroupsNamespace" "libZSservicesZSamazonka-ampZSamazonka-amp" 'False) (C1 ('MetaCons "PutRuleGroupsNamespace'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe 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 PutRuleGroupsNamespace Source # 
Instance details

Defined in Amazonka.AMP.PutRuleGroupsNamespace

newPutRuleGroupsNamespace Source #

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

$sel:data':PutRuleGroupsNamespace', putRuleGroupsNamespace_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:PutRuleGroupsNamespace', putRuleGroupsNamespace_name - The rule groups namespace name.

$sel:workspaceId:PutRuleGroupsNamespace', putRuleGroupsNamespace_workspaceId - The ID of the workspace in which to update the rule group namespace.

Request Lenses

putRuleGroupsNamespace_clientToken :: Lens' PutRuleGroupsNamespace (Maybe Text) Source #

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

putRuleGroupsNamespace_data :: Lens' PutRuleGroupsNamespace 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.

putRuleGroupsNamespace_workspaceId :: Lens' PutRuleGroupsNamespace Text Source #

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

Destructuring the Response

data PutRuleGroupsNamespaceResponse Source #

Represents the output of a PutRuleGroupsNamespace operation.

See: newPutRuleGroupsNamespaceResponse smart constructor.

Constructors

PutRuleGroupsNamespaceResponse' 

Fields

Instances

Instances details
Eq PutRuleGroupsNamespaceResponse Source # 
Instance details

Defined in Amazonka.AMP.PutRuleGroupsNamespace

Read PutRuleGroupsNamespaceResponse Source # 
Instance details

Defined in Amazonka.AMP.PutRuleGroupsNamespace

Show PutRuleGroupsNamespaceResponse Source # 
Instance details

Defined in Amazonka.AMP.PutRuleGroupsNamespace

Generic PutRuleGroupsNamespaceResponse Source # 
Instance details

Defined in Amazonka.AMP.PutRuleGroupsNamespace

Associated Types

type Rep PutRuleGroupsNamespaceResponse :: Type -> Type #

NFData PutRuleGroupsNamespaceResponse Source # 
Instance details

Defined in Amazonka.AMP.PutRuleGroupsNamespace

type Rep PutRuleGroupsNamespaceResponse Source # 
Instance details

Defined in Amazonka.AMP.PutRuleGroupsNamespace

type Rep PutRuleGroupsNamespaceResponse = D1 ('MetaData "PutRuleGroupsNamespaceResponse" "Amazonka.AMP.PutRuleGroupsNamespace" "libZSservicesZSamazonka-ampZSamazonka-amp" 'False) (C1 ('MetaCons "PutRuleGroupsNamespaceResponse'" '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

putRuleGroupsNamespaceResponse_arn :: Lens' PutRuleGroupsNamespaceResponse Text Source #

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