Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Update a rule groups namespace.
Synopsis
- data PutRuleGroupsNamespace = PutRuleGroupsNamespace' {
- clientToken :: Maybe Text
- data' :: Base64
- name :: Text
- workspaceId :: Text
- newPutRuleGroupsNamespace :: ByteString -> Text -> Text -> PutRuleGroupsNamespace
- putRuleGroupsNamespace_clientToken :: Lens' PutRuleGroupsNamespace (Maybe Text)
- putRuleGroupsNamespace_data :: Lens' PutRuleGroupsNamespace ByteString
- putRuleGroupsNamespace_name :: Lens' PutRuleGroupsNamespace Text
- putRuleGroupsNamespace_workspaceId :: Lens' PutRuleGroupsNamespace Text
- data PutRuleGroupsNamespaceResponse = PutRuleGroupsNamespaceResponse' {}
- newPutRuleGroupsNamespaceResponse :: Int -> Text -> Text -> RuleGroupsNamespaceStatus -> PutRuleGroupsNamespaceResponse
- putRuleGroupsNamespaceResponse_tags :: Lens' PutRuleGroupsNamespaceResponse (Maybe (HashMap Text Text))
- putRuleGroupsNamespaceResponse_httpStatus :: Lens' PutRuleGroupsNamespaceResponse Int
- putRuleGroupsNamespaceResponse_arn :: Lens' PutRuleGroupsNamespaceResponse Text
- putRuleGroupsNamespaceResponse_name :: Lens' PutRuleGroupsNamespaceResponse Text
- putRuleGroupsNamespaceResponse_status :: Lens' PutRuleGroupsNamespaceResponse RuleGroupsNamespaceStatus
Creating a Request
data PutRuleGroupsNamespace Source #
Represents the input of a PutRuleGroupsNamespace operation.
See: newPutRuleGroupsNamespace
smart constructor.
PutRuleGroupsNamespace' | |
|
Instances
newPutRuleGroupsNamespace Source #
:: ByteString | |
-> Text | |
-> Text | |
-> PutRuleGroupsNamespace |
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_name :: Lens' PutRuleGroupsNamespace Text Source #
The rule groups namespace name.
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.
PutRuleGroupsNamespaceResponse' | |
|
Instances
newPutRuleGroupsNamespaceResponse Source #
Create a value of PutRuleGroupsNamespaceResponse
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:tags:PutRuleGroupsNamespaceResponse'
, putRuleGroupsNamespaceResponse_tags
- The tags of this rule groups namespace.
$sel:httpStatus:PutRuleGroupsNamespaceResponse'
, putRuleGroupsNamespaceResponse_httpStatus
- The response's http status code.
$sel:arn:PutRuleGroupsNamespaceResponse'
, putRuleGroupsNamespaceResponse_arn
- The Amazon Resource Name (ARN) of this rule groups namespace.
$sel:name:PutRuleGroupsNamespace'
, putRuleGroupsNamespaceResponse_name
- The rule groups namespace name.
$sel:status:PutRuleGroupsNamespaceResponse'
, putRuleGroupsNamespaceResponse_status
- The status of rule groups namespace.
Response Lenses
putRuleGroupsNamespaceResponse_tags :: Lens' PutRuleGroupsNamespaceResponse (Maybe (HashMap Text Text)) Source #
The tags of this rule groups namespace.
putRuleGroupsNamespaceResponse_httpStatus :: Lens' PutRuleGroupsNamespaceResponse Int Source #
The response's http status code.
putRuleGroupsNamespaceResponse_arn :: Lens' PutRuleGroupsNamespaceResponse Text Source #
The Amazon Resource Name (ARN) of this rule groups namespace.
putRuleGroupsNamespaceResponse_name :: Lens' PutRuleGroupsNamespaceResponse Text Source #
The rule groups namespace name.
putRuleGroupsNamespaceResponse_status :: Lens' PutRuleGroupsNamespaceResponse RuleGroupsNamespaceStatus Source #
The status of rule groups namespace.