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 |
Create a rule group namespace.
Synopsis
- data CreateRuleGroupsNamespace = CreateRuleGroupsNamespace' {}
- newCreateRuleGroupsNamespace :: ByteString -> Text -> Text -> CreateRuleGroupsNamespace
- createRuleGroupsNamespace_clientToken :: Lens' CreateRuleGroupsNamespace (Maybe Text)
- createRuleGroupsNamespace_tags :: Lens' CreateRuleGroupsNamespace (Maybe (HashMap Text Text))
- createRuleGroupsNamespace_data :: Lens' CreateRuleGroupsNamespace ByteString
- createRuleGroupsNamespace_name :: Lens' CreateRuleGroupsNamespace Text
- createRuleGroupsNamespace_workspaceId :: Lens' CreateRuleGroupsNamespace Text
- data CreateRuleGroupsNamespaceResponse = CreateRuleGroupsNamespaceResponse' {}
- newCreateRuleGroupsNamespaceResponse :: Int -> Text -> Text -> RuleGroupsNamespaceStatus -> CreateRuleGroupsNamespaceResponse
- createRuleGroupsNamespaceResponse_tags :: Lens' CreateRuleGroupsNamespaceResponse (Maybe (HashMap Text Text))
- createRuleGroupsNamespaceResponse_httpStatus :: Lens' CreateRuleGroupsNamespaceResponse Int
- createRuleGroupsNamespaceResponse_arn :: Lens' CreateRuleGroupsNamespaceResponse Text
- createRuleGroupsNamespaceResponse_name :: Lens' CreateRuleGroupsNamespaceResponse Text
- createRuleGroupsNamespaceResponse_status :: Lens' CreateRuleGroupsNamespaceResponse RuleGroupsNamespaceStatus
Creating a Request
data CreateRuleGroupsNamespace Source #
Represents the input of a CreateRuleGroupsNamespace operation.
See: newCreateRuleGroupsNamespace
smart constructor.
CreateRuleGroupsNamespace' | |
|
Instances
newCreateRuleGroupsNamespace Source #
:: ByteString | |
-> Text | |
-> Text | |
-> CreateRuleGroupsNamespace |
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_name :: Lens' CreateRuleGroupsNamespace Text Source #
The rule groups namespace name.
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.
CreateRuleGroupsNamespaceResponse' | |
|
Instances
newCreateRuleGroupsNamespaceResponse Source #
Create a value of CreateRuleGroupsNamespaceResponse
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:CreateRuleGroupsNamespace'
, createRuleGroupsNamespaceResponse_tags
- The tags of this rule groups namespace.
$sel:httpStatus:CreateRuleGroupsNamespaceResponse'
, createRuleGroupsNamespaceResponse_httpStatus
- The response's http status code.
$sel:arn:CreateRuleGroupsNamespaceResponse'
, createRuleGroupsNamespaceResponse_arn
- The Amazon Resource Name (ARN) of this rule groups namespace.
$sel:name:CreateRuleGroupsNamespace'
, createRuleGroupsNamespaceResponse_name
- The rule groups namespace name.
$sel:status:CreateRuleGroupsNamespaceResponse'
, createRuleGroupsNamespaceResponse_status
- The status of rule groups namespace.
Response Lenses
createRuleGroupsNamespaceResponse_tags :: Lens' CreateRuleGroupsNamespaceResponse (Maybe (HashMap Text Text)) Source #
The tags of this rule groups namespace.
createRuleGroupsNamespaceResponse_httpStatus :: Lens' CreateRuleGroupsNamespaceResponse Int Source #
The response's http status code.
createRuleGroupsNamespaceResponse_arn :: Lens' CreateRuleGroupsNamespaceResponse Text Source #
The Amazon Resource Name (ARN) of this rule groups namespace.
createRuleGroupsNamespaceResponse_name :: Lens' CreateRuleGroupsNamespaceResponse Text Source #
The rule groups namespace name.
createRuleGroupsNamespaceResponse_status :: Lens' CreateRuleGroupsNamespaceResponse RuleGroupsNamespaceStatus Source #
The status of rule groups namespace.