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 |
- Service Configuration
- Errors
- Attachment
- AttachmentDetails
- CaseDetails
- Category
- Communication
- RecentCaseCommunications
- SeverityLevel
- SupportService
- TrustedAdvisorCategorySpecificSummary
- TrustedAdvisorCheckDescription
- TrustedAdvisorCheckRefreshStatus
- TrustedAdvisorCheckResult
- TrustedAdvisorCheckSummary
- TrustedAdvisorCostOptimizingSummary
- TrustedAdvisorResourceDetail
- TrustedAdvisorResourcesSummary
Synopsis
- defaultService :: Service
- _AttachmentSetExpired :: AsError a => Getting (First ServiceError) a ServiceError
- _AttachmentLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError
- _DescribeAttachmentLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError
- _CaseIdNotFound :: AsError a => Getting (First ServiceError) a ServiceError
- _AttachmentSetIdNotFound :: AsError a => Getting (First ServiceError) a ServiceError
- _AttachmentSetSizeLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError
- _AttachmentIdNotFound :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError
- _CaseCreationLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError
- data Attachment = Attachment' {}
- newAttachment :: Attachment
- attachment_data :: Lens' Attachment (Maybe ByteString)
- attachment_fileName :: Lens' Attachment (Maybe Text)
- data AttachmentDetails = AttachmentDetails' {}
- newAttachmentDetails :: AttachmentDetails
- attachmentDetails_attachmentId :: Lens' AttachmentDetails (Maybe Text)
- attachmentDetails_fileName :: Lens' AttachmentDetails (Maybe Text)
- data CaseDetails = CaseDetails' {
- subject :: Maybe Text
- status :: Maybe Text
- recentCommunications :: Maybe RecentCaseCommunications
- severityCode :: Maybe Text
- caseId :: Maybe Text
- ccEmailAddresses :: Maybe [Text]
- displayId :: Maybe Text
- submittedBy :: Maybe Text
- language :: Maybe Text
- timeCreated :: Maybe Text
- categoryCode :: Maybe Text
- serviceCode :: Maybe Text
- newCaseDetails :: CaseDetails
- caseDetails_subject :: Lens' CaseDetails (Maybe Text)
- caseDetails_status :: Lens' CaseDetails (Maybe Text)
- caseDetails_recentCommunications :: Lens' CaseDetails (Maybe RecentCaseCommunications)
- caseDetails_severityCode :: Lens' CaseDetails (Maybe Text)
- caseDetails_caseId :: Lens' CaseDetails (Maybe Text)
- caseDetails_ccEmailAddresses :: Lens' CaseDetails (Maybe [Text])
- caseDetails_displayId :: Lens' CaseDetails (Maybe Text)
- caseDetails_submittedBy :: Lens' CaseDetails (Maybe Text)
- caseDetails_language :: Lens' CaseDetails (Maybe Text)
- caseDetails_timeCreated :: Lens' CaseDetails (Maybe Text)
- caseDetails_categoryCode :: Lens' CaseDetails (Maybe Text)
- caseDetails_serviceCode :: Lens' CaseDetails (Maybe Text)
- data Category = Category' {}
- newCategory :: Category
- category_name :: Lens' Category (Maybe Text)
- category_code :: Lens' Category (Maybe Text)
- data Communication = Communication' {
- body :: Maybe Text
- caseId :: Maybe Text
- submittedBy :: Maybe Text
- timeCreated :: Maybe Text
- attachmentSet :: Maybe [AttachmentDetails]
- newCommunication :: Communication
- communication_body :: Lens' Communication (Maybe Text)
- communication_caseId :: Lens' Communication (Maybe Text)
- communication_submittedBy :: Lens' Communication (Maybe Text)
- communication_timeCreated :: Lens' Communication (Maybe Text)
- communication_attachmentSet :: Lens' Communication (Maybe [AttachmentDetails])
- data RecentCaseCommunications = RecentCaseCommunications' {}
- newRecentCaseCommunications :: RecentCaseCommunications
- recentCaseCommunications_nextToken :: Lens' RecentCaseCommunications (Maybe Text)
- recentCaseCommunications_communications :: Lens' RecentCaseCommunications (Maybe [Communication])
- data SeverityLevel = SeverityLevel' {}
- newSeverityLevel :: SeverityLevel
- severityLevel_name :: Lens' SeverityLevel (Maybe Text)
- severityLevel_code :: Lens' SeverityLevel (Maybe Text)
- data SupportService = SupportService' {}
- newSupportService :: SupportService
- supportService_categories :: Lens' SupportService (Maybe [Category])
- supportService_name :: Lens' SupportService (Maybe Text)
- supportService_code :: Lens' SupportService (Maybe Text)
- data TrustedAdvisorCategorySpecificSummary = TrustedAdvisorCategorySpecificSummary' {}
- newTrustedAdvisorCategorySpecificSummary :: TrustedAdvisorCategorySpecificSummary
- trustedAdvisorCategorySpecificSummary_costOptimizing :: Lens' TrustedAdvisorCategorySpecificSummary (Maybe TrustedAdvisorCostOptimizingSummary)
- data TrustedAdvisorCheckDescription = TrustedAdvisorCheckDescription' {}
- newTrustedAdvisorCheckDescription :: Text -> Text -> Text -> Text -> TrustedAdvisorCheckDescription
- trustedAdvisorCheckDescription_id :: Lens' TrustedAdvisorCheckDescription Text
- trustedAdvisorCheckDescription_name :: Lens' TrustedAdvisorCheckDescription Text
- trustedAdvisorCheckDescription_description :: Lens' TrustedAdvisorCheckDescription Text
- trustedAdvisorCheckDescription_category :: Lens' TrustedAdvisorCheckDescription Text
- trustedAdvisorCheckDescription_metadata :: Lens' TrustedAdvisorCheckDescription [Text]
- data TrustedAdvisorCheckRefreshStatus = TrustedAdvisorCheckRefreshStatus' {}
- newTrustedAdvisorCheckRefreshStatus :: Text -> Text -> Integer -> TrustedAdvisorCheckRefreshStatus
- trustedAdvisorCheckRefreshStatus_checkId :: Lens' TrustedAdvisorCheckRefreshStatus Text
- trustedAdvisorCheckRefreshStatus_status :: Lens' TrustedAdvisorCheckRefreshStatus Text
- trustedAdvisorCheckRefreshStatus_millisUntilNextRefreshable :: Lens' TrustedAdvisorCheckRefreshStatus Integer
- data TrustedAdvisorCheckResult = TrustedAdvisorCheckResult' {}
- newTrustedAdvisorCheckResult :: Text -> Text -> Text -> TrustedAdvisorResourcesSummary -> TrustedAdvisorCategorySpecificSummary -> TrustedAdvisorCheckResult
- trustedAdvisorCheckResult_checkId :: Lens' TrustedAdvisorCheckResult Text
- trustedAdvisorCheckResult_timestamp :: Lens' TrustedAdvisorCheckResult Text
- trustedAdvisorCheckResult_status :: Lens' TrustedAdvisorCheckResult Text
- trustedAdvisorCheckResult_resourcesSummary :: Lens' TrustedAdvisorCheckResult TrustedAdvisorResourcesSummary
- trustedAdvisorCheckResult_categorySpecificSummary :: Lens' TrustedAdvisorCheckResult TrustedAdvisorCategorySpecificSummary
- trustedAdvisorCheckResult_flaggedResources :: Lens' TrustedAdvisorCheckResult [TrustedAdvisorResourceDetail]
- data TrustedAdvisorCheckSummary = TrustedAdvisorCheckSummary' {}
- newTrustedAdvisorCheckSummary :: Text -> Text -> Text -> TrustedAdvisorResourcesSummary -> TrustedAdvisorCategorySpecificSummary -> TrustedAdvisorCheckSummary
- trustedAdvisorCheckSummary_hasFlaggedResources :: Lens' TrustedAdvisorCheckSummary (Maybe Bool)
- trustedAdvisorCheckSummary_checkId :: Lens' TrustedAdvisorCheckSummary Text
- trustedAdvisorCheckSummary_timestamp :: Lens' TrustedAdvisorCheckSummary Text
- trustedAdvisorCheckSummary_status :: Lens' TrustedAdvisorCheckSummary Text
- trustedAdvisorCheckSummary_resourcesSummary :: Lens' TrustedAdvisorCheckSummary TrustedAdvisorResourcesSummary
- trustedAdvisorCheckSummary_categorySpecificSummary :: Lens' TrustedAdvisorCheckSummary TrustedAdvisorCategorySpecificSummary
- data TrustedAdvisorCostOptimizingSummary = TrustedAdvisorCostOptimizingSummary' {}
- newTrustedAdvisorCostOptimizingSummary :: Double -> Double -> TrustedAdvisorCostOptimizingSummary
- trustedAdvisorCostOptimizingSummary_estimatedMonthlySavings :: Lens' TrustedAdvisorCostOptimizingSummary Double
- trustedAdvisorCostOptimizingSummary_estimatedPercentMonthlySavings :: Lens' TrustedAdvisorCostOptimizingSummary Double
- data TrustedAdvisorResourceDetail = TrustedAdvisorResourceDetail' {}
- newTrustedAdvisorResourceDetail :: Text -> Text -> TrustedAdvisorResourceDetail
- trustedAdvisorResourceDetail_isSuppressed :: Lens' TrustedAdvisorResourceDetail (Maybe Bool)
- trustedAdvisorResourceDetail_region :: Lens' TrustedAdvisorResourceDetail (Maybe Text)
- trustedAdvisorResourceDetail_status :: Lens' TrustedAdvisorResourceDetail Text
- trustedAdvisorResourceDetail_resourceId :: Lens' TrustedAdvisorResourceDetail Text
- trustedAdvisorResourceDetail_metadata :: Lens' TrustedAdvisorResourceDetail [Text]
- data TrustedAdvisorResourcesSummary = TrustedAdvisorResourcesSummary' {}
- newTrustedAdvisorResourcesSummary :: Integer -> Integer -> Integer -> Integer -> TrustedAdvisorResourcesSummary
- trustedAdvisorResourcesSummary_resourcesProcessed :: Lens' TrustedAdvisorResourcesSummary Integer
- trustedAdvisorResourcesSummary_resourcesFlagged :: Lens' TrustedAdvisorResourcesSummary Integer
- trustedAdvisorResourcesSummary_resourcesIgnored :: Lens' TrustedAdvisorResourcesSummary Integer
- trustedAdvisorResourcesSummary_resourcesSuppressed :: Lens' TrustedAdvisorResourcesSummary Integer
Service Configuration
defaultService :: Service Source #
API version 2013-04-15
of the Amazon Support SDK configuration.
Errors
_AttachmentSetExpired :: AsError a => Getting (First ServiceError) a ServiceError Source #
The expiration time of the attachment set has passed. The set expires 1 hour after it is created.
_AttachmentLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #
The limit for the number of attachment sets created in a short period of time has been exceeded.
_DescribeAttachmentLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #
The limit for the number of DescribeAttachment requests in a short period of time has been exceeded.
_CaseIdNotFound :: AsError a => Getting (First ServiceError) a ServiceError Source #
The requested caseId
couldn't be located.
_AttachmentSetIdNotFound :: AsError a => Getting (First ServiceError) a ServiceError Source #
An attachment set with the specified ID could not be found.
_AttachmentSetSizeLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #
A limit for the size of an attachment set has been exceeded. The limits are three attachments and 5 MB per attachment.
_AttachmentIdNotFound :: AsError a => Getting (First ServiceError) a ServiceError Source #
An attachment with the specified ID could not be found.
_InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError Source #
An internal server error occurred.
_CaseCreationLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #
The case creation limit for the account has been exceeded.
Attachment
data Attachment Source #
An attachment to a case communication. The attachment consists of the file name and the content of the file.
See: newAttachment
smart constructor.
Instances
newAttachment :: Attachment Source #
Create a value of Attachment
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:data':Attachment'
, attachment_data
- The content of the attachment file.--
-- 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:fileName:Attachment'
, attachment_fileName
- The name of the attachment file.
attachment_data :: Lens' Attachment (Maybe ByteString) Source #
The content of the attachment file.--
-- 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.
attachment_fileName :: Lens' Attachment (Maybe Text) Source #
The name of the attachment file.
AttachmentDetails
data AttachmentDetails Source #
The file name and ID of an attachment to a case communication. You can use the ID to retrieve the attachment with the DescribeAttachment operation.
See: newAttachmentDetails
smart constructor.
Instances
newAttachmentDetails :: AttachmentDetails Source #
Create a value of AttachmentDetails
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:attachmentId:AttachmentDetails'
, attachmentDetails_attachmentId
- The ID of the attachment.
$sel:fileName:AttachmentDetails'
, attachmentDetails_fileName
- The file name of the attachment.
attachmentDetails_attachmentId :: Lens' AttachmentDetails (Maybe Text) Source #
The ID of the attachment.
attachmentDetails_fileName :: Lens' AttachmentDetails (Maybe Text) Source #
The file name of the attachment.
CaseDetails
data CaseDetails Source #
A JSON-formatted object that contains the metadata for a support case. It is contained in the response from a DescribeCases request. CaseDetails contains the following fields:
- caseId - The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47.
- categoryCode - The category of problem for the support case.
Corresponds to the
CategoryCode
values returned by a call to DescribeServices. - displayId - The identifier for the case on pages in the AWS Support Center.
- language - The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.
- nextToken - A resumption point for pagination.
- recentCommunications - One or more Communication objects. Fields
of these objects are
attachments
,body
,caseId
,submittedBy
, andtimeCreated
. - serviceCode - The identifier for the AWS service that corresponds to the service code defined in the call to DescribeServices.
- severityCode - The severity code assigned to the case. Contains
one of the values returned by the call to DescribeSeverityLevels.
The possible values are:
low
,normal
,high
,urgent
, andcritical
. status - The status of the case in the AWS Support Center. Valid values:
opened
pending-customer-action
reopened
resolved
unassigned
work-in-progress
- subject - The subject line of the case.
- submittedBy - The email address of the account that submitted the case.
- timeCreated - The time the case was created, in ISO-8601 format.
See: newCaseDetails
smart constructor.
CaseDetails' | |
|
Instances
newCaseDetails :: CaseDetails Source #
Create a value of CaseDetails
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:subject:CaseDetails'
, caseDetails_subject
- The subject line for the case in the AWS Support Center.
$sel:status:CaseDetails'
, caseDetails_status
- The status of the case.
Valid values:
opened
pending-customer-action
reopened
resolved
unassigned
work-in-progress
$sel:recentCommunications:CaseDetails'
, caseDetails_recentCommunications
- The five most recent communications between you and AWS Support Center,
including the IDs of any attachments to the communications. Also
includes a nextToken
that you can use to retrieve earlier
communications.
$sel:severityCode:CaseDetails'
, caseDetails_severityCode
- The code for the severity level returned by the call to
DescribeSeverityLevels.
$sel:caseId:CaseDetails'
, caseDetails_caseId
- The support case ID requested or returned in the call. The case ID is an
alphanumeric string formatted as shown in this example:
case-12345678910-2013-c4c1d2bf33c5cf47
$sel:ccEmailAddresses:CaseDetails'
, caseDetails_ccEmailAddresses
- The email addresses that receive copies of communication about the case.
$sel:displayId:CaseDetails'
, caseDetails_displayId
- The ID displayed for the case in the AWS Support Center. This is a
numeric string.
$sel:submittedBy:CaseDetails'
, caseDetails_submittedBy
- The email address of the account that submitted the case.
$sel:language:CaseDetails'
, caseDetails_language
- The ISO 639-1 code for the language in which AWS provides support. AWS
Support currently supports English ("en") and Japanese ("ja").
Language parameters must be passed explicitly for operations that take
them.
$sel:timeCreated:CaseDetails'
, caseDetails_timeCreated
- The time that the case was created in the AWS Support Center.
$sel:categoryCode:CaseDetails'
, caseDetails_categoryCode
- The category of problem for the support case.
$sel:serviceCode:CaseDetails'
, caseDetails_serviceCode
- The code for the AWS service. You can get a list of codes and the
corresponding service names by calling DescribeServices.
caseDetails_subject :: Lens' CaseDetails (Maybe Text) Source #
The subject line for the case in the AWS Support Center.
caseDetails_status :: Lens' CaseDetails (Maybe Text) Source #
The status of the case.
Valid values:
opened
pending-customer-action
reopened
resolved
unassigned
work-in-progress
caseDetails_recentCommunications :: Lens' CaseDetails (Maybe RecentCaseCommunications) Source #
The five most recent communications between you and AWS Support Center,
including the IDs of any attachments to the communications. Also
includes a nextToken
that you can use to retrieve earlier
communications.
caseDetails_severityCode :: Lens' CaseDetails (Maybe Text) Source #
The code for the severity level returned by the call to DescribeSeverityLevels.
caseDetails_caseId :: Lens' CaseDetails (Maybe Text) Source #
The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
caseDetails_ccEmailAddresses :: Lens' CaseDetails (Maybe [Text]) Source #
The email addresses that receive copies of communication about the case.
caseDetails_displayId :: Lens' CaseDetails (Maybe Text) Source #
The ID displayed for the case in the AWS Support Center. This is a numeric string.
caseDetails_submittedBy :: Lens' CaseDetails (Maybe Text) Source #
The email address of the account that submitted the case.
caseDetails_language :: Lens' CaseDetails (Maybe Text) Source #
The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.
caseDetails_timeCreated :: Lens' CaseDetails (Maybe Text) Source #
The time that the case was created in the AWS Support Center.
caseDetails_categoryCode :: Lens' CaseDetails (Maybe Text) Source #
The category of problem for the support case.
caseDetails_serviceCode :: Lens' CaseDetails (Maybe Text) Source #
The code for the AWS service. You can get a list of codes and the corresponding service names by calling DescribeServices.
Category
A JSON-formatted name/value pair that represents the category name and category code of the problem, selected from the DescribeServices response for each AWS service.
See: newCategory
smart constructor.
Instances
Eq Category Source # | |
Read Category Source # | |
Show Category Source # | |
Generic Category Source # | |
NFData Category Source # | |
Defined in Amazonka.Support.Types.Category | |
Hashable Category Source # | |
Defined in Amazonka.Support.Types.Category | |
FromJSON Category Source # | |
type Rep Category Source # | |
Defined in Amazonka.Support.Types.Category type Rep Category = D1 ('MetaData "Category" "Amazonka.Support.Types.Category" "libZSservicesZSamazonka-supportZSamazonka-support" 'False) (C1 ('MetaCons "Category'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
newCategory :: Category Source #
Create a value of Category
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:Category'
, category_name
- The category name for the support case.
$sel:code:Category'
, category_code
- The category code for the support case.
Communication
data Communication Source #
A communication associated with a support case. The communication consists of the case ID, the message body, attachment information, the submitter of the communication, and the date and time of the communication.
See: newCommunication
smart constructor.
Communication' | |
|
Instances
newCommunication :: Communication Source #
Create a value of Communication
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:body:Communication'
, communication_body
- The text of the communication between the customer and AWS Support.
$sel:caseId:Communication'
, communication_caseId
- The support case ID requested or returned in the call. The case ID is an
alphanumeric string formatted as shown in this example:
case-12345678910-2013-c4c1d2bf33c5cf47
$sel:submittedBy:Communication'
, communication_submittedBy
- The identity of the account that submitted, or responded to, the support
case. Customer entries include the role or IAM user as well as the email
address. For example, "AdminRole (Role) <janedoe@example.com>.
Entries from the AWS Support team display "Amazon Web Services," and
don't show an email address.
$sel:timeCreated:Communication'
, communication_timeCreated
- The time the communication was created.
$sel:attachmentSet:Communication'
, communication_attachmentSet
- Information about the attachments to the case communication.
communication_body :: Lens' Communication (Maybe Text) Source #
The text of the communication between the customer and AWS Support.
communication_caseId :: Lens' Communication (Maybe Text) Source #
The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
communication_submittedBy :: Lens' Communication (Maybe Text) Source #
The identity of the account that submitted, or responded to, the support case. Customer entries include the role or IAM user as well as the email address. For example, "AdminRole (Role) <janedoe@example.com>. Entries from the AWS Support team display "Amazon Web Services," and don't show an email address.
communication_timeCreated :: Lens' Communication (Maybe Text) Source #
The time the communication was created.
communication_attachmentSet :: Lens' Communication (Maybe [AttachmentDetails]) Source #
Information about the attachments to the case communication.
RecentCaseCommunications
data RecentCaseCommunications Source #
The five most recent communications associated with the case.
See: newRecentCaseCommunications
smart constructor.
RecentCaseCommunications' | |
|
Instances
newRecentCaseCommunications :: RecentCaseCommunications Source #
Create a value of RecentCaseCommunications
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:RecentCaseCommunications'
, recentCaseCommunications_nextToken
- A resumption point for pagination.
$sel:communications:RecentCaseCommunications'
, recentCaseCommunications_communications
- The five most recent communications associated with the case.
recentCaseCommunications_nextToken :: Lens' RecentCaseCommunications (Maybe Text) Source #
A resumption point for pagination.
recentCaseCommunications_communications :: Lens' RecentCaseCommunications (Maybe [Communication]) Source #
The five most recent communications associated with the case.
SeverityLevel
data SeverityLevel Source #
A code and name pair that represents the severity level of a support case. The available values depend on the support plan for the account. For more information, see Choosing a severity in the AWS Support User Guide.
See: newSeverityLevel
smart constructor.
SeverityLevel' | |
|
Instances
newSeverityLevel :: SeverityLevel Source #
Create a value of SeverityLevel
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:SeverityLevel'
, severityLevel_name
- The name of the severity level that corresponds to the severity level
code.
The values returned by the API are different from the values that appear
in the AWS Support Center. For example, the API uses the code low
, but
the name appears as General guidance in Support Center.
The following are the API code names and how they appear in the console:
low
- General guidancenormal
- System impairedhigh
- Production system impairedurgent
- Production system downcritical
- Business-critical system down
For more information, see Choosing a severity in the AWS Support User Guide.
$sel:code:SeverityLevel'
, severityLevel_code
- The code for case severity level.
Valid values: low
| normal
| high
| urgent
| critical
severityLevel_name :: Lens' SeverityLevel (Maybe Text) Source #
The name of the severity level that corresponds to the severity level code.
The values returned by the API are different from the values that appear
in the AWS Support Center. For example, the API uses the code low
, but
the name appears as General guidance in Support Center.
The following are the API code names and how they appear in the console:
low
- General guidancenormal
- System impairedhigh
- Production system impairedurgent
- Production system downcritical
- Business-critical system down
For more information, see Choosing a severity in the AWS Support User Guide.
severityLevel_code :: Lens' SeverityLevel (Maybe Text) Source #
The code for case severity level.
Valid values: low
| normal
| high
| urgent
| critical
SupportService
data SupportService Source #
Information about an AWS service returned by the DescribeServices operation.
See: newSupportService
smart constructor.
SupportService' | |
|
Instances
newSupportService :: SupportService Source #
Create a value of SupportService
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:categories:SupportService'
, supportService_categories
- A list of categories that describe the type of support issue a case
describes. Categories consist of a category name and a category code.
Category names and codes are passed to AWS Support when you call
CreateCase.
$sel:name:SupportService'
, supportService_name
- The friendly name for an AWS service. The code
element contains the
corresponding code.
$sel:code:SupportService'
, supportService_code
- The code for an AWS service returned by the DescribeServices response.
The name
element contains the corresponding friendly name.
supportService_categories :: Lens' SupportService (Maybe [Category]) Source #
A list of categories that describe the type of support issue a case describes. Categories consist of a category name and a category code. Category names and codes are passed to AWS Support when you call CreateCase.
supportService_name :: Lens' SupportService (Maybe Text) Source #
The friendly name for an AWS service. The code
element contains the
corresponding code.
supportService_code :: Lens' SupportService (Maybe Text) Source #
The code for an AWS service returned by the DescribeServices response.
The name
element contains the corresponding friendly name.
TrustedAdvisorCategorySpecificSummary
data TrustedAdvisorCategorySpecificSummary Source #
The container for summary information that relates to the category of the Trusted Advisor check.
See: newTrustedAdvisorCategorySpecificSummary
smart constructor.
TrustedAdvisorCategorySpecificSummary' | |
|
Instances
Eq TrustedAdvisorCategorySpecificSummary Source # | |
Read TrustedAdvisorCategorySpecificSummary Source # | |
Show TrustedAdvisorCategorySpecificSummary Source # | |
Generic TrustedAdvisorCategorySpecificSummary Source # | |
NFData TrustedAdvisorCategorySpecificSummary Source # | |
Hashable TrustedAdvisorCategorySpecificSummary Source # | |
FromJSON TrustedAdvisorCategorySpecificSummary Source # | |
type Rep TrustedAdvisorCategorySpecificSummary Source # | |
Defined in Amazonka.Support.Types.TrustedAdvisorCategorySpecificSummary type Rep TrustedAdvisorCategorySpecificSummary = D1 ('MetaData "TrustedAdvisorCategorySpecificSummary" "Amazonka.Support.Types.TrustedAdvisorCategorySpecificSummary" "libZSservicesZSamazonka-supportZSamazonka-support" 'False) (C1 ('MetaCons "TrustedAdvisorCategorySpecificSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "costOptimizing") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TrustedAdvisorCostOptimizingSummary)))) |
newTrustedAdvisorCategorySpecificSummary :: TrustedAdvisorCategorySpecificSummary Source #
Create a value of TrustedAdvisorCategorySpecificSummary
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:costOptimizing:TrustedAdvisorCategorySpecificSummary'
, trustedAdvisorCategorySpecificSummary_costOptimizing
- The summary information about cost savings for a Trusted Advisor check
that is in the Cost Optimizing category.
trustedAdvisorCategorySpecificSummary_costOptimizing :: Lens' TrustedAdvisorCategorySpecificSummary (Maybe TrustedAdvisorCostOptimizingSummary) Source #
The summary information about cost savings for a Trusted Advisor check that is in the Cost Optimizing category.
TrustedAdvisorCheckDescription
data TrustedAdvisorCheckDescription Source #
The description and metadata for a Trusted Advisor check.
See: newTrustedAdvisorCheckDescription
smart constructor.
TrustedAdvisorCheckDescription' | |
|
Instances
newTrustedAdvisorCheckDescription Source #
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> TrustedAdvisorCheckDescription |
Create a value of TrustedAdvisorCheckDescription
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:id:TrustedAdvisorCheckDescription'
, trustedAdvisorCheckDescription_id
- The unique identifier for the Trusted Advisor check.
$sel:name:TrustedAdvisorCheckDescription'
, trustedAdvisorCheckDescription_name
- The display name for the Trusted Advisor check.
$sel:description:TrustedAdvisorCheckDescription'
, trustedAdvisorCheckDescription_description
- The description of the Trusted Advisor check, which includes the alert
criteria and recommended operations (contains HTML markup).
$sel:category:TrustedAdvisorCheckDescription'
, trustedAdvisorCheckDescription_category
- The category of the Trusted Advisor check.
$sel:metadata:TrustedAdvisorCheckDescription'
, trustedAdvisorCheckDescription_metadata
- The column headings for the data returned by the Trusted Advisor check.
The order of the headings corresponds to the order of the data in the
Metadata element of the TrustedAdvisorResourceDetail for the check.
Metadata contains all the data that is shown in the Excel download,
even in those cases where the UI shows just summary data.
trustedAdvisorCheckDescription_id :: Lens' TrustedAdvisorCheckDescription Text Source #
The unique identifier for the Trusted Advisor check.
trustedAdvisorCheckDescription_name :: Lens' TrustedAdvisorCheckDescription Text Source #
The display name for the Trusted Advisor check.
trustedAdvisorCheckDescription_description :: Lens' TrustedAdvisorCheckDescription Text Source #
The description of the Trusted Advisor check, which includes the alert criteria and recommended operations (contains HTML markup).
trustedAdvisorCheckDescription_category :: Lens' TrustedAdvisorCheckDescription Text Source #
The category of the Trusted Advisor check.
trustedAdvisorCheckDescription_metadata :: Lens' TrustedAdvisorCheckDescription [Text] Source #
The column headings for the data returned by the Trusted Advisor check. The order of the headings corresponds to the order of the data in the Metadata element of the TrustedAdvisorResourceDetail for the check. Metadata contains all the data that is shown in the Excel download, even in those cases where the UI shows just summary data.
TrustedAdvisorCheckRefreshStatus
data TrustedAdvisorCheckRefreshStatus Source #
The refresh status of a Trusted Advisor check.
See: newTrustedAdvisorCheckRefreshStatus
smart constructor.
TrustedAdvisorCheckRefreshStatus' | |
|
Instances
newTrustedAdvisorCheckRefreshStatus Source #
:: Text | |
-> Text | |
-> Integer |
|
-> TrustedAdvisorCheckRefreshStatus |
Create a value of TrustedAdvisorCheckRefreshStatus
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:checkId:TrustedAdvisorCheckRefreshStatus'
, trustedAdvisorCheckRefreshStatus_checkId
- The unique identifier for the Trusted Advisor check.
$sel:status:TrustedAdvisorCheckRefreshStatus'
, trustedAdvisorCheckRefreshStatus_status
- The status of the Trusted Advisor check for which a refresh has been
requested:
none
- The check is not refreshed or the non-success status exceeds the timeoutenqueued
- The check refresh requests has entered the refresh queueprocessing
- The check refresh request is picked up by the rule processing enginesuccess
- The check is successfully refreshedabandoned
- The check refresh has failed
$sel:millisUntilNextRefreshable:TrustedAdvisorCheckRefreshStatus'
, trustedAdvisorCheckRefreshStatus_millisUntilNextRefreshable
- The amount of time, in milliseconds, until the Trusted Advisor check is
eligible for refresh.
trustedAdvisorCheckRefreshStatus_checkId :: Lens' TrustedAdvisorCheckRefreshStatus Text Source #
The unique identifier for the Trusted Advisor check.
trustedAdvisorCheckRefreshStatus_status :: Lens' TrustedAdvisorCheckRefreshStatus Text Source #
The status of the Trusted Advisor check for which a refresh has been requested:
none
- The check is not refreshed or the non-success status exceeds the timeoutenqueued
- The check refresh requests has entered the refresh queueprocessing
- The check refresh request is picked up by the rule processing enginesuccess
- The check is successfully refreshedabandoned
- The check refresh has failed
trustedAdvisorCheckRefreshStatus_millisUntilNextRefreshable :: Lens' TrustedAdvisorCheckRefreshStatus Integer Source #
The amount of time, in milliseconds, until the Trusted Advisor check is eligible for refresh.
TrustedAdvisorCheckResult
data TrustedAdvisorCheckResult Source #
The results of a Trusted Advisor check returned by DescribeTrustedAdvisorCheckResult.
See: newTrustedAdvisorCheckResult
smart constructor.
TrustedAdvisorCheckResult' | |
|
Instances
newTrustedAdvisorCheckResult Source #
:: Text | |
-> Text | |
-> Text | |
-> TrustedAdvisorResourcesSummary | |
-> TrustedAdvisorCategorySpecificSummary | |
-> TrustedAdvisorCheckResult |
Create a value of TrustedAdvisorCheckResult
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:checkId:TrustedAdvisorCheckResult'
, trustedAdvisorCheckResult_checkId
- The unique identifier for the Trusted Advisor check.
$sel:timestamp:TrustedAdvisorCheckResult'
, trustedAdvisorCheckResult_timestamp
- The time of the last refresh of the check.
$sel:status:TrustedAdvisorCheckResult'
, trustedAdvisorCheckResult_status
- The alert status of the check: "ok" (green), "warning" (yellow),
"error" (red), or "not_available".
$sel:resourcesSummary:TrustedAdvisorCheckResult'
, trustedAdvisorCheckResult_resourcesSummary
- Undocumented member.
$sel:categorySpecificSummary:TrustedAdvisorCheckResult'
, trustedAdvisorCheckResult_categorySpecificSummary
- Summary information that relates to the category of the check. Cost
Optimizing is the only category that is currently supported.
$sel:flaggedResources:TrustedAdvisorCheckResult'
, trustedAdvisorCheckResult_flaggedResources
- The details about each resource listed in the check result.
trustedAdvisorCheckResult_checkId :: Lens' TrustedAdvisorCheckResult Text Source #
The unique identifier for the Trusted Advisor check.
trustedAdvisorCheckResult_timestamp :: Lens' TrustedAdvisorCheckResult Text Source #
The time of the last refresh of the check.
trustedAdvisorCheckResult_status :: Lens' TrustedAdvisorCheckResult Text Source #
The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
trustedAdvisorCheckResult_resourcesSummary :: Lens' TrustedAdvisorCheckResult TrustedAdvisorResourcesSummary Source #
Undocumented member.
trustedAdvisorCheckResult_categorySpecificSummary :: Lens' TrustedAdvisorCheckResult TrustedAdvisorCategorySpecificSummary Source #
Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.
trustedAdvisorCheckResult_flaggedResources :: Lens' TrustedAdvisorCheckResult [TrustedAdvisorResourceDetail] Source #
The details about each resource listed in the check result.
TrustedAdvisorCheckSummary
data TrustedAdvisorCheckSummary Source #
A summary of a Trusted Advisor check result, including the alert status, last refresh, and number of resources examined.
See: newTrustedAdvisorCheckSummary
smart constructor.
TrustedAdvisorCheckSummary' | |
|
Instances
newTrustedAdvisorCheckSummary Source #
:: Text | |
-> Text | |
-> Text | |
-> TrustedAdvisorResourcesSummary | |
-> TrustedAdvisorCategorySpecificSummary | |
-> TrustedAdvisorCheckSummary |
Create a value of TrustedAdvisorCheckSummary
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:hasFlaggedResources:TrustedAdvisorCheckSummary'
, trustedAdvisorCheckSummary_hasFlaggedResources
- Specifies whether the Trusted Advisor check has flagged resources.
$sel:checkId:TrustedAdvisorCheckSummary'
, trustedAdvisorCheckSummary_checkId
- The unique identifier for the Trusted Advisor check.
$sel:timestamp:TrustedAdvisorCheckSummary'
, trustedAdvisorCheckSummary_timestamp
- The time of the last refresh of the check.
$sel:status:TrustedAdvisorCheckSummary'
, trustedAdvisorCheckSummary_status
- The alert status of the check: "ok" (green), "warning" (yellow),
"error" (red), or "not_available".
$sel:resourcesSummary:TrustedAdvisorCheckSummary'
, trustedAdvisorCheckSummary_resourcesSummary
- Undocumented member.
$sel:categorySpecificSummary:TrustedAdvisorCheckSummary'
, trustedAdvisorCheckSummary_categorySpecificSummary
- Summary information that relates to the category of the check. Cost
Optimizing is the only category that is currently supported.
trustedAdvisorCheckSummary_hasFlaggedResources :: Lens' TrustedAdvisorCheckSummary (Maybe Bool) Source #
Specifies whether the Trusted Advisor check has flagged resources.
trustedAdvisorCheckSummary_checkId :: Lens' TrustedAdvisorCheckSummary Text Source #
The unique identifier for the Trusted Advisor check.
trustedAdvisorCheckSummary_timestamp :: Lens' TrustedAdvisorCheckSummary Text Source #
The time of the last refresh of the check.
trustedAdvisorCheckSummary_status :: Lens' TrustedAdvisorCheckSummary Text Source #
The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
trustedAdvisorCheckSummary_resourcesSummary :: Lens' TrustedAdvisorCheckSummary TrustedAdvisorResourcesSummary Source #
Undocumented member.
trustedAdvisorCheckSummary_categorySpecificSummary :: Lens' TrustedAdvisorCheckSummary TrustedAdvisorCategorySpecificSummary Source #
Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.
TrustedAdvisorCostOptimizingSummary
data TrustedAdvisorCostOptimizingSummary Source #
The estimated cost savings that might be realized if the recommended operations are taken.
See: newTrustedAdvisorCostOptimizingSummary
smart constructor.
TrustedAdvisorCostOptimizingSummary' | |
|
Instances
newTrustedAdvisorCostOptimizingSummary Source #
:: Double |
|
-> Double |
|
-> TrustedAdvisorCostOptimizingSummary |
Create a value of TrustedAdvisorCostOptimizingSummary
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:estimatedMonthlySavings:TrustedAdvisorCostOptimizingSummary'
, trustedAdvisorCostOptimizingSummary_estimatedMonthlySavings
- The estimated monthly savings that might be realized if the recommended
operations are taken.
$sel:estimatedPercentMonthlySavings:TrustedAdvisorCostOptimizingSummary'
, trustedAdvisorCostOptimizingSummary_estimatedPercentMonthlySavings
- The estimated percentage of savings that might be realized if the
recommended operations are taken.
trustedAdvisorCostOptimizingSummary_estimatedMonthlySavings :: Lens' TrustedAdvisorCostOptimizingSummary Double Source #
The estimated monthly savings that might be realized if the recommended operations are taken.
trustedAdvisorCostOptimizingSummary_estimatedPercentMonthlySavings :: Lens' TrustedAdvisorCostOptimizingSummary Double Source #
The estimated percentage of savings that might be realized if the recommended operations are taken.
TrustedAdvisorResourceDetail
data TrustedAdvisorResourceDetail Source #
Contains information about a resource identified by a Trusted Advisor check.
See: newTrustedAdvisorResourceDetail
smart constructor.
TrustedAdvisorResourceDetail' | |
|
Instances
newTrustedAdvisorResourceDetail Source #
:: Text | |
-> Text | |
-> TrustedAdvisorResourceDetail |
Create a value of TrustedAdvisorResourceDetail
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:isSuppressed:TrustedAdvisorResourceDetail'
, trustedAdvisorResourceDetail_isSuppressed
- Specifies whether the AWS resource was ignored by Trusted Advisor
because it was marked as suppressed by the user.
$sel:region:TrustedAdvisorResourceDetail'
, trustedAdvisorResourceDetail_region
- The AWS Region in which the identified resource is located.
$sel:status:TrustedAdvisorResourceDetail'
, trustedAdvisorResourceDetail_status
- The status code for the resource identified in the Trusted Advisor
check.
$sel:resourceId:TrustedAdvisorResourceDetail'
, trustedAdvisorResourceDetail_resourceId
- The unique identifier for the identified resource.
$sel:metadata:TrustedAdvisorResourceDetail'
, trustedAdvisorResourceDetail_metadata
- Additional information about the identified resource. The exact metadata
and its order can be obtained by inspecting the
TrustedAdvisorCheckDescription object returned by the call to
DescribeTrustedAdvisorChecks. Metadata contains all the data that is
shown in the Excel download, even in those cases where the UI shows just
summary data.
trustedAdvisorResourceDetail_isSuppressed :: Lens' TrustedAdvisorResourceDetail (Maybe Bool) Source #
Specifies whether the AWS resource was ignored by Trusted Advisor because it was marked as suppressed by the user.
trustedAdvisorResourceDetail_region :: Lens' TrustedAdvisorResourceDetail (Maybe Text) Source #
The AWS Region in which the identified resource is located.
trustedAdvisorResourceDetail_status :: Lens' TrustedAdvisorResourceDetail Text Source #
The status code for the resource identified in the Trusted Advisor check.
trustedAdvisorResourceDetail_resourceId :: Lens' TrustedAdvisorResourceDetail Text Source #
The unique identifier for the identified resource.
trustedAdvisorResourceDetail_metadata :: Lens' TrustedAdvisorResourceDetail [Text] Source #
Additional information about the identified resource. The exact metadata and its order can be obtained by inspecting the TrustedAdvisorCheckDescription object returned by the call to DescribeTrustedAdvisorChecks. Metadata contains all the data that is shown in the Excel download, even in those cases where the UI shows just summary data.
TrustedAdvisorResourcesSummary
data TrustedAdvisorResourcesSummary Source #
Details about AWS resources that were analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.
See: newTrustedAdvisorResourcesSummary
smart constructor.
TrustedAdvisorResourcesSummary' | |
|
Instances
newTrustedAdvisorResourcesSummary Source #
:: Integer | |
-> Integer | |
-> Integer | |
-> Integer | |
-> TrustedAdvisorResourcesSummary |
Create a value of TrustedAdvisorResourcesSummary
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:resourcesProcessed:TrustedAdvisorResourcesSummary'
, trustedAdvisorResourcesSummary_resourcesProcessed
- The number of AWS resources that were analyzed by the Trusted Advisor
check.
$sel:resourcesFlagged:TrustedAdvisorResourcesSummary'
, trustedAdvisorResourcesSummary_resourcesFlagged
- The number of AWS resources that were flagged (listed) by the Trusted
Advisor check.
$sel:resourcesIgnored:TrustedAdvisorResourcesSummary'
, trustedAdvisorResourcesSummary_resourcesIgnored
- The number of AWS resources ignored by Trusted Advisor because
information was unavailable.
$sel:resourcesSuppressed:TrustedAdvisorResourcesSummary'
, trustedAdvisorResourcesSummary_resourcesSuppressed
- The number of AWS resources ignored by Trusted Advisor because they were
marked as suppressed by the user.
trustedAdvisorResourcesSummary_resourcesProcessed :: Lens' TrustedAdvisorResourcesSummary Integer Source #
The number of AWS resources that were analyzed by the Trusted Advisor check.
trustedAdvisorResourcesSummary_resourcesFlagged :: Lens' TrustedAdvisorResourcesSummary Integer Source #
The number of AWS resources that were flagged (listed) by the Trusted Advisor check.
trustedAdvisorResourcesSummary_resourcesIgnored :: Lens' TrustedAdvisorResourcesSummary Integer Source #
The number of AWS resources ignored by Trusted Advisor because information was unavailable.
trustedAdvisorResourcesSummary_resourcesSuppressed :: Lens' TrustedAdvisorResourcesSummary Integer Source #
The number of AWS resources ignored by Trusted Advisor because they were marked as suppressed by the user.