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 |
Amazonka.AMP
Contents
- Service Configuration
- Errors
- Waiters
- Operations
- ListWorkspaces (Paginated)
- CreateAlertManagerDefinition
- DeleteWorkspace
- ListTagsForResource
- CreateRuleGroupsNamespace
- DescribeAlertManagerDefinition
- DescribeWorkspace
- PutAlertManagerDefinition
- DeleteAlertManagerDefinition
- DescribeRuleGroupsNamespace
- UpdateWorkspaceAlias
- DeleteRuleGroupsNamespace
- PutRuleGroupsNamespace
- ListRuleGroupsNamespaces (Paginated)
- TagResource
- UntagResource
- CreateWorkspace
- Types
Description
Derived from API version 2020-08-01
of the AWS service descriptions, licensed under Apache 2.0.
Amazon Managed Service for Prometheus
Synopsis
- defaultService :: Service
- _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
- _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _ConflictException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- newWorkspaceDeleted :: Wait DescribeWorkspace
- newWorkspaceActive :: Wait DescribeWorkspace
- data ListWorkspaces = ListWorkspaces' (Maybe Text) (Maybe Text) (Maybe Natural)
- newListWorkspaces :: ListWorkspaces
- data ListWorkspacesResponse = ListWorkspacesResponse' (Maybe Text) Int [WorkspaceSummary]
- newListWorkspacesResponse :: Int -> ListWorkspacesResponse
- data CreateAlertManagerDefinition = CreateAlertManagerDefinition' (Maybe Text) Base64 Text
- newCreateAlertManagerDefinition :: ByteString -> Text -> CreateAlertManagerDefinition
- data CreateAlertManagerDefinitionResponse = CreateAlertManagerDefinitionResponse' Int AlertManagerDefinitionStatus
- newCreateAlertManagerDefinitionResponse :: Int -> AlertManagerDefinitionStatus -> CreateAlertManagerDefinitionResponse
- data DeleteWorkspace = DeleteWorkspace' (Maybe Text) Text
- newDeleteWorkspace :: Text -> DeleteWorkspace
- data DeleteWorkspaceResponse = DeleteWorkspaceResponse' {
- newDeleteWorkspaceResponse :: DeleteWorkspaceResponse
- data ListTagsForResource = ListTagsForResource' Text
- newListTagsForResource :: Text -> ListTagsForResource
- data ListTagsForResourceResponse = ListTagsForResourceResponse' (Maybe (HashMap Text Text)) Int
- newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data CreateRuleGroupsNamespace = CreateRuleGroupsNamespace' (Maybe Text) (Maybe (HashMap Text Text)) Base64 Text Text
- newCreateRuleGroupsNamespace :: ByteString -> Text -> Text -> CreateRuleGroupsNamespace
- data CreateRuleGroupsNamespaceResponse = CreateRuleGroupsNamespaceResponse' (Maybe (HashMap Text Text)) Int Text Text RuleGroupsNamespaceStatus
- newCreateRuleGroupsNamespaceResponse :: Int -> Text -> Text -> RuleGroupsNamespaceStatus -> CreateRuleGroupsNamespaceResponse
- data DescribeAlertManagerDefinition = DescribeAlertManagerDefinition' Text
- newDescribeAlertManagerDefinition :: Text -> DescribeAlertManagerDefinition
- data DescribeAlertManagerDefinitionResponse = DescribeAlertManagerDefinitionResponse' Int AlertManagerDefinitionDescription
- newDescribeAlertManagerDefinitionResponse :: Int -> AlertManagerDefinitionDescription -> DescribeAlertManagerDefinitionResponse
- data DescribeWorkspace = DescribeWorkspace' Text
- newDescribeWorkspace :: Text -> DescribeWorkspace
- data DescribeWorkspaceResponse = DescribeWorkspaceResponse' Int WorkspaceDescription
- newDescribeWorkspaceResponse :: Int -> WorkspaceDescription -> DescribeWorkspaceResponse
- data PutAlertManagerDefinition = PutAlertManagerDefinition' (Maybe Text) Base64 Text
- newPutAlertManagerDefinition :: ByteString -> Text -> PutAlertManagerDefinition
- data PutAlertManagerDefinitionResponse = PutAlertManagerDefinitionResponse' Int AlertManagerDefinitionStatus
- newPutAlertManagerDefinitionResponse :: Int -> AlertManagerDefinitionStatus -> PutAlertManagerDefinitionResponse
- data DeleteAlertManagerDefinition = DeleteAlertManagerDefinition' (Maybe Text) Text
- newDeleteAlertManagerDefinition :: Text -> DeleteAlertManagerDefinition
- data DeleteAlertManagerDefinitionResponse = DeleteAlertManagerDefinitionResponse' {
- newDeleteAlertManagerDefinitionResponse :: DeleteAlertManagerDefinitionResponse
- data DescribeRuleGroupsNamespace = DescribeRuleGroupsNamespace' Text Text
- newDescribeRuleGroupsNamespace :: Text -> Text -> DescribeRuleGroupsNamespace
- data DescribeRuleGroupsNamespaceResponse = DescribeRuleGroupsNamespaceResponse' Int RuleGroupsNamespaceDescription
- newDescribeRuleGroupsNamespaceResponse :: Int -> RuleGroupsNamespaceDescription -> DescribeRuleGroupsNamespaceResponse
- data UpdateWorkspaceAlias = UpdateWorkspaceAlias' (Maybe Text) (Maybe Text) Text
- newUpdateWorkspaceAlias :: Text -> UpdateWorkspaceAlias
- data UpdateWorkspaceAliasResponse = UpdateWorkspaceAliasResponse' {
- newUpdateWorkspaceAliasResponse :: UpdateWorkspaceAliasResponse
- data DeleteRuleGroupsNamespace = DeleteRuleGroupsNamespace' (Maybe Text) Text Text
- newDeleteRuleGroupsNamespace :: Text -> Text -> DeleteRuleGroupsNamespace
- data DeleteRuleGroupsNamespaceResponse = DeleteRuleGroupsNamespaceResponse' {
- newDeleteRuleGroupsNamespaceResponse :: DeleteRuleGroupsNamespaceResponse
- data PutRuleGroupsNamespace = PutRuleGroupsNamespace' (Maybe Text) Base64 Text Text
- newPutRuleGroupsNamespace :: ByteString -> Text -> Text -> PutRuleGroupsNamespace
- data PutRuleGroupsNamespaceResponse = PutRuleGroupsNamespaceResponse' (Maybe (HashMap Text Text)) Int Text Text RuleGroupsNamespaceStatus
- newPutRuleGroupsNamespaceResponse :: Int -> Text -> Text -> RuleGroupsNamespaceStatus -> PutRuleGroupsNamespaceResponse
- data ListRuleGroupsNamespaces = ListRuleGroupsNamespaces' (Maybe Text) (Maybe Text) (Maybe Natural) Text
- newListRuleGroupsNamespaces :: Text -> ListRuleGroupsNamespaces
- data ListRuleGroupsNamespacesResponse = ListRuleGroupsNamespacesResponse' (Maybe Text) Int [RuleGroupsNamespaceSummary]
- newListRuleGroupsNamespacesResponse :: Int -> ListRuleGroupsNamespacesResponse
- data TagResource = TagResource' Text (HashMap Text Text)
- newTagResource :: Text -> TagResource
- data TagResourceResponse = TagResourceResponse' Int
- newTagResourceResponse :: Int -> TagResourceResponse
- data UntagResource = UntagResource' Text [Text]
- newUntagResource :: Text -> UntagResource
- data UntagResourceResponse = UntagResourceResponse' Int
- newUntagResourceResponse :: Int -> UntagResourceResponse
- data CreateWorkspace = CreateWorkspace' (Maybe Text) (Maybe Text) (Maybe (HashMap Text Text))
- newCreateWorkspace :: CreateWorkspace
- data CreateWorkspaceResponse = CreateWorkspaceResponse' (Maybe (HashMap Text Text)) Int Text WorkspaceStatus Text
- newCreateWorkspaceResponse :: Int -> Text -> WorkspaceStatus -> Text -> CreateWorkspaceResponse
- newtype AlertManagerDefinitionStatusCode where
- AlertManagerDefinitionStatusCode' { }
- pattern AlertManagerDefinitionStatusCode_ACTIVE :: AlertManagerDefinitionStatusCode
- pattern AlertManagerDefinitionStatusCode_CREATING :: AlertManagerDefinitionStatusCode
- pattern AlertManagerDefinitionStatusCode_CREATION_FAILED :: AlertManagerDefinitionStatusCode
- pattern AlertManagerDefinitionStatusCode_DELETING :: AlertManagerDefinitionStatusCode
- pattern AlertManagerDefinitionStatusCode_UPDATE_FAILED :: AlertManagerDefinitionStatusCode
- pattern AlertManagerDefinitionStatusCode_UPDATING :: AlertManagerDefinitionStatusCode
- newtype RuleGroupsNamespaceStatusCode where
- RuleGroupsNamespaceStatusCode' { }
- pattern RuleGroupsNamespaceStatusCode_ACTIVE :: RuleGroupsNamespaceStatusCode
- pattern RuleGroupsNamespaceStatusCode_CREATING :: RuleGroupsNamespaceStatusCode
- pattern RuleGroupsNamespaceStatusCode_CREATION_FAILED :: RuleGroupsNamespaceStatusCode
- pattern RuleGroupsNamespaceStatusCode_DELETING :: RuleGroupsNamespaceStatusCode
- pattern RuleGroupsNamespaceStatusCode_UPDATE_FAILED :: RuleGroupsNamespaceStatusCode
- pattern RuleGroupsNamespaceStatusCode_UPDATING :: RuleGroupsNamespaceStatusCode
- newtype WorkspaceStatusCode where
- WorkspaceStatusCode' { }
- pattern WorkspaceStatusCode_ACTIVE :: WorkspaceStatusCode
- pattern WorkspaceStatusCode_CREATING :: WorkspaceStatusCode
- pattern WorkspaceStatusCode_CREATION_FAILED :: WorkspaceStatusCode
- pattern WorkspaceStatusCode_DELETING :: WorkspaceStatusCode
- pattern WorkspaceStatusCode_UPDATING :: WorkspaceStatusCode
- data AlertManagerDefinitionDescription = AlertManagerDefinitionDescription' POSIX Base64 POSIX AlertManagerDefinitionStatus
- newAlertManagerDefinitionDescription :: UTCTime -> ByteString -> UTCTime -> AlertManagerDefinitionStatus -> AlertManagerDefinitionDescription
- data AlertManagerDefinitionStatus = AlertManagerDefinitionStatus' (Maybe Text) AlertManagerDefinitionStatusCode
- newAlertManagerDefinitionStatus :: AlertManagerDefinitionStatusCode -> AlertManagerDefinitionStatus
- data RuleGroupsNamespaceDescription = RuleGroupsNamespaceDescription' (Maybe (HashMap Text Text)) Text POSIX Base64 POSIX Text RuleGroupsNamespaceStatus
- newRuleGroupsNamespaceDescription :: Text -> UTCTime -> ByteString -> UTCTime -> Text -> RuleGroupsNamespaceStatus -> RuleGroupsNamespaceDescription
- data RuleGroupsNamespaceStatus = RuleGroupsNamespaceStatus' (Maybe Text) RuleGroupsNamespaceStatusCode
- newRuleGroupsNamespaceStatus :: RuleGroupsNamespaceStatusCode -> RuleGroupsNamespaceStatus
- data RuleGroupsNamespaceSummary = RuleGroupsNamespaceSummary' (Maybe (HashMap Text Text)) Text POSIX POSIX Text RuleGroupsNamespaceStatus
- newRuleGroupsNamespaceSummary :: Text -> UTCTime -> UTCTime -> Text -> RuleGroupsNamespaceStatus -> RuleGroupsNamespaceSummary
- data WorkspaceDescription = WorkspaceDescription' (Maybe Text) (Maybe Text) (Maybe (HashMap Text Text)) Text POSIX WorkspaceStatus Text
- newWorkspaceDescription :: Text -> UTCTime -> WorkspaceStatus -> Text -> WorkspaceDescription
- data WorkspaceStatus = WorkspaceStatus' WorkspaceStatusCode
- newWorkspaceStatus :: WorkspaceStatusCode -> WorkspaceStatus
- data WorkspaceSummary = WorkspaceSummary' (Maybe Text) (Maybe (HashMap Text Text)) Text POSIX WorkspaceStatus Text
- newWorkspaceSummary :: Text -> UTCTime -> WorkspaceStatus -> Text -> WorkspaceSummary
Service Configuration
defaultService :: Service Source #
API version 2020-08-01
of the Amazon Prometheus Service SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by AMP
.
ValidationException
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The input fails to satisfy the constraints specified by an AWS service.
AccessDeniedException
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
User does not have sufficient access to perform this action.
ConflictException
_ConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Updating or deleting a resource can cause an inconsistent state.
ServiceQuotaExceededException
_ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Request would cause a service quota to be exceeded.
ThrottlingException
_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Request was denied due to request throttling.
InternalServerException
_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Unexpected error during processing of request.
ResourceNotFoundException
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Request references a resource which does not exist.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
WorkspaceDeleted
newWorkspaceDeleted :: Wait DescribeWorkspace Source #
Polls DescribeWorkspace
every 2 seconds until a successful state is reached. An error is returned after 60 failed checks.
WorkspaceActive
newWorkspaceActive :: Wait DescribeWorkspace Source #
Polls DescribeWorkspace
every 2 seconds until a successful state is reached. An error is returned after 60 failed checks.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
ListWorkspaces (Paginated)
data ListWorkspaces Source #
Represents the input of a ListWorkspaces operation.
See: newListWorkspaces
smart constructor.
Instances
newListWorkspaces :: ListWorkspaces Source #
Create a value of ListWorkspaces
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:alias:ListWorkspaces'
, listWorkspaces_alias
- Optional filter for workspace alias. Only the workspaces with aliases
that begin with this value will be returned.
$sel:nextToken:ListWorkspaces'
, listWorkspaces_nextToken
- Pagination token to request the next page in a paginated list. This
token is obtained from the output of the previous ListWorkspaces
request.
$sel:maxResults:ListWorkspaces'
, listWorkspaces_maxResults
- Maximum results to return in response (default=100, maximum=1000).
data ListWorkspacesResponse Source #
Represents the output of a ListWorkspaces operation.
See: newListWorkspacesResponse
smart constructor.
Constructors
ListWorkspacesResponse' (Maybe Text) Int [WorkspaceSummary] |
Instances
newListWorkspacesResponse Source #
Create a value of ListWorkspacesResponse
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:nextToken:ListWorkspaces'
, listWorkspacesResponse_nextToken
- Pagination token to use when requesting the next page in this list.
$sel:httpStatus:ListWorkspacesResponse'
, listWorkspacesResponse_httpStatus
- The response's http status code.
$sel:workspaces:ListWorkspacesResponse'
, listWorkspacesResponse_workspaces
- The list of existing workspaces, including those undergoing creation or
deletion.
CreateAlertManagerDefinition
data CreateAlertManagerDefinition Source #
Represents the input of a CreateAlertManagerDefinition operation.
See: newCreateAlertManagerDefinition
smart constructor.
Constructors
CreateAlertManagerDefinition' (Maybe Text) Base64 Text |
Instances
newCreateAlertManagerDefinition Source #
Arguments
:: ByteString | |
-> Text | |
-> CreateAlertManagerDefinition |
Create a value of CreateAlertManagerDefinition
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:CreateAlertManagerDefinition'
, createAlertManagerDefinition_clientToken
- Optional, unique, case-sensitive, user-provided identifier to ensure the
idempotency of the request.
$sel:data':CreateAlertManagerDefinition'
, createAlertManagerDefinition_data
- The alert manager definition data.--
-- 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:workspaceId:CreateAlertManagerDefinition'
, createAlertManagerDefinition_workspaceId
- The ID of the workspace in which to create the alert manager definition.
data CreateAlertManagerDefinitionResponse Source #
Represents the output of a CreateAlertManagerDefinition operation.
See: newCreateAlertManagerDefinitionResponse
smart constructor.
Instances
newCreateAlertManagerDefinitionResponse Source #
Arguments
:: Int | |
-> AlertManagerDefinitionStatus | |
-> CreateAlertManagerDefinitionResponse |
Create a value of CreateAlertManagerDefinitionResponse
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:httpStatus:CreateAlertManagerDefinitionResponse'
, createAlertManagerDefinitionResponse_httpStatus
- The response's http status code.
$sel:status:CreateAlertManagerDefinitionResponse'
, createAlertManagerDefinitionResponse_status
- The status of alert manager definition.
DeleteWorkspace
data DeleteWorkspace Source #
Represents the input of a DeleteWorkspace operation.
See: newDeleteWorkspace
smart constructor.
Constructors
DeleteWorkspace' (Maybe Text) Text |
Instances
Arguments
:: Text | |
-> DeleteWorkspace |
Create a value of DeleteWorkspace
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:DeleteWorkspace'
, deleteWorkspace_clientToken
- Optional, unique, case-sensitive, user-provided identifier to ensure the
idempotency of the request.
$sel:workspaceId:DeleteWorkspace'
, deleteWorkspace_workspaceId
- The ID of the workspace to delete.
data DeleteWorkspaceResponse Source #
See: newDeleteWorkspaceResponse
smart constructor.
Constructors
DeleteWorkspaceResponse' | |
Instances
Eq DeleteWorkspaceResponse Source # | |
Defined in Amazonka.AMP.DeleteWorkspace Methods (==) :: DeleteWorkspaceResponse -> DeleteWorkspaceResponse -> Bool # (/=) :: DeleteWorkspaceResponse -> DeleteWorkspaceResponse -> Bool # | |
Read DeleteWorkspaceResponse Source # | |
Defined in Amazonka.AMP.DeleteWorkspace | |
Show DeleteWorkspaceResponse Source # | |
Defined in Amazonka.AMP.DeleteWorkspace Methods showsPrec :: Int -> DeleteWorkspaceResponse -> ShowS # show :: DeleteWorkspaceResponse -> String # showList :: [DeleteWorkspaceResponse] -> ShowS # | |
Generic DeleteWorkspaceResponse Source # | |
Defined in Amazonka.AMP.DeleteWorkspace Associated Types type Rep DeleteWorkspaceResponse :: Type -> Type # Methods from :: DeleteWorkspaceResponse -> Rep DeleteWorkspaceResponse x # to :: Rep DeleteWorkspaceResponse x -> DeleteWorkspaceResponse # | |
NFData DeleteWorkspaceResponse Source # | |
Defined in Amazonka.AMP.DeleteWorkspace Methods rnf :: DeleteWorkspaceResponse -> () # | |
type Rep DeleteWorkspaceResponse Source # | |
newDeleteWorkspaceResponse :: DeleteWorkspaceResponse Source #
Create a value of DeleteWorkspaceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
ListTagsForResource
data ListTagsForResource Source #
See: newListTagsForResource
smart constructor.
Constructors
ListTagsForResource' Text |
Instances
newListTagsForResource Source #
Arguments
:: Text | |
-> ListTagsForResource |
Create a value of ListTagsForResource
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:resourceArn:ListTagsForResource'
, listTagsForResource_resourceArn
- The ARN of the resource.
data ListTagsForResourceResponse Source #
See: newListTagsForResourceResponse
smart constructor.
Instances
newListTagsForResourceResponse Source #
Create a value of ListTagsForResourceResponse
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:ListTagsForResourceResponse'
, listTagsForResourceResponse_tags
- Undocumented member.
$sel:httpStatus:ListTagsForResourceResponse'
, listTagsForResourceResponse_httpStatus
- The response's http status code.
CreateRuleGroupsNamespace
data CreateRuleGroupsNamespace Source #
Represents the input of a CreateRuleGroupsNamespace operation.
See: newCreateRuleGroupsNamespace
smart constructor.
Instances
newCreateRuleGroupsNamespace Source #
Arguments
:: 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.
data CreateRuleGroupsNamespaceResponse Source #
Represents the output of a CreateRuleGroupsNamespace operation.
See: newCreateRuleGroupsNamespaceResponse
smart constructor.
Constructors
CreateRuleGroupsNamespaceResponse' (Maybe (HashMap Text Text)) Int Text Text RuleGroupsNamespaceStatus |
Instances
newCreateRuleGroupsNamespaceResponse Source #
Arguments
:: Int | |
-> Text | |
-> Text | |
-> RuleGroupsNamespaceStatus | |
-> CreateRuleGroupsNamespaceResponse |
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.
DescribeAlertManagerDefinition
data DescribeAlertManagerDefinition Source #
Represents the input of a DescribeAlertManagerDefinition operation.
See: newDescribeAlertManagerDefinition
smart constructor.
Constructors
DescribeAlertManagerDefinition' Text |
Instances
newDescribeAlertManagerDefinition Source #
Create a value of DescribeAlertManagerDefinition
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:workspaceId:DescribeAlertManagerDefinition'
, describeAlertManagerDefinition_workspaceId
- The ID of the workspace to describe.
data DescribeAlertManagerDefinitionResponse Source #
Represents the output of a DescribeAlertManagerDefinition operation.
See: newDescribeAlertManagerDefinitionResponse
smart constructor.
Instances
newDescribeAlertManagerDefinitionResponse Source #
Arguments
:: Int | |
-> AlertManagerDefinitionDescription |
|
-> DescribeAlertManagerDefinitionResponse |
Create a value of DescribeAlertManagerDefinitionResponse
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:httpStatus:DescribeAlertManagerDefinitionResponse'
, describeAlertManagerDefinitionResponse_httpStatus
- The response's http status code.
$sel:alertManagerDefinition:DescribeAlertManagerDefinitionResponse'
, describeAlertManagerDefinitionResponse_alertManagerDefinition
- The properties of the selected workspace's alert manager definition.
DescribeWorkspace
data DescribeWorkspace Source #
Represents the input of a DescribeWorkspace operation.
See: newDescribeWorkspace
smart constructor.
Constructors
DescribeWorkspace' Text |
Instances
Arguments
:: Text | |
-> DescribeWorkspace |
Create a value of DescribeWorkspace
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:workspaceId:DescribeWorkspace'
, describeWorkspace_workspaceId
- The ID of the workspace to describe.
data DescribeWorkspaceResponse Source #
Represents the output of a DescribeWorkspace operation.
See: newDescribeWorkspaceResponse
smart constructor.
Constructors
DescribeWorkspaceResponse' Int WorkspaceDescription |
Instances
newDescribeWorkspaceResponse Source #
Arguments
:: Int | |
-> WorkspaceDescription | |
-> DescribeWorkspaceResponse |
Create a value of DescribeWorkspaceResponse
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:httpStatus:DescribeWorkspaceResponse'
, describeWorkspaceResponse_httpStatus
- The response's http status code.
$sel:workspace:DescribeWorkspaceResponse'
, describeWorkspaceResponse_workspace
- The properties of the selected workspace.
PutAlertManagerDefinition
data PutAlertManagerDefinition Source #
Represents the input of a PutAlertManagerDefinition operation.
See: newPutAlertManagerDefinition
smart constructor.
Constructors
PutAlertManagerDefinition' (Maybe Text) Base64 Text |
Instances
newPutAlertManagerDefinition Source #
Arguments
:: ByteString | |
-> Text | |
-> PutAlertManagerDefinition |
Create a value of PutAlertManagerDefinition
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:PutAlertManagerDefinition'
, putAlertManagerDefinition_clientToken
- Optional, unique, case-sensitive, user-provided identifier to ensure the
idempotency of the request.
$sel:data':PutAlertManagerDefinition'
, putAlertManagerDefinition_data
- The alert manager definition data.--
-- 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:workspaceId:PutAlertManagerDefinition'
, putAlertManagerDefinition_workspaceId
- The ID of the workspace in which to update the alert manager definition.
data PutAlertManagerDefinitionResponse Source #
Represents the output of a PutAlertManagerDefinition operation.
See: newPutAlertManagerDefinitionResponse
smart constructor.
Instances
newPutAlertManagerDefinitionResponse Source #
Arguments
:: Int | |
-> AlertManagerDefinitionStatus | |
-> PutAlertManagerDefinitionResponse |
Create a value of PutAlertManagerDefinitionResponse
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:httpStatus:PutAlertManagerDefinitionResponse'
, putAlertManagerDefinitionResponse_httpStatus
- The response's http status code.
$sel:status:PutAlertManagerDefinitionResponse'
, putAlertManagerDefinitionResponse_status
- The status of alert manager definition.
DeleteAlertManagerDefinition
data DeleteAlertManagerDefinition Source #
Represents the input of a DeleteAlertManagerDefinition operation.
See: newDeleteAlertManagerDefinition
smart constructor.
Constructors
DeleteAlertManagerDefinition' (Maybe Text) Text |
Instances
newDeleteAlertManagerDefinition Source #
Create a value of DeleteAlertManagerDefinition
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:DeleteAlertManagerDefinition'
, deleteAlertManagerDefinition_clientToken
- Optional, unique, case-sensitive, user-provided identifier to ensure the
idempotency of the request.
$sel:workspaceId:DeleteAlertManagerDefinition'
, deleteAlertManagerDefinition_workspaceId
- The ID of the workspace in which to delete the alert manager definition.
data DeleteAlertManagerDefinitionResponse Source #
See: newDeleteAlertManagerDefinitionResponse
smart constructor.
Constructors
DeleteAlertManagerDefinitionResponse' | |
Instances
newDeleteAlertManagerDefinitionResponse :: DeleteAlertManagerDefinitionResponse Source #
Create a value of DeleteAlertManagerDefinitionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DescribeRuleGroupsNamespace
data DescribeRuleGroupsNamespace Source #
Represents the input of a DescribeRuleGroupsNamespace operation.
See: newDescribeRuleGroupsNamespace
smart constructor.
Constructors
DescribeRuleGroupsNamespace' Text Text |
Instances
newDescribeRuleGroupsNamespace Source #
Arguments
:: Text | |
-> Text | |
-> DescribeRuleGroupsNamespace |
Create a value of DescribeRuleGroupsNamespace
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:name:DescribeRuleGroupsNamespace'
, describeRuleGroupsNamespace_name
- The rule groups namespace.
$sel:workspaceId:DescribeRuleGroupsNamespace'
, describeRuleGroupsNamespace_workspaceId
- The ID of the workspace to describe.
data DescribeRuleGroupsNamespaceResponse Source #
Represents the output of a DescribeRuleGroupsNamespace operation.
See: newDescribeRuleGroupsNamespaceResponse
smart constructor.
Instances
newDescribeRuleGroupsNamespaceResponse Source #
Arguments
:: Int | |
-> RuleGroupsNamespaceDescription |
|
-> DescribeRuleGroupsNamespaceResponse |
Create a value of DescribeRuleGroupsNamespaceResponse
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:httpStatus:DescribeRuleGroupsNamespaceResponse'
, describeRuleGroupsNamespaceResponse_httpStatus
- The response's http status code.
$sel:ruleGroupsNamespace:DescribeRuleGroupsNamespaceResponse'
, describeRuleGroupsNamespaceResponse_ruleGroupsNamespace
- The selected rule groups namespace.
UpdateWorkspaceAlias
data UpdateWorkspaceAlias Source #
Represents the input of an UpdateWorkspaceAlias operation.
See: newUpdateWorkspaceAlias
smart constructor.
Instances
newUpdateWorkspaceAlias Source #
Create a value of UpdateWorkspaceAlias
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:UpdateWorkspaceAlias'
, updateWorkspaceAlias_clientToken
- Optional, unique, case-sensitive, user-provided identifier to ensure the
idempotency of the request.
$sel:alias:UpdateWorkspaceAlias'
, updateWorkspaceAlias_alias
- The new alias of the workspace.
$sel:workspaceId:UpdateWorkspaceAlias'
, updateWorkspaceAlias_workspaceId
- The ID of the workspace being updated.
data UpdateWorkspaceAliasResponse Source #
See: newUpdateWorkspaceAliasResponse
smart constructor.
Constructors
UpdateWorkspaceAliasResponse' | |
Instances
Eq UpdateWorkspaceAliasResponse Source # | |
Defined in Amazonka.AMP.UpdateWorkspaceAlias Methods (==) :: UpdateWorkspaceAliasResponse -> UpdateWorkspaceAliasResponse -> Bool # (/=) :: UpdateWorkspaceAliasResponse -> UpdateWorkspaceAliasResponse -> Bool # | |
Read UpdateWorkspaceAliasResponse Source # | |
Show UpdateWorkspaceAliasResponse Source # | |
Defined in Amazonka.AMP.UpdateWorkspaceAlias Methods showsPrec :: Int -> UpdateWorkspaceAliasResponse -> ShowS # show :: UpdateWorkspaceAliasResponse -> String # showList :: [UpdateWorkspaceAliasResponse] -> ShowS # | |
Generic UpdateWorkspaceAliasResponse Source # | |
Defined in Amazonka.AMP.UpdateWorkspaceAlias Associated Types type Rep UpdateWorkspaceAliasResponse :: Type -> Type # | |
NFData UpdateWorkspaceAliasResponse Source # | |
Defined in Amazonka.AMP.UpdateWorkspaceAlias Methods rnf :: UpdateWorkspaceAliasResponse -> () # | |
type Rep UpdateWorkspaceAliasResponse Source # | |
Defined in Amazonka.AMP.UpdateWorkspaceAlias |
newUpdateWorkspaceAliasResponse :: UpdateWorkspaceAliasResponse Source #
Create a value of UpdateWorkspaceAliasResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DeleteRuleGroupsNamespace
data DeleteRuleGroupsNamespace Source #
Represents the input of a DeleteRuleGroupsNamespace operation.
See: newDeleteRuleGroupsNamespace
smart constructor.
Constructors
DeleteRuleGroupsNamespace' (Maybe Text) Text Text |
Instances
newDeleteRuleGroupsNamespace Source #
Arguments
:: Text | |
-> Text | |
-> DeleteRuleGroupsNamespace |
Create a value of DeleteRuleGroupsNamespace
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:DeleteRuleGroupsNamespace'
, deleteRuleGroupsNamespace_clientToken
- Optional, unique, case-sensitive, user-provided identifier to ensure the
idempotency of the request.
$sel:name:DeleteRuleGroupsNamespace'
, deleteRuleGroupsNamespace_name
- The rule groups namespace name.
$sel:workspaceId:DeleteRuleGroupsNamespace'
, deleteRuleGroupsNamespace_workspaceId
- The ID of the workspace to delete rule group definition.
data DeleteRuleGroupsNamespaceResponse Source #
See: newDeleteRuleGroupsNamespaceResponse
smart constructor.
Constructors
DeleteRuleGroupsNamespaceResponse' | |
Instances
Eq DeleteRuleGroupsNamespaceResponse Source # | |
Read DeleteRuleGroupsNamespaceResponse Source # | |
Show DeleteRuleGroupsNamespaceResponse Source # | |
Defined in Amazonka.AMP.DeleteRuleGroupsNamespace Methods showsPrec :: Int -> DeleteRuleGroupsNamespaceResponse -> ShowS # | |
Generic DeleteRuleGroupsNamespaceResponse Source # | |
Defined in Amazonka.AMP.DeleteRuleGroupsNamespace Associated Types type Rep DeleteRuleGroupsNamespaceResponse :: Type -> Type # | |
NFData DeleteRuleGroupsNamespaceResponse Source # | |
Defined in Amazonka.AMP.DeleteRuleGroupsNamespace Methods rnf :: DeleteRuleGroupsNamespaceResponse -> () # | |
type Rep DeleteRuleGroupsNamespaceResponse Source # | |
Defined in Amazonka.AMP.DeleteRuleGroupsNamespace |
newDeleteRuleGroupsNamespaceResponse :: DeleteRuleGroupsNamespaceResponse Source #
Create a value of DeleteRuleGroupsNamespaceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
PutRuleGroupsNamespace
data PutRuleGroupsNamespace Source #
Represents the input of a PutRuleGroupsNamespace operation.
See: newPutRuleGroupsNamespace
smart constructor.
Instances
newPutRuleGroupsNamespace Source #
Arguments
:: 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.
data PutRuleGroupsNamespaceResponse Source #
Represents the output of a PutRuleGroupsNamespace operation.
See: newPutRuleGroupsNamespaceResponse
smart constructor.
Constructors
PutRuleGroupsNamespaceResponse' (Maybe (HashMap Text Text)) Int Text Text RuleGroupsNamespaceStatus |
Instances
newPutRuleGroupsNamespaceResponse Source #
Arguments
:: Int | |
-> Text | |
-> Text | |
-> RuleGroupsNamespaceStatus | |
-> PutRuleGroupsNamespaceResponse |
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.
ListRuleGroupsNamespaces (Paginated)
data ListRuleGroupsNamespaces Source #
Represents the input of a ListRuleGroupsNamespaces operation.
See: newListRuleGroupsNamespaces
smart constructor.
Instances
newListRuleGroupsNamespaces Source #
Create a value of ListRuleGroupsNamespaces
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:nextToken:ListRuleGroupsNamespaces'
, listRuleGroupsNamespaces_nextToken
- Pagination token to request the next page in a paginated list. This
token is obtained from the output of the previous
ListRuleGroupsNamespaces request.
$sel:name:ListRuleGroupsNamespaces'
, listRuleGroupsNamespaces_name
- Optional filter for rule groups namespace name. Only the rule groups
namespace that begin with this value will be returned.
$sel:maxResults:ListRuleGroupsNamespaces'
, listRuleGroupsNamespaces_maxResults
- Maximum results to return in response (default=100, maximum=1000).
$sel:workspaceId:ListRuleGroupsNamespaces'
, listRuleGroupsNamespaces_workspaceId
- The ID of the workspace.
data ListRuleGroupsNamespacesResponse Source #
Represents the output of a ListRuleGroupsNamespaces operation.
See: newListRuleGroupsNamespacesResponse
smart constructor.
Constructors
ListRuleGroupsNamespacesResponse' (Maybe Text) Int [RuleGroupsNamespaceSummary] |
Instances
newListRuleGroupsNamespacesResponse Source #
Create a value of ListRuleGroupsNamespacesResponse
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:nextToken:ListRuleGroupsNamespaces'
, listRuleGroupsNamespacesResponse_nextToken
- Pagination token to use when requesting the next page in this list.
$sel:httpStatus:ListRuleGroupsNamespacesResponse'
, listRuleGroupsNamespacesResponse_httpStatus
- The response's http status code.
$sel:ruleGroupsNamespaces:ListRuleGroupsNamespacesResponse'
, listRuleGroupsNamespacesResponse_ruleGroupsNamespaces
- The list of the selected rule groups namespaces.
TagResource
data TagResource Source #
See: newTagResource
smart constructor.
Constructors
TagResource' Text (HashMap Text Text) |
Instances
Arguments
:: Text | |
-> TagResource |
Create a value of TagResource
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:resourceArn:TagResource'
, tagResource_resourceArn
- The ARN of the resource.
$sel:tags:TagResource'
, tagResource_tags
- Undocumented member.
data TagResourceResponse Source #
See: newTagResourceResponse
smart constructor.
Constructors
TagResourceResponse' Int |
Instances
newTagResourceResponse Source #
Arguments
:: Int | |
-> TagResourceResponse |
Create a value of TagResourceResponse
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:httpStatus:TagResourceResponse'
, tagResourceResponse_httpStatus
- The response's http status code.
UntagResource
data UntagResource Source #
See: newUntagResource
smart constructor.
Constructors
UntagResource' Text [Text] |
Instances
Arguments
:: Text | |
-> UntagResource |
Create a value of UntagResource
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:resourceArn:UntagResource'
, untagResource_resourceArn
- The ARN of the resource.
$sel:tagKeys:UntagResource'
, untagResource_tagKeys
- One or more tag keys
data UntagResourceResponse Source #
See: newUntagResourceResponse
smart constructor.
Constructors
UntagResourceResponse' Int |
Instances
newUntagResourceResponse Source #
Create a value of UntagResourceResponse
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:httpStatus:UntagResourceResponse'
, untagResourceResponse_httpStatus
- The response's http status code.
CreateWorkspace
data CreateWorkspace Source #
Represents the input of a CreateWorkspace operation.
See: newCreateWorkspace
smart constructor.
Instances
newCreateWorkspace :: CreateWorkspace Source #
Create a value of CreateWorkspace
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:CreateWorkspace'
, createWorkspace_clientToken
- Optional, unique, case-sensitive, user-provided identifier to ensure the
idempotency of the request.
$sel:alias:CreateWorkspace'
, createWorkspace_alias
- An optional user-assigned alias for this workspace. This alias is for
user reference and does not need to be unique.
$sel:tags:CreateWorkspace'
, createWorkspace_tags
- Optional, user-provided tags for this workspace.
data CreateWorkspaceResponse Source #
Represents the output of a CreateWorkspace operation.
See: newCreateWorkspaceResponse
smart constructor.
Constructors
CreateWorkspaceResponse' (Maybe (HashMap Text Text)) Int Text WorkspaceStatus Text |
Instances
newCreateWorkspaceResponse Source #
Arguments
:: Int | |
-> Text | |
-> WorkspaceStatus | |
-> Text | |
-> CreateWorkspaceResponse |
Create a value of CreateWorkspaceResponse
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:CreateWorkspace'
, createWorkspaceResponse_tags
- The tags of this workspace.
$sel:httpStatus:CreateWorkspaceResponse'
, createWorkspaceResponse_httpStatus
- The response's http status code.
$sel:arn:CreateWorkspaceResponse'
, createWorkspaceResponse_arn
- The ARN of the workspace that was just created.
$sel:status:CreateWorkspaceResponse'
, createWorkspaceResponse_status
- The status of the workspace that was just created (usually CREATING).
$sel:workspaceId:CreateWorkspaceResponse'
, createWorkspaceResponse_workspaceId
- The generated ID of the workspace that was just created.
Types
AlertManagerDefinitionStatusCode
newtype AlertManagerDefinitionStatusCode Source #
State of an alert manager definition.
Constructors
AlertManagerDefinitionStatusCode' | |
Fields |
Bundled Patterns
Instances
RuleGroupsNamespaceStatusCode
newtype RuleGroupsNamespaceStatusCode Source #
State of a namespace.
Constructors
RuleGroupsNamespaceStatusCode' | |
Fields |
Bundled Patterns
Instances
WorkspaceStatusCode
newtype WorkspaceStatusCode Source #
State of a workspace.
Constructors
WorkspaceStatusCode' | |
Fields |
Bundled Patterns
pattern WorkspaceStatusCode_ACTIVE :: WorkspaceStatusCode | |
pattern WorkspaceStatusCode_CREATING :: WorkspaceStatusCode | |
pattern WorkspaceStatusCode_CREATION_FAILED :: WorkspaceStatusCode | |
pattern WorkspaceStatusCode_DELETING :: WorkspaceStatusCode | |
pattern WorkspaceStatusCode_UPDATING :: WorkspaceStatusCode |
Instances
AlertManagerDefinitionDescription
data AlertManagerDefinitionDescription Source #
Represents the properties of an alert manager definition.
See: newAlertManagerDefinitionDescription
smart constructor.
Instances
newAlertManagerDefinitionDescription Source #
Arguments
:: UTCTime | |
-> ByteString | |
-> UTCTime | |
-> AlertManagerDefinitionStatus | |
-> AlertManagerDefinitionDescription |
Create a value of AlertManagerDefinitionDescription
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:createdAt:AlertManagerDefinitionDescription'
, alertManagerDefinitionDescription_createdAt
- The time when the alert manager definition was created.
$sel:data':AlertManagerDefinitionDescription'
, alertManagerDefinitionDescription_data
- The alert manager definition.--
-- 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:modifiedAt:AlertManagerDefinitionDescription'
, alertManagerDefinitionDescription_modifiedAt
- The time when the alert manager definition was modified.
$sel:status:AlertManagerDefinitionDescription'
, alertManagerDefinitionDescription_status
- The status of alert manager definition.
AlertManagerDefinitionStatus
data AlertManagerDefinitionStatus Source #
Represents the status of a definition.
See: newAlertManagerDefinitionStatus
smart constructor.
Instances
newAlertManagerDefinitionStatus Source #
Arguments
:: AlertManagerDefinitionStatusCode | |
-> AlertManagerDefinitionStatus |
Create a value of AlertManagerDefinitionStatus
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:statusReason:AlertManagerDefinitionStatus'
, alertManagerDefinitionStatus_statusReason
- The reason for failure if any.
$sel:statusCode:AlertManagerDefinitionStatus'
, alertManagerDefinitionStatus_statusCode
- Status code of this definition.
RuleGroupsNamespaceDescription
data RuleGroupsNamespaceDescription Source #
Represents a description of the rule groups namespace.
See: newRuleGroupsNamespaceDescription
smart constructor.
Constructors
RuleGroupsNamespaceDescription' (Maybe (HashMap Text Text)) Text POSIX Base64 POSIX Text RuleGroupsNamespaceStatus |
Instances
newRuleGroupsNamespaceDescription Source #
Arguments
:: Text | |
-> UTCTime | |
-> ByteString | |
-> UTCTime | |
-> Text | |
-> RuleGroupsNamespaceStatus | |
-> RuleGroupsNamespaceDescription |
Create a value of RuleGroupsNamespaceDescription
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:RuleGroupsNamespaceDescription'
, ruleGroupsNamespaceDescription_tags
- The tags of this rule groups namespace.
$sel:arn:RuleGroupsNamespaceDescription'
, ruleGroupsNamespaceDescription_arn
- The Amazon Resource Name (ARN) of this rule groups namespace.
$sel:createdAt:RuleGroupsNamespaceDescription'
, ruleGroupsNamespaceDescription_createdAt
- The time when the rule groups namespace was created.
$sel:data':RuleGroupsNamespaceDescription'
, ruleGroupsNamespaceDescription_data
- The rule groups namespace data.--
-- 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:modifiedAt:RuleGroupsNamespaceDescription'
, ruleGroupsNamespaceDescription_modifiedAt
- The time when the rule groups namespace was modified.
$sel:name:RuleGroupsNamespaceDescription'
, ruleGroupsNamespaceDescription_name
- The rule groups namespace name.
$sel:status:RuleGroupsNamespaceDescription'
, ruleGroupsNamespaceDescription_status
- The status of rule groups namespace.
RuleGroupsNamespaceStatus
data RuleGroupsNamespaceStatus Source #
Represents the status of a namespace.
See: newRuleGroupsNamespaceStatus
smart constructor.
Constructors
RuleGroupsNamespaceStatus' (Maybe Text) RuleGroupsNamespaceStatusCode |
Instances
newRuleGroupsNamespaceStatus Source #
Arguments
:: RuleGroupsNamespaceStatusCode | |
-> RuleGroupsNamespaceStatus |
Create a value of RuleGroupsNamespaceStatus
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:statusReason:RuleGroupsNamespaceStatus'
, ruleGroupsNamespaceStatus_statusReason
- The reason for failure if any.
$sel:statusCode:RuleGroupsNamespaceStatus'
, ruleGroupsNamespaceStatus_statusCode
- Status code of this namespace.
RuleGroupsNamespaceSummary
data RuleGroupsNamespaceSummary Source #
Represents a summary of the rule groups namespace.
See: newRuleGroupsNamespaceSummary
smart constructor.
Constructors
RuleGroupsNamespaceSummary' (Maybe (HashMap Text Text)) Text POSIX POSIX Text RuleGroupsNamespaceStatus |