-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon Support SDK.
--
-- Derived from API version 2013-04-15 of the AWS service
-- descriptions, licensed under Apache 2.0.
--
-- The types from this library are intended to be used with
-- amazonka, which provides mechanisms for specifying AuthN/AuthZ
-- information, sending requests, and receiving responses.
--
-- It is recommended to use generic lenses or optics from packages such
-- as generic-lens or optics to modify optional fields and
-- deconstruct responses.
--
-- Generated lenses can be found in Amazonka.Support.Lens and are
-- suitable for use with a lens package such as lens or
-- lens-family-core.
--
-- See Amazonka.Support and the AWS documentation to get
-- started.
@package amazonka-support
@version 2.0
module Amazonka.Support.Types.Attachment
-- | An attachment to a case communication. The attachment consists of the
-- file name and the content of the file.
--
-- See: newAttachment smart constructor.
data Attachment
Attachment' :: Maybe Base64 -> Maybe Text -> Attachment
-- | The content of the attachment file.
[$sel:data':Attachment'] :: Attachment -> Maybe Base64
-- | The name of the attachment file.
[$sel:fileName:Attachment'] :: Attachment -> Maybe Text
-- | 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.
newAttachment :: Attachment
-- | 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_data :: Lens' Attachment (Maybe ByteString)
-- | The name of the attachment file.
attachment_fileName :: Lens' Attachment (Maybe Text)
instance GHC.Generics.Generic Amazonka.Support.Types.Attachment.Attachment
instance GHC.Show.Show Amazonka.Support.Types.Attachment.Attachment
instance GHC.Read.Read Amazonka.Support.Types.Attachment.Attachment
instance GHC.Classes.Eq Amazonka.Support.Types.Attachment.Attachment
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Support.Types.Attachment.Attachment
instance Data.Hashable.Class.Hashable Amazonka.Support.Types.Attachment.Attachment
instance Control.DeepSeq.NFData Amazonka.Support.Types.Attachment.Attachment
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Support.Types.Attachment.Attachment
module Amazonka.Support.Types.AttachmentDetails
-- | 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.
data AttachmentDetails
AttachmentDetails' :: Maybe Text -> Maybe Text -> AttachmentDetails
-- | The ID of the attachment.
[$sel:attachmentId:AttachmentDetails'] :: AttachmentDetails -> Maybe Text
-- | The file name of the attachment.
[$sel:fileName:AttachmentDetails'] :: AttachmentDetails -> Maybe Text
-- | 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.
newAttachmentDetails :: AttachmentDetails
-- | The ID of the attachment.
attachmentDetails_attachmentId :: Lens' AttachmentDetails (Maybe Text)
-- | The file name of the attachment.
attachmentDetails_fileName :: Lens' AttachmentDetails (Maybe Text)
instance GHC.Generics.Generic Amazonka.Support.Types.AttachmentDetails.AttachmentDetails
instance GHC.Show.Show Amazonka.Support.Types.AttachmentDetails.AttachmentDetails
instance GHC.Read.Read Amazonka.Support.Types.AttachmentDetails.AttachmentDetails
instance GHC.Classes.Eq Amazonka.Support.Types.AttachmentDetails.AttachmentDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Support.Types.AttachmentDetails.AttachmentDetails
instance Data.Hashable.Class.Hashable Amazonka.Support.Types.AttachmentDetails.AttachmentDetails
instance Control.DeepSeq.NFData Amazonka.Support.Types.AttachmentDetails.AttachmentDetails
module Amazonka.Support.Types.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 Amazon Web Services service.
--
-- See: newCategory smart constructor.
data Category
Category' :: Maybe Text -> Maybe Text -> Category
-- | The category code for the support case.
[$sel:code:Category'] :: Category -> Maybe Text
-- | The category name for the support case.
[$sel:name:Category'] :: Category -> Maybe Text
-- | 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:code:Category', category_code - The category code
-- for the support case.
--
-- $sel:name:Category', category_name - The category name
-- for the support case.
newCategory :: Category
-- | The category code for the support case.
category_code :: Lens' Category (Maybe Text)
-- | The category name for the support case.
category_name :: Lens' Category (Maybe Text)
instance GHC.Generics.Generic Amazonka.Support.Types.Category.Category
instance GHC.Show.Show Amazonka.Support.Types.Category.Category
instance GHC.Read.Read Amazonka.Support.Types.Category.Category
instance GHC.Classes.Eq Amazonka.Support.Types.Category.Category
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Support.Types.Category.Category
instance Data.Hashable.Class.Hashable Amazonka.Support.Types.Category.Category
instance Control.DeepSeq.NFData Amazonka.Support.Types.Category.Category
module Amazonka.Support.Types.Communication
-- | 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.
data Communication
Communication' :: Maybe [AttachmentDetails] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Communication
-- | Information about the attachments to the case communication.
[$sel:attachmentSet:Communication'] :: Communication -> Maybe [AttachmentDetails]
-- | The text of the communication between the customer and Amazon Web
-- Services Support.
[$sel:body:Communication'] :: Communication -> Maybe Text
-- | 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:caseId:Communication'] :: Communication -> Maybe Text
-- | 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 Amazon Web Services
-- Support team display "Amazon Web Services," and don't show an email
-- address.
[$sel:submittedBy:Communication'] :: Communication -> Maybe Text
-- | The time the communication was created.
[$sel:timeCreated:Communication'] :: Communication -> Maybe Text
-- | 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:attachmentSet:Communication',
-- communication_attachmentSet - Information about the attachments
-- to the case communication.
--
-- $sel:body:Communication', communication_body - The text
-- of the communication between the customer and Amazon Web Services
-- 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 Amazon
-- Web Services Support team display "Amazon Web Services," and don't
-- show an email address.
--
-- $sel:timeCreated:Communication',
-- communication_timeCreated - The time the communication was
-- created.
newCommunication :: Communication
-- | Information about the attachments to the case communication.
communication_attachmentSet :: Lens' Communication (Maybe [AttachmentDetails])
-- | The text of the communication between the customer and Amazon Web
-- Services Support.
communication_body :: Lens' Communication (Maybe Text)
-- | 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_caseId :: Lens' Communication (Maybe Text)
-- | 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 Amazon Web Services
-- Support team display "Amazon Web Services," and don't show an email
-- address.
communication_submittedBy :: Lens' Communication (Maybe Text)
-- | The time the communication was created.
communication_timeCreated :: Lens' Communication (Maybe Text)
instance GHC.Generics.Generic Amazonka.Support.Types.Communication.Communication
instance GHC.Show.Show Amazonka.Support.Types.Communication.Communication
instance GHC.Read.Read Amazonka.Support.Types.Communication.Communication
instance GHC.Classes.Eq Amazonka.Support.Types.Communication.Communication
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Support.Types.Communication.Communication
instance Data.Hashable.Class.Hashable Amazonka.Support.Types.Communication.Communication
instance Control.DeepSeq.NFData Amazonka.Support.Types.Communication.Communication
module Amazonka.Support.Types.RecentCaseCommunications
-- | The five most recent communications associated with the case.
--
-- See: newRecentCaseCommunications smart constructor.
data RecentCaseCommunications
RecentCaseCommunications' :: Maybe [Communication] -> Maybe Text -> RecentCaseCommunications
-- | The five most recent communications associated with the case.
[$sel:communications:RecentCaseCommunications'] :: RecentCaseCommunications -> Maybe [Communication]
-- | A resumption point for pagination.
[$sel:nextToken:RecentCaseCommunications'] :: RecentCaseCommunications -> Maybe Text
-- | 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:communications:RecentCaseCommunications',
-- recentCaseCommunications_communications - The five most recent
-- communications associated with the case.
--
-- $sel:nextToken:RecentCaseCommunications',
-- recentCaseCommunications_nextToken - A resumption point for
-- pagination.
newRecentCaseCommunications :: RecentCaseCommunications
-- | The five most recent communications associated with the case.
recentCaseCommunications_communications :: Lens' RecentCaseCommunications (Maybe [Communication])
-- | A resumption point for pagination.
recentCaseCommunications_nextToken :: Lens' RecentCaseCommunications (Maybe Text)
instance GHC.Generics.Generic Amazonka.Support.Types.RecentCaseCommunications.RecentCaseCommunications
instance GHC.Show.Show Amazonka.Support.Types.RecentCaseCommunications.RecentCaseCommunications
instance GHC.Read.Read Amazonka.Support.Types.RecentCaseCommunications.RecentCaseCommunications
instance GHC.Classes.Eq Amazonka.Support.Types.RecentCaseCommunications.RecentCaseCommunications
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Support.Types.RecentCaseCommunications.RecentCaseCommunications
instance Data.Hashable.Class.Hashable Amazonka.Support.Types.RecentCaseCommunications.RecentCaseCommunications
instance Control.DeepSeq.NFData Amazonka.Support.Types.RecentCaseCommunications.RecentCaseCommunications
module Amazonka.Support.Types.CaseDetails
-- | 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
-- Amazon Web Services Support Center.
-- - language - The language in which Amazon Web Services
-- Support handles the case. Amazon Web Services Support currently
-- supports English ("en") and Japanese ("ja"). You must specify the ISO
-- 639-1 code for the language parameter if you want support in
-- that language.
-- - nextToken - A resumption point for pagination.
-- - recentCommunications - One or more Communication objects.
-- Fields of these objects are attachments, body,
-- caseId, submittedBy, and timeCreated.
-- - serviceCode - The identifier for the Amazon Web Services
-- 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, and
-- critical.
-- - status - The status of the case in the Amazon Web Services
-- 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.
data CaseDetails
CaseDetails' :: Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe RecentCaseCommunications -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> CaseDetails
-- | 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:caseId:CaseDetails'] :: CaseDetails -> Maybe Text
-- | The category of problem for the support case.
[$sel:categoryCode:CaseDetails'] :: CaseDetails -> Maybe Text
-- | The email addresses that receive copies of communication about the
-- case.
[$sel:ccEmailAddresses:CaseDetails'] :: CaseDetails -> Maybe [Text]
-- | The ID displayed for the case in the Amazon Web Services Support
-- Center. This is a numeric string.
[$sel:displayId:CaseDetails'] :: CaseDetails -> Maybe Text
-- | The language in which Amazon Web Services Support handles the case.
-- Amazon Web Services Support currently supports English ("en") and
-- Japanese ("ja"). You must specify the ISO 639-1 code for the
-- language parameter if you want support in that language.
[$sel:language:CaseDetails'] :: CaseDetails -> Maybe Text
-- | The five most recent communications between you and Amazon Web
-- Services Support Center, including the IDs of any attachments to the
-- communications. Also includes a nextToken that you can use to
-- retrieve earlier communications.
[$sel:recentCommunications:CaseDetails'] :: CaseDetails -> Maybe RecentCaseCommunications
-- | The code for the Amazon Web Services service. You can get a list of
-- codes and the corresponding service names by calling DescribeServices.
[$sel:serviceCode:CaseDetails'] :: CaseDetails -> Maybe Text
-- | The code for the severity level returned by the call to
-- DescribeSeverityLevels.
[$sel:severityCode:CaseDetails'] :: CaseDetails -> Maybe Text
-- | The status of the case.
--
-- Valid values:
--
--
-- opened
-- pending-customer-action
-- reopened
-- resolved
-- unassigned
-- work-in-progress
--
[$sel:status:CaseDetails'] :: CaseDetails -> Maybe Text
-- | The subject line for the case in the Amazon Web Services Support
-- Center.
[$sel:subject:CaseDetails'] :: CaseDetails -> Maybe Text
-- | The email address of the account that submitted the case.
[$sel:submittedBy:CaseDetails'] :: CaseDetails -> Maybe Text
-- | The time that the case was created in the Amazon Web Services Support
-- Center.
[$sel:timeCreated:CaseDetails'] :: CaseDetails -> Maybe Text
-- | 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: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:categoryCode:CaseDetails', caseDetails_categoryCode
-- - The category of problem for the support case.
--
-- $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 Amazon Web Services Support Center.
-- This is a numeric string.
--
-- $sel:language:CaseDetails', caseDetails_language - The
-- language in which Amazon Web Services Support handles the case. Amazon
-- Web Services Support currently supports English ("en") and Japanese
-- ("ja"). You must specify the ISO 639-1 code for the language
-- parameter if you want support in that language.
--
-- $sel:recentCommunications:CaseDetails',
-- caseDetails_recentCommunications - The five most recent
-- communications between you and Amazon Web Services Support Center,
-- including the IDs of any attachments to the communications. Also
-- includes a nextToken that you can use to retrieve earlier
-- communications.
--
-- $sel:serviceCode:CaseDetails', caseDetails_serviceCode -
-- The code for the Amazon Web Services service. You can get a list of
-- codes and the corresponding service names by calling DescribeServices.
--
-- $sel:severityCode:CaseDetails', caseDetails_severityCode
-- - The code for the severity level returned by the call to
-- DescribeSeverityLevels.
--
-- $sel:status:CaseDetails', caseDetails_status - The
-- status of the case.
--
-- Valid values:
--
--
-- opened
-- pending-customer-action
-- reopened
-- resolved
-- unassigned
-- work-in-progress
--
--
-- $sel:subject:CaseDetails', caseDetails_subject - The
-- subject line for the case in the Amazon Web Services Support Center.
--
-- $sel:submittedBy:CaseDetails', caseDetails_submittedBy -
-- The email address of the account that submitted the case.
--
-- $sel:timeCreated:CaseDetails', caseDetails_timeCreated -
-- The time that the case was created in the Amazon Web Services Support
-- Center.
newCaseDetails :: CaseDetails
-- | 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_caseId :: Lens' CaseDetails (Maybe Text)
-- | The category of problem for the support case.
caseDetails_categoryCode :: Lens' CaseDetails (Maybe Text)
-- | The email addresses that receive copies of communication about the
-- case.
caseDetails_ccEmailAddresses :: Lens' CaseDetails (Maybe [Text])
-- | The ID displayed for the case in the Amazon Web Services Support
-- Center. This is a numeric string.
caseDetails_displayId :: Lens' CaseDetails (Maybe Text)
-- | The language in which Amazon Web Services Support handles the case.
-- Amazon Web Services Support currently supports English ("en") and
-- Japanese ("ja"). You must specify the ISO 639-1 code for the
-- language parameter if you want support in that language.
caseDetails_language :: Lens' CaseDetails (Maybe Text)
-- | The five most recent communications between you and Amazon Web
-- Services Support Center, including the IDs of any attachments to the
-- communications. Also includes a nextToken that you can use to
-- retrieve earlier communications.
caseDetails_recentCommunications :: Lens' CaseDetails (Maybe RecentCaseCommunications)
-- | The code for the Amazon Web Services service. You can get a list of
-- codes and the corresponding service names by calling DescribeServices.
caseDetails_serviceCode :: Lens' CaseDetails (Maybe Text)
-- | The code for the severity level returned by the call to
-- DescribeSeverityLevels.
caseDetails_severityCode :: Lens' CaseDetails (Maybe Text)
-- | The status of the case.
--
-- Valid values:
--
--
-- opened
-- pending-customer-action
-- reopened
-- resolved
-- unassigned
-- work-in-progress
--
caseDetails_status :: Lens' CaseDetails (Maybe Text)
-- | The subject line for the case in the Amazon Web Services Support
-- Center.
caseDetails_subject :: Lens' CaseDetails (Maybe Text)
-- | The email address of the account that submitted the case.
caseDetails_submittedBy :: Lens' CaseDetails (Maybe Text)
-- | The time that the case was created in the Amazon Web Services Support
-- Center.
caseDetails_timeCreated :: Lens' CaseDetails (Maybe Text)
instance GHC.Generics.Generic Amazonka.Support.Types.CaseDetails.CaseDetails
instance GHC.Show.Show Amazonka.Support.Types.CaseDetails.CaseDetails
instance GHC.Read.Read Amazonka.Support.Types.CaseDetails.CaseDetails
instance GHC.Classes.Eq Amazonka.Support.Types.CaseDetails.CaseDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Support.Types.CaseDetails.CaseDetails
instance Data.Hashable.Class.Hashable Amazonka.Support.Types.CaseDetails.CaseDetails
instance Control.DeepSeq.NFData Amazonka.Support.Types.CaseDetails.CaseDetails
module Amazonka.Support.Types.SeverityLevel
-- | 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 Amazon
-- Web Services Support User Guide.
--
-- See: newSeverityLevel smart constructor.
data SeverityLevel
SeverityLevel' :: Maybe Text -> Maybe Text -> SeverityLevel
-- | The code for case severity level.
--
-- Valid values: low | normal | high |
-- urgent | critical
[$sel:code:SeverityLevel'] :: SeverityLevel -> Maybe Text
-- | 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 Amazon Web Services 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 guidance
-- - normal - System impaired
-- - high - Production system impaired
-- - urgent - Production system down
-- - critical - Business-critical system down
--
--
-- For more information, see Choosing a severity in the Amazon
-- Web Services Support User Guide.
[$sel:name:SeverityLevel'] :: SeverityLevel -> Maybe Text
-- | 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:code:SeverityLevel', severityLevel_code - The code
-- for case severity level.
--
-- Valid values: low | normal | high |
-- urgent | critical
--
-- $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 Amazon Web Services 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 guidance
-- - normal - System impaired
-- - high - Production system impaired
-- - urgent - Production system down
-- - critical - Business-critical system down
--
--
-- For more information, see Choosing a severity in the Amazon
-- Web Services Support User Guide.
newSeverityLevel :: SeverityLevel
-- | The code for case severity level.
--
-- Valid values: low | normal | high |
-- urgent | critical
severityLevel_code :: Lens' SeverityLevel (Maybe Text)
-- | 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 Amazon Web Services 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 guidance
-- - normal - System impaired
-- - high - Production system impaired
-- - urgent - Production system down
-- - critical - Business-critical system down
--
--
-- For more information, see Choosing a severity in the Amazon
-- Web Services Support User Guide.
severityLevel_name :: Lens' SeverityLevel (Maybe Text)
instance GHC.Generics.Generic Amazonka.Support.Types.SeverityLevel.SeverityLevel
instance GHC.Show.Show Amazonka.Support.Types.SeverityLevel.SeverityLevel
instance GHC.Read.Read Amazonka.Support.Types.SeverityLevel.SeverityLevel
instance GHC.Classes.Eq Amazonka.Support.Types.SeverityLevel.SeverityLevel
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Support.Types.SeverityLevel.SeverityLevel
instance Data.Hashable.Class.Hashable Amazonka.Support.Types.SeverityLevel.SeverityLevel
instance Control.DeepSeq.NFData Amazonka.Support.Types.SeverityLevel.SeverityLevel
module Amazonka.Support.Types.SupportService
-- | Information about an Amazon Web Services service returned by the
-- DescribeServices operation.
--
-- See: newSupportService smart constructor.
data SupportService
SupportService' :: Maybe [Category] -> Maybe Text -> Maybe Text -> SupportService
-- | 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 Amazon Web Services Support
-- when you call CreateCase.
[$sel:categories:SupportService'] :: SupportService -> Maybe [Category]
-- | The code for an Amazon Web Services service returned by the
-- DescribeServices response. The name element contains the
-- corresponding friendly name.
[$sel:code:SupportService'] :: SupportService -> Maybe Text
-- | The friendly name for an Amazon Web Services service. The
-- code element contains the corresponding code.
[$sel:name:SupportService'] :: SupportService -> Maybe Text
-- | 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 Amazon Web Services Support when you call CreateCase.
--
-- SupportService, supportService_code - The code for an
-- Amazon Web Services service returned by the DescribeServices response.
-- The name element contains the corresponding friendly name.
--
-- SupportService, supportService_name - The friendly name
-- for an Amazon Web Services service. The code element contains
-- the corresponding code.
newSupportService :: SupportService
-- | 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 Amazon Web Services Support
-- when you call CreateCase.
supportService_categories :: Lens' SupportService (Maybe [Category])
-- | The code for an Amazon Web Services service returned by the
-- DescribeServices response. The name element contains the
-- corresponding friendly name.
supportService_code :: Lens' SupportService (Maybe Text)
-- | The friendly name for an Amazon Web Services service. The
-- code element contains the corresponding code.
supportService_name :: Lens' SupportService (Maybe Text)
instance GHC.Generics.Generic Amazonka.Support.Types.SupportService.SupportService
instance GHC.Show.Show Amazonka.Support.Types.SupportService.SupportService
instance GHC.Read.Read Amazonka.Support.Types.SupportService.SupportService
instance GHC.Classes.Eq Amazonka.Support.Types.SupportService.SupportService
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Support.Types.SupportService.SupportService
instance Data.Hashable.Class.Hashable Amazonka.Support.Types.SupportService.SupportService
instance Control.DeepSeq.NFData Amazonka.Support.Types.SupportService.SupportService
module Amazonka.Support.Types.TrustedAdvisorCheckDescription
-- | The description and metadata for a Trusted Advisor check.
--
-- See: newTrustedAdvisorCheckDescription smart
-- constructor.
data TrustedAdvisorCheckDescription
TrustedAdvisorCheckDescription' :: Text -> Text -> Text -> Text -> [Text] -> TrustedAdvisorCheckDescription
-- | The unique identifier for the Trusted Advisor check.
[$sel:id:TrustedAdvisorCheckDescription'] :: TrustedAdvisorCheckDescription -> Text
-- | The display name for the Trusted Advisor check.
[$sel:name:TrustedAdvisorCheckDescription'] :: TrustedAdvisorCheckDescription -> Text
-- | The description of the Trusted Advisor check, which includes the alert
-- criteria and recommended operations (contains HTML markup).
[$sel:description:TrustedAdvisorCheckDescription'] :: TrustedAdvisorCheckDescription -> Text
-- | The category of the Trusted Advisor check.
[$sel:category:TrustedAdvisorCheckDescription'] :: TrustedAdvisorCheckDescription -> Text
-- | 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.
[$sel:metadata:TrustedAdvisorCheckDescription'] :: TrustedAdvisorCheckDescription -> [Text]
-- | 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.
newTrustedAdvisorCheckDescription :: Text -> Text -> Text -> Text -> TrustedAdvisorCheckDescription
-- | The unique identifier for the Trusted Advisor check.
trustedAdvisorCheckDescription_id :: Lens' TrustedAdvisorCheckDescription Text
-- | The display name for the Trusted Advisor check.
trustedAdvisorCheckDescription_name :: Lens' TrustedAdvisorCheckDescription Text
-- | The description of the Trusted Advisor check, which includes the alert
-- criteria and recommended operations (contains HTML markup).
trustedAdvisorCheckDescription_description :: Lens' TrustedAdvisorCheckDescription Text
-- | The category of the Trusted Advisor check.
trustedAdvisorCheckDescription_category :: Lens' TrustedAdvisorCheckDescription Text
-- | 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_metadata :: Lens' TrustedAdvisorCheckDescription [Text]
instance GHC.Generics.Generic Amazonka.Support.Types.TrustedAdvisorCheckDescription.TrustedAdvisorCheckDescription
instance GHC.Show.Show Amazonka.Support.Types.TrustedAdvisorCheckDescription.TrustedAdvisorCheckDescription
instance GHC.Read.Read Amazonka.Support.Types.TrustedAdvisorCheckDescription.TrustedAdvisorCheckDescription
instance GHC.Classes.Eq Amazonka.Support.Types.TrustedAdvisorCheckDescription.TrustedAdvisorCheckDescription
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Support.Types.TrustedAdvisorCheckDescription.TrustedAdvisorCheckDescription
instance Data.Hashable.Class.Hashable Amazonka.Support.Types.TrustedAdvisorCheckDescription.TrustedAdvisorCheckDescription
instance Control.DeepSeq.NFData Amazonka.Support.Types.TrustedAdvisorCheckDescription.TrustedAdvisorCheckDescription
module Amazonka.Support.Types.TrustedAdvisorCheckRefreshStatus
-- | The refresh status of a Trusted Advisor check.
--
-- See: newTrustedAdvisorCheckRefreshStatus smart
-- constructor.
data TrustedAdvisorCheckRefreshStatus
TrustedAdvisorCheckRefreshStatus' :: Text -> Text -> Integer -> TrustedAdvisorCheckRefreshStatus
-- | The unique identifier for the Trusted Advisor check.
[$sel:checkId:TrustedAdvisorCheckRefreshStatus'] :: TrustedAdvisorCheckRefreshStatus -> Text
-- | 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 timeout
-- - enqueued - The check refresh requests has entered the
-- refresh queue
-- - processing - The check refresh request is picked up by
-- the rule processing engine
-- - success - The check is successfully refreshed
-- - abandoned - The check refresh has failed
--
[$sel:status:TrustedAdvisorCheckRefreshStatus'] :: TrustedAdvisorCheckRefreshStatus -> Text
-- | The amount of time, in milliseconds, until the Trusted Advisor check
-- is eligible for refresh.
[$sel:millisUntilNextRefreshable:TrustedAdvisorCheckRefreshStatus'] :: TrustedAdvisorCheckRefreshStatus -> Integer
-- | 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 timeout
-- - enqueued - The check refresh requests has entered the
-- refresh queue
-- - processing - The check refresh request is picked up by
-- the rule processing engine
-- - success - The check is successfully refreshed
-- - abandoned - 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.
newTrustedAdvisorCheckRefreshStatus :: Text -> Text -> Integer -> TrustedAdvisorCheckRefreshStatus
-- | The unique identifier for the Trusted Advisor check.
trustedAdvisorCheckRefreshStatus_checkId :: Lens' TrustedAdvisorCheckRefreshStatus Text
-- | 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 timeout
-- - enqueued - The check refresh requests has entered the
-- refresh queue
-- - processing - The check refresh request is picked up by
-- the rule processing engine
-- - success - The check is successfully refreshed
-- - abandoned - The check refresh has failed
--
trustedAdvisorCheckRefreshStatus_status :: Lens' TrustedAdvisorCheckRefreshStatus Text
-- | The amount of time, in milliseconds, until the Trusted Advisor check
-- is eligible for refresh.
trustedAdvisorCheckRefreshStatus_millisUntilNextRefreshable :: Lens' TrustedAdvisorCheckRefreshStatus Integer
instance GHC.Generics.Generic Amazonka.Support.Types.TrustedAdvisorCheckRefreshStatus.TrustedAdvisorCheckRefreshStatus
instance GHC.Show.Show Amazonka.Support.Types.TrustedAdvisorCheckRefreshStatus.TrustedAdvisorCheckRefreshStatus
instance GHC.Read.Read Amazonka.Support.Types.TrustedAdvisorCheckRefreshStatus.TrustedAdvisorCheckRefreshStatus
instance GHC.Classes.Eq Amazonka.Support.Types.TrustedAdvisorCheckRefreshStatus.TrustedAdvisorCheckRefreshStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Support.Types.TrustedAdvisorCheckRefreshStatus.TrustedAdvisorCheckRefreshStatus
instance Data.Hashable.Class.Hashable Amazonka.Support.Types.TrustedAdvisorCheckRefreshStatus.TrustedAdvisorCheckRefreshStatus
instance Control.DeepSeq.NFData Amazonka.Support.Types.TrustedAdvisorCheckRefreshStatus.TrustedAdvisorCheckRefreshStatus
module Amazonka.Support.Types.TrustedAdvisorCostOptimizingSummary
-- | The estimated cost savings that might be realized if the recommended
-- operations are taken.
--
-- See: newTrustedAdvisorCostOptimizingSummary smart
-- constructor.
data TrustedAdvisorCostOptimizingSummary
TrustedAdvisorCostOptimizingSummary' :: Double -> Double -> TrustedAdvisorCostOptimizingSummary
-- | The estimated monthly savings that might be realized if the
-- recommended operations are taken.
[$sel:estimatedMonthlySavings:TrustedAdvisorCostOptimizingSummary'] :: TrustedAdvisorCostOptimizingSummary -> Double
-- | The estimated percentage of savings that might be realized if the
-- recommended operations are taken.
[$sel:estimatedPercentMonthlySavings:TrustedAdvisorCostOptimizingSummary'] :: TrustedAdvisorCostOptimizingSummary -> Double
-- | 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.
newTrustedAdvisorCostOptimizingSummary :: Double -> Double -> TrustedAdvisorCostOptimizingSummary
-- | The estimated monthly savings that might be realized if the
-- recommended operations are taken.
trustedAdvisorCostOptimizingSummary_estimatedMonthlySavings :: Lens' TrustedAdvisorCostOptimizingSummary Double
-- | The estimated percentage of savings that might be realized if the
-- recommended operations are taken.
trustedAdvisorCostOptimizingSummary_estimatedPercentMonthlySavings :: Lens' TrustedAdvisorCostOptimizingSummary Double
instance GHC.Generics.Generic Amazonka.Support.Types.TrustedAdvisorCostOptimizingSummary.TrustedAdvisorCostOptimizingSummary
instance GHC.Show.Show Amazonka.Support.Types.TrustedAdvisorCostOptimizingSummary.TrustedAdvisorCostOptimizingSummary
instance GHC.Read.Read Amazonka.Support.Types.TrustedAdvisorCostOptimizingSummary.TrustedAdvisorCostOptimizingSummary
instance GHC.Classes.Eq Amazonka.Support.Types.TrustedAdvisorCostOptimizingSummary.TrustedAdvisorCostOptimizingSummary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Support.Types.TrustedAdvisorCostOptimizingSummary.TrustedAdvisorCostOptimizingSummary
instance Data.Hashable.Class.Hashable Amazonka.Support.Types.TrustedAdvisorCostOptimizingSummary.TrustedAdvisorCostOptimizingSummary
instance Control.DeepSeq.NFData Amazonka.Support.Types.TrustedAdvisorCostOptimizingSummary.TrustedAdvisorCostOptimizingSummary
module Amazonka.Support.Types.TrustedAdvisorCategorySpecificSummary
-- | The container for summary information that relates to the category of
-- the Trusted Advisor check.
--
-- See: newTrustedAdvisorCategorySpecificSummary smart
-- constructor.
data TrustedAdvisorCategorySpecificSummary
TrustedAdvisorCategorySpecificSummary' :: Maybe TrustedAdvisorCostOptimizingSummary -> TrustedAdvisorCategorySpecificSummary
-- | The summary information about cost savings for a Trusted Advisor check
-- that is in the Cost Optimizing category.
[$sel:costOptimizing:TrustedAdvisorCategorySpecificSummary'] :: TrustedAdvisorCategorySpecificSummary -> Maybe TrustedAdvisorCostOptimizingSummary
-- | 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.
newTrustedAdvisorCategorySpecificSummary :: TrustedAdvisorCategorySpecificSummary
-- | The summary information about cost savings for a Trusted Advisor check
-- that is in the Cost Optimizing category.
trustedAdvisorCategorySpecificSummary_costOptimizing :: Lens' TrustedAdvisorCategorySpecificSummary (Maybe TrustedAdvisorCostOptimizingSummary)
instance GHC.Generics.Generic Amazonka.Support.Types.TrustedAdvisorCategorySpecificSummary.TrustedAdvisorCategorySpecificSummary
instance GHC.Show.Show Amazonka.Support.Types.TrustedAdvisorCategorySpecificSummary.TrustedAdvisorCategorySpecificSummary
instance GHC.Read.Read Amazonka.Support.Types.TrustedAdvisorCategorySpecificSummary.TrustedAdvisorCategorySpecificSummary
instance GHC.Classes.Eq Amazonka.Support.Types.TrustedAdvisorCategorySpecificSummary.TrustedAdvisorCategorySpecificSummary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Support.Types.TrustedAdvisorCategorySpecificSummary.TrustedAdvisorCategorySpecificSummary
instance Data.Hashable.Class.Hashable Amazonka.Support.Types.TrustedAdvisorCategorySpecificSummary.TrustedAdvisorCategorySpecificSummary
instance Control.DeepSeq.NFData Amazonka.Support.Types.TrustedAdvisorCategorySpecificSummary.TrustedAdvisorCategorySpecificSummary
module Amazonka.Support.Types.TrustedAdvisorResourceDetail
-- | Contains information about a resource identified by a Trusted Advisor
-- check.
--
-- See: newTrustedAdvisorResourceDetail smart constructor.
data TrustedAdvisorResourceDetail
TrustedAdvisorResourceDetail' :: Maybe Bool -> Maybe Text -> Text -> Text -> [Text] -> TrustedAdvisorResourceDetail
-- | Specifies whether the Amazon Web Services resource was ignored by
-- Trusted Advisor because it was marked as suppressed by the user.
[$sel:isSuppressed:TrustedAdvisorResourceDetail'] :: TrustedAdvisorResourceDetail -> Maybe Bool
-- | The Amazon Web Services Region in which the identified resource is
-- located.
[$sel:region:TrustedAdvisorResourceDetail'] :: TrustedAdvisorResourceDetail -> Maybe Text
-- | The status code for the resource identified in the Trusted Advisor
-- check.
[$sel:status:TrustedAdvisorResourceDetail'] :: TrustedAdvisorResourceDetail -> Text
-- | The unique identifier for the identified resource.
[$sel:resourceId:TrustedAdvisorResourceDetail'] :: TrustedAdvisorResourceDetail -> Text
-- | 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.
[$sel:metadata:TrustedAdvisorResourceDetail'] :: TrustedAdvisorResourceDetail -> [Text]
-- | 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 Amazon Web Services resource was ignored by Trusted Advisor
-- because it was marked as suppressed by the user.
--
-- $sel:region:TrustedAdvisorResourceDetail',
-- trustedAdvisorResourceDetail_region - The Amazon Web Services
-- 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.
newTrustedAdvisorResourceDetail :: Text -> Text -> TrustedAdvisorResourceDetail
-- | Specifies whether the Amazon Web Services resource was ignored by
-- Trusted Advisor because it was marked as suppressed by the user.
trustedAdvisorResourceDetail_isSuppressed :: Lens' TrustedAdvisorResourceDetail (Maybe Bool)
-- | The Amazon Web Services Region in which the identified resource is
-- located.
trustedAdvisorResourceDetail_region :: Lens' TrustedAdvisorResourceDetail (Maybe Text)
-- | The status code for the resource identified in the Trusted Advisor
-- check.
trustedAdvisorResourceDetail_status :: Lens' TrustedAdvisorResourceDetail Text
-- | The unique identifier for the identified resource.
trustedAdvisorResourceDetail_resourceId :: Lens' TrustedAdvisorResourceDetail Text
-- | 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_metadata :: Lens' TrustedAdvisorResourceDetail [Text]
instance GHC.Generics.Generic Amazonka.Support.Types.TrustedAdvisorResourceDetail.TrustedAdvisorResourceDetail
instance GHC.Show.Show Amazonka.Support.Types.TrustedAdvisorResourceDetail.TrustedAdvisorResourceDetail
instance GHC.Read.Read Amazonka.Support.Types.TrustedAdvisorResourceDetail.TrustedAdvisorResourceDetail
instance GHC.Classes.Eq Amazonka.Support.Types.TrustedAdvisorResourceDetail.TrustedAdvisorResourceDetail
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Support.Types.TrustedAdvisorResourceDetail.TrustedAdvisorResourceDetail
instance Data.Hashable.Class.Hashable Amazonka.Support.Types.TrustedAdvisorResourceDetail.TrustedAdvisorResourceDetail
instance Control.DeepSeq.NFData Amazonka.Support.Types.TrustedAdvisorResourceDetail.TrustedAdvisorResourceDetail
module Amazonka.Support.Types.TrustedAdvisorResourcesSummary
-- | Details about Amazon Web Services resources that were analyzed in a
-- call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.
--
-- See: newTrustedAdvisorResourcesSummary smart
-- constructor.
data TrustedAdvisorResourcesSummary
TrustedAdvisorResourcesSummary' :: Integer -> Integer -> Integer -> Integer -> TrustedAdvisorResourcesSummary
-- | The number of Amazon Web Services resources that were analyzed by the
-- Trusted Advisor check.
[$sel:resourcesProcessed:TrustedAdvisorResourcesSummary'] :: TrustedAdvisorResourcesSummary -> Integer
-- | The number of Amazon Web Services resources that were flagged (listed)
-- by the Trusted Advisor check.
[$sel:resourcesFlagged:TrustedAdvisorResourcesSummary'] :: TrustedAdvisorResourcesSummary -> Integer
-- | The number of Amazon Web Services resources ignored by Trusted Advisor
-- because information was unavailable.
[$sel:resourcesIgnored:TrustedAdvisorResourcesSummary'] :: TrustedAdvisorResourcesSummary -> Integer
-- | The number of Amazon Web Services resources ignored by Trusted Advisor
-- because they were marked as suppressed by the user.
[$sel:resourcesSuppressed:TrustedAdvisorResourcesSummary'] :: TrustedAdvisorResourcesSummary -> Integer
-- | 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 Amazon Web Services resources that were analyzed by the Trusted
-- Advisor check.
--
-- $sel:resourcesFlagged:TrustedAdvisorResourcesSummary',
-- trustedAdvisorResourcesSummary_resourcesFlagged - The number of
-- Amazon Web Services resources that were flagged (listed) by the
-- Trusted Advisor check.
--
-- $sel:resourcesIgnored:TrustedAdvisorResourcesSummary',
-- trustedAdvisorResourcesSummary_resourcesIgnored - The number of
-- Amazon Web Services resources ignored by Trusted Advisor because
-- information was unavailable.
--
-- $sel:resourcesSuppressed:TrustedAdvisorResourcesSummary',
-- trustedAdvisorResourcesSummary_resourcesSuppressed - The number
-- of Amazon Web Services resources ignored by Trusted Advisor because
-- they were marked as suppressed by the user.
newTrustedAdvisorResourcesSummary :: Integer -> Integer -> Integer -> Integer -> TrustedAdvisorResourcesSummary
-- | The number of Amazon Web Services resources that were analyzed by the
-- Trusted Advisor check.
trustedAdvisorResourcesSummary_resourcesProcessed :: Lens' TrustedAdvisorResourcesSummary Integer
-- | The number of Amazon Web Services resources that were flagged (listed)
-- by the Trusted Advisor check.
trustedAdvisorResourcesSummary_resourcesFlagged :: Lens' TrustedAdvisorResourcesSummary Integer
-- | The number of Amazon Web Services resources ignored by Trusted Advisor
-- because information was unavailable.
trustedAdvisorResourcesSummary_resourcesIgnored :: Lens' TrustedAdvisorResourcesSummary Integer
-- | The number of Amazon Web Services resources ignored by Trusted Advisor
-- because they were marked as suppressed by the user.
trustedAdvisorResourcesSummary_resourcesSuppressed :: Lens' TrustedAdvisorResourcesSummary Integer
instance GHC.Generics.Generic Amazonka.Support.Types.TrustedAdvisorResourcesSummary.TrustedAdvisorResourcesSummary
instance GHC.Show.Show Amazonka.Support.Types.TrustedAdvisorResourcesSummary.TrustedAdvisorResourcesSummary
instance GHC.Read.Read Amazonka.Support.Types.TrustedAdvisorResourcesSummary.TrustedAdvisorResourcesSummary
instance GHC.Classes.Eq Amazonka.Support.Types.TrustedAdvisorResourcesSummary.TrustedAdvisorResourcesSummary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Support.Types.TrustedAdvisorResourcesSummary.TrustedAdvisorResourcesSummary
instance Data.Hashable.Class.Hashable Amazonka.Support.Types.TrustedAdvisorResourcesSummary.TrustedAdvisorResourcesSummary
instance Control.DeepSeq.NFData Amazonka.Support.Types.TrustedAdvisorResourcesSummary.TrustedAdvisorResourcesSummary
module Amazonka.Support.Types.TrustedAdvisorCheckSummary
-- | A summary of a Trusted Advisor check result, including the alert
-- status, last refresh, and number of resources examined.
--
-- See: newTrustedAdvisorCheckSummary smart constructor.
data TrustedAdvisorCheckSummary
TrustedAdvisorCheckSummary' :: Maybe Bool -> Text -> Text -> Text -> TrustedAdvisorResourcesSummary -> TrustedAdvisorCategorySpecificSummary -> TrustedAdvisorCheckSummary
-- | Specifies whether the Trusted Advisor check has flagged resources.
[$sel:hasFlaggedResources:TrustedAdvisorCheckSummary'] :: TrustedAdvisorCheckSummary -> Maybe Bool
-- | The unique identifier for the Trusted Advisor check.
[$sel:checkId:TrustedAdvisorCheckSummary'] :: TrustedAdvisorCheckSummary -> Text
-- | The time of the last refresh of the check.
[$sel:timestamp:TrustedAdvisorCheckSummary'] :: TrustedAdvisorCheckSummary -> Text
-- | The alert status of the check: "ok" (green), "warning" (yellow),
-- "error" (red), or "not_available".
[$sel:status:TrustedAdvisorCheckSummary'] :: TrustedAdvisorCheckSummary -> Text
[$sel:resourcesSummary:TrustedAdvisorCheckSummary'] :: TrustedAdvisorCheckSummary -> TrustedAdvisorResourcesSummary
-- | Summary information that relates to the category of the check. Cost
-- Optimizing is the only category that is currently supported.
[$sel:categorySpecificSummary:TrustedAdvisorCheckSummary'] :: TrustedAdvisorCheckSummary -> TrustedAdvisorCategorySpecificSummary
-- | 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.
newTrustedAdvisorCheckSummary :: Text -> Text -> Text -> TrustedAdvisorResourcesSummary -> TrustedAdvisorCategorySpecificSummary -> TrustedAdvisorCheckSummary
-- | Specifies whether the Trusted Advisor check has flagged resources.
trustedAdvisorCheckSummary_hasFlaggedResources :: Lens' TrustedAdvisorCheckSummary (Maybe Bool)
-- | The unique identifier for the Trusted Advisor check.
trustedAdvisorCheckSummary_checkId :: Lens' TrustedAdvisorCheckSummary Text
-- | The time of the last refresh of the check.
trustedAdvisorCheckSummary_timestamp :: Lens' TrustedAdvisorCheckSummary Text
-- | The alert status of the check: "ok" (green), "warning" (yellow),
-- "error" (red), or "not_available".
trustedAdvisorCheckSummary_status :: Lens' TrustedAdvisorCheckSummary Text
-- | Undocumented member.
trustedAdvisorCheckSummary_resourcesSummary :: Lens' TrustedAdvisorCheckSummary TrustedAdvisorResourcesSummary
-- | Summary information that relates to the category of the check. Cost
-- Optimizing is the only category that is currently supported.
trustedAdvisorCheckSummary_categorySpecificSummary :: Lens' TrustedAdvisorCheckSummary TrustedAdvisorCategorySpecificSummary
instance GHC.Generics.Generic Amazonka.Support.Types.TrustedAdvisorCheckSummary.TrustedAdvisorCheckSummary
instance GHC.Show.Show Amazonka.Support.Types.TrustedAdvisorCheckSummary.TrustedAdvisorCheckSummary
instance GHC.Read.Read Amazonka.Support.Types.TrustedAdvisorCheckSummary.TrustedAdvisorCheckSummary
instance GHC.Classes.Eq Amazonka.Support.Types.TrustedAdvisorCheckSummary.TrustedAdvisorCheckSummary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Support.Types.TrustedAdvisorCheckSummary.TrustedAdvisorCheckSummary
instance Data.Hashable.Class.Hashable Amazonka.Support.Types.TrustedAdvisorCheckSummary.TrustedAdvisorCheckSummary
instance Control.DeepSeq.NFData Amazonka.Support.Types.TrustedAdvisorCheckSummary.TrustedAdvisorCheckSummary
module Amazonka.Support.Types.TrustedAdvisorCheckResult
-- | The results of a Trusted Advisor check returned by
-- DescribeTrustedAdvisorCheckResult.
--
-- See: newTrustedAdvisorCheckResult smart constructor.
data TrustedAdvisorCheckResult
TrustedAdvisorCheckResult' :: Text -> Text -> Text -> TrustedAdvisorResourcesSummary -> TrustedAdvisorCategorySpecificSummary -> [TrustedAdvisorResourceDetail] -> TrustedAdvisorCheckResult
-- | The unique identifier for the Trusted Advisor check.
[$sel:checkId:TrustedAdvisorCheckResult'] :: TrustedAdvisorCheckResult -> Text
-- | The time of the last refresh of the check.
[$sel:timestamp:TrustedAdvisorCheckResult'] :: TrustedAdvisorCheckResult -> Text
-- | The alert status of the check: "ok" (green), "warning" (yellow),
-- "error" (red), or "not_available".
[$sel:status:TrustedAdvisorCheckResult'] :: TrustedAdvisorCheckResult -> Text
[$sel:resourcesSummary:TrustedAdvisorCheckResult'] :: TrustedAdvisorCheckResult -> TrustedAdvisorResourcesSummary
-- | Summary information that relates to the category of the check. Cost
-- Optimizing is the only category that is currently supported.
[$sel:categorySpecificSummary:TrustedAdvisorCheckResult'] :: TrustedAdvisorCheckResult -> TrustedAdvisorCategorySpecificSummary
-- | The details about each resource listed in the check result.
[$sel:flaggedResources:TrustedAdvisorCheckResult'] :: TrustedAdvisorCheckResult -> [TrustedAdvisorResourceDetail]
-- | 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.
--
-- 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.
newTrustedAdvisorCheckResult :: Text -> Text -> Text -> TrustedAdvisorResourcesSummary -> TrustedAdvisorCategorySpecificSummary -> TrustedAdvisorCheckResult
-- | The unique identifier for the Trusted Advisor check.
trustedAdvisorCheckResult_checkId :: Lens' TrustedAdvisorCheckResult Text
-- | The time of the last refresh of the check.
trustedAdvisorCheckResult_timestamp :: Lens' TrustedAdvisorCheckResult Text
-- | The alert status of the check: "ok" (green), "warning" (yellow),
-- "error" (red), or "not_available".
trustedAdvisorCheckResult_status :: Lens' TrustedAdvisorCheckResult Text
-- | Undocumented member.
trustedAdvisorCheckResult_resourcesSummary :: Lens' TrustedAdvisorCheckResult TrustedAdvisorResourcesSummary
-- | Summary information that relates to the category of the check. Cost
-- Optimizing is the only category that is currently supported.
trustedAdvisorCheckResult_categorySpecificSummary :: Lens' TrustedAdvisorCheckResult TrustedAdvisorCategorySpecificSummary
-- | The details about each resource listed in the check result.
trustedAdvisorCheckResult_flaggedResources :: Lens' TrustedAdvisorCheckResult [TrustedAdvisorResourceDetail]
instance GHC.Generics.Generic Amazonka.Support.Types.TrustedAdvisorCheckResult.TrustedAdvisorCheckResult
instance GHC.Show.Show Amazonka.Support.Types.TrustedAdvisorCheckResult.TrustedAdvisorCheckResult
instance GHC.Read.Read Amazonka.Support.Types.TrustedAdvisorCheckResult.TrustedAdvisorCheckResult
instance GHC.Classes.Eq Amazonka.Support.Types.TrustedAdvisorCheckResult.TrustedAdvisorCheckResult
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Support.Types.TrustedAdvisorCheckResult.TrustedAdvisorCheckResult
instance Data.Hashable.Class.Hashable Amazonka.Support.Types.TrustedAdvisorCheckResult.TrustedAdvisorCheckResult
instance Control.DeepSeq.NFData Amazonka.Support.Types.TrustedAdvisorCheckResult.TrustedAdvisorCheckResult
module Amazonka.Support.Types
-- | API version 2013-04-15 of the Amazon Support SDK
-- configuration.
defaultService :: Service
-- | An attachment with the specified ID could not be found.
_AttachmentIdNotFound :: AsError a => Fold a ServiceError
-- | The limit for the number of attachment sets created in a short period
-- of time has been exceeded.
_AttachmentLimitExceeded :: AsError a => Fold a ServiceError
-- | The expiration time of the attachment set has passed. The set expires
-- 1 hour after it is created.
_AttachmentSetExpired :: AsError a => Fold a ServiceError
-- | An attachment set with the specified ID could not be found.
_AttachmentSetIdNotFound :: AsError a => Fold a ServiceError
-- | A limit for the size of an attachment set has been exceeded. The
-- limits are three attachments and 5 MB per attachment.
_AttachmentSetSizeLimitExceeded :: AsError a => Fold a ServiceError
-- | The case creation limit for the account has been exceeded.
_CaseCreationLimitExceeded :: AsError a => Fold a ServiceError
-- | The requested caseId couldn't be located.
_CaseIdNotFound :: AsError a => Fold a ServiceError
-- | The limit for the number of DescribeAttachment requests in a short
-- period of time has been exceeded.
_DescribeAttachmentLimitExceeded :: AsError a => Fold a ServiceError
-- | An internal server error occurred.
_InternalServerError :: AsError a => Fold a ServiceError
-- | An attachment to a case communication. The attachment consists of the
-- file name and the content of the file.
--
-- See: newAttachment smart constructor.
data Attachment
Attachment' :: Maybe Base64 -> Maybe Text -> Attachment
-- | The content of the attachment file.
[$sel:data':Attachment'] :: Attachment -> Maybe Base64
-- | The name of the attachment file.
[$sel:fileName:Attachment'] :: Attachment -> Maybe Text
-- | 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.
newAttachment :: Attachment
-- | 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_data :: Lens' Attachment (Maybe ByteString)
-- | The name of the attachment file.
attachment_fileName :: Lens' Attachment (Maybe Text)
-- | 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.
data AttachmentDetails
AttachmentDetails' :: Maybe Text -> Maybe Text -> AttachmentDetails
-- | The ID of the attachment.
[$sel:attachmentId:AttachmentDetails'] :: AttachmentDetails -> Maybe Text
-- | The file name of the attachment.
[$sel:fileName:AttachmentDetails'] :: AttachmentDetails -> Maybe Text
-- | 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.
newAttachmentDetails :: AttachmentDetails
-- | The ID of the attachment.
attachmentDetails_attachmentId :: Lens' AttachmentDetails (Maybe Text)
-- | The file name of the attachment.
attachmentDetails_fileName :: Lens' AttachmentDetails (Maybe Text)
-- | 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
-- Amazon Web Services Support Center.
-- - language - The language in which Amazon Web Services
-- Support handles the case. Amazon Web Services Support currently
-- supports English ("en") and Japanese ("ja"). You must specify the ISO
-- 639-1 code for the language parameter if you want support in
-- that language.
-- - nextToken - A resumption point for pagination.
-- - recentCommunications - One or more Communication objects.
-- Fields of these objects are attachments, body,
-- caseId, submittedBy, and timeCreated.
-- - serviceCode - The identifier for the Amazon Web Services
-- 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, and
-- critical.
-- - status - The status of the case in the Amazon Web Services
-- 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.
data CaseDetails
CaseDetails' :: Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe RecentCaseCommunications -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> CaseDetails
-- | 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:caseId:CaseDetails'] :: CaseDetails -> Maybe Text
-- | The category of problem for the support case.
[$sel:categoryCode:CaseDetails'] :: CaseDetails -> Maybe Text
-- | The email addresses that receive copies of communication about the
-- case.
[$sel:ccEmailAddresses:CaseDetails'] :: CaseDetails -> Maybe [Text]
-- | The ID displayed for the case in the Amazon Web Services Support
-- Center. This is a numeric string.
[$sel:displayId:CaseDetails'] :: CaseDetails -> Maybe Text
-- | The language in which Amazon Web Services Support handles the case.
-- Amazon Web Services Support currently supports English ("en") and
-- Japanese ("ja"). You must specify the ISO 639-1 code for the
-- language parameter if you want support in that language.
[$sel:language:CaseDetails'] :: CaseDetails -> Maybe Text
-- | The five most recent communications between you and Amazon Web
-- Services Support Center, including the IDs of any attachments to the
-- communications. Also includes a nextToken that you can use to
-- retrieve earlier communications.
[$sel:recentCommunications:CaseDetails'] :: CaseDetails -> Maybe RecentCaseCommunications
-- | The code for the Amazon Web Services service. You can get a list of
-- codes and the corresponding service names by calling DescribeServices.
[$sel:serviceCode:CaseDetails'] :: CaseDetails -> Maybe Text
-- | The code for the severity level returned by the call to
-- DescribeSeverityLevels.
[$sel:severityCode:CaseDetails'] :: CaseDetails -> Maybe Text
-- | The status of the case.
--
-- Valid values:
--
--
-- opened
-- pending-customer-action
-- reopened
-- resolved
-- unassigned
-- work-in-progress
--
[$sel:status:CaseDetails'] :: CaseDetails -> Maybe Text
-- | The subject line for the case in the Amazon Web Services Support
-- Center.
[$sel:subject:CaseDetails'] :: CaseDetails -> Maybe Text
-- | The email address of the account that submitted the case.
[$sel:submittedBy:CaseDetails'] :: CaseDetails -> Maybe Text
-- | The time that the case was created in the Amazon Web Services Support
-- Center.
[$sel:timeCreated:CaseDetails'] :: CaseDetails -> Maybe Text
-- | 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: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:categoryCode:CaseDetails', caseDetails_categoryCode
-- - The category of problem for the support case.
--
-- $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 Amazon Web Services Support Center.
-- This is a numeric string.
--
-- $sel:language:CaseDetails', caseDetails_language - The
-- language in which Amazon Web Services Support handles the case. Amazon
-- Web Services Support currently supports English ("en") and Japanese
-- ("ja"). You must specify the ISO 639-1 code for the language
-- parameter if you want support in that language.
--
-- $sel:recentCommunications:CaseDetails',
-- caseDetails_recentCommunications - The five most recent
-- communications between you and Amazon Web Services Support Center,
-- including the IDs of any attachments to the communications. Also
-- includes a nextToken that you can use to retrieve earlier
-- communications.
--
-- $sel:serviceCode:CaseDetails', caseDetails_serviceCode -
-- The code for the Amazon Web Services service. You can get a list of
-- codes and the corresponding service names by calling DescribeServices.
--
-- $sel:severityCode:CaseDetails', caseDetails_severityCode
-- - The code for the severity level returned by the call to
-- DescribeSeverityLevels.
--
-- $sel:status:CaseDetails', caseDetails_status - The
-- status of the case.
--
-- Valid values:
--
--
-- opened
-- pending-customer-action
-- reopened
-- resolved
-- unassigned
-- work-in-progress
--
--
-- $sel:subject:CaseDetails', caseDetails_subject - The
-- subject line for the case in the Amazon Web Services Support Center.
--
-- $sel:submittedBy:CaseDetails', caseDetails_submittedBy -
-- The email address of the account that submitted the case.
--
-- $sel:timeCreated:CaseDetails', caseDetails_timeCreated -
-- The time that the case was created in the Amazon Web Services Support
-- Center.
newCaseDetails :: CaseDetails
-- | 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_caseId :: Lens' CaseDetails (Maybe Text)
-- | The category of problem for the support case.
caseDetails_categoryCode :: Lens' CaseDetails (Maybe Text)
-- | The email addresses that receive copies of communication about the
-- case.
caseDetails_ccEmailAddresses :: Lens' CaseDetails (Maybe [Text])
-- | The ID displayed for the case in the Amazon Web Services Support
-- Center. This is a numeric string.
caseDetails_displayId :: Lens' CaseDetails (Maybe Text)
-- | The language in which Amazon Web Services Support handles the case.
-- Amazon Web Services Support currently supports English ("en") and
-- Japanese ("ja"). You must specify the ISO 639-1 code for the
-- language parameter if you want support in that language.
caseDetails_language :: Lens' CaseDetails (Maybe Text)
-- | The five most recent communications between you and Amazon Web
-- Services Support Center, including the IDs of any attachments to the
-- communications. Also includes a nextToken that you can use to
-- retrieve earlier communications.
caseDetails_recentCommunications :: Lens' CaseDetails (Maybe RecentCaseCommunications)
-- | The code for the Amazon Web Services service. You can get a list of
-- codes and the corresponding service names by calling DescribeServices.
caseDetails_serviceCode :: Lens' CaseDetails (Maybe Text)
-- | The code for the severity level returned by the call to
-- DescribeSeverityLevels.
caseDetails_severityCode :: Lens' CaseDetails (Maybe Text)
-- | The status of the case.
--
-- Valid values:
--
--
-- opened
-- pending-customer-action
-- reopened
-- resolved
-- unassigned
-- work-in-progress
--
caseDetails_status :: Lens' CaseDetails (Maybe Text)
-- | The subject line for the case in the Amazon Web Services Support
-- Center.
caseDetails_subject :: Lens' CaseDetails (Maybe Text)
-- | The email address of the account that submitted the case.
caseDetails_submittedBy :: Lens' CaseDetails (Maybe Text)
-- | The time that the case was created in the Amazon Web Services Support
-- Center.
caseDetails_timeCreated :: Lens' CaseDetails (Maybe Text)
-- | A JSON-formatted name/value pair that represents the category name and
-- category code of the problem, selected from the DescribeServices
-- response for each Amazon Web Services service.
--
-- See: newCategory smart constructor.
data Category
Category' :: Maybe Text -> Maybe Text -> Category
-- | The category code for the support case.
[$sel:code:Category'] :: Category -> Maybe Text
-- | The category name for the support case.
[$sel:name:Category'] :: Category -> Maybe Text
-- | 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:code:Category', category_code - The category code
-- for the support case.
--
-- $sel:name:Category', category_name - The category name
-- for the support case.
newCategory :: Category
-- | The category code for the support case.
category_code :: Lens' Category (Maybe Text)
-- | The category name for the support case.
category_name :: Lens' Category (Maybe Text)
-- | 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.
data Communication
Communication' :: Maybe [AttachmentDetails] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Communication
-- | Information about the attachments to the case communication.
[$sel:attachmentSet:Communication'] :: Communication -> Maybe [AttachmentDetails]
-- | The text of the communication between the customer and Amazon Web
-- Services Support.
[$sel:body:Communication'] :: Communication -> Maybe Text
-- | 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:caseId:Communication'] :: Communication -> Maybe Text
-- | 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 Amazon Web Services
-- Support team display "Amazon Web Services," and don't show an email
-- address.
[$sel:submittedBy:Communication'] :: Communication -> Maybe Text
-- | The time the communication was created.
[$sel:timeCreated:Communication'] :: Communication -> Maybe Text
-- | 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:attachmentSet:Communication',
-- communication_attachmentSet - Information about the attachments
-- to the case communication.
--
-- $sel:body:Communication', communication_body - The text
-- of the communication between the customer and Amazon Web Services
-- 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 Amazon
-- Web Services Support team display "Amazon Web Services," and don't
-- show an email address.
--
-- $sel:timeCreated:Communication',
-- communication_timeCreated - The time the communication was
-- created.
newCommunication :: Communication
-- | Information about the attachments to the case communication.
communication_attachmentSet :: Lens' Communication (Maybe [AttachmentDetails])
-- | The text of the communication between the customer and Amazon Web
-- Services Support.
communication_body :: Lens' Communication (Maybe Text)
-- | 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_caseId :: Lens' Communication (Maybe Text)
-- | 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 Amazon Web Services
-- Support team display "Amazon Web Services," and don't show an email
-- address.
communication_submittedBy :: Lens' Communication (Maybe Text)
-- | The time the communication was created.
communication_timeCreated :: Lens' Communication (Maybe Text)
-- | The five most recent communications associated with the case.
--
-- See: newRecentCaseCommunications smart constructor.
data RecentCaseCommunications
RecentCaseCommunications' :: Maybe [Communication] -> Maybe Text -> RecentCaseCommunications
-- | The five most recent communications associated with the case.
[$sel:communications:RecentCaseCommunications'] :: RecentCaseCommunications -> Maybe [Communication]
-- | A resumption point for pagination.
[$sel:nextToken:RecentCaseCommunications'] :: RecentCaseCommunications -> Maybe Text
-- | 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:communications:RecentCaseCommunications',
-- recentCaseCommunications_communications - The five most recent
-- communications associated with the case.
--
-- $sel:nextToken:RecentCaseCommunications',
-- recentCaseCommunications_nextToken - A resumption point for
-- pagination.
newRecentCaseCommunications :: RecentCaseCommunications
-- | The five most recent communications associated with the case.
recentCaseCommunications_communications :: Lens' RecentCaseCommunications (Maybe [Communication])
-- | A resumption point for pagination.
recentCaseCommunications_nextToken :: Lens' RecentCaseCommunications (Maybe Text)
-- | 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 Amazon
-- Web Services Support User Guide.
--
-- See: newSeverityLevel smart constructor.
data SeverityLevel
SeverityLevel' :: Maybe Text -> Maybe Text -> SeverityLevel
-- | The code for case severity level.
--
-- Valid values: low | normal | high |
-- urgent | critical
[$sel:code:SeverityLevel'] :: SeverityLevel -> Maybe Text
-- | 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 Amazon Web Services 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 guidance
-- - normal - System impaired
-- - high - Production system impaired
-- - urgent - Production system down
-- - critical - Business-critical system down
--
--
-- For more information, see Choosing a severity in the Amazon
-- Web Services Support User Guide.
[$sel:name:SeverityLevel'] :: SeverityLevel -> Maybe Text
-- | 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:code:SeverityLevel', severityLevel_code - The code
-- for case severity level.
--
-- Valid values: low | normal | high |
-- urgent | critical
--
-- $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 Amazon Web Services 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 guidance
-- - normal - System impaired
-- - high - Production system impaired
-- - urgent - Production system down
-- - critical - Business-critical system down
--
--
-- For more information, see Choosing a severity in the Amazon
-- Web Services Support User Guide.
newSeverityLevel :: SeverityLevel
-- | The code for case severity level.
--
-- Valid values: low | normal | high |
-- urgent | critical
severityLevel_code :: Lens' SeverityLevel (Maybe Text)
-- | 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 Amazon Web Services 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 guidance
-- - normal - System impaired
-- - high - Production system impaired
-- - urgent - Production system down
-- - critical - Business-critical system down
--
--
-- For more information, see Choosing a severity in the Amazon
-- Web Services Support User Guide.
severityLevel_name :: Lens' SeverityLevel (Maybe Text)
-- | Information about an Amazon Web Services service returned by the
-- DescribeServices operation.
--
-- See: newSupportService smart constructor.
data SupportService
SupportService' :: Maybe [Category] -> Maybe Text -> Maybe Text -> SupportService
-- | 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 Amazon Web Services Support
-- when you call CreateCase.
[$sel:categories:SupportService'] :: SupportService -> Maybe [Category]
-- | The code for an Amazon Web Services service returned by the
-- DescribeServices response. The name element contains the
-- corresponding friendly name.
[$sel:code:SupportService'] :: SupportService -> Maybe Text
-- | The friendly name for an Amazon Web Services service. The
-- code element contains the corresponding code.
[$sel:name:SupportService'] :: SupportService -> Maybe Text
-- | 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 Amazon Web Services Support when you call CreateCase.
--
-- SupportService, supportService_code - The code for an
-- Amazon Web Services service returned by the DescribeServices response.
-- The name element contains the corresponding friendly name.
--
-- SupportService, supportService_name - The friendly name
-- for an Amazon Web Services service. The code element contains
-- the corresponding code.
newSupportService :: SupportService
-- | 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 Amazon Web Services Support
-- when you call CreateCase.
supportService_categories :: Lens' SupportService (Maybe [Category])
-- | The code for an Amazon Web Services service returned by the
-- DescribeServices response. The name element contains the
-- corresponding friendly name.
supportService_code :: Lens' SupportService (Maybe Text)
-- | The friendly name for an Amazon Web Services service. The
-- code element contains the corresponding code.
supportService_name :: Lens' SupportService (Maybe Text)
-- | The container for summary information that relates to the category of
-- the Trusted Advisor check.
--
-- See: newTrustedAdvisorCategorySpecificSummary smart
-- constructor.
data TrustedAdvisorCategorySpecificSummary
TrustedAdvisorCategorySpecificSummary' :: Maybe TrustedAdvisorCostOptimizingSummary -> TrustedAdvisorCategorySpecificSummary
-- | The summary information about cost savings for a Trusted Advisor check
-- that is in the Cost Optimizing category.
[$sel:costOptimizing:TrustedAdvisorCategorySpecificSummary'] :: TrustedAdvisorCategorySpecificSummary -> Maybe TrustedAdvisorCostOptimizingSummary
-- | 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.
newTrustedAdvisorCategorySpecificSummary :: TrustedAdvisorCategorySpecificSummary
-- | The summary information about cost savings for a Trusted Advisor check
-- that is in the Cost Optimizing category.
trustedAdvisorCategorySpecificSummary_costOptimizing :: Lens' TrustedAdvisorCategorySpecificSummary (Maybe TrustedAdvisorCostOptimizingSummary)
-- | The description and metadata for a Trusted Advisor check.
--
-- See: newTrustedAdvisorCheckDescription smart
-- constructor.
data TrustedAdvisorCheckDescription
TrustedAdvisorCheckDescription' :: Text -> Text -> Text -> Text -> [Text] -> TrustedAdvisorCheckDescription
-- | The unique identifier for the Trusted Advisor check.
[$sel:id:TrustedAdvisorCheckDescription'] :: TrustedAdvisorCheckDescription -> Text
-- | The display name for the Trusted Advisor check.
[$sel:name:TrustedAdvisorCheckDescription'] :: TrustedAdvisorCheckDescription -> Text
-- | The description of the Trusted Advisor check, which includes the alert
-- criteria and recommended operations (contains HTML markup).
[$sel:description:TrustedAdvisorCheckDescription'] :: TrustedAdvisorCheckDescription -> Text
-- | The category of the Trusted Advisor check.
[$sel:category:TrustedAdvisorCheckDescription'] :: TrustedAdvisorCheckDescription -> Text
-- | 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.
[$sel:metadata:TrustedAdvisorCheckDescription'] :: TrustedAdvisorCheckDescription -> [Text]
-- | 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.
newTrustedAdvisorCheckDescription :: Text -> Text -> Text -> Text -> TrustedAdvisorCheckDescription
-- | The unique identifier for the Trusted Advisor check.
trustedAdvisorCheckDescription_id :: Lens' TrustedAdvisorCheckDescription Text
-- | The display name for the Trusted Advisor check.
trustedAdvisorCheckDescription_name :: Lens' TrustedAdvisorCheckDescription Text
-- | The description of the Trusted Advisor check, which includes the alert
-- criteria and recommended operations (contains HTML markup).
trustedAdvisorCheckDescription_description :: Lens' TrustedAdvisorCheckDescription Text
-- | The category of the Trusted Advisor check.
trustedAdvisorCheckDescription_category :: Lens' TrustedAdvisorCheckDescription Text
-- | 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_metadata :: Lens' TrustedAdvisorCheckDescription [Text]
-- | The refresh status of a Trusted Advisor check.
--
-- See: newTrustedAdvisorCheckRefreshStatus smart
-- constructor.
data TrustedAdvisorCheckRefreshStatus
TrustedAdvisorCheckRefreshStatus' :: Text -> Text -> Integer -> TrustedAdvisorCheckRefreshStatus
-- | The unique identifier for the Trusted Advisor check.
[$sel:checkId:TrustedAdvisorCheckRefreshStatus'] :: TrustedAdvisorCheckRefreshStatus -> Text
-- | 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 timeout
-- - enqueued - The check refresh requests has entered the
-- refresh queue
-- - processing - The check refresh request is picked up by
-- the rule processing engine
-- - success - The check is successfully refreshed
-- - abandoned - The check refresh has failed
--
[$sel:status:TrustedAdvisorCheckRefreshStatus'] :: TrustedAdvisorCheckRefreshStatus -> Text
-- | The amount of time, in milliseconds, until the Trusted Advisor check
-- is eligible for refresh.
[$sel:millisUntilNextRefreshable:TrustedAdvisorCheckRefreshStatus'] :: TrustedAdvisorCheckRefreshStatus -> Integer
-- | 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 timeout
-- - enqueued - The check refresh requests has entered the
-- refresh queue
-- - processing - The check refresh request is picked up by
-- the rule processing engine
-- - success - The check is successfully refreshed
-- - abandoned - 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.
newTrustedAdvisorCheckRefreshStatus :: Text -> Text -> Integer -> TrustedAdvisorCheckRefreshStatus
-- | The unique identifier for the Trusted Advisor check.
trustedAdvisorCheckRefreshStatus_checkId :: Lens' TrustedAdvisorCheckRefreshStatus Text
-- | 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 timeout
-- - enqueued - The check refresh requests has entered the
-- refresh queue
-- - processing - The check refresh request is picked up by
-- the rule processing engine
-- - success - The check is successfully refreshed
-- - abandoned - The check refresh has failed
--
trustedAdvisorCheckRefreshStatus_status :: Lens' TrustedAdvisorCheckRefreshStatus Text
-- | The amount of time, in milliseconds, until the Trusted Advisor check
-- is eligible for refresh.
trustedAdvisorCheckRefreshStatus_millisUntilNextRefreshable :: Lens' TrustedAdvisorCheckRefreshStatus Integer
-- | The results of a Trusted Advisor check returned by
-- DescribeTrustedAdvisorCheckResult.
--
-- See: newTrustedAdvisorCheckResult smart constructor.
data TrustedAdvisorCheckResult
TrustedAdvisorCheckResult' :: Text -> Text -> Text -> TrustedAdvisorResourcesSummary -> TrustedAdvisorCategorySpecificSummary -> [TrustedAdvisorResourceDetail] -> TrustedAdvisorCheckResult
-- | The unique identifier for the Trusted Advisor check.
[$sel:checkId:TrustedAdvisorCheckResult'] :: TrustedAdvisorCheckResult -> Text
-- | The time of the last refresh of the check.
[$sel:timestamp:TrustedAdvisorCheckResult'] :: TrustedAdvisorCheckResult -> Text
-- | The alert status of the check: "ok" (green), "warning" (yellow),
-- "error" (red), or "not_available".
[$sel:status:TrustedAdvisorCheckResult'] :: TrustedAdvisorCheckResult -> Text
[$sel:resourcesSummary:TrustedAdvisorCheckResult'] :: TrustedAdvisorCheckResult -> TrustedAdvisorResourcesSummary
-- | Summary information that relates to the category of the check. Cost
-- Optimizing is the only category that is currently supported.
[$sel:categorySpecificSummary:TrustedAdvisorCheckResult'] :: TrustedAdvisorCheckResult -> TrustedAdvisorCategorySpecificSummary
-- | The details about each resource listed in the check result.
[$sel:flaggedResources:TrustedAdvisorCheckResult'] :: TrustedAdvisorCheckResult -> [TrustedAdvisorResourceDetail]
-- | 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.
--
-- 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.
newTrustedAdvisorCheckResult :: Text -> Text -> Text -> TrustedAdvisorResourcesSummary -> TrustedAdvisorCategorySpecificSummary -> TrustedAdvisorCheckResult
-- | The unique identifier for the Trusted Advisor check.
trustedAdvisorCheckResult_checkId :: Lens' TrustedAdvisorCheckResult Text
-- | The time of the last refresh of the check.
trustedAdvisorCheckResult_timestamp :: Lens' TrustedAdvisorCheckResult Text
-- | The alert status of the check: "ok" (green), "warning" (yellow),
-- "error" (red), or "not_available".
trustedAdvisorCheckResult_status :: Lens' TrustedAdvisorCheckResult Text
-- | Undocumented member.
trustedAdvisorCheckResult_resourcesSummary :: Lens' TrustedAdvisorCheckResult TrustedAdvisorResourcesSummary
-- | Summary information that relates to the category of the check. Cost
-- Optimizing is the only category that is currently supported.
trustedAdvisorCheckResult_categorySpecificSummary :: Lens' TrustedAdvisorCheckResult TrustedAdvisorCategorySpecificSummary
-- | The details about each resource listed in the check result.
trustedAdvisorCheckResult_flaggedResources :: Lens' TrustedAdvisorCheckResult [TrustedAdvisorResourceDetail]
-- | A summary of a Trusted Advisor check result, including the alert
-- status, last refresh, and number of resources examined.
--
-- See: newTrustedAdvisorCheckSummary smart constructor.
data TrustedAdvisorCheckSummary
TrustedAdvisorCheckSummary' :: Maybe Bool -> Text -> Text -> Text -> TrustedAdvisorResourcesSummary -> TrustedAdvisorCategorySpecificSummary -> TrustedAdvisorCheckSummary
-- | Specifies whether the Trusted Advisor check has flagged resources.
[$sel:hasFlaggedResources:TrustedAdvisorCheckSummary'] :: TrustedAdvisorCheckSummary -> Maybe Bool
-- | The unique identifier for the Trusted Advisor check.
[$sel:checkId:TrustedAdvisorCheckSummary'] :: TrustedAdvisorCheckSummary -> Text
-- | The time of the last refresh of the check.
[$sel:timestamp:TrustedAdvisorCheckSummary'] :: TrustedAdvisorCheckSummary -> Text
-- | The alert status of the check: "ok" (green), "warning" (yellow),
-- "error" (red), or "not_available".
[$sel:status:TrustedAdvisorCheckSummary'] :: TrustedAdvisorCheckSummary -> Text
[$sel:resourcesSummary:TrustedAdvisorCheckSummary'] :: TrustedAdvisorCheckSummary -> TrustedAdvisorResourcesSummary
-- | Summary information that relates to the category of the check. Cost
-- Optimizing is the only category that is currently supported.
[$sel:categorySpecificSummary:TrustedAdvisorCheckSummary'] :: TrustedAdvisorCheckSummary -> TrustedAdvisorCategorySpecificSummary
-- | 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.
newTrustedAdvisorCheckSummary :: Text -> Text -> Text -> TrustedAdvisorResourcesSummary -> TrustedAdvisorCategorySpecificSummary -> TrustedAdvisorCheckSummary
-- | Specifies whether the Trusted Advisor check has flagged resources.
trustedAdvisorCheckSummary_hasFlaggedResources :: Lens' TrustedAdvisorCheckSummary (Maybe Bool)
-- | The unique identifier for the Trusted Advisor check.
trustedAdvisorCheckSummary_checkId :: Lens' TrustedAdvisorCheckSummary Text
-- | The time of the last refresh of the check.
trustedAdvisorCheckSummary_timestamp :: Lens' TrustedAdvisorCheckSummary Text
-- | The alert status of the check: "ok" (green), "warning" (yellow),
-- "error" (red), or "not_available".
trustedAdvisorCheckSummary_status :: Lens' TrustedAdvisorCheckSummary Text
-- | Undocumented member.
trustedAdvisorCheckSummary_resourcesSummary :: Lens' TrustedAdvisorCheckSummary TrustedAdvisorResourcesSummary
-- | Summary information that relates to the category of the check. Cost
-- Optimizing is the only category that is currently supported.
trustedAdvisorCheckSummary_categorySpecificSummary :: Lens' TrustedAdvisorCheckSummary TrustedAdvisorCategorySpecificSummary
-- | The estimated cost savings that might be realized if the recommended
-- operations are taken.
--
-- See: newTrustedAdvisorCostOptimizingSummary smart
-- constructor.
data TrustedAdvisorCostOptimizingSummary
TrustedAdvisorCostOptimizingSummary' :: Double -> Double -> TrustedAdvisorCostOptimizingSummary
-- | The estimated monthly savings that might be realized if the
-- recommended operations are taken.
[$sel:estimatedMonthlySavings:TrustedAdvisorCostOptimizingSummary'] :: TrustedAdvisorCostOptimizingSummary -> Double
-- | The estimated percentage of savings that might be realized if the
-- recommended operations are taken.
[$sel:estimatedPercentMonthlySavings:TrustedAdvisorCostOptimizingSummary'] :: TrustedAdvisorCostOptimizingSummary -> Double
-- | 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.
newTrustedAdvisorCostOptimizingSummary :: Double -> Double -> TrustedAdvisorCostOptimizingSummary
-- | The estimated monthly savings that might be realized if the
-- recommended operations are taken.
trustedAdvisorCostOptimizingSummary_estimatedMonthlySavings :: Lens' TrustedAdvisorCostOptimizingSummary Double
-- | The estimated percentage of savings that might be realized if the
-- recommended operations are taken.
trustedAdvisorCostOptimizingSummary_estimatedPercentMonthlySavings :: Lens' TrustedAdvisorCostOptimizingSummary Double
-- | Contains information about a resource identified by a Trusted Advisor
-- check.
--
-- See: newTrustedAdvisorResourceDetail smart constructor.
data TrustedAdvisorResourceDetail
TrustedAdvisorResourceDetail' :: Maybe Bool -> Maybe Text -> Text -> Text -> [Text] -> TrustedAdvisorResourceDetail
-- | Specifies whether the Amazon Web Services resource was ignored by
-- Trusted Advisor because it was marked as suppressed by the user.
[$sel:isSuppressed:TrustedAdvisorResourceDetail'] :: TrustedAdvisorResourceDetail -> Maybe Bool
-- | The Amazon Web Services Region in which the identified resource is
-- located.
[$sel:region:TrustedAdvisorResourceDetail'] :: TrustedAdvisorResourceDetail -> Maybe Text
-- | The status code for the resource identified in the Trusted Advisor
-- check.
[$sel:status:TrustedAdvisorResourceDetail'] :: TrustedAdvisorResourceDetail -> Text
-- | The unique identifier for the identified resource.
[$sel:resourceId:TrustedAdvisorResourceDetail'] :: TrustedAdvisorResourceDetail -> Text
-- | 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.
[$sel:metadata:TrustedAdvisorResourceDetail'] :: TrustedAdvisorResourceDetail -> [Text]
-- | 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 Amazon Web Services resource was ignored by Trusted Advisor
-- because it was marked as suppressed by the user.
--
-- $sel:region:TrustedAdvisorResourceDetail',
-- trustedAdvisorResourceDetail_region - The Amazon Web Services
-- 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.
newTrustedAdvisorResourceDetail :: Text -> Text -> TrustedAdvisorResourceDetail
-- | Specifies whether the Amazon Web Services resource was ignored by
-- Trusted Advisor because it was marked as suppressed by the user.
trustedAdvisorResourceDetail_isSuppressed :: Lens' TrustedAdvisorResourceDetail (Maybe Bool)
-- | The Amazon Web Services Region in which the identified resource is
-- located.
trustedAdvisorResourceDetail_region :: Lens' TrustedAdvisorResourceDetail (Maybe Text)
-- | The status code for the resource identified in the Trusted Advisor
-- check.
trustedAdvisorResourceDetail_status :: Lens' TrustedAdvisorResourceDetail Text
-- | The unique identifier for the identified resource.
trustedAdvisorResourceDetail_resourceId :: Lens' TrustedAdvisorResourceDetail Text
-- | 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_metadata :: Lens' TrustedAdvisorResourceDetail [Text]
-- | Details about Amazon Web Services resources that were analyzed in a
-- call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.
--
-- See: newTrustedAdvisorResourcesSummary smart
-- constructor.
data TrustedAdvisorResourcesSummary
TrustedAdvisorResourcesSummary' :: Integer -> Integer -> Integer -> Integer -> TrustedAdvisorResourcesSummary
-- | The number of Amazon Web Services resources that were analyzed by the
-- Trusted Advisor check.
[$sel:resourcesProcessed:TrustedAdvisorResourcesSummary'] :: TrustedAdvisorResourcesSummary -> Integer
-- | The number of Amazon Web Services resources that were flagged (listed)
-- by the Trusted Advisor check.
[$sel:resourcesFlagged:TrustedAdvisorResourcesSummary'] :: TrustedAdvisorResourcesSummary -> Integer
-- | The number of Amazon Web Services resources ignored by Trusted Advisor
-- because information was unavailable.
[$sel:resourcesIgnored:TrustedAdvisorResourcesSummary'] :: TrustedAdvisorResourcesSummary -> Integer
-- | The number of Amazon Web Services resources ignored by Trusted Advisor
-- because they were marked as suppressed by the user.
[$sel:resourcesSuppressed:TrustedAdvisorResourcesSummary'] :: TrustedAdvisorResourcesSummary -> Integer
-- | 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 Amazon Web Services resources that were analyzed by the Trusted
-- Advisor check.
--
-- $sel:resourcesFlagged:TrustedAdvisorResourcesSummary',
-- trustedAdvisorResourcesSummary_resourcesFlagged - The number of
-- Amazon Web Services resources that were flagged (listed) by the
-- Trusted Advisor check.
--
-- $sel:resourcesIgnored:TrustedAdvisorResourcesSummary',
-- trustedAdvisorResourcesSummary_resourcesIgnored - The number of
-- Amazon Web Services resources ignored by Trusted Advisor because
-- information was unavailable.
--
-- $sel:resourcesSuppressed:TrustedAdvisorResourcesSummary',
-- trustedAdvisorResourcesSummary_resourcesSuppressed - The number
-- of Amazon Web Services resources ignored by Trusted Advisor because
-- they were marked as suppressed by the user.
newTrustedAdvisorResourcesSummary :: Integer -> Integer -> Integer -> Integer -> TrustedAdvisorResourcesSummary
-- | The number of Amazon Web Services resources that were analyzed by the
-- Trusted Advisor check.
trustedAdvisorResourcesSummary_resourcesProcessed :: Lens' TrustedAdvisorResourcesSummary Integer
-- | The number of Amazon Web Services resources that were flagged (listed)
-- by the Trusted Advisor check.
trustedAdvisorResourcesSummary_resourcesFlagged :: Lens' TrustedAdvisorResourcesSummary Integer
-- | The number of Amazon Web Services resources ignored by Trusted Advisor
-- because information was unavailable.
trustedAdvisorResourcesSummary_resourcesIgnored :: Lens' TrustedAdvisorResourcesSummary Integer
-- | The number of Amazon Web Services resources ignored by Trusted Advisor
-- because they were marked as suppressed by the user.
trustedAdvisorResourcesSummary_resourcesSuppressed :: Lens' TrustedAdvisorResourcesSummary Integer
-- | Resolves a support case. This operation takes a caseId and
-- returns the initial and final state of the case.
--
--
-- - You must have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan to use the Amazon Web Services Support API.
-- - If you call the Amazon Web Services Support API from an account
-- that doesn't have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan, the SubscriptionRequiredException error message
-- appears. For information about changing your support plan, see
-- Amazon Web Services Support.
--
module Amazonka.Support.ResolveCase
-- | See: newResolveCase smart constructor.
data ResolveCase
ResolveCase' :: Maybe Text -> ResolveCase
-- | 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:caseId:ResolveCase'] :: ResolveCase -> Maybe Text
-- | Create a value of ResolveCase 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:
--
-- ResolveCase, resolveCase_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
newResolveCase :: ResolveCase
-- | 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
resolveCase_caseId :: Lens' ResolveCase (Maybe Text)
-- | The status of the case returned by the ResolveCase operation.
--
-- See: newResolveCaseResponse smart constructor.
data ResolveCaseResponse
ResolveCaseResponse' :: Maybe Text -> Maybe Text -> Int -> ResolveCaseResponse
-- | The status of the case after the ResolveCase request was processed.
[$sel:finalCaseStatus:ResolveCaseResponse'] :: ResolveCaseResponse -> Maybe Text
-- | The status of the case when the ResolveCase request was sent.
[$sel:initialCaseStatus:ResolveCaseResponse'] :: ResolveCaseResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ResolveCaseResponse'] :: ResolveCaseResponse -> Int
-- | Create a value of ResolveCaseResponse 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:finalCaseStatus:ResolveCaseResponse',
-- resolveCaseResponse_finalCaseStatus - The status of the case
-- after the ResolveCase request was processed.
--
-- $sel:initialCaseStatus:ResolveCaseResponse',
-- resolveCaseResponse_initialCaseStatus - The status of the case
-- when the ResolveCase request was sent.
--
-- $sel:httpStatus:ResolveCaseResponse',
-- resolveCaseResponse_httpStatus - The response's http status
-- code.
newResolveCaseResponse :: Int -> ResolveCaseResponse
-- | The status of the case after the ResolveCase request was processed.
resolveCaseResponse_finalCaseStatus :: Lens' ResolveCaseResponse (Maybe Text)
-- | The status of the case when the ResolveCase request was sent.
resolveCaseResponse_initialCaseStatus :: Lens' ResolveCaseResponse (Maybe Text)
-- | The response's http status code.
resolveCaseResponse_httpStatus :: Lens' ResolveCaseResponse Int
instance GHC.Generics.Generic Amazonka.Support.ResolveCase.ResolveCase
instance GHC.Show.Show Amazonka.Support.ResolveCase.ResolveCase
instance GHC.Read.Read Amazonka.Support.ResolveCase.ResolveCase
instance GHC.Classes.Eq Amazonka.Support.ResolveCase.ResolveCase
instance GHC.Generics.Generic Amazonka.Support.ResolveCase.ResolveCaseResponse
instance GHC.Show.Show Amazonka.Support.ResolveCase.ResolveCaseResponse
instance GHC.Read.Read Amazonka.Support.ResolveCase.ResolveCaseResponse
instance GHC.Classes.Eq Amazonka.Support.ResolveCase.ResolveCaseResponse
instance Amazonka.Types.AWSRequest Amazonka.Support.ResolveCase.ResolveCase
instance Control.DeepSeq.NFData Amazonka.Support.ResolveCase.ResolveCaseResponse
instance Data.Hashable.Class.Hashable Amazonka.Support.ResolveCase.ResolveCase
instance Control.DeepSeq.NFData Amazonka.Support.ResolveCase.ResolveCase
instance Amazonka.Data.Headers.ToHeaders Amazonka.Support.ResolveCase.ResolveCase
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Support.ResolveCase.ResolveCase
instance Amazonka.Data.Path.ToPath Amazonka.Support.ResolveCase.ResolveCase
instance Amazonka.Data.Query.ToQuery Amazonka.Support.ResolveCase.ResolveCase
-- | Refreshes the Trusted Advisor check that you specify using the check
-- ID. You can get the check IDs by calling the
-- DescribeTrustedAdvisorChecks operation.
--
-- Some checks are refreshed automatically. If you call the
-- RefreshTrustedAdvisorCheck operation to refresh them, you
-- might see the InvalidParameterValue error.
--
-- The response contains a TrustedAdvisorCheckRefreshStatus object.
--
--
-- - You must have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan to use the Amazon Web Services Support API.
-- - If you call the Amazon Web Services Support API from an account
-- that doesn't have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan, the SubscriptionRequiredException error message
-- appears. For information about changing your support plan, see
-- Amazon Web Services Support.
--
--
-- To call the Trusted Advisor operations in the Amazon Web Services
-- Support API, you must use the US East (N. Virginia) endpoint.
-- Currently, the US West (Oregon) and Europe (Ireland) endpoints don't
-- support the Trusted Advisor operations. For more information, see
-- About the Amazon Web Services Support API in the Amazon Web
-- Services Support User Guide.
module Amazonka.Support.RefreshTrustedAdvisorCheck
-- | See: newRefreshTrustedAdvisorCheck smart constructor.
data RefreshTrustedAdvisorCheck
RefreshTrustedAdvisorCheck' :: Text -> RefreshTrustedAdvisorCheck
-- | The unique identifier for the Trusted Advisor check to refresh.
--
-- Specifying the check ID of a check that is automatically refreshed
-- causes an InvalidParameterValue error.
[$sel:checkId:RefreshTrustedAdvisorCheck'] :: RefreshTrustedAdvisorCheck -> Text
-- | Create a value of RefreshTrustedAdvisorCheck 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:
--
-- RefreshTrustedAdvisorCheck,
-- refreshTrustedAdvisorCheck_checkId - The unique identifier for
-- the Trusted Advisor check to refresh.
--
-- Specifying the check ID of a check that is automatically refreshed
-- causes an InvalidParameterValue error.
newRefreshTrustedAdvisorCheck :: Text -> RefreshTrustedAdvisorCheck
-- | The unique identifier for the Trusted Advisor check to refresh.
--
-- Specifying the check ID of a check that is automatically refreshed
-- causes an InvalidParameterValue error.
refreshTrustedAdvisorCheck_checkId :: Lens' RefreshTrustedAdvisorCheck Text
-- | The current refresh status of a Trusted Advisor check.
--
-- See: newRefreshTrustedAdvisorCheckResponse smart
-- constructor.
data RefreshTrustedAdvisorCheckResponse
RefreshTrustedAdvisorCheckResponse' :: Int -> TrustedAdvisorCheckRefreshStatus -> RefreshTrustedAdvisorCheckResponse
-- | The response's http status code.
[$sel:httpStatus:RefreshTrustedAdvisorCheckResponse'] :: RefreshTrustedAdvisorCheckResponse -> Int
-- | The current refresh status for a check, including the amount of time
-- until the check is eligible for refresh.
[$sel:status:RefreshTrustedAdvisorCheckResponse'] :: RefreshTrustedAdvisorCheckResponse -> TrustedAdvisorCheckRefreshStatus
-- | Create a value of RefreshTrustedAdvisorCheckResponse 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:RefreshTrustedAdvisorCheckResponse',
-- refreshTrustedAdvisorCheckResponse_httpStatus - The response's
-- http status code.
--
-- RefreshTrustedAdvisorCheckResponse,
-- refreshTrustedAdvisorCheckResponse_status - The current refresh
-- status for a check, including the amount of time until the check is
-- eligible for refresh.
newRefreshTrustedAdvisorCheckResponse :: Int -> TrustedAdvisorCheckRefreshStatus -> RefreshTrustedAdvisorCheckResponse
-- | The response's http status code.
refreshTrustedAdvisorCheckResponse_httpStatus :: Lens' RefreshTrustedAdvisorCheckResponse Int
-- | The current refresh status for a check, including the amount of time
-- until the check is eligible for refresh.
refreshTrustedAdvisorCheckResponse_status :: Lens' RefreshTrustedAdvisorCheckResponse TrustedAdvisorCheckRefreshStatus
instance GHC.Generics.Generic Amazonka.Support.RefreshTrustedAdvisorCheck.RefreshTrustedAdvisorCheck
instance GHC.Show.Show Amazonka.Support.RefreshTrustedAdvisorCheck.RefreshTrustedAdvisorCheck
instance GHC.Read.Read Amazonka.Support.RefreshTrustedAdvisorCheck.RefreshTrustedAdvisorCheck
instance GHC.Classes.Eq Amazonka.Support.RefreshTrustedAdvisorCheck.RefreshTrustedAdvisorCheck
instance GHC.Generics.Generic Amazonka.Support.RefreshTrustedAdvisorCheck.RefreshTrustedAdvisorCheckResponse
instance GHC.Show.Show Amazonka.Support.RefreshTrustedAdvisorCheck.RefreshTrustedAdvisorCheckResponse
instance GHC.Read.Read Amazonka.Support.RefreshTrustedAdvisorCheck.RefreshTrustedAdvisorCheckResponse
instance GHC.Classes.Eq Amazonka.Support.RefreshTrustedAdvisorCheck.RefreshTrustedAdvisorCheckResponse
instance Amazonka.Types.AWSRequest Amazonka.Support.RefreshTrustedAdvisorCheck.RefreshTrustedAdvisorCheck
instance Control.DeepSeq.NFData Amazonka.Support.RefreshTrustedAdvisorCheck.RefreshTrustedAdvisorCheckResponse
instance Data.Hashable.Class.Hashable Amazonka.Support.RefreshTrustedAdvisorCheck.RefreshTrustedAdvisorCheck
instance Control.DeepSeq.NFData Amazonka.Support.RefreshTrustedAdvisorCheck.RefreshTrustedAdvisorCheck
instance Amazonka.Data.Headers.ToHeaders Amazonka.Support.RefreshTrustedAdvisorCheck.RefreshTrustedAdvisorCheck
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Support.RefreshTrustedAdvisorCheck.RefreshTrustedAdvisorCheck
instance Amazonka.Data.Path.ToPath Amazonka.Support.RefreshTrustedAdvisorCheck.RefreshTrustedAdvisorCheck
instance Amazonka.Data.Query.ToQuery Amazonka.Support.RefreshTrustedAdvisorCheck.RefreshTrustedAdvisorCheck
-- | Returns information about all available Trusted Advisor checks,
-- including the name, ID, category, description, and metadata. You must
-- specify a language code.
--
-- The response contains a TrustedAdvisorCheckDescription object for each
-- check. You must set the Amazon Web Services Region to us-east-1.
--
--
-- - You must have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan to use the Amazon Web Services Support API.
-- - If you call the Amazon Web Services Support API from an account
-- that doesn't have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan, the SubscriptionRequiredException error message
-- appears. For information about changing your support plan, see
-- Amazon Web Services Support.
-- - The names and descriptions for Trusted Advisor checks are subject
-- to change. We recommend that you specify the check ID in your code to
-- uniquely identify a check.
--
--
-- To call the Trusted Advisor operations in the Amazon Web Services
-- Support API, you must use the US East (N. Virginia) endpoint.
-- Currently, the US West (Oregon) and Europe (Ireland) endpoints don't
-- support the Trusted Advisor operations. For more information, see
-- About the Amazon Web Services Support API in the Amazon Web
-- Services Support User Guide.
module Amazonka.Support.DescribeTrustedAdvisorChecks
-- | See: newDescribeTrustedAdvisorChecks smart constructor.
data DescribeTrustedAdvisorChecks
DescribeTrustedAdvisorChecks' :: Text -> DescribeTrustedAdvisorChecks
-- | The ISO 639-1 code for the language that you want your checks to
-- appear in.
--
-- The Amazon Web Services Support API currently supports the following
-- languages for Trusted Advisor:
--
--
-- - Chinese, Simplified - zh
-- - Chinese, Traditional - zh_TW
-- - English - en
-- - French - fr
-- - German - de
-- - Indonesian - id
-- - Italian - it
-- - Japanese - ja
-- - Korean - ko
-- - Portuguese, Brazilian - pt_BR
-- - Spanish - es
--
[$sel:language:DescribeTrustedAdvisorChecks'] :: DescribeTrustedAdvisorChecks -> Text
-- | Create a value of DescribeTrustedAdvisorChecks 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:
--
-- DescribeTrustedAdvisorChecks,
-- describeTrustedAdvisorChecks_language - The ISO 639-1 code for
-- the language that you want your checks to appear in.
--
-- The Amazon Web Services Support API currently supports the following
-- languages for Trusted Advisor:
--
--
-- - Chinese, Simplified - zh
-- - Chinese, Traditional - zh_TW
-- - English - en
-- - French - fr
-- - German - de
-- - Indonesian - id
-- - Italian - it
-- - Japanese - ja
-- - Korean - ko
-- - Portuguese, Brazilian - pt_BR
-- - Spanish - es
--
newDescribeTrustedAdvisorChecks :: Text -> DescribeTrustedAdvisorChecks
-- | The ISO 639-1 code for the language that you want your checks to
-- appear in.
--
-- The Amazon Web Services Support API currently supports the following
-- languages for Trusted Advisor:
--
--
-- - Chinese, Simplified - zh
-- - Chinese, Traditional - zh_TW
-- - English - en
-- - French - fr
-- - German - de
-- - Indonesian - id
-- - Italian - it
-- - Japanese - ja
-- - Korean - ko
-- - Portuguese, Brazilian - pt_BR
-- - Spanish - es
--
describeTrustedAdvisorChecks_language :: Lens' DescribeTrustedAdvisorChecks Text
-- | Information about the Trusted Advisor checks returned by the
-- DescribeTrustedAdvisorChecks operation.
--
-- See: newDescribeTrustedAdvisorChecksResponse smart
-- constructor.
data DescribeTrustedAdvisorChecksResponse
DescribeTrustedAdvisorChecksResponse' :: Int -> [TrustedAdvisorCheckDescription] -> DescribeTrustedAdvisorChecksResponse
-- | The response's http status code.
[$sel:httpStatus:DescribeTrustedAdvisorChecksResponse'] :: DescribeTrustedAdvisorChecksResponse -> Int
-- | Information about all available Trusted Advisor checks.
[$sel:checks:DescribeTrustedAdvisorChecksResponse'] :: DescribeTrustedAdvisorChecksResponse -> [TrustedAdvisorCheckDescription]
-- | Create a value of DescribeTrustedAdvisorChecksResponse 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:DescribeTrustedAdvisorChecksResponse',
-- describeTrustedAdvisorChecksResponse_httpStatus - The
-- response's http status code.
--
-- $sel:checks:DescribeTrustedAdvisorChecksResponse',
-- describeTrustedAdvisorChecksResponse_checks - Information about
-- all available Trusted Advisor checks.
newDescribeTrustedAdvisorChecksResponse :: Int -> DescribeTrustedAdvisorChecksResponse
-- | The response's http status code.
describeTrustedAdvisorChecksResponse_httpStatus :: Lens' DescribeTrustedAdvisorChecksResponse Int
-- | Information about all available Trusted Advisor checks.
describeTrustedAdvisorChecksResponse_checks :: Lens' DescribeTrustedAdvisorChecksResponse [TrustedAdvisorCheckDescription]
instance GHC.Generics.Generic Amazonka.Support.DescribeTrustedAdvisorChecks.DescribeTrustedAdvisorChecks
instance GHC.Show.Show Amazonka.Support.DescribeTrustedAdvisorChecks.DescribeTrustedAdvisorChecks
instance GHC.Read.Read Amazonka.Support.DescribeTrustedAdvisorChecks.DescribeTrustedAdvisorChecks
instance GHC.Classes.Eq Amazonka.Support.DescribeTrustedAdvisorChecks.DescribeTrustedAdvisorChecks
instance GHC.Generics.Generic Amazonka.Support.DescribeTrustedAdvisorChecks.DescribeTrustedAdvisorChecksResponse
instance GHC.Show.Show Amazonka.Support.DescribeTrustedAdvisorChecks.DescribeTrustedAdvisorChecksResponse
instance GHC.Read.Read Amazonka.Support.DescribeTrustedAdvisorChecks.DescribeTrustedAdvisorChecksResponse
instance GHC.Classes.Eq Amazonka.Support.DescribeTrustedAdvisorChecks.DescribeTrustedAdvisorChecksResponse
instance Amazonka.Types.AWSRequest Amazonka.Support.DescribeTrustedAdvisorChecks.DescribeTrustedAdvisorChecks
instance Control.DeepSeq.NFData Amazonka.Support.DescribeTrustedAdvisorChecks.DescribeTrustedAdvisorChecksResponse
instance Data.Hashable.Class.Hashable Amazonka.Support.DescribeTrustedAdvisorChecks.DescribeTrustedAdvisorChecks
instance Control.DeepSeq.NFData Amazonka.Support.DescribeTrustedAdvisorChecks.DescribeTrustedAdvisorChecks
instance Amazonka.Data.Headers.ToHeaders Amazonka.Support.DescribeTrustedAdvisorChecks.DescribeTrustedAdvisorChecks
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Support.DescribeTrustedAdvisorChecks.DescribeTrustedAdvisorChecks
instance Amazonka.Data.Path.ToPath Amazonka.Support.DescribeTrustedAdvisorChecks.DescribeTrustedAdvisorChecks
instance Amazonka.Data.Query.ToQuery Amazonka.Support.DescribeTrustedAdvisorChecks.DescribeTrustedAdvisorChecks
-- | Returns the results for the Trusted Advisor check summaries for the
-- check IDs that you specified. You can get the check IDs by calling the
-- DescribeTrustedAdvisorChecks operation.
--
-- The response contains an array of TrustedAdvisorCheckSummary objects.
--
--
-- - You must have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan to use the Amazon Web Services Support API.
-- - If you call the Amazon Web Services Support API from an account
-- that doesn't have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan, the SubscriptionRequiredException error message
-- appears. For information about changing your support plan, see
-- Amazon Web Services Support.
--
--
-- To call the Trusted Advisor operations in the Amazon Web Services
-- Support API, you must use the US East (N. Virginia) endpoint.
-- Currently, the US West (Oregon) and Europe (Ireland) endpoints don't
-- support the Trusted Advisor operations. For more information, see
-- About the Amazon Web Services Support API in the Amazon Web
-- Services Support User Guide.
module Amazonka.Support.DescribeTrustedAdvisorCheckSummaries
-- | See: newDescribeTrustedAdvisorCheckSummaries smart
-- constructor.
data DescribeTrustedAdvisorCheckSummaries
DescribeTrustedAdvisorCheckSummaries' :: [Text] -> DescribeTrustedAdvisorCheckSummaries
-- | The IDs of the Trusted Advisor checks.
[$sel:checkIds:DescribeTrustedAdvisorCheckSummaries'] :: DescribeTrustedAdvisorCheckSummaries -> [Text]
-- | Create a value of DescribeTrustedAdvisorCheckSummaries 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:checkIds:DescribeTrustedAdvisorCheckSummaries',
-- describeTrustedAdvisorCheckSummaries_checkIds - The IDs of the
-- Trusted Advisor checks.
newDescribeTrustedAdvisorCheckSummaries :: DescribeTrustedAdvisorCheckSummaries
-- | The IDs of the Trusted Advisor checks.
describeTrustedAdvisorCheckSummaries_checkIds :: Lens' DescribeTrustedAdvisorCheckSummaries [Text]
-- | The summaries of the Trusted Advisor checks returned by the
-- DescribeTrustedAdvisorCheckSummaries operation.
--
-- See: newDescribeTrustedAdvisorCheckSummariesResponse
-- smart constructor.
data DescribeTrustedAdvisorCheckSummariesResponse
DescribeTrustedAdvisorCheckSummariesResponse' :: Int -> [TrustedAdvisorCheckSummary] -> DescribeTrustedAdvisorCheckSummariesResponse
-- | The response's http status code.
[$sel:httpStatus:DescribeTrustedAdvisorCheckSummariesResponse'] :: DescribeTrustedAdvisorCheckSummariesResponse -> Int
-- | The summary information for the requested Trusted Advisor checks.
[$sel:summaries:DescribeTrustedAdvisorCheckSummariesResponse'] :: DescribeTrustedAdvisorCheckSummariesResponse -> [TrustedAdvisorCheckSummary]
-- | Create a value of DescribeTrustedAdvisorCheckSummariesResponse
-- 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:DescribeTrustedAdvisorCheckSummariesResponse',
-- describeTrustedAdvisorCheckSummariesResponse_httpStatus - The
-- response's http status code.
--
-- $sel:summaries:DescribeTrustedAdvisorCheckSummariesResponse',
-- describeTrustedAdvisorCheckSummariesResponse_summaries - The
-- summary information for the requested Trusted Advisor checks.
newDescribeTrustedAdvisorCheckSummariesResponse :: Int -> DescribeTrustedAdvisorCheckSummariesResponse
-- | The response's http status code.
describeTrustedAdvisorCheckSummariesResponse_httpStatus :: Lens' DescribeTrustedAdvisorCheckSummariesResponse Int
-- | The summary information for the requested Trusted Advisor checks.
describeTrustedAdvisorCheckSummariesResponse_summaries :: Lens' DescribeTrustedAdvisorCheckSummariesResponse [TrustedAdvisorCheckSummary]
instance GHC.Generics.Generic Amazonka.Support.DescribeTrustedAdvisorCheckSummaries.DescribeTrustedAdvisorCheckSummaries
instance GHC.Show.Show Amazonka.Support.DescribeTrustedAdvisorCheckSummaries.DescribeTrustedAdvisorCheckSummaries
instance GHC.Read.Read Amazonka.Support.DescribeTrustedAdvisorCheckSummaries.DescribeTrustedAdvisorCheckSummaries
instance GHC.Classes.Eq Amazonka.Support.DescribeTrustedAdvisorCheckSummaries.DescribeTrustedAdvisorCheckSummaries
instance GHC.Generics.Generic Amazonka.Support.DescribeTrustedAdvisorCheckSummaries.DescribeTrustedAdvisorCheckSummariesResponse
instance GHC.Show.Show Amazonka.Support.DescribeTrustedAdvisorCheckSummaries.DescribeTrustedAdvisorCheckSummariesResponse
instance GHC.Read.Read Amazonka.Support.DescribeTrustedAdvisorCheckSummaries.DescribeTrustedAdvisorCheckSummariesResponse
instance GHC.Classes.Eq Amazonka.Support.DescribeTrustedAdvisorCheckSummaries.DescribeTrustedAdvisorCheckSummariesResponse
instance Amazonka.Types.AWSRequest Amazonka.Support.DescribeTrustedAdvisorCheckSummaries.DescribeTrustedAdvisorCheckSummaries
instance Control.DeepSeq.NFData Amazonka.Support.DescribeTrustedAdvisorCheckSummaries.DescribeTrustedAdvisorCheckSummariesResponse
instance Data.Hashable.Class.Hashable Amazonka.Support.DescribeTrustedAdvisorCheckSummaries.DescribeTrustedAdvisorCheckSummaries
instance Control.DeepSeq.NFData Amazonka.Support.DescribeTrustedAdvisorCheckSummaries.DescribeTrustedAdvisorCheckSummaries
instance Amazonka.Data.Headers.ToHeaders Amazonka.Support.DescribeTrustedAdvisorCheckSummaries.DescribeTrustedAdvisorCheckSummaries
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Support.DescribeTrustedAdvisorCheckSummaries.DescribeTrustedAdvisorCheckSummaries
instance Amazonka.Data.Path.ToPath Amazonka.Support.DescribeTrustedAdvisorCheckSummaries.DescribeTrustedAdvisorCheckSummaries
instance Amazonka.Data.Query.ToQuery Amazonka.Support.DescribeTrustedAdvisorCheckSummaries.DescribeTrustedAdvisorCheckSummaries
-- | Returns the results of the Trusted Advisor check that has the
-- specified check ID. You can get the check IDs by calling the
-- DescribeTrustedAdvisorChecks operation.
--
-- The response contains a TrustedAdvisorCheckResult object, which
-- contains these three objects:
--
--
-- - TrustedAdvisorCategorySpecificSummary
-- - TrustedAdvisorResourceDetail
-- - TrustedAdvisorResourcesSummary
--
--
-- In addition, the response contains these fields:
--
--
-- - status - The alert status of the check can be ok
-- (green), warning (yellow), error (red), or
-- not_available.
-- - timestamp - The time of the last refresh of the check.
-- - checkId - The unique identifier for the check.
-- - You must have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan to use the Amazon Web Services Support API.
-- - If you call the Amazon Web Services Support API from an account
-- that doesn't have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan, the SubscriptionRequiredException error message
-- appears. For information about changing your support plan, see
-- Amazon Web Services Support.
--
--
-- To call the Trusted Advisor operations in the Amazon Web Services
-- Support API, you must use the US East (N. Virginia) endpoint.
-- Currently, the US West (Oregon) and Europe (Ireland) endpoints don't
-- support the Trusted Advisor operations. For more information, see
-- About the Amazon Web Services Support API in the Amazon Web
-- Services Support User Guide.
module Amazonka.Support.DescribeTrustedAdvisorCheckResult
-- | See: newDescribeTrustedAdvisorCheckResult smart
-- constructor.
data DescribeTrustedAdvisorCheckResult
DescribeTrustedAdvisorCheckResult' :: Maybe Text -> Text -> DescribeTrustedAdvisorCheckResult
-- | The ISO 639-1 code for the language that you want your check results
-- to appear in.
--
-- The Amazon Web Services Support API currently supports the following
-- languages for Trusted Advisor:
--
--
-- - Chinese, Simplified - zh
-- - Chinese, Traditional - zh_TW
-- - English - en
-- - French - fr
-- - German - de
-- - Indonesian - id
-- - Italian - it
-- - Japanese - ja
-- - Korean - ko
-- - Portuguese, Brazilian - pt_BR
-- - Spanish - es
--
[$sel:language:DescribeTrustedAdvisorCheckResult'] :: DescribeTrustedAdvisorCheckResult -> Maybe Text
-- | The unique identifier for the Trusted Advisor check.
[$sel:checkId:DescribeTrustedAdvisorCheckResult'] :: DescribeTrustedAdvisorCheckResult -> Text
-- | Create a value of DescribeTrustedAdvisorCheckResult 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:
--
-- DescribeTrustedAdvisorCheckResult,
-- describeTrustedAdvisorCheckResult_language - The ISO 639-1 code
-- for the language that you want your check results to appear in.
--
-- The Amazon Web Services Support API currently supports the following
-- languages for Trusted Advisor:
--
--
-- - Chinese, Simplified - zh
-- - Chinese, Traditional - zh_TW
-- - English - en
-- - French - fr
-- - German - de
-- - Indonesian - id
-- - Italian - it
-- - Japanese - ja
-- - Korean - ko
-- - Portuguese, Brazilian - pt_BR
-- - Spanish - es
--
--
-- DescribeTrustedAdvisorCheckResult,
-- describeTrustedAdvisorCheckResult_checkId - The unique
-- identifier for the Trusted Advisor check.
newDescribeTrustedAdvisorCheckResult :: Text -> DescribeTrustedAdvisorCheckResult
-- | The ISO 639-1 code for the language that you want your check results
-- to appear in.
--
-- The Amazon Web Services Support API currently supports the following
-- languages for Trusted Advisor:
--
--
-- - Chinese, Simplified - zh
-- - Chinese, Traditional - zh_TW
-- - English - en
-- - French - fr
-- - German - de
-- - Indonesian - id
-- - Italian - it
-- - Japanese - ja
-- - Korean - ko
-- - Portuguese, Brazilian - pt_BR
-- - Spanish - es
--
describeTrustedAdvisorCheckResult_language :: Lens' DescribeTrustedAdvisorCheckResult (Maybe Text)
-- | The unique identifier for the Trusted Advisor check.
describeTrustedAdvisorCheckResult_checkId :: Lens' DescribeTrustedAdvisorCheckResult Text
-- | The result of the Trusted Advisor check returned by the
-- DescribeTrustedAdvisorCheckResult operation.
--
-- See: newDescribeTrustedAdvisorCheckResultResponse smart
-- constructor.
data DescribeTrustedAdvisorCheckResultResponse
DescribeTrustedAdvisorCheckResultResponse' :: Maybe TrustedAdvisorCheckResult -> Int -> DescribeTrustedAdvisorCheckResultResponse
-- | The detailed results of the Trusted Advisor check.
[$sel:result:DescribeTrustedAdvisorCheckResultResponse'] :: DescribeTrustedAdvisorCheckResultResponse -> Maybe TrustedAdvisorCheckResult
-- | The response's http status code.
[$sel:httpStatus:DescribeTrustedAdvisorCheckResultResponse'] :: DescribeTrustedAdvisorCheckResultResponse -> Int
-- | Create a value of DescribeTrustedAdvisorCheckResultResponse
-- 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:result:DescribeTrustedAdvisorCheckResultResponse',
-- describeTrustedAdvisorCheckResultResponse_result - The detailed
-- results of the Trusted Advisor check.
--
-- $sel:httpStatus:DescribeTrustedAdvisorCheckResultResponse',
-- describeTrustedAdvisorCheckResultResponse_httpStatus - The
-- response's http status code.
newDescribeTrustedAdvisorCheckResultResponse :: Int -> DescribeTrustedAdvisorCheckResultResponse
-- | The detailed results of the Trusted Advisor check.
describeTrustedAdvisorCheckResultResponse_result :: Lens' DescribeTrustedAdvisorCheckResultResponse (Maybe TrustedAdvisorCheckResult)
-- | The response's http status code.
describeTrustedAdvisorCheckResultResponse_httpStatus :: Lens' DescribeTrustedAdvisorCheckResultResponse Int
instance GHC.Generics.Generic Amazonka.Support.DescribeTrustedAdvisorCheckResult.DescribeTrustedAdvisorCheckResult
instance GHC.Show.Show Amazonka.Support.DescribeTrustedAdvisorCheckResult.DescribeTrustedAdvisorCheckResult
instance GHC.Read.Read Amazonka.Support.DescribeTrustedAdvisorCheckResult.DescribeTrustedAdvisorCheckResult
instance GHC.Classes.Eq Amazonka.Support.DescribeTrustedAdvisorCheckResult.DescribeTrustedAdvisorCheckResult
instance GHC.Generics.Generic Amazonka.Support.DescribeTrustedAdvisorCheckResult.DescribeTrustedAdvisorCheckResultResponse
instance GHC.Show.Show Amazonka.Support.DescribeTrustedAdvisorCheckResult.DescribeTrustedAdvisorCheckResultResponse
instance GHC.Read.Read Amazonka.Support.DescribeTrustedAdvisorCheckResult.DescribeTrustedAdvisorCheckResultResponse
instance GHC.Classes.Eq Amazonka.Support.DescribeTrustedAdvisorCheckResult.DescribeTrustedAdvisorCheckResultResponse
instance Amazonka.Types.AWSRequest Amazonka.Support.DescribeTrustedAdvisorCheckResult.DescribeTrustedAdvisorCheckResult
instance Control.DeepSeq.NFData Amazonka.Support.DescribeTrustedAdvisorCheckResult.DescribeTrustedAdvisorCheckResultResponse
instance Data.Hashable.Class.Hashable Amazonka.Support.DescribeTrustedAdvisorCheckResult.DescribeTrustedAdvisorCheckResult
instance Control.DeepSeq.NFData Amazonka.Support.DescribeTrustedAdvisorCheckResult.DescribeTrustedAdvisorCheckResult
instance Amazonka.Data.Headers.ToHeaders Amazonka.Support.DescribeTrustedAdvisorCheckResult.DescribeTrustedAdvisorCheckResult
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Support.DescribeTrustedAdvisorCheckResult.DescribeTrustedAdvisorCheckResult
instance Amazonka.Data.Path.ToPath Amazonka.Support.DescribeTrustedAdvisorCheckResult.DescribeTrustedAdvisorCheckResult
instance Amazonka.Data.Query.ToQuery Amazonka.Support.DescribeTrustedAdvisorCheckResult.DescribeTrustedAdvisorCheckResult
-- | Returns the refresh status of the Trusted Advisor checks that have the
-- specified check IDs. You can get the check IDs by calling the
-- DescribeTrustedAdvisorChecks operation.
--
-- Some checks are refreshed automatically, and you can't return their
-- refresh statuses by using the
-- DescribeTrustedAdvisorCheckRefreshStatuses operation. If you
-- call this operation for these checks, you might see an
-- InvalidParameterValue error.
--
--
-- - You must have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan to use the Amazon Web Services Support API.
-- - If you call the Amazon Web Services Support API from an account
-- that doesn't have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan, the SubscriptionRequiredException error message
-- appears. For information about changing your support plan, see
-- Amazon Web Services Support.
--
--
-- To call the Trusted Advisor operations in the Amazon Web Services
-- Support API, you must use the US East (N. Virginia) endpoint.
-- Currently, the US West (Oregon) and Europe (Ireland) endpoints don't
-- support the Trusted Advisor operations. For more information, see
-- About the Amazon Web Services Support API in the Amazon Web
-- Services Support User Guide.
module Amazonka.Support.DescribeTrustedAdvisorCheckRefreshStatuses
-- | See: newDescribeTrustedAdvisorCheckRefreshStatuses smart
-- constructor.
data DescribeTrustedAdvisorCheckRefreshStatuses
DescribeTrustedAdvisorCheckRefreshStatuses' :: [Text] -> DescribeTrustedAdvisorCheckRefreshStatuses
-- | The IDs of the Trusted Advisor checks to get the status.
--
-- If you specify the check ID of a check that is automatically
-- refreshed, you might see an InvalidParameterValue error.
[$sel:checkIds:DescribeTrustedAdvisorCheckRefreshStatuses'] :: DescribeTrustedAdvisorCheckRefreshStatuses -> [Text]
-- | Create a value of DescribeTrustedAdvisorCheckRefreshStatuses
-- 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:checkIds:DescribeTrustedAdvisorCheckRefreshStatuses',
-- describeTrustedAdvisorCheckRefreshStatuses_checkIds - The IDs
-- of the Trusted Advisor checks to get the status.
--
-- If you specify the check ID of a check that is automatically
-- refreshed, you might see an InvalidParameterValue error.
newDescribeTrustedAdvisorCheckRefreshStatuses :: DescribeTrustedAdvisorCheckRefreshStatuses
-- | The IDs of the Trusted Advisor checks to get the status.
--
-- If you specify the check ID of a check that is automatically
-- refreshed, you might see an InvalidParameterValue error.
describeTrustedAdvisorCheckRefreshStatuses_checkIds :: Lens' DescribeTrustedAdvisorCheckRefreshStatuses [Text]
-- | The statuses of the Trusted Advisor checks returned by the
-- DescribeTrustedAdvisorCheckRefreshStatuses operation.
--
-- See:
-- newDescribeTrustedAdvisorCheckRefreshStatusesResponse smart
-- constructor.
data DescribeTrustedAdvisorCheckRefreshStatusesResponse
DescribeTrustedAdvisorCheckRefreshStatusesResponse' :: Int -> [TrustedAdvisorCheckRefreshStatus] -> DescribeTrustedAdvisorCheckRefreshStatusesResponse
-- | The response's http status code.
[$sel:httpStatus:DescribeTrustedAdvisorCheckRefreshStatusesResponse'] :: DescribeTrustedAdvisorCheckRefreshStatusesResponse -> Int
-- | The refresh status of the specified Trusted Advisor checks.
[$sel:statuses:DescribeTrustedAdvisorCheckRefreshStatusesResponse'] :: DescribeTrustedAdvisorCheckRefreshStatusesResponse -> [TrustedAdvisorCheckRefreshStatus]
-- | Create a value of
-- DescribeTrustedAdvisorCheckRefreshStatusesResponse 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:DescribeTrustedAdvisorCheckRefreshStatusesResponse',
-- describeTrustedAdvisorCheckRefreshStatusesResponse_httpStatus -
-- The response's http status code.
--
--
-- $sel:statuses:DescribeTrustedAdvisorCheckRefreshStatusesResponse',
-- describeTrustedAdvisorCheckRefreshStatusesResponse_statuses -
-- The refresh status of the specified Trusted Advisor checks.
newDescribeTrustedAdvisorCheckRefreshStatusesResponse :: Int -> DescribeTrustedAdvisorCheckRefreshStatusesResponse
-- | The response's http status code.
describeTrustedAdvisorCheckRefreshStatusesResponse_httpStatus :: Lens' DescribeTrustedAdvisorCheckRefreshStatusesResponse Int
-- | The refresh status of the specified Trusted Advisor checks.
describeTrustedAdvisorCheckRefreshStatusesResponse_statuses :: Lens' DescribeTrustedAdvisorCheckRefreshStatusesResponse [TrustedAdvisorCheckRefreshStatus]
instance GHC.Generics.Generic Amazonka.Support.DescribeTrustedAdvisorCheckRefreshStatuses.DescribeTrustedAdvisorCheckRefreshStatuses
instance GHC.Show.Show Amazonka.Support.DescribeTrustedAdvisorCheckRefreshStatuses.DescribeTrustedAdvisorCheckRefreshStatuses
instance GHC.Read.Read Amazonka.Support.DescribeTrustedAdvisorCheckRefreshStatuses.DescribeTrustedAdvisorCheckRefreshStatuses
instance GHC.Classes.Eq Amazonka.Support.DescribeTrustedAdvisorCheckRefreshStatuses.DescribeTrustedAdvisorCheckRefreshStatuses
instance GHC.Generics.Generic Amazonka.Support.DescribeTrustedAdvisorCheckRefreshStatuses.DescribeTrustedAdvisorCheckRefreshStatusesResponse
instance GHC.Show.Show Amazonka.Support.DescribeTrustedAdvisorCheckRefreshStatuses.DescribeTrustedAdvisorCheckRefreshStatusesResponse
instance GHC.Read.Read Amazonka.Support.DescribeTrustedAdvisorCheckRefreshStatuses.DescribeTrustedAdvisorCheckRefreshStatusesResponse
instance GHC.Classes.Eq Amazonka.Support.DescribeTrustedAdvisorCheckRefreshStatuses.DescribeTrustedAdvisorCheckRefreshStatusesResponse
instance Amazonka.Types.AWSRequest Amazonka.Support.DescribeTrustedAdvisorCheckRefreshStatuses.DescribeTrustedAdvisorCheckRefreshStatuses
instance Control.DeepSeq.NFData Amazonka.Support.DescribeTrustedAdvisorCheckRefreshStatuses.DescribeTrustedAdvisorCheckRefreshStatusesResponse
instance Data.Hashable.Class.Hashable Amazonka.Support.DescribeTrustedAdvisorCheckRefreshStatuses.DescribeTrustedAdvisorCheckRefreshStatuses
instance Control.DeepSeq.NFData Amazonka.Support.DescribeTrustedAdvisorCheckRefreshStatuses.DescribeTrustedAdvisorCheckRefreshStatuses
instance Amazonka.Data.Headers.ToHeaders Amazonka.Support.DescribeTrustedAdvisorCheckRefreshStatuses.DescribeTrustedAdvisorCheckRefreshStatuses
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Support.DescribeTrustedAdvisorCheckRefreshStatuses.DescribeTrustedAdvisorCheckRefreshStatuses
instance Amazonka.Data.Path.ToPath Amazonka.Support.DescribeTrustedAdvisorCheckRefreshStatuses.DescribeTrustedAdvisorCheckRefreshStatuses
instance Amazonka.Data.Query.ToQuery Amazonka.Support.DescribeTrustedAdvisorCheckRefreshStatuses.DescribeTrustedAdvisorCheckRefreshStatuses
-- | Returns the list of severity levels that you can assign to a support
-- case. The severity level for a case is also a field in the CaseDetails
-- data type that you include for a CreateCase request.
--
--
-- - You must have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan to use the Amazon Web Services Support API.
-- - If you call the Amazon Web Services Support API from an account
-- that doesn't have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan, the SubscriptionRequiredException error message
-- appears. For information about changing your support plan, see
-- Amazon Web Services Support.
--
module Amazonka.Support.DescribeSeverityLevels
-- | See: newDescribeSeverityLevels smart constructor.
data DescribeSeverityLevels
DescribeSeverityLevels' :: Maybe Text -> DescribeSeverityLevels
-- | The language in which Amazon Web Services Support handles the case.
-- Amazon Web Services Support currently supports English ("en") and
-- Japanese ("ja"). You must specify the ISO 639-1 code for the
-- language parameter if you want support in that language.
[$sel:language:DescribeSeverityLevels'] :: DescribeSeverityLevels -> Maybe Text
-- | Create a value of DescribeSeverityLevels 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:
--
-- DescribeSeverityLevels, describeSeverityLevels_language
-- - The language in which Amazon Web Services Support handles the case.
-- Amazon Web Services Support currently supports English ("en") and
-- Japanese ("ja"). You must specify the ISO 639-1 code for the
-- language parameter if you want support in that language.
newDescribeSeverityLevels :: DescribeSeverityLevels
-- | The language in which Amazon Web Services Support handles the case.
-- Amazon Web Services Support currently supports English ("en") and
-- Japanese ("ja"). You must specify the ISO 639-1 code for the
-- language parameter if you want support in that language.
describeSeverityLevels_language :: Lens' DescribeSeverityLevels (Maybe Text)
-- | The list of severity levels returned by the DescribeSeverityLevels
-- operation.
--
-- See: newDescribeSeverityLevelsResponse smart
-- constructor.
data DescribeSeverityLevelsResponse
DescribeSeverityLevelsResponse' :: Maybe [SeverityLevel] -> Int -> DescribeSeverityLevelsResponse
-- | The available severity levels for the support case. Available severity
-- levels are defined by your service level agreement with Amazon Web
-- Services.
[$sel:severityLevels:DescribeSeverityLevelsResponse'] :: DescribeSeverityLevelsResponse -> Maybe [SeverityLevel]
-- | The response's http status code.
[$sel:httpStatus:DescribeSeverityLevelsResponse'] :: DescribeSeverityLevelsResponse -> Int
-- | Create a value of DescribeSeverityLevelsResponse 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:severityLevels:DescribeSeverityLevelsResponse',
-- describeSeverityLevelsResponse_severityLevels - The available
-- severity levels for the support case. Available severity levels are
-- defined by your service level agreement with Amazon Web Services.
--
-- $sel:httpStatus:DescribeSeverityLevelsResponse',
-- describeSeverityLevelsResponse_httpStatus - The response's http
-- status code.
newDescribeSeverityLevelsResponse :: Int -> DescribeSeverityLevelsResponse
-- | The available severity levels for the support case. Available severity
-- levels are defined by your service level agreement with Amazon Web
-- Services.
describeSeverityLevelsResponse_severityLevels :: Lens' DescribeSeverityLevelsResponse (Maybe [SeverityLevel])
-- | The response's http status code.
describeSeverityLevelsResponse_httpStatus :: Lens' DescribeSeverityLevelsResponse Int
instance GHC.Generics.Generic Amazonka.Support.DescribeSeverityLevels.DescribeSeverityLevels
instance GHC.Show.Show Amazonka.Support.DescribeSeverityLevels.DescribeSeverityLevels
instance GHC.Read.Read Amazonka.Support.DescribeSeverityLevels.DescribeSeverityLevels
instance GHC.Classes.Eq Amazonka.Support.DescribeSeverityLevels.DescribeSeverityLevels
instance GHC.Generics.Generic Amazonka.Support.DescribeSeverityLevels.DescribeSeverityLevelsResponse
instance GHC.Show.Show Amazonka.Support.DescribeSeverityLevels.DescribeSeverityLevelsResponse
instance GHC.Read.Read Amazonka.Support.DescribeSeverityLevels.DescribeSeverityLevelsResponse
instance GHC.Classes.Eq Amazonka.Support.DescribeSeverityLevels.DescribeSeverityLevelsResponse
instance Amazonka.Types.AWSRequest Amazonka.Support.DescribeSeverityLevels.DescribeSeverityLevels
instance Control.DeepSeq.NFData Amazonka.Support.DescribeSeverityLevels.DescribeSeverityLevelsResponse
instance Data.Hashable.Class.Hashable Amazonka.Support.DescribeSeverityLevels.DescribeSeverityLevels
instance Control.DeepSeq.NFData Amazonka.Support.DescribeSeverityLevels.DescribeSeverityLevels
instance Amazonka.Data.Headers.ToHeaders Amazonka.Support.DescribeSeverityLevels.DescribeSeverityLevels
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Support.DescribeSeverityLevels.DescribeSeverityLevels
instance Amazonka.Data.Path.ToPath Amazonka.Support.DescribeSeverityLevels.DescribeSeverityLevels
instance Amazonka.Data.Query.ToQuery Amazonka.Support.DescribeSeverityLevels.DescribeSeverityLevels
-- | Returns the current list of Amazon Web Services services and a list of
-- service categories for each service. You then use service names and
-- categories in your CreateCase requests. Each Amazon Web Services
-- service has its own set of categories.
--
-- The service codes and category codes correspond to the values that
-- appear in the Service and Category lists on the Amazon
-- Web Services Support Center Create Case page. The values in
-- those fields don't necessarily match the service codes and categories
-- returned by the DescribeServices operation. Always use the
-- service codes and categories that the DescribeServices
-- operation returns, so that you have the most recent set of service and
-- category codes.
--
--
-- - You must have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan to use the Amazon Web Services Support API.
-- - If you call the Amazon Web Services Support API from an account
-- that doesn't have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan, the SubscriptionRequiredException error message
-- appears. For information about changing your support plan, see
-- Amazon Web Services Support.
--
module Amazonka.Support.DescribeServices
-- | See: newDescribeServices smart constructor.
data DescribeServices
DescribeServices' :: Maybe Text -> Maybe [Text] -> DescribeServices
-- | The language in which Amazon Web Services Support handles the case.
-- Amazon Web Services Support currently supports English ("en") and
-- Japanese ("ja"). You must specify the ISO 639-1 code for the
-- language parameter if you want support in that language.
[$sel:language:DescribeServices'] :: DescribeServices -> Maybe Text
-- | A JSON-formatted list of service codes available for Amazon Web
-- Services services.
[$sel:serviceCodeList:DescribeServices'] :: DescribeServices -> Maybe [Text]
-- | Create a value of DescribeServices 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:
--
-- DescribeServices, describeServices_language - The
-- language in which Amazon Web Services Support handles the case. Amazon
-- Web Services Support currently supports English ("en") and Japanese
-- ("ja"). You must specify the ISO 639-1 code for the language
-- parameter if you want support in that language.
--
-- $sel:serviceCodeList:DescribeServices',
-- describeServices_serviceCodeList - A JSON-formatted list of
-- service codes available for Amazon Web Services services.
newDescribeServices :: DescribeServices
-- | The language in which Amazon Web Services Support handles the case.
-- Amazon Web Services Support currently supports English ("en") and
-- Japanese ("ja"). You must specify the ISO 639-1 code for the
-- language parameter if you want support in that language.
describeServices_language :: Lens' DescribeServices (Maybe Text)
-- | A JSON-formatted list of service codes available for Amazon Web
-- Services services.
describeServices_serviceCodeList :: Lens' DescribeServices (Maybe [Text])
-- | The list of Amazon Web Services services returned by the
-- DescribeServices operation.
--
-- See: newDescribeServicesResponse smart constructor.
data DescribeServicesResponse
DescribeServicesResponse' :: Maybe [SupportService] -> Int -> DescribeServicesResponse
-- | A JSON-formatted list of Amazon Web Services services.
[$sel:services:DescribeServicesResponse'] :: DescribeServicesResponse -> Maybe [SupportService]
-- | The response's http status code.
[$sel:httpStatus:DescribeServicesResponse'] :: DescribeServicesResponse -> Int
-- | Create a value of DescribeServicesResponse 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:services:DescribeServicesResponse',
-- describeServicesResponse_services - A JSON-formatted list of
-- Amazon Web Services services.
--
-- $sel:httpStatus:DescribeServicesResponse',
-- describeServicesResponse_httpStatus - The response's http
-- status code.
newDescribeServicesResponse :: Int -> DescribeServicesResponse
-- | A JSON-formatted list of Amazon Web Services services.
describeServicesResponse_services :: Lens' DescribeServicesResponse (Maybe [SupportService])
-- | The response's http status code.
describeServicesResponse_httpStatus :: Lens' DescribeServicesResponse Int
instance GHC.Generics.Generic Amazonka.Support.DescribeServices.DescribeServices
instance GHC.Show.Show Amazonka.Support.DescribeServices.DescribeServices
instance GHC.Read.Read Amazonka.Support.DescribeServices.DescribeServices
instance GHC.Classes.Eq Amazonka.Support.DescribeServices.DescribeServices
instance GHC.Generics.Generic Amazonka.Support.DescribeServices.DescribeServicesResponse
instance GHC.Show.Show Amazonka.Support.DescribeServices.DescribeServicesResponse
instance GHC.Read.Read Amazonka.Support.DescribeServices.DescribeServicesResponse
instance GHC.Classes.Eq Amazonka.Support.DescribeServices.DescribeServicesResponse
instance Amazonka.Types.AWSRequest Amazonka.Support.DescribeServices.DescribeServices
instance Control.DeepSeq.NFData Amazonka.Support.DescribeServices.DescribeServicesResponse
instance Data.Hashable.Class.Hashable Amazonka.Support.DescribeServices.DescribeServices
instance Control.DeepSeq.NFData Amazonka.Support.DescribeServices.DescribeServices
instance Amazonka.Data.Headers.ToHeaders Amazonka.Support.DescribeServices.DescribeServices
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Support.DescribeServices.DescribeServices
instance Amazonka.Data.Path.ToPath Amazonka.Support.DescribeServices.DescribeServices
instance Amazonka.Data.Query.ToQuery Amazonka.Support.DescribeServices.DescribeServices
-- | Returns communications and attachments for one or more support cases.
-- Use the afterTime and beforeTime parameters to
-- filter by date. You can use the caseId parameter to restrict
-- the results to a specific case.
--
-- Case data is available for 12 months after creation. If a case was
-- created more than 12 months ago, a request for data might cause an
-- error.
--
-- You can use the maxResults and nextToken parameters
-- to control the pagination of the results. Set maxResults to
-- the number of cases that you want to display on each page, and use
-- nextToken to specify the resumption of pagination.
--
--
-- - You must have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan to use the Amazon Web Services Support API.
-- - If you call the Amazon Web Services Support API from an account
-- that doesn't have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan, the SubscriptionRequiredException error message
-- appears. For information about changing your support plan, see
-- Amazon Web Services Support.
--
--
-- This operation returns paginated results.
module Amazonka.Support.DescribeCommunications
-- | See: newDescribeCommunications smart constructor.
data DescribeCommunications
DescribeCommunications' :: Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> Text -> DescribeCommunications
-- | The start date for a filtered date search on support case
-- communications. Case communications are available for 12 months after
-- creation.
[$sel:afterTime:DescribeCommunications'] :: DescribeCommunications -> Maybe Text
-- | The end date for a filtered date search on support case
-- communications. Case communications are available for 12 months after
-- creation.
[$sel:beforeTime:DescribeCommunications'] :: DescribeCommunications -> Maybe Text
-- | The maximum number of results to return before paginating.
[$sel:maxResults:DescribeCommunications'] :: DescribeCommunications -> Maybe Natural
-- | A resumption point for pagination.
[$sel:nextToken:DescribeCommunications'] :: DescribeCommunications -> Maybe Text
-- | 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:caseId:DescribeCommunications'] :: DescribeCommunications -> Text
-- | Create a value of DescribeCommunications 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:afterTime:DescribeCommunications',
-- describeCommunications_afterTime - The start date for a
-- filtered date search on support case communications. Case
-- communications are available for 12 months after creation.
--
-- $sel:beforeTime:DescribeCommunications',
-- describeCommunications_beforeTime - The end date for a filtered
-- date search on support case communications. Case communications are
-- available for 12 months after creation.
--
-- $sel:maxResults:DescribeCommunications',
-- describeCommunications_maxResults - The maximum number of
-- results to return before paginating.
--
-- DescribeCommunications, describeCommunications_nextToken
-- - A resumption point for pagination.
--
-- DescribeCommunications, describeCommunications_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
newDescribeCommunications :: Text -> DescribeCommunications
-- | The start date for a filtered date search on support case
-- communications. Case communications are available for 12 months after
-- creation.
describeCommunications_afterTime :: Lens' DescribeCommunications (Maybe Text)
-- | The end date for a filtered date search on support case
-- communications. Case communications are available for 12 months after
-- creation.
describeCommunications_beforeTime :: Lens' DescribeCommunications (Maybe Text)
-- | The maximum number of results to return before paginating.
describeCommunications_maxResults :: Lens' DescribeCommunications (Maybe Natural)
-- | A resumption point for pagination.
describeCommunications_nextToken :: Lens' DescribeCommunications (Maybe Text)
-- | 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
describeCommunications_caseId :: Lens' DescribeCommunications Text
-- | The communications returned by the DescribeCommunications operation.
--
-- See: newDescribeCommunicationsResponse smart
-- constructor.
data DescribeCommunicationsResponse
DescribeCommunicationsResponse' :: Maybe [Communication] -> Maybe Text -> Int -> DescribeCommunicationsResponse
-- | The communications for the case.
[$sel:communications:DescribeCommunicationsResponse'] :: DescribeCommunicationsResponse -> Maybe [Communication]
-- | A resumption point for pagination.
[$sel:nextToken:DescribeCommunicationsResponse'] :: DescribeCommunicationsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeCommunicationsResponse'] :: DescribeCommunicationsResponse -> Int
-- | Create a value of DescribeCommunicationsResponse 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:
--
-- DescribeCommunicationsResponse,
-- describeCommunicationsResponse_communications - The
-- communications for the case.
--
-- DescribeCommunications,
-- describeCommunicationsResponse_nextToken - A resumption point
-- for pagination.
--
-- $sel:httpStatus:DescribeCommunicationsResponse',
-- describeCommunicationsResponse_httpStatus - The response's http
-- status code.
newDescribeCommunicationsResponse :: Int -> DescribeCommunicationsResponse
-- | The communications for the case.
describeCommunicationsResponse_communications :: Lens' DescribeCommunicationsResponse (Maybe [Communication])
-- | A resumption point for pagination.
describeCommunicationsResponse_nextToken :: Lens' DescribeCommunicationsResponse (Maybe Text)
-- | The response's http status code.
describeCommunicationsResponse_httpStatus :: Lens' DescribeCommunicationsResponse Int
instance GHC.Generics.Generic Amazonka.Support.DescribeCommunications.DescribeCommunications
instance GHC.Show.Show Amazonka.Support.DescribeCommunications.DescribeCommunications
instance GHC.Read.Read Amazonka.Support.DescribeCommunications.DescribeCommunications
instance GHC.Classes.Eq Amazonka.Support.DescribeCommunications.DescribeCommunications
instance GHC.Generics.Generic Amazonka.Support.DescribeCommunications.DescribeCommunicationsResponse
instance GHC.Show.Show Amazonka.Support.DescribeCommunications.DescribeCommunicationsResponse
instance GHC.Read.Read Amazonka.Support.DescribeCommunications.DescribeCommunicationsResponse
instance GHC.Classes.Eq Amazonka.Support.DescribeCommunications.DescribeCommunicationsResponse
instance Amazonka.Types.AWSRequest Amazonka.Support.DescribeCommunications.DescribeCommunications
instance Control.DeepSeq.NFData Amazonka.Support.DescribeCommunications.DescribeCommunicationsResponse
instance Amazonka.Pager.AWSPager Amazonka.Support.DescribeCommunications.DescribeCommunications
instance Data.Hashable.Class.Hashable Amazonka.Support.DescribeCommunications.DescribeCommunications
instance Control.DeepSeq.NFData Amazonka.Support.DescribeCommunications.DescribeCommunications
instance Amazonka.Data.Headers.ToHeaders Amazonka.Support.DescribeCommunications.DescribeCommunications
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Support.DescribeCommunications.DescribeCommunications
instance Amazonka.Data.Path.ToPath Amazonka.Support.DescribeCommunications.DescribeCommunications
instance Amazonka.Data.Query.ToQuery Amazonka.Support.DescribeCommunications.DescribeCommunications
-- | Returns a list of cases that you specify by passing one or more case
-- IDs. You can use the afterTime and beforeTime
-- parameters to filter the cases by date. You can set values for the
-- includeResolvedCases and includeCommunications
-- parameters to specify how much information to return.
--
-- The response returns the following in JSON format:
--
--
-- - One or more CaseDetails data types.
-- - One or more nextToken values, which specify where to
-- paginate the returned records represented by the CaseDetails
-- objects.
--
--
-- Case data is available for 12 months after creation. If a case was
-- created more than 12 months ago, a request might return an error.
--
--
-- - You must have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan to use the Amazon Web Services Support API.
-- - If you call the Amazon Web Services Support API from an account
-- that doesn't have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan, the SubscriptionRequiredException error message
-- appears. For information about changing your support plan, see
-- Amazon Web Services Support.
--
--
-- This operation returns paginated results.
module Amazonka.Support.DescribeCases
-- | See: newDescribeCases smart constructor.
data DescribeCases
DescribeCases' :: Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe Natural -> Maybe Text -> DescribeCases
-- | The start date for a filtered date search on support case
-- communications. Case communications are available for 12 months after
-- creation.
[$sel:afterTime:DescribeCases'] :: DescribeCases -> Maybe Text
-- | The end date for a filtered date search on support case
-- communications. Case communications are available for 12 months after
-- creation.
[$sel:beforeTime:DescribeCases'] :: DescribeCases -> Maybe Text
-- | A list of ID numbers of the support cases you want returned. The
-- maximum number of cases is 100.
[$sel:caseIdList:DescribeCases'] :: DescribeCases -> Maybe [Text]
-- | The ID displayed for a case in the Amazon Web Services Support Center
-- user interface.
[$sel:displayId:DescribeCases'] :: DescribeCases -> Maybe Text
-- | Specifies whether to include communications in the
-- DescribeCases response. By default, communications are
-- included.
[$sel:includeCommunications:DescribeCases'] :: DescribeCases -> Maybe Bool
-- | Specifies whether to include resolved support cases in the
-- DescribeCases response. By default, resolved cases aren't
-- included.
[$sel:includeResolvedCases:DescribeCases'] :: DescribeCases -> Maybe Bool
-- | The language in which Amazon Web Services Support handles the case.
-- Amazon Web Services Support currently supports English ("en") and
-- Japanese ("ja"). You must specify the ISO 639-1 code for the
-- language parameter if you want support in that language.
[$sel:language:DescribeCases'] :: DescribeCases -> Maybe Text
-- | The maximum number of results to return before paginating.
[$sel:maxResults:DescribeCases'] :: DescribeCases -> Maybe Natural
-- | A resumption point for pagination.
[$sel:nextToken:DescribeCases'] :: DescribeCases -> Maybe Text
-- | Create a value of DescribeCases 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:afterTime:DescribeCases', describeCases_afterTime -
-- The start date for a filtered date search on support case
-- communications. Case communications are available for 12 months after
-- creation.
--
-- $sel:beforeTime:DescribeCases', describeCases_beforeTime
-- - The end date for a filtered date search on support case
-- communications. Case communications are available for 12 months after
-- creation.
--
-- $sel:caseIdList:DescribeCases', describeCases_caseIdList
-- - A list of ID numbers of the support cases you want returned. The
-- maximum number of cases is 100.
--
-- DescribeCases, describeCases_displayId - The ID
-- displayed for a case in the Amazon Web Services Support Center user
-- interface.
--
-- $sel:includeCommunications:DescribeCases',
-- describeCases_includeCommunications - Specifies whether to
-- include communications in the DescribeCases response. By
-- default, communications are included.
--
-- $sel:includeResolvedCases:DescribeCases',
-- describeCases_includeResolvedCases - Specifies whether to
-- include resolved support cases in the DescribeCases response.
-- By default, resolved cases aren't included.
--
-- DescribeCases, describeCases_language - The language in
-- which Amazon Web Services Support handles the case. Amazon Web
-- Services Support currently supports English ("en") and Japanese
-- ("ja"). You must specify the ISO 639-1 code for the language
-- parameter if you want support in that language.
--
-- $sel:maxResults:DescribeCases', describeCases_maxResults
-- - The maximum number of results to return before paginating.
--
-- DescribeCases, describeCases_nextToken - A resumption
-- point for pagination.
newDescribeCases :: DescribeCases
-- | The start date for a filtered date search on support case
-- communications. Case communications are available for 12 months after
-- creation.
describeCases_afterTime :: Lens' DescribeCases (Maybe Text)
-- | The end date for a filtered date search on support case
-- communications. Case communications are available for 12 months after
-- creation.
describeCases_beforeTime :: Lens' DescribeCases (Maybe Text)
-- | A list of ID numbers of the support cases you want returned. The
-- maximum number of cases is 100.
describeCases_caseIdList :: Lens' DescribeCases (Maybe [Text])
-- | The ID displayed for a case in the Amazon Web Services Support Center
-- user interface.
describeCases_displayId :: Lens' DescribeCases (Maybe Text)
-- | Specifies whether to include communications in the
-- DescribeCases response. By default, communications are
-- included.
describeCases_includeCommunications :: Lens' DescribeCases (Maybe Bool)
-- | Specifies whether to include resolved support cases in the
-- DescribeCases response. By default, resolved cases aren't
-- included.
describeCases_includeResolvedCases :: Lens' DescribeCases (Maybe Bool)
-- | The language in which Amazon Web Services Support handles the case.
-- Amazon Web Services Support currently supports English ("en") and
-- Japanese ("ja"). You must specify the ISO 639-1 code for the
-- language parameter if you want support in that language.
describeCases_language :: Lens' DescribeCases (Maybe Text)
-- | The maximum number of results to return before paginating.
describeCases_maxResults :: Lens' DescribeCases (Maybe Natural)
-- | A resumption point for pagination.
describeCases_nextToken :: Lens' DescribeCases (Maybe Text)
-- | Returns an array of CaseDetails objects and a
-- nextToken that defines a point for pagination in the result
-- set.
--
-- See: newDescribeCasesResponse smart constructor.
data DescribeCasesResponse
DescribeCasesResponse' :: Maybe [CaseDetails] -> Maybe Text -> Int -> DescribeCasesResponse
-- | The details for the cases that match the request.
[$sel:cases:DescribeCasesResponse'] :: DescribeCasesResponse -> Maybe [CaseDetails]
-- | A resumption point for pagination.
[$sel:nextToken:DescribeCasesResponse'] :: DescribeCasesResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeCasesResponse'] :: DescribeCasesResponse -> Int
-- | Create a value of DescribeCasesResponse 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:cases:DescribeCasesResponse',
-- describeCasesResponse_cases - The details for the cases that
-- match the request.
--
-- DescribeCases, describeCasesResponse_nextToken - A
-- resumption point for pagination.
--
-- $sel:httpStatus:DescribeCasesResponse',
-- describeCasesResponse_httpStatus - The response's http status
-- code.
newDescribeCasesResponse :: Int -> DescribeCasesResponse
-- | The details for the cases that match the request.
describeCasesResponse_cases :: Lens' DescribeCasesResponse (Maybe [CaseDetails])
-- | A resumption point for pagination.
describeCasesResponse_nextToken :: Lens' DescribeCasesResponse (Maybe Text)
-- | The response's http status code.
describeCasesResponse_httpStatus :: Lens' DescribeCasesResponse Int
instance GHC.Generics.Generic Amazonka.Support.DescribeCases.DescribeCases
instance GHC.Show.Show Amazonka.Support.DescribeCases.DescribeCases
instance GHC.Read.Read Amazonka.Support.DescribeCases.DescribeCases
instance GHC.Classes.Eq Amazonka.Support.DescribeCases.DescribeCases
instance GHC.Generics.Generic Amazonka.Support.DescribeCases.DescribeCasesResponse
instance GHC.Show.Show Amazonka.Support.DescribeCases.DescribeCasesResponse
instance GHC.Read.Read Amazonka.Support.DescribeCases.DescribeCasesResponse
instance GHC.Classes.Eq Amazonka.Support.DescribeCases.DescribeCasesResponse
instance Amazonka.Types.AWSRequest Amazonka.Support.DescribeCases.DescribeCases
instance Control.DeepSeq.NFData Amazonka.Support.DescribeCases.DescribeCasesResponse
instance Amazonka.Pager.AWSPager Amazonka.Support.DescribeCases.DescribeCases
instance Data.Hashable.Class.Hashable Amazonka.Support.DescribeCases.DescribeCases
instance Control.DeepSeq.NFData Amazonka.Support.DescribeCases.DescribeCases
instance Amazonka.Data.Headers.ToHeaders Amazonka.Support.DescribeCases.DescribeCases
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Support.DescribeCases.DescribeCases
instance Amazonka.Data.Path.ToPath Amazonka.Support.DescribeCases.DescribeCases
instance Amazonka.Data.Query.ToQuery Amazonka.Support.DescribeCases.DescribeCases
-- | Returns the attachment that has the specified ID. Attachments can
-- include screenshots, error logs, or other files that describe your
-- issue. Attachment IDs are generated by the case management system when
-- you add an attachment to a case or case communication. Attachment IDs
-- are returned in the AttachmentDetails objects that are returned by the
-- DescribeCommunications operation.
--
--
-- - You must have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan to use the Amazon Web Services Support API.
-- - If you call the Amazon Web Services Support API from an account
-- that doesn't have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan, the SubscriptionRequiredException error message
-- appears. For information about changing your support plan, see
-- Amazon Web Services Support.
--
module Amazonka.Support.DescribeAttachment
-- | See: newDescribeAttachment smart constructor.
data DescribeAttachment
DescribeAttachment' :: Text -> DescribeAttachment
-- | The ID of the attachment to return. Attachment IDs are returned by the
-- DescribeCommunications operation.
[$sel:attachmentId:DescribeAttachment'] :: DescribeAttachment -> Text
-- | Create a value of DescribeAttachment 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:
--
-- DescribeAttachment, describeAttachment_attachmentId -
-- The ID of the attachment to return. Attachment IDs are returned by the
-- DescribeCommunications operation.
newDescribeAttachment :: Text -> DescribeAttachment
-- | The ID of the attachment to return. Attachment IDs are returned by the
-- DescribeCommunications operation.
describeAttachment_attachmentId :: Lens' DescribeAttachment Text
-- | The content and file name of the attachment returned by the
-- DescribeAttachment operation.
--
-- See: newDescribeAttachmentResponse smart constructor.
data DescribeAttachmentResponse
DescribeAttachmentResponse' :: Maybe Attachment -> Int -> DescribeAttachmentResponse
-- | This object includes the attachment content and file name.
--
-- In the previous response syntax, the value for the data
-- parameter appears as blob, which is represented as a
-- base64-encoded string. The value for fileName is the name of
-- the attachment, such as troubleshoot-screenshot.png.
[$sel:attachment:DescribeAttachmentResponse'] :: DescribeAttachmentResponse -> Maybe Attachment
-- | The response's http status code.
[$sel:httpStatus:DescribeAttachmentResponse'] :: DescribeAttachmentResponse -> Int
-- | Create a value of DescribeAttachmentResponse 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:attachment:DescribeAttachmentResponse',
-- describeAttachmentResponse_attachment - This object includes
-- the attachment content and file name.
--
-- In the previous response syntax, the value for the data
-- parameter appears as blob, which is represented as a
-- base64-encoded string. The value for fileName is the name of
-- the attachment, such as troubleshoot-screenshot.png.
--
-- $sel:httpStatus:DescribeAttachmentResponse',
-- describeAttachmentResponse_httpStatus - The response's http
-- status code.
newDescribeAttachmentResponse :: Int -> DescribeAttachmentResponse
-- | This object includes the attachment content and file name.
--
-- In the previous response syntax, the value for the data
-- parameter appears as blob, which is represented as a
-- base64-encoded string. The value for fileName is the name of
-- the attachment, such as troubleshoot-screenshot.png.
describeAttachmentResponse_attachment :: Lens' DescribeAttachmentResponse (Maybe Attachment)
-- | The response's http status code.
describeAttachmentResponse_httpStatus :: Lens' DescribeAttachmentResponse Int
instance GHC.Generics.Generic Amazonka.Support.DescribeAttachment.DescribeAttachment
instance GHC.Show.Show Amazonka.Support.DescribeAttachment.DescribeAttachment
instance GHC.Read.Read Amazonka.Support.DescribeAttachment.DescribeAttachment
instance GHC.Classes.Eq Amazonka.Support.DescribeAttachment.DescribeAttachment
instance GHC.Generics.Generic Amazonka.Support.DescribeAttachment.DescribeAttachmentResponse
instance GHC.Show.Show Amazonka.Support.DescribeAttachment.DescribeAttachmentResponse
instance GHC.Read.Read Amazonka.Support.DescribeAttachment.DescribeAttachmentResponse
instance GHC.Classes.Eq Amazonka.Support.DescribeAttachment.DescribeAttachmentResponse
instance Amazonka.Types.AWSRequest Amazonka.Support.DescribeAttachment.DescribeAttachment
instance Control.DeepSeq.NFData Amazonka.Support.DescribeAttachment.DescribeAttachmentResponse
instance Data.Hashable.Class.Hashable Amazonka.Support.DescribeAttachment.DescribeAttachment
instance Control.DeepSeq.NFData Amazonka.Support.DescribeAttachment.DescribeAttachment
instance Amazonka.Data.Headers.ToHeaders Amazonka.Support.DescribeAttachment.DescribeAttachment
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Support.DescribeAttachment.DescribeAttachment
instance Amazonka.Data.Path.ToPath Amazonka.Support.DescribeAttachment.DescribeAttachment
instance Amazonka.Data.Query.ToQuery Amazonka.Support.DescribeAttachment.DescribeAttachment
-- | Creates a case in the Amazon Web Services Support Center. This
-- operation is similar to how you create a case in the Amazon Web
-- Services Support Center Create Case page.
--
-- The Amazon Web Services Support API doesn't support requesting service
-- limit increases. You can submit a service limit increase in the
-- following ways:
--
--
--
-- A successful CreateCase request returns an Amazon Web
-- Services Support case number. You can use the DescribeCases operation
-- and specify the case number to get existing Amazon Web Services
-- Support cases. After you create a case, use the AddCommunicationToCase
-- operation to add additional communication or attachments to an
-- existing case.
--
-- The caseId is separate from the displayId that
-- appears in the Amazon Web Services Support Center. Use the
-- DescribeCases operation to get the displayId.
--
--
-- - You must have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan to use the Amazon Web Services Support API.
-- - If you call the Amazon Web Services Support API from an account
-- that doesn't have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan, the SubscriptionRequiredException error message
-- appears. For information about changing your support plan, see
-- Amazon Web Services Support.
--
module Amazonka.Support.CreateCase
-- | See: newCreateCase smart constructor.
data CreateCase
CreateCase' :: Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Text -> Text -> CreateCase
-- | The ID of a set of one or more attachments for the case. Create the
-- set by using the AddAttachmentsToSet operation.
[$sel:attachmentSetId:CreateCase'] :: CreateCase -> Maybe Text
-- | The category of problem for the support case. You also use the
-- DescribeServices operation to get the category code for a service.
-- Each Amazon Web Services service defines its own set of category
-- codes.
[$sel:categoryCode:CreateCase'] :: CreateCase -> Maybe Text
-- | A list of email addresses that Amazon Web Services Support copies on
-- case correspondence. Amazon Web Services Support identifies the
-- account that creates the case when you specify your Amazon Web
-- Services credentials in an HTTP POST method or use the Amazon Web
-- Services SDKs.
[$sel:ccEmailAddresses:CreateCase'] :: CreateCase -> Maybe [Text]
-- | The type of issue for the case. You can specify
-- customer-service or technical. If you don't specify
-- a value, the default is technical.
[$sel:issueType:CreateCase'] :: CreateCase -> Maybe Text
-- | The language in which Amazon Web Services Support handles the case.
-- Amazon Web Services Support currently supports English ("en") and
-- Japanese ("ja"). You must specify the ISO 639-1 code for the
-- language parameter if you want support in that language.
[$sel:language:CreateCase'] :: CreateCase -> Maybe Text
-- | The code for the Amazon Web Services service. You can use the
-- DescribeServices operation to get the possible serviceCode
-- values.
[$sel:serviceCode:CreateCase'] :: CreateCase -> Maybe Text
-- | A value that indicates the urgency of the case. This value determines
-- the response time according to your service level agreement with
-- Amazon Web Services Support. You can use the DescribeSeverityLevels
-- operation to get the possible values for severityCode.
--
-- For more information, see SeverityLevel and Choosing a Severity
-- in the Amazon Web Services Support User Guide.
--
-- The availability of severity levels depends on the support plan for
-- the Amazon Web Services account.
[$sel:severityCode:CreateCase'] :: CreateCase -> Maybe Text
-- | The title of the support case. The title appears in the Subject
-- field on the Amazon Web Services Support Center Create Case
-- page.
[$sel:subject:CreateCase'] :: CreateCase -> Text
-- | The communication body text that describes the issue. This text
-- appears in the Description field on the Amazon Web Services
-- Support Center Create Case page.
[$sel:communicationBody:CreateCase'] :: CreateCase -> Text
-- | Create a value of CreateCase 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:attachmentSetId:CreateCase',
-- createCase_attachmentSetId - The ID of a set of one or more
-- attachments for the case. Create the set by using the
-- AddAttachmentsToSet operation.
--
-- CreateCase, createCase_categoryCode - The category of
-- problem for the support case. You also use the DescribeServices
-- operation to get the category code for a service. Each Amazon Web
-- Services service defines its own set of category codes.
--
-- CreateCase, createCase_ccEmailAddresses - A list of
-- email addresses that Amazon Web Services Support copies on case
-- correspondence. Amazon Web Services Support identifies the account
-- that creates the case when you specify your Amazon Web Services
-- credentials in an HTTP POST method or use the Amazon Web Services
-- SDKs.
--
-- $sel:issueType:CreateCase', createCase_issueType - The
-- type of issue for the case. You can specify customer-service
-- or technical. If you don't specify a value, the default is
-- technical.
--
-- CreateCase, createCase_language - The language in which
-- Amazon Web Services Support handles the case. Amazon Web Services
-- Support currently supports English ("en") and Japanese ("ja"). You
-- must specify the ISO 639-1 code for the language parameter if
-- you want support in that language.
--
-- CreateCase, createCase_serviceCode - The code for the
-- Amazon Web Services service. You can use the DescribeServices
-- operation to get the possible serviceCode values.
--
-- CreateCase, createCase_severityCode - A value that
-- indicates the urgency of the case. This value determines the response
-- time according to your service level agreement with Amazon Web
-- Services Support. You can use the DescribeSeverityLevels operation to
-- get the possible values for severityCode.
--
-- For more information, see SeverityLevel and Choosing a Severity
-- in the Amazon Web Services Support User Guide.
--
-- The availability of severity levels depends on the support plan for
-- the Amazon Web Services account.
--
-- CreateCase, createCase_subject - The title of the
-- support case. The title appears in the Subject field on the
-- Amazon Web Services Support Center Create Case page.
--
-- $sel:communicationBody:CreateCase',
-- createCase_communicationBody - The communication body text that
-- describes the issue. This text appears in the Description field
-- on the Amazon Web Services Support Center Create Case page.
newCreateCase :: Text -> Text -> CreateCase
-- | The ID of a set of one or more attachments for the case. Create the
-- set by using the AddAttachmentsToSet operation.
createCase_attachmentSetId :: Lens' CreateCase (Maybe Text)
-- | The category of problem for the support case. You also use the
-- DescribeServices operation to get the category code for a service.
-- Each Amazon Web Services service defines its own set of category
-- codes.
createCase_categoryCode :: Lens' CreateCase (Maybe Text)
-- | A list of email addresses that Amazon Web Services Support copies on
-- case correspondence. Amazon Web Services Support identifies the
-- account that creates the case when you specify your Amazon Web
-- Services credentials in an HTTP POST method or use the Amazon Web
-- Services SDKs.
createCase_ccEmailAddresses :: Lens' CreateCase (Maybe [Text])
-- | The type of issue for the case. You can specify
-- customer-service or technical. If you don't specify
-- a value, the default is technical.
createCase_issueType :: Lens' CreateCase (Maybe Text)
-- | The language in which Amazon Web Services Support handles the case.
-- Amazon Web Services Support currently supports English ("en") and
-- Japanese ("ja"). You must specify the ISO 639-1 code for the
-- language parameter if you want support in that language.
createCase_language :: Lens' CreateCase (Maybe Text)
-- | The code for the Amazon Web Services service. You can use the
-- DescribeServices operation to get the possible serviceCode
-- values.
createCase_serviceCode :: Lens' CreateCase (Maybe Text)
-- | A value that indicates the urgency of the case. This value determines
-- the response time according to your service level agreement with
-- Amazon Web Services Support. You can use the DescribeSeverityLevels
-- operation to get the possible values for severityCode.
--
-- For more information, see SeverityLevel and Choosing a Severity
-- in the Amazon Web Services Support User Guide.
--
-- The availability of severity levels depends on the support plan for
-- the Amazon Web Services account.
createCase_severityCode :: Lens' CreateCase (Maybe Text)
-- | The title of the support case. The title appears in the Subject
-- field on the Amazon Web Services Support Center Create Case
-- page.
createCase_subject :: Lens' CreateCase Text
-- | The communication body text that describes the issue. This text
-- appears in the Description field on the Amazon Web Services
-- Support Center Create Case page.
createCase_communicationBody :: Lens' CreateCase Text
-- | The support case ID returned by a successful completion of the
-- CreateCase operation.
--
-- See: newCreateCaseResponse smart constructor.
data CreateCaseResponse
CreateCaseResponse' :: Maybe Text -> Int -> CreateCaseResponse
-- | The support case ID requested or returned in the call. The case ID is
-- an alphanumeric string in the following format:
-- case-12345678910-2013-c4c1d2bf33c5cf47
[$sel:caseId:CreateCaseResponse'] :: CreateCaseResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateCaseResponse'] :: CreateCaseResponse -> Int
-- | Create a value of CreateCaseResponse 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:
--
-- CreateCaseResponse, createCaseResponse_caseId - The
-- support case ID requested or returned in the call. The case ID is an
-- alphanumeric string in the following format:
-- case-12345678910-2013-c4c1d2bf33c5cf47
--
-- $sel:httpStatus:CreateCaseResponse',
-- createCaseResponse_httpStatus - The response's http status
-- code.
newCreateCaseResponse :: Int -> CreateCaseResponse
-- | The support case ID requested or returned in the call. The case ID is
-- an alphanumeric string in the following format:
-- case-12345678910-2013-c4c1d2bf33c5cf47
createCaseResponse_caseId :: Lens' CreateCaseResponse (Maybe Text)
-- | The response's http status code.
createCaseResponse_httpStatus :: Lens' CreateCaseResponse Int
instance GHC.Generics.Generic Amazonka.Support.CreateCase.CreateCase
instance GHC.Show.Show Amazonka.Support.CreateCase.CreateCase
instance GHC.Read.Read Amazonka.Support.CreateCase.CreateCase
instance GHC.Classes.Eq Amazonka.Support.CreateCase.CreateCase
instance GHC.Generics.Generic Amazonka.Support.CreateCase.CreateCaseResponse
instance GHC.Show.Show Amazonka.Support.CreateCase.CreateCaseResponse
instance GHC.Read.Read Amazonka.Support.CreateCase.CreateCaseResponse
instance GHC.Classes.Eq Amazonka.Support.CreateCase.CreateCaseResponse
instance Amazonka.Types.AWSRequest Amazonka.Support.CreateCase.CreateCase
instance Control.DeepSeq.NFData Amazonka.Support.CreateCase.CreateCaseResponse
instance Data.Hashable.Class.Hashable Amazonka.Support.CreateCase.CreateCase
instance Control.DeepSeq.NFData Amazonka.Support.CreateCase.CreateCase
instance Amazonka.Data.Headers.ToHeaders Amazonka.Support.CreateCase.CreateCase
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Support.CreateCase.CreateCase
instance Amazonka.Data.Path.ToPath Amazonka.Support.CreateCase.CreateCase
instance Amazonka.Data.Query.ToQuery Amazonka.Support.CreateCase.CreateCase
-- | Adds additional customer communication to an Amazon Web Services
-- Support case. Use the caseId parameter to identify the case
-- to which to add communication. You can list a set of email addresses
-- to copy on the communication by using the ccEmailAddresses
-- parameter. The communicationBody value contains the text of
-- the communication.
--
--
-- - You must have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan to use the Amazon Web Services Support API.
-- - If you call the Amazon Web Services Support API from an account
-- that doesn't have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan, the SubscriptionRequiredException error message
-- appears. For information about changing your support plan, see
-- Amazon Web Services Support.
--
module Amazonka.Support.AddCommunicationToCase
-- | See: newAddCommunicationToCase smart constructor.
data AddCommunicationToCase
AddCommunicationToCase' :: Maybe Text -> Maybe Text -> Maybe [Text] -> Text -> AddCommunicationToCase
-- | The ID of a set of one or more attachments for the communication to
-- add to the case. Create the set by calling AddAttachmentsToSet
[$sel:attachmentSetId:AddCommunicationToCase'] :: AddCommunicationToCase -> Maybe Text
-- | 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:caseId:AddCommunicationToCase'] :: AddCommunicationToCase -> Maybe Text
-- | The email addresses in the CC line of an email to be added to the
-- support case.
[$sel:ccEmailAddresses:AddCommunicationToCase'] :: AddCommunicationToCase -> Maybe [Text]
-- | The body of an email communication to add to the support case.
[$sel:communicationBody:AddCommunicationToCase'] :: AddCommunicationToCase -> Text
-- | Create a value of AddCommunicationToCase 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:attachmentSetId:AddCommunicationToCase',
-- addCommunicationToCase_attachmentSetId - The ID of a set of one
-- or more attachments for the communication to add to the case. Create
-- the set by calling AddAttachmentsToSet
--
-- AddCommunicationToCase, addCommunicationToCase_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
--
-- AddCommunicationToCase,
-- addCommunicationToCase_ccEmailAddresses - The email addresses
-- in the CC line of an email to be added to the support case.
--
-- $sel:communicationBody:AddCommunicationToCase',
-- addCommunicationToCase_communicationBody - The body of an email
-- communication to add to the support case.
newAddCommunicationToCase :: Text -> AddCommunicationToCase
-- | The ID of a set of one or more attachments for the communication to
-- add to the case. Create the set by calling AddAttachmentsToSet
addCommunicationToCase_attachmentSetId :: Lens' AddCommunicationToCase (Maybe Text)
-- | 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
addCommunicationToCase_caseId :: Lens' AddCommunicationToCase (Maybe Text)
-- | The email addresses in the CC line of an email to be added to the
-- support case.
addCommunicationToCase_ccEmailAddresses :: Lens' AddCommunicationToCase (Maybe [Text])
-- | The body of an email communication to add to the support case.
addCommunicationToCase_communicationBody :: Lens' AddCommunicationToCase Text
-- | The result of the AddCommunicationToCase operation.
--
-- See: newAddCommunicationToCaseResponse smart
-- constructor.
data AddCommunicationToCaseResponse
AddCommunicationToCaseResponse' :: Maybe Bool -> Int -> AddCommunicationToCaseResponse
-- | True if AddCommunicationToCase succeeds. Otherwise, returns an error.
[$sel:result:AddCommunicationToCaseResponse'] :: AddCommunicationToCaseResponse -> Maybe Bool
-- | The response's http status code.
[$sel:httpStatus:AddCommunicationToCaseResponse'] :: AddCommunicationToCaseResponse -> Int
-- | Create a value of AddCommunicationToCaseResponse 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:result:AddCommunicationToCaseResponse',
-- addCommunicationToCaseResponse_result - True if
-- AddCommunicationToCase succeeds. Otherwise, returns an error.
--
-- $sel:httpStatus:AddCommunicationToCaseResponse',
-- addCommunicationToCaseResponse_httpStatus - The response's http
-- status code.
newAddCommunicationToCaseResponse :: Int -> AddCommunicationToCaseResponse
-- | True if AddCommunicationToCase succeeds. Otherwise, returns an error.
addCommunicationToCaseResponse_result :: Lens' AddCommunicationToCaseResponse (Maybe Bool)
-- | The response's http status code.
addCommunicationToCaseResponse_httpStatus :: Lens' AddCommunicationToCaseResponse Int
instance GHC.Generics.Generic Amazonka.Support.AddCommunicationToCase.AddCommunicationToCase
instance GHC.Show.Show Amazonka.Support.AddCommunicationToCase.AddCommunicationToCase
instance GHC.Read.Read Amazonka.Support.AddCommunicationToCase.AddCommunicationToCase
instance GHC.Classes.Eq Amazonka.Support.AddCommunicationToCase.AddCommunicationToCase
instance GHC.Generics.Generic Amazonka.Support.AddCommunicationToCase.AddCommunicationToCaseResponse
instance GHC.Show.Show Amazonka.Support.AddCommunicationToCase.AddCommunicationToCaseResponse
instance GHC.Read.Read Amazonka.Support.AddCommunicationToCase.AddCommunicationToCaseResponse
instance GHC.Classes.Eq Amazonka.Support.AddCommunicationToCase.AddCommunicationToCaseResponse
instance Amazonka.Types.AWSRequest Amazonka.Support.AddCommunicationToCase.AddCommunicationToCase
instance Control.DeepSeq.NFData Amazonka.Support.AddCommunicationToCase.AddCommunicationToCaseResponse
instance Data.Hashable.Class.Hashable Amazonka.Support.AddCommunicationToCase.AddCommunicationToCase
instance Control.DeepSeq.NFData Amazonka.Support.AddCommunicationToCase.AddCommunicationToCase
instance Amazonka.Data.Headers.ToHeaders Amazonka.Support.AddCommunicationToCase.AddCommunicationToCase
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Support.AddCommunicationToCase.AddCommunicationToCase
instance Amazonka.Data.Path.ToPath Amazonka.Support.AddCommunicationToCase.AddCommunicationToCase
instance Amazonka.Data.Query.ToQuery Amazonka.Support.AddCommunicationToCase.AddCommunicationToCase
-- | Adds one or more attachments to an attachment set.
--
-- An attachment set is a temporary container for attachments that you
-- add to a case or case communication. The set is available for 1 hour
-- after it's created. The expiryTime returned in the response
-- is when the set expires.
--
--
-- - You must have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan to use the Amazon Web Services Support API.
-- - If you call the Amazon Web Services Support API from an account
-- that doesn't have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan, the SubscriptionRequiredException error message
-- appears. For information about changing your support plan, see
-- Amazon Web Services Support.
--
module Amazonka.Support.AddAttachmentsToSet
-- | See: newAddAttachmentsToSet smart constructor.
data AddAttachmentsToSet
AddAttachmentsToSet' :: Maybe Text -> [Attachment] -> AddAttachmentsToSet
-- | The ID of the attachment set. If an attachmentSetId is not
-- specified, a new attachment set is created, and the ID of the set is
-- returned in the response. If an attachmentSetId is specified,
-- the attachments are added to the specified set, if it exists.
[$sel:attachmentSetId:AddAttachmentsToSet'] :: AddAttachmentsToSet -> Maybe Text
-- | One or more attachments to add to the set. You can add up to three
-- attachments per set. The size limit is 5 MB per attachment.
--
-- In the Attachment object, use the data parameter to
-- specify the contents of the attachment file. In the previous request
-- syntax, the value for data appear as blob, which is
-- represented as a base64-encoded string. The value for
-- fileName is the name of the attachment, such as
-- troubleshoot-screenshot.png.
[$sel:attachments:AddAttachmentsToSet'] :: AddAttachmentsToSet -> [Attachment]
-- | Create a value of AddAttachmentsToSet 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:
--
-- AddAttachmentsToSet, addAttachmentsToSet_attachmentSetId
-- - The ID of the attachment set. If an attachmentSetId is not
-- specified, a new attachment set is created, and the ID of the set is
-- returned in the response. If an attachmentSetId is specified,
-- the attachments are added to the specified set, if it exists.
--
-- $sel:attachments:AddAttachmentsToSet',
-- addAttachmentsToSet_attachments - One or more attachments to
-- add to the set. You can add up to three attachments per set. The size
-- limit is 5 MB per attachment.
--
-- In the Attachment object, use the data parameter to
-- specify the contents of the attachment file. In the previous request
-- syntax, the value for data appear as blob, which is
-- represented as a base64-encoded string. The value for
-- fileName is the name of the attachment, such as
-- troubleshoot-screenshot.png.
newAddAttachmentsToSet :: AddAttachmentsToSet
-- | The ID of the attachment set. If an attachmentSetId is not
-- specified, a new attachment set is created, and the ID of the set is
-- returned in the response. If an attachmentSetId is specified,
-- the attachments are added to the specified set, if it exists.
addAttachmentsToSet_attachmentSetId :: Lens' AddAttachmentsToSet (Maybe Text)
-- | One or more attachments to add to the set. You can add up to three
-- attachments per set. The size limit is 5 MB per attachment.
--
-- In the Attachment object, use the data parameter to
-- specify the contents of the attachment file. In the previous request
-- syntax, the value for data appear as blob, which is
-- represented as a base64-encoded string. The value for
-- fileName is the name of the attachment, such as
-- troubleshoot-screenshot.png.
addAttachmentsToSet_attachments :: Lens' AddAttachmentsToSet [Attachment]
-- | The ID and expiry time of the attachment set returned by the
-- AddAttachmentsToSet operation.
--
-- See: newAddAttachmentsToSetResponse smart constructor.
data AddAttachmentsToSetResponse
AddAttachmentsToSetResponse' :: Maybe Text -> Maybe Text -> Int -> AddAttachmentsToSetResponse
-- | The ID of the attachment set. If an attachmentSetId was not
-- specified, a new attachment set is created, and the ID of the set is
-- returned in the response. If an attachmentSetId was
-- specified, the attachments are added to the specified set, if it
-- exists.
[$sel:attachmentSetId:AddAttachmentsToSetResponse'] :: AddAttachmentsToSetResponse -> Maybe Text
-- | The time and date when the attachment set expires.
[$sel:expiryTime:AddAttachmentsToSetResponse'] :: AddAttachmentsToSetResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:AddAttachmentsToSetResponse'] :: AddAttachmentsToSetResponse -> Int
-- | Create a value of AddAttachmentsToSetResponse 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:
--
-- AddAttachmentsToSet,
-- addAttachmentsToSetResponse_attachmentSetId - The ID of the
-- attachment set. If an attachmentSetId was not specified, a
-- new attachment set is created, and the ID of the set is returned in
-- the response. If an attachmentSetId was specified, the
-- attachments are added to the specified set, if it exists.
--
-- $sel:expiryTime:AddAttachmentsToSetResponse',
-- addAttachmentsToSetResponse_expiryTime - The time and date when
-- the attachment set expires.
--
-- $sel:httpStatus:AddAttachmentsToSetResponse',
-- addAttachmentsToSetResponse_httpStatus - The response's http
-- status code.
newAddAttachmentsToSetResponse :: Int -> AddAttachmentsToSetResponse
-- | The ID of the attachment set. If an attachmentSetId was not
-- specified, a new attachment set is created, and the ID of the set is
-- returned in the response. If an attachmentSetId was
-- specified, the attachments are added to the specified set, if it
-- exists.
addAttachmentsToSetResponse_attachmentSetId :: Lens' AddAttachmentsToSetResponse (Maybe Text)
-- | The time and date when the attachment set expires.
addAttachmentsToSetResponse_expiryTime :: Lens' AddAttachmentsToSetResponse (Maybe Text)
-- | The response's http status code.
addAttachmentsToSetResponse_httpStatus :: Lens' AddAttachmentsToSetResponse Int
instance GHC.Generics.Generic Amazonka.Support.AddAttachmentsToSet.AddAttachmentsToSet
instance GHC.Show.Show Amazonka.Support.AddAttachmentsToSet.AddAttachmentsToSet
instance GHC.Read.Read Amazonka.Support.AddAttachmentsToSet.AddAttachmentsToSet
instance GHC.Classes.Eq Amazonka.Support.AddAttachmentsToSet.AddAttachmentsToSet
instance GHC.Generics.Generic Amazonka.Support.AddAttachmentsToSet.AddAttachmentsToSetResponse
instance GHC.Show.Show Amazonka.Support.AddAttachmentsToSet.AddAttachmentsToSetResponse
instance GHC.Read.Read Amazonka.Support.AddAttachmentsToSet.AddAttachmentsToSetResponse
instance GHC.Classes.Eq Amazonka.Support.AddAttachmentsToSet.AddAttachmentsToSetResponse
instance Amazonka.Types.AWSRequest Amazonka.Support.AddAttachmentsToSet.AddAttachmentsToSet
instance Control.DeepSeq.NFData Amazonka.Support.AddAttachmentsToSet.AddAttachmentsToSetResponse
instance Data.Hashable.Class.Hashable Amazonka.Support.AddAttachmentsToSet.AddAttachmentsToSet
instance Control.DeepSeq.NFData Amazonka.Support.AddAttachmentsToSet.AddAttachmentsToSet
instance Amazonka.Data.Headers.ToHeaders Amazonka.Support.AddAttachmentsToSet.AddAttachmentsToSet
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Support.AddAttachmentsToSet.AddAttachmentsToSet
instance Amazonka.Data.Path.ToPath Amazonka.Support.AddAttachmentsToSet.AddAttachmentsToSet
instance Amazonka.Data.Query.ToQuery Amazonka.Support.AddAttachmentsToSet.AddAttachmentsToSet
module Amazonka.Support.Lens
-- | The ID of the attachment set. If an attachmentSetId is not
-- specified, a new attachment set is created, and the ID of the set is
-- returned in the response. If an attachmentSetId is specified,
-- the attachments are added to the specified set, if it exists.
addAttachmentsToSet_attachmentSetId :: Lens' AddAttachmentsToSet (Maybe Text)
-- | One or more attachments to add to the set. You can add up to three
-- attachments per set. The size limit is 5 MB per attachment.
--
-- In the Attachment object, use the data parameter to
-- specify the contents of the attachment file. In the previous request
-- syntax, the value for data appear as blob, which is
-- represented as a base64-encoded string. The value for
-- fileName is the name of the attachment, such as
-- troubleshoot-screenshot.png.
addAttachmentsToSet_attachments :: Lens' AddAttachmentsToSet [Attachment]
-- | The ID of the attachment set. If an attachmentSetId was not
-- specified, a new attachment set is created, and the ID of the set is
-- returned in the response. If an attachmentSetId was
-- specified, the attachments are added to the specified set, if it
-- exists.
addAttachmentsToSetResponse_attachmentSetId :: Lens' AddAttachmentsToSetResponse (Maybe Text)
-- | The time and date when the attachment set expires.
addAttachmentsToSetResponse_expiryTime :: Lens' AddAttachmentsToSetResponse (Maybe Text)
-- | The response's http status code.
addAttachmentsToSetResponse_httpStatus :: Lens' AddAttachmentsToSetResponse Int
-- | The ID of a set of one or more attachments for the communication to
-- add to the case. Create the set by calling AddAttachmentsToSet
addCommunicationToCase_attachmentSetId :: Lens' AddCommunicationToCase (Maybe Text)
-- | 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
addCommunicationToCase_caseId :: Lens' AddCommunicationToCase (Maybe Text)
-- | The email addresses in the CC line of an email to be added to the
-- support case.
addCommunicationToCase_ccEmailAddresses :: Lens' AddCommunicationToCase (Maybe [Text])
-- | The body of an email communication to add to the support case.
addCommunicationToCase_communicationBody :: Lens' AddCommunicationToCase Text
-- | True if AddCommunicationToCase succeeds. Otherwise, returns an error.
addCommunicationToCaseResponse_result :: Lens' AddCommunicationToCaseResponse (Maybe Bool)
-- | The response's http status code.
addCommunicationToCaseResponse_httpStatus :: Lens' AddCommunicationToCaseResponse Int
-- | The ID of a set of one or more attachments for the case. Create the
-- set by using the AddAttachmentsToSet operation.
createCase_attachmentSetId :: Lens' CreateCase (Maybe Text)
-- | The category of problem for the support case. You also use the
-- DescribeServices operation to get the category code for a service.
-- Each Amazon Web Services service defines its own set of category
-- codes.
createCase_categoryCode :: Lens' CreateCase (Maybe Text)
-- | A list of email addresses that Amazon Web Services Support copies on
-- case correspondence. Amazon Web Services Support identifies the
-- account that creates the case when you specify your Amazon Web
-- Services credentials in an HTTP POST method or use the Amazon Web
-- Services SDKs.
createCase_ccEmailAddresses :: Lens' CreateCase (Maybe [Text])
-- | The type of issue for the case. You can specify
-- customer-service or technical. If you don't specify
-- a value, the default is technical.
createCase_issueType :: Lens' CreateCase (Maybe Text)
-- | The language in which Amazon Web Services Support handles the case.
-- Amazon Web Services Support currently supports English ("en") and
-- Japanese ("ja"). You must specify the ISO 639-1 code for the
-- language parameter if you want support in that language.
createCase_language :: Lens' CreateCase (Maybe Text)
-- | The code for the Amazon Web Services service. You can use the
-- DescribeServices operation to get the possible serviceCode
-- values.
createCase_serviceCode :: Lens' CreateCase (Maybe Text)
-- | A value that indicates the urgency of the case. This value determines
-- the response time according to your service level agreement with
-- Amazon Web Services Support. You can use the DescribeSeverityLevels
-- operation to get the possible values for severityCode.
--
-- For more information, see SeverityLevel and Choosing a Severity
-- in the Amazon Web Services Support User Guide.
--
-- The availability of severity levels depends on the support plan for
-- the Amazon Web Services account.
createCase_severityCode :: Lens' CreateCase (Maybe Text)
-- | The title of the support case. The title appears in the Subject
-- field on the Amazon Web Services Support Center Create Case
-- page.
createCase_subject :: Lens' CreateCase Text
-- | The communication body text that describes the issue. This text
-- appears in the Description field on the Amazon Web Services
-- Support Center Create Case page.
createCase_communicationBody :: Lens' CreateCase Text
-- | The support case ID requested or returned in the call. The case ID is
-- an alphanumeric string in the following format:
-- case-12345678910-2013-c4c1d2bf33c5cf47
createCaseResponse_caseId :: Lens' CreateCaseResponse (Maybe Text)
-- | The response's http status code.
createCaseResponse_httpStatus :: Lens' CreateCaseResponse Int
-- | The ID of the attachment to return. Attachment IDs are returned by the
-- DescribeCommunications operation.
describeAttachment_attachmentId :: Lens' DescribeAttachment Text
-- | This object includes the attachment content and file name.
--
-- In the previous response syntax, the value for the data
-- parameter appears as blob, which is represented as a
-- base64-encoded string. The value for fileName is the name of
-- the attachment, such as troubleshoot-screenshot.png.
describeAttachmentResponse_attachment :: Lens' DescribeAttachmentResponse (Maybe Attachment)
-- | The response's http status code.
describeAttachmentResponse_httpStatus :: Lens' DescribeAttachmentResponse Int
-- | The start date for a filtered date search on support case
-- communications. Case communications are available for 12 months after
-- creation.
describeCases_afterTime :: Lens' DescribeCases (Maybe Text)
-- | The end date for a filtered date search on support case
-- communications. Case communications are available for 12 months after
-- creation.
describeCases_beforeTime :: Lens' DescribeCases (Maybe Text)
-- | A list of ID numbers of the support cases you want returned. The
-- maximum number of cases is 100.
describeCases_caseIdList :: Lens' DescribeCases (Maybe [Text])
-- | The ID displayed for a case in the Amazon Web Services Support Center
-- user interface.
describeCases_displayId :: Lens' DescribeCases (Maybe Text)
-- | Specifies whether to include communications in the
-- DescribeCases response. By default, communications are
-- included.
describeCases_includeCommunications :: Lens' DescribeCases (Maybe Bool)
-- | Specifies whether to include resolved support cases in the
-- DescribeCases response. By default, resolved cases aren't
-- included.
describeCases_includeResolvedCases :: Lens' DescribeCases (Maybe Bool)
-- | The language in which Amazon Web Services Support handles the case.
-- Amazon Web Services Support currently supports English ("en") and
-- Japanese ("ja"). You must specify the ISO 639-1 code for the
-- language parameter if you want support in that language.
describeCases_language :: Lens' DescribeCases (Maybe Text)
-- | The maximum number of results to return before paginating.
describeCases_maxResults :: Lens' DescribeCases (Maybe Natural)
-- | A resumption point for pagination.
describeCases_nextToken :: Lens' DescribeCases (Maybe Text)
-- | The details for the cases that match the request.
describeCasesResponse_cases :: Lens' DescribeCasesResponse (Maybe [CaseDetails])
-- | A resumption point for pagination.
describeCasesResponse_nextToken :: Lens' DescribeCasesResponse (Maybe Text)
-- | The response's http status code.
describeCasesResponse_httpStatus :: Lens' DescribeCasesResponse Int
-- | The start date for a filtered date search on support case
-- communications. Case communications are available for 12 months after
-- creation.
describeCommunications_afterTime :: Lens' DescribeCommunications (Maybe Text)
-- | The end date for a filtered date search on support case
-- communications. Case communications are available for 12 months after
-- creation.
describeCommunications_beforeTime :: Lens' DescribeCommunications (Maybe Text)
-- | The maximum number of results to return before paginating.
describeCommunications_maxResults :: Lens' DescribeCommunications (Maybe Natural)
-- | A resumption point for pagination.
describeCommunications_nextToken :: Lens' DescribeCommunications (Maybe Text)
-- | 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
describeCommunications_caseId :: Lens' DescribeCommunications Text
-- | The communications for the case.
describeCommunicationsResponse_communications :: Lens' DescribeCommunicationsResponse (Maybe [Communication])
-- | A resumption point for pagination.
describeCommunicationsResponse_nextToken :: Lens' DescribeCommunicationsResponse (Maybe Text)
-- | The response's http status code.
describeCommunicationsResponse_httpStatus :: Lens' DescribeCommunicationsResponse Int
-- | The language in which Amazon Web Services Support handles the case.
-- Amazon Web Services Support currently supports English ("en") and
-- Japanese ("ja"). You must specify the ISO 639-1 code for the
-- language parameter if you want support in that language.
describeServices_language :: Lens' DescribeServices (Maybe Text)
-- | A JSON-formatted list of service codes available for Amazon Web
-- Services services.
describeServices_serviceCodeList :: Lens' DescribeServices (Maybe [Text])
-- | A JSON-formatted list of Amazon Web Services services.
describeServicesResponse_services :: Lens' DescribeServicesResponse (Maybe [SupportService])
-- | The response's http status code.
describeServicesResponse_httpStatus :: Lens' DescribeServicesResponse Int
-- | The language in which Amazon Web Services Support handles the case.
-- Amazon Web Services Support currently supports English ("en") and
-- Japanese ("ja"). You must specify the ISO 639-1 code for the
-- language parameter if you want support in that language.
describeSeverityLevels_language :: Lens' DescribeSeverityLevels (Maybe Text)
-- | The available severity levels for the support case. Available severity
-- levels are defined by your service level agreement with Amazon Web
-- Services.
describeSeverityLevelsResponse_severityLevels :: Lens' DescribeSeverityLevelsResponse (Maybe [SeverityLevel])
-- | The response's http status code.
describeSeverityLevelsResponse_httpStatus :: Lens' DescribeSeverityLevelsResponse Int
-- | The IDs of the Trusted Advisor checks to get the status.
--
-- If you specify the check ID of a check that is automatically
-- refreshed, you might see an InvalidParameterValue error.
describeTrustedAdvisorCheckRefreshStatuses_checkIds :: Lens' DescribeTrustedAdvisorCheckRefreshStatuses [Text]
-- | The response's http status code.
describeTrustedAdvisorCheckRefreshStatusesResponse_httpStatus :: Lens' DescribeTrustedAdvisorCheckRefreshStatusesResponse Int
-- | The refresh status of the specified Trusted Advisor checks.
describeTrustedAdvisorCheckRefreshStatusesResponse_statuses :: Lens' DescribeTrustedAdvisorCheckRefreshStatusesResponse [TrustedAdvisorCheckRefreshStatus]
-- | The ISO 639-1 code for the language that you want your check results
-- to appear in.
--
-- The Amazon Web Services Support API currently supports the following
-- languages for Trusted Advisor:
--
--
-- - Chinese, Simplified - zh
-- - Chinese, Traditional - zh_TW
-- - English - en
-- - French - fr
-- - German - de
-- - Indonesian - id
-- - Italian - it
-- - Japanese - ja
-- - Korean - ko
-- - Portuguese, Brazilian - pt_BR
-- - Spanish - es
--
describeTrustedAdvisorCheckResult_language :: Lens' DescribeTrustedAdvisorCheckResult (Maybe Text)
-- | The unique identifier for the Trusted Advisor check.
describeTrustedAdvisorCheckResult_checkId :: Lens' DescribeTrustedAdvisorCheckResult Text
-- | The detailed results of the Trusted Advisor check.
describeTrustedAdvisorCheckResultResponse_result :: Lens' DescribeTrustedAdvisorCheckResultResponse (Maybe TrustedAdvisorCheckResult)
-- | The response's http status code.
describeTrustedAdvisorCheckResultResponse_httpStatus :: Lens' DescribeTrustedAdvisorCheckResultResponse Int
-- | The IDs of the Trusted Advisor checks.
describeTrustedAdvisorCheckSummaries_checkIds :: Lens' DescribeTrustedAdvisorCheckSummaries [Text]
-- | The response's http status code.
describeTrustedAdvisorCheckSummariesResponse_httpStatus :: Lens' DescribeTrustedAdvisorCheckSummariesResponse Int
-- | The summary information for the requested Trusted Advisor checks.
describeTrustedAdvisorCheckSummariesResponse_summaries :: Lens' DescribeTrustedAdvisorCheckSummariesResponse [TrustedAdvisorCheckSummary]
-- | The ISO 639-1 code for the language that you want your checks to
-- appear in.
--
-- The Amazon Web Services Support API currently supports the following
-- languages for Trusted Advisor:
--
--
-- - Chinese, Simplified - zh
-- - Chinese, Traditional - zh_TW
-- - English - en
-- - French - fr
-- - German - de
-- - Indonesian - id
-- - Italian - it
-- - Japanese - ja
-- - Korean - ko
-- - Portuguese, Brazilian - pt_BR
-- - Spanish - es
--
describeTrustedAdvisorChecks_language :: Lens' DescribeTrustedAdvisorChecks Text
-- | The response's http status code.
describeTrustedAdvisorChecksResponse_httpStatus :: Lens' DescribeTrustedAdvisorChecksResponse Int
-- | Information about all available Trusted Advisor checks.
describeTrustedAdvisorChecksResponse_checks :: Lens' DescribeTrustedAdvisorChecksResponse [TrustedAdvisorCheckDescription]
-- | The unique identifier for the Trusted Advisor check to refresh.
--
-- Specifying the check ID of a check that is automatically refreshed
-- causes an InvalidParameterValue error.
refreshTrustedAdvisorCheck_checkId :: Lens' RefreshTrustedAdvisorCheck Text
-- | The response's http status code.
refreshTrustedAdvisorCheckResponse_httpStatus :: Lens' RefreshTrustedAdvisorCheckResponse Int
-- | The current refresh status for a check, including the amount of time
-- until the check is eligible for refresh.
refreshTrustedAdvisorCheckResponse_status :: Lens' RefreshTrustedAdvisorCheckResponse TrustedAdvisorCheckRefreshStatus
-- | 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
resolveCase_caseId :: Lens' ResolveCase (Maybe Text)
-- | The status of the case after the ResolveCase request was processed.
resolveCaseResponse_finalCaseStatus :: Lens' ResolveCaseResponse (Maybe Text)
-- | The status of the case when the ResolveCase request was sent.
resolveCaseResponse_initialCaseStatus :: Lens' ResolveCaseResponse (Maybe Text)
-- | The response's http status code.
resolveCaseResponse_httpStatus :: Lens' ResolveCaseResponse Int
-- | 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_data :: Lens' Attachment (Maybe ByteString)
-- | The name of the attachment file.
attachment_fileName :: Lens' Attachment (Maybe Text)
-- | The ID of the attachment.
attachmentDetails_attachmentId :: Lens' AttachmentDetails (Maybe Text)
-- | The file name of the attachment.
attachmentDetails_fileName :: Lens' AttachmentDetails (Maybe Text)
-- | 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_caseId :: Lens' CaseDetails (Maybe Text)
-- | The category of problem for the support case.
caseDetails_categoryCode :: Lens' CaseDetails (Maybe Text)
-- | The email addresses that receive copies of communication about the
-- case.
caseDetails_ccEmailAddresses :: Lens' CaseDetails (Maybe [Text])
-- | The ID displayed for the case in the Amazon Web Services Support
-- Center. This is a numeric string.
caseDetails_displayId :: Lens' CaseDetails (Maybe Text)
-- | The language in which Amazon Web Services Support handles the case.
-- Amazon Web Services Support currently supports English ("en") and
-- Japanese ("ja"). You must specify the ISO 639-1 code for the
-- language parameter if you want support in that language.
caseDetails_language :: Lens' CaseDetails (Maybe Text)
-- | The five most recent communications between you and Amazon Web
-- Services Support Center, including the IDs of any attachments to the
-- communications. Also includes a nextToken that you can use to
-- retrieve earlier communications.
caseDetails_recentCommunications :: Lens' CaseDetails (Maybe RecentCaseCommunications)
-- | The code for the Amazon Web Services service. You can get a list of
-- codes and the corresponding service names by calling DescribeServices.
caseDetails_serviceCode :: Lens' CaseDetails (Maybe Text)
-- | The code for the severity level returned by the call to
-- DescribeSeverityLevels.
caseDetails_severityCode :: Lens' CaseDetails (Maybe Text)
-- | The status of the case.
--
-- Valid values:
--
--
-- opened
-- pending-customer-action
-- reopened
-- resolved
-- unassigned
-- work-in-progress
--
caseDetails_status :: Lens' CaseDetails (Maybe Text)
-- | The subject line for the case in the Amazon Web Services Support
-- Center.
caseDetails_subject :: Lens' CaseDetails (Maybe Text)
-- | The email address of the account that submitted the case.
caseDetails_submittedBy :: Lens' CaseDetails (Maybe Text)
-- | The time that the case was created in the Amazon Web Services Support
-- Center.
caseDetails_timeCreated :: Lens' CaseDetails (Maybe Text)
-- | The category code for the support case.
category_code :: Lens' Category (Maybe Text)
-- | The category name for the support case.
category_name :: Lens' Category (Maybe Text)
-- | Information about the attachments to the case communication.
communication_attachmentSet :: Lens' Communication (Maybe [AttachmentDetails])
-- | The text of the communication between the customer and Amazon Web
-- Services Support.
communication_body :: Lens' Communication (Maybe Text)
-- | 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_caseId :: Lens' Communication (Maybe Text)
-- | 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 Amazon Web Services
-- Support team display "Amazon Web Services," and don't show an email
-- address.
communication_submittedBy :: Lens' Communication (Maybe Text)
-- | The time the communication was created.
communication_timeCreated :: Lens' Communication (Maybe Text)
-- | The five most recent communications associated with the case.
recentCaseCommunications_communications :: Lens' RecentCaseCommunications (Maybe [Communication])
-- | A resumption point for pagination.
recentCaseCommunications_nextToken :: Lens' RecentCaseCommunications (Maybe Text)
-- | The code for case severity level.
--
-- Valid values: low | normal | high |
-- urgent | critical
severityLevel_code :: Lens' SeverityLevel (Maybe Text)
-- | 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 Amazon Web Services 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 guidance
-- - normal - System impaired
-- - high - Production system impaired
-- - urgent - Production system down
-- - critical - Business-critical system down
--
--
-- For more information, see Choosing a severity in the Amazon
-- Web Services Support User Guide.
severityLevel_name :: Lens' SeverityLevel (Maybe Text)
-- | 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 Amazon Web Services Support
-- when you call CreateCase.
supportService_categories :: Lens' SupportService (Maybe [Category])
-- | The code for an Amazon Web Services service returned by the
-- DescribeServices response. The name element contains the
-- corresponding friendly name.
supportService_code :: Lens' SupportService (Maybe Text)
-- | The friendly name for an Amazon Web Services service. The
-- code element contains the corresponding code.
supportService_name :: Lens' SupportService (Maybe Text)
-- | The summary information about cost savings for a Trusted Advisor check
-- that is in the Cost Optimizing category.
trustedAdvisorCategorySpecificSummary_costOptimizing :: Lens' TrustedAdvisorCategorySpecificSummary (Maybe TrustedAdvisorCostOptimizingSummary)
-- | The unique identifier for the Trusted Advisor check.
trustedAdvisorCheckDescription_id :: Lens' TrustedAdvisorCheckDescription Text
-- | The display name for the Trusted Advisor check.
trustedAdvisorCheckDescription_name :: Lens' TrustedAdvisorCheckDescription Text
-- | The description of the Trusted Advisor check, which includes the alert
-- criteria and recommended operations (contains HTML markup).
trustedAdvisorCheckDescription_description :: Lens' TrustedAdvisorCheckDescription Text
-- | The category of the Trusted Advisor check.
trustedAdvisorCheckDescription_category :: Lens' TrustedAdvisorCheckDescription Text
-- | 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_metadata :: Lens' TrustedAdvisorCheckDescription [Text]
-- | The unique identifier for the Trusted Advisor check.
trustedAdvisorCheckRefreshStatus_checkId :: Lens' TrustedAdvisorCheckRefreshStatus Text
-- | 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 timeout
-- - enqueued - The check refresh requests has entered the
-- refresh queue
-- - processing - The check refresh request is picked up by
-- the rule processing engine
-- - success - The check is successfully refreshed
-- - abandoned - The check refresh has failed
--
trustedAdvisorCheckRefreshStatus_status :: Lens' TrustedAdvisorCheckRefreshStatus Text
-- | The amount of time, in milliseconds, until the Trusted Advisor check
-- is eligible for refresh.
trustedAdvisorCheckRefreshStatus_millisUntilNextRefreshable :: Lens' TrustedAdvisorCheckRefreshStatus Integer
-- | The unique identifier for the Trusted Advisor check.
trustedAdvisorCheckResult_checkId :: Lens' TrustedAdvisorCheckResult Text
-- | The time of the last refresh of the check.
trustedAdvisorCheckResult_timestamp :: Lens' TrustedAdvisorCheckResult Text
-- | The alert status of the check: "ok" (green), "warning" (yellow),
-- "error" (red), or "not_available".
trustedAdvisorCheckResult_status :: Lens' TrustedAdvisorCheckResult Text
-- | Undocumented member.
trustedAdvisorCheckResult_resourcesSummary :: Lens' TrustedAdvisorCheckResult TrustedAdvisorResourcesSummary
-- | Summary information that relates to the category of the check. Cost
-- Optimizing is the only category that is currently supported.
trustedAdvisorCheckResult_categorySpecificSummary :: Lens' TrustedAdvisorCheckResult TrustedAdvisorCategorySpecificSummary
-- | The details about each resource listed in the check result.
trustedAdvisorCheckResult_flaggedResources :: Lens' TrustedAdvisorCheckResult [TrustedAdvisorResourceDetail]
-- | Specifies whether the Trusted Advisor check has flagged resources.
trustedAdvisorCheckSummary_hasFlaggedResources :: Lens' TrustedAdvisorCheckSummary (Maybe Bool)
-- | The unique identifier for the Trusted Advisor check.
trustedAdvisorCheckSummary_checkId :: Lens' TrustedAdvisorCheckSummary Text
-- | The time of the last refresh of the check.
trustedAdvisorCheckSummary_timestamp :: Lens' TrustedAdvisorCheckSummary Text
-- | The alert status of the check: "ok" (green), "warning" (yellow),
-- "error" (red), or "not_available".
trustedAdvisorCheckSummary_status :: Lens' TrustedAdvisorCheckSummary Text
-- | Undocumented member.
trustedAdvisorCheckSummary_resourcesSummary :: Lens' TrustedAdvisorCheckSummary TrustedAdvisorResourcesSummary
-- | Summary information that relates to the category of the check. Cost
-- Optimizing is the only category that is currently supported.
trustedAdvisorCheckSummary_categorySpecificSummary :: Lens' TrustedAdvisorCheckSummary TrustedAdvisorCategorySpecificSummary
-- | The estimated monthly savings that might be realized if the
-- recommended operations are taken.
trustedAdvisorCostOptimizingSummary_estimatedMonthlySavings :: Lens' TrustedAdvisorCostOptimizingSummary Double
-- | The estimated percentage of savings that might be realized if the
-- recommended operations are taken.
trustedAdvisorCostOptimizingSummary_estimatedPercentMonthlySavings :: Lens' TrustedAdvisorCostOptimizingSummary Double
-- | Specifies whether the Amazon Web Services resource was ignored by
-- Trusted Advisor because it was marked as suppressed by the user.
trustedAdvisorResourceDetail_isSuppressed :: Lens' TrustedAdvisorResourceDetail (Maybe Bool)
-- | The Amazon Web Services Region in which the identified resource is
-- located.
trustedAdvisorResourceDetail_region :: Lens' TrustedAdvisorResourceDetail (Maybe Text)
-- | The status code for the resource identified in the Trusted Advisor
-- check.
trustedAdvisorResourceDetail_status :: Lens' TrustedAdvisorResourceDetail Text
-- | The unique identifier for the identified resource.
trustedAdvisorResourceDetail_resourceId :: Lens' TrustedAdvisorResourceDetail Text
-- | 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_metadata :: Lens' TrustedAdvisorResourceDetail [Text]
-- | The number of Amazon Web Services resources that were analyzed by the
-- Trusted Advisor check.
trustedAdvisorResourcesSummary_resourcesProcessed :: Lens' TrustedAdvisorResourcesSummary Integer
-- | The number of Amazon Web Services resources that were flagged (listed)
-- by the Trusted Advisor check.
trustedAdvisorResourcesSummary_resourcesFlagged :: Lens' TrustedAdvisorResourcesSummary Integer
-- | The number of Amazon Web Services resources ignored by Trusted Advisor
-- because information was unavailable.
trustedAdvisorResourcesSummary_resourcesIgnored :: Lens' TrustedAdvisorResourcesSummary Integer
-- | The number of Amazon Web Services resources ignored by Trusted Advisor
-- because they were marked as suppressed by the user.
trustedAdvisorResourcesSummary_resourcesSuppressed :: Lens' TrustedAdvisorResourcesSummary Integer
module Amazonka.Support.Waiters
-- | Derived from API version 2013-04-15 of the AWS service
-- descriptions, licensed under Apache 2.0.
--
-- Amazon Web Services Support
--
-- The Amazon Web Services Support API Reference is intended for
-- programmers who need detailed information about the Amazon Web
-- Services Support operations and data types. You can use the API to
-- manage your support cases programmatically. The Amazon Web Services
-- Support API uses HTTP methods that return results in JSON format.
--
--
-- - You must have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan to use the Amazon Web Services Support API.
-- - If you call the Amazon Web Services Support API from an account
-- that doesn't have a Business, Enterprise On-Ramp, or Enterprise
-- Support plan, the SubscriptionRequiredException error message
-- appears. For information about changing your support plan, see
-- Amazon Web Services Support.
--
--
-- You can also use the Amazon Web Services Support API to access
-- features for Trusted Advisor. You can return a list of checks
-- and their descriptions, get check results, specify checks to refresh,
-- and get the refresh status of checks.
--
-- You can manage your support cases with the following Amazon Web
-- Services Support API operations:
--
--
-- - The CreateCase, DescribeCases, DescribeAttachment, and ResolveCase
-- operations create Amazon Web Services Support cases, retrieve
-- information about cases, and resolve cases.
-- - The DescribeCommunications, AddCommunicationToCase, and
-- AddAttachmentsToSet operations retrieve and add communications and
-- attachments to Amazon Web Services Support cases.
-- - The DescribeServices and DescribeSeverityLevels operations return
-- Amazon Web Service names, service codes, service categories, and
-- problem severity levels. You use these values when you call the
-- CreateCase operation.
--
--
-- You can also use the Amazon Web Services Support API to call the
-- Trusted Advisor operations. For more information, see Trusted
-- Advisor in the /Amazon Web Services Support User Guide/.
--
-- For authentication of requests, Amazon Web Services Support uses
-- Signature Version 4 Signing Process.
--
-- For more information about this service and the endpoints to use, see
-- About the Amazon Web Services Support API in the Amazon Web
-- Services Support User Guide.
module Amazonka.Support
-- | API version 2013-04-15 of the Amazon Support SDK
-- configuration.
defaultService :: Service
-- | An attachment with the specified ID could not be found.
_AttachmentIdNotFound :: AsError a => Fold a ServiceError
-- | The limit for the number of attachment sets created in a short period
-- of time has been exceeded.
_AttachmentLimitExceeded :: AsError a => Fold a ServiceError
-- | The expiration time of the attachment set has passed. The set expires
-- 1 hour after it is created.
_AttachmentSetExpired :: AsError a => Fold a ServiceError
-- | An attachment set with the specified ID could not be found.
_AttachmentSetIdNotFound :: AsError a => Fold a ServiceError
-- | A limit for the size of an attachment set has been exceeded. The
-- limits are three attachments and 5 MB per attachment.
_AttachmentSetSizeLimitExceeded :: AsError a => Fold a ServiceError
-- | The case creation limit for the account has been exceeded.
_CaseCreationLimitExceeded :: AsError a => Fold a ServiceError
-- | The requested caseId couldn't be located.
_CaseIdNotFound :: AsError a => Fold a ServiceError
-- | The limit for the number of DescribeAttachment requests in a short
-- period of time has been exceeded.
_DescribeAttachmentLimitExceeded :: AsError a => Fold a ServiceError
-- | An internal server error occurred.
_InternalServerError :: AsError a => Fold a ServiceError
-- | See: newAddAttachmentsToSet smart constructor.
data AddAttachmentsToSet
AddAttachmentsToSet' :: Maybe Text -> [Attachment] -> AddAttachmentsToSet
-- | Create a value of AddAttachmentsToSet 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:
--
-- AddAttachmentsToSet, addAttachmentsToSet_attachmentSetId
-- - The ID of the attachment set. If an attachmentSetId is not
-- specified, a new attachment set is created, and the ID of the set is
-- returned in the response. If an attachmentSetId is specified,
-- the attachments are added to the specified set, if it exists.
--
-- $sel:attachments:AddAttachmentsToSet',
-- addAttachmentsToSet_attachments - One or more attachments to
-- add to the set. You can add up to three attachments per set. The size
-- limit is 5 MB per attachment.
--
-- In the Attachment object, use the data parameter to
-- specify the contents of the attachment file. In the previous request
-- syntax, the value for data appear as blob, which is
-- represented as a base64-encoded string. The value for
-- fileName is the name of the attachment, such as
-- troubleshoot-screenshot.png.
newAddAttachmentsToSet :: AddAttachmentsToSet
-- | The ID and expiry time of the attachment set returned by the
-- AddAttachmentsToSet operation.
--
-- See: newAddAttachmentsToSetResponse smart constructor.
data AddAttachmentsToSetResponse
AddAttachmentsToSetResponse' :: Maybe Text -> Maybe Text -> Int -> AddAttachmentsToSetResponse
-- | Create a value of AddAttachmentsToSetResponse 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:
--
-- AddAttachmentsToSet,
-- addAttachmentsToSetResponse_attachmentSetId - The ID of the
-- attachment set. If an attachmentSetId was not specified, a
-- new attachment set is created, and the ID of the set is returned in
-- the response. If an attachmentSetId was specified, the
-- attachments are added to the specified set, if it exists.
--
-- $sel:expiryTime:AddAttachmentsToSetResponse',
-- addAttachmentsToSetResponse_expiryTime - The time and date when
-- the attachment set expires.
--
-- $sel:httpStatus:AddAttachmentsToSetResponse',
-- addAttachmentsToSetResponse_httpStatus - The response's http
-- status code.
newAddAttachmentsToSetResponse :: Int -> AddAttachmentsToSetResponse
-- | See: newAddCommunicationToCase smart constructor.
data AddCommunicationToCase
AddCommunicationToCase' :: Maybe Text -> Maybe Text -> Maybe [Text] -> Text -> AddCommunicationToCase
-- | Create a value of AddCommunicationToCase 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:attachmentSetId:AddCommunicationToCase',
-- addCommunicationToCase_attachmentSetId - The ID of a set of one
-- or more attachments for the communication to add to the case. Create
-- the set by calling AddAttachmentsToSet
--
-- AddCommunicationToCase, addCommunicationToCase_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
--
-- AddCommunicationToCase,
-- addCommunicationToCase_ccEmailAddresses - The email addresses
-- in the CC line of an email to be added to the support case.
--
-- $sel:communicationBody:AddCommunicationToCase',
-- addCommunicationToCase_communicationBody - The body of an email
-- communication to add to the support case.
newAddCommunicationToCase :: Text -> AddCommunicationToCase
-- | The result of the AddCommunicationToCase operation.
--
-- See: newAddCommunicationToCaseResponse smart
-- constructor.
data AddCommunicationToCaseResponse
AddCommunicationToCaseResponse' :: Maybe Bool -> Int -> AddCommunicationToCaseResponse
-- | Create a value of AddCommunicationToCaseResponse 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:result:AddCommunicationToCaseResponse',
-- addCommunicationToCaseResponse_result - True if
-- AddCommunicationToCase succeeds. Otherwise, returns an error.
--
-- $sel:httpStatus:AddCommunicationToCaseResponse',
-- addCommunicationToCaseResponse_httpStatus - The response's http
-- status code.
newAddCommunicationToCaseResponse :: Int -> AddCommunicationToCaseResponse
-- | See: newCreateCase smart constructor.
data CreateCase
CreateCase' :: Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Text -> Text -> CreateCase
-- | Create a value of CreateCase 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:attachmentSetId:CreateCase',
-- createCase_attachmentSetId - The ID of a set of one or more
-- attachments for the case. Create the set by using the
-- AddAttachmentsToSet operation.
--
-- CreateCase, createCase_categoryCode - The category of
-- problem for the support case. You also use the DescribeServices
-- operation to get the category code for a service. Each Amazon Web
-- Services service defines its own set of category codes.
--
-- CreateCase, createCase_ccEmailAddresses - A list of
-- email addresses that Amazon Web Services Support copies on case
-- correspondence. Amazon Web Services Support identifies the account
-- that creates the case when you specify your Amazon Web Services
-- credentials in an HTTP POST method or use the Amazon Web Services
-- SDKs.
--
-- $sel:issueType:CreateCase', createCase_issueType - The
-- type of issue for the case. You can specify customer-service
-- or technical. If you don't specify a value, the default is
-- technical.
--
-- CreateCase, createCase_language - The language in which
-- Amazon Web Services Support handles the case. Amazon Web Services
-- Support currently supports English ("en") and Japanese ("ja"). You
-- must specify the ISO 639-1 code for the language parameter if
-- you want support in that language.
--
-- CreateCase, createCase_serviceCode - The code for the
-- Amazon Web Services service. You can use the DescribeServices
-- operation to get the possible serviceCode values.
--
-- CreateCase, createCase_severityCode - A value that
-- indicates the urgency of the case. This value determines the response
-- time according to your service level agreement with Amazon Web
-- Services Support. You can use the DescribeSeverityLevels operation to
-- get the possible values for severityCode.
--
-- For more information, see SeverityLevel and Choosing a Severity
-- in the Amazon Web Services Support User Guide.
--
-- The availability of severity levels depends on the support plan for
-- the Amazon Web Services account.
--
-- CreateCase, createCase_subject - The title of the
-- support case. The title appears in the Subject field on the
-- Amazon Web Services Support Center Create Case page.
--
-- $sel:communicationBody:CreateCase',
-- createCase_communicationBody - The communication body text that
-- describes the issue. This text appears in the Description field
-- on the Amazon Web Services Support Center Create Case page.
newCreateCase :: Text -> Text -> CreateCase
-- | The support case ID returned by a successful completion of the
-- CreateCase operation.
--
-- See: newCreateCaseResponse smart constructor.
data CreateCaseResponse
CreateCaseResponse' :: Maybe Text -> Int -> CreateCaseResponse
-- | Create a value of CreateCaseResponse 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:
--
-- CreateCaseResponse, createCaseResponse_caseId - The
-- support case ID requested or returned in the call. The case ID is an
-- alphanumeric string in the following format:
-- case-12345678910-2013-c4c1d2bf33c5cf47
--
-- $sel:httpStatus:CreateCaseResponse',
-- createCaseResponse_httpStatus - The response's http status
-- code.
newCreateCaseResponse :: Int -> CreateCaseResponse
-- | See: newDescribeAttachment smart constructor.
data DescribeAttachment
DescribeAttachment' :: Text -> DescribeAttachment
-- | Create a value of DescribeAttachment 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:
--
-- DescribeAttachment, describeAttachment_attachmentId -
-- The ID of the attachment to return. Attachment IDs are returned by the
-- DescribeCommunications operation.
newDescribeAttachment :: Text -> DescribeAttachment
-- | The content and file name of the attachment returned by the
-- DescribeAttachment operation.
--
-- See: newDescribeAttachmentResponse smart constructor.
data DescribeAttachmentResponse
DescribeAttachmentResponse' :: Maybe Attachment -> Int -> DescribeAttachmentResponse
-- | Create a value of DescribeAttachmentResponse 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:attachment:DescribeAttachmentResponse',
-- describeAttachmentResponse_attachment - This object includes
-- the attachment content and file name.
--
-- In the previous response syntax, the value for the data
-- parameter appears as blob, which is represented as a
-- base64-encoded string. The value for fileName is the name of
-- the attachment, such as troubleshoot-screenshot.png.
--
-- $sel:httpStatus:DescribeAttachmentResponse',
-- describeAttachmentResponse_httpStatus - The response's http
-- status code.
newDescribeAttachmentResponse :: Int -> DescribeAttachmentResponse
-- | See: newDescribeCases smart constructor.
data DescribeCases
DescribeCases' :: Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Bool -> Maybe Bool -> Maybe Text -> Maybe Natural -> Maybe Text -> DescribeCases
-- | Create a value of DescribeCases 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:afterTime:DescribeCases', describeCases_afterTime -
-- The start date for a filtered date search on support case
-- communications. Case communications are available for 12 months after
-- creation.
--
-- $sel:beforeTime:DescribeCases', describeCases_beforeTime
-- - The end date for a filtered date search on support case
-- communications. Case communications are available for 12 months after
-- creation.
--
-- $sel:caseIdList:DescribeCases', describeCases_caseIdList
-- - A list of ID numbers of the support cases you want returned. The
-- maximum number of cases is 100.
--
-- DescribeCases, describeCases_displayId - The ID
-- displayed for a case in the Amazon Web Services Support Center user
-- interface.
--
-- $sel:includeCommunications:DescribeCases',
-- describeCases_includeCommunications - Specifies whether to
-- include communications in the DescribeCases response. By
-- default, communications are included.
--
-- $sel:includeResolvedCases:DescribeCases',
-- describeCases_includeResolvedCases - Specifies whether to
-- include resolved support cases in the DescribeCases response.
-- By default, resolved cases aren't included.
--
-- DescribeCases, describeCases_language - The language in
-- which Amazon Web Services Support handles the case. Amazon Web
-- Services Support currently supports English ("en") and Japanese
-- ("ja"). You must specify the ISO 639-1 code for the language
-- parameter if you want support in that language.
--
-- $sel:maxResults:DescribeCases', describeCases_maxResults
-- - The maximum number of results to return before paginating.
--
-- DescribeCases, describeCases_nextToken - A resumption
-- point for pagination.
newDescribeCases :: DescribeCases
-- | Returns an array of CaseDetails objects and a
-- nextToken that defines a point for pagination in the result
-- set.
--
-- See: newDescribeCasesResponse smart constructor.
data DescribeCasesResponse
DescribeCasesResponse' :: Maybe [CaseDetails] -> Maybe Text -> Int -> DescribeCasesResponse
-- | Create a value of DescribeCasesResponse 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:cases:DescribeCasesResponse',
-- describeCasesResponse_cases - The details for the cases that
-- match the request.
--
-- DescribeCases, describeCasesResponse_nextToken - A
-- resumption point for pagination.
--
-- $sel:httpStatus:DescribeCasesResponse',
-- describeCasesResponse_httpStatus - The response's http status
-- code.
newDescribeCasesResponse :: Int -> DescribeCasesResponse
-- | See: newDescribeCommunications smart constructor.
data DescribeCommunications
DescribeCommunications' :: Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> Text -> DescribeCommunications
-- | Create a value of DescribeCommunications 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:afterTime:DescribeCommunications',
-- describeCommunications_afterTime - The start date for a
-- filtered date search on support case communications. Case
-- communications are available for 12 months after creation.
--
-- $sel:beforeTime:DescribeCommunications',
-- describeCommunications_beforeTime - The end date for a filtered
-- date search on support case communications. Case communications are
-- available for 12 months after creation.
--
-- $sel:maxResults:DescribeCommunications',
-- describeCommunications_maxResults - The maximum number of
-- results to return before paginating.
--
-- DescribeCommunications, describeCommunications_nextToken
-- - A resumption point for pagination.
--
-- DescribeCommunications, describeCommunications_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
newDescribeCommunications :: Text -> DescribeCommunications
-- | The communications returned by the DescribeCommunications operation.
--
-- See: newDescribeCommunicationsResponse smart
-- constructor.
data DescribeCommunicationsResponse
DescribeCommunicationsResponse' :: Maybe [Communication] -> Maybe Text -> Int -> DescribeCommunicationsResponse
-- | Create a value of DescribeCommunicationsResponse 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:
--
-- DescribeCommunicationsResponse,
-- describeCommunicationsResponse_communications - The
-- communications for the case.
--
-- DescribeCommunications,
-- describeCommunicationsResponse_nextToken - A resumption point
-- for pagination.
--
-- $sel:httpStatus:DescribeCommunicationsResponse',
-- describeCommunicationsResponse_httpStatus - The response's http
-- status code.
newDescribeCommunicationsResponse :: Int -> DescribeCommunicationsResponse
-- | See: newDescribeServices smart constructor.
data DescribeServices
DescribeServices' :: Maybe Text -> Maybe [Text] -> DescribeServices
-- | Create a value of DescribeServices 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:
--
-- DescribeServices, describeServices_language - The
-- language in which Amazon Web Services Support handles the case. Amazon
-- Web Services Support currently supports English ("en") and Japanese
-- ("ja"). You must specify the ISO 639-1 code for the language
-- parameter if you want support in that language.
--
-- $sel:serviceCodeList:DescribeServices',
-- describeServices_serviceCodeList - A JSON-formatted list of
-- service codes available for Amazon Web Services services.
newDescribeServices :: DescribeServices
-- | The list of Amazon Web Services services returned by the
-- DescribeServices operation.
--
-- See: newDescribeServicesResponse smart constructor.
data DescribeServicesResponse
DescribeServicesResponse' :: Maybe [SupportService] -> Int -> DescribeServicesResponse
-- | Create a value of DescribeServicesResponse 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:services:DescribeServicesResponse',
-- describeServicesResponse_services - A JSON-formatted list of
-- Amazon Web Services services.
--
-- $sel:httpStatus:DescribeServicesResponse',
-- describeServicesResponse_httpStatus - The response's http
-- status code.
newDescribeServicesResponse :: Int -> DescribeServicesResponse
-- | See: newDescribeSeverityLevels smart constructor.
data DescribeSeverityLevels
DescribeSeverityLevels' :: Maybe Text -> DescribeSeverityLevels
-- | Create a value of DescribeSeverityLevels 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:
--
-- DescribeSeverityLevels, describeSeverityLevels_language
-- - The language in which Amazon Web Services Support handles the case.
-- Amazon Web Services Support currently supports English ("en") and
-- Japanese ("ja"). You must specify the ISO 639-1 code for the
-- language parameter if you want support in that language.
newDescribeSeverityLevels :: DescribeSeverityLevels
-- | The list of severity levels returned by the DescribeSeverityLevels
-- operation.
--
-- See: newDescribeSeverityLevelsResponse smart
-- constructor.
data DescribeSeverityLevelsResponse
DescribeSeverityLevelsResponse' :: Maybe [SeverityLevel] -> Int -> DescribeSeverityLevelsResponse
-- | Create a value of DescribeSeverityLevelsResponse 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:severityLevels:DescribeSeverityLevelsResponse',
-- describeSeverityLevelsResponse_severityLevels - The available
-- severity levels for the support case. Available severity levels are
-- defined by your service level agreement with Amazon Web Services.
--
-- $sel:httpStatus:DescribeSeverityLevelsResponse',
-- describeSeverityLevelsResponse_httpStatus - The response's http
-- status code.
newDescribeSeverityLevelsResponse :: Int -> DescribeSeverityLevelsResponse
-- | See: newDescribeTrustedAdvisorCheckRefreshStatuses smart
-- constructor.
data DescribeTrustedAdvisorCheckRefreshStatuses
DescribeTrustedAdvisorCheckRefreshStatuses' :: [Text] -> DescribeTrustedAdvisorCheckRefreshStatuses
-- | Create a value of DescribeTrustedAdvisorCheckRefreshStatuses
-- 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:checkIds:DescribeTrustedAdvisorCheckRefreshStatuses',
-- describeTrustedAdvisorCheckRefreshStatuses_checkIds - The IDs
-- of the Trusted Advisor checks to get the status.
--
-- If you specify the check ID of a check that is automatically
-- refreshed, you might see an InvalidParameterValue error.
newDescribeTrustedAdvisorCheckRefreshStatuses :: DescribeTrustedAdvisorCheckRefreshStatuses
-- | The statuses of the Trusted Advisor checks returned by the
-- DescribeTrustedAdvisorCheckRefreshStatuses operation.
--
-- See:
-- newDescribeTrustedAdvisorCheckRefreshStatusesResponse smart
-- constructor.
data DescribeTrustedAdvisorCheckRefreshStatusesResponse
DescribeTrustedAdvisorCheckRefreshStatusesResponse' :: Int -> [TrustedAdvisorCheckRefreshStatus] -> DescribeTrustedAdvisorCheckRefreshStatusesResponse
-- | Create a value of
-- DescribeTrustedAdvisorCheckRefreshStatusesResponse 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:DescribeTrustedAdvisorCheckRefreshStatusesResponse',
-- describeTrustedAdvisorCheckRefreshStatusesResponse_httpStatus -
-- The response's http status code.
--
--
-- $sel:statuses:DescribeTrustedAdvisorCheckRefreshStatusesResponse',
-- describeTrustedAdvisorCheckRefreshStatusesResponse_statuses -
-- The refresh status of the specified Trusted Advisor checks.
newDescribeTrustedAdvisorCheckRefreshStatusesResponse :: Int -> DescribeTrustedAdvisorCheckRefreshStatusesResponse
-- | See: newDescribeTrustedAdvisorCheckResult smart
-- constructor.
data DescribeTrustedAdvisorCheckResult
DescribeTrustedAdvisorCheckResult' :: Maybe Text -> Text -> DescribeTrustedAdvisorCheckResult
-- | Create a value of DescribeTrustedAdvisorCheckResult 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:
--
-- DescribeTrustedAdvisorCheckResult,
-- describeTrustedAdvisorCheckResult_language - The ISO 639-1 code
-- for the language that you want your check results to appear in.
--
-- The Amazon Web Services Support API currently supports the following
-- languages for Trusted Advisor:
--
--
-- - Chinese, Simplified - zh
-- - Chinese, Traditional - zh_TW
-- - English - en
-- - French - fr
-- - German - de
-- - Indonesian - id
-- - Italian - it
-- - Japanese - ja
-- - Korean - ko
-- - Portuguese, Brazilian - pt_BR
-- - Spanish - es
--
--
-- DescribeTrustedAdvisorCheckResult,
-- describeTrustedAdvisorCheckResult_checkId - The unique
-- identifier for the Trusted Advisor check.
newDescribeTrustedAdvisorCheckResult :: Text -> DescribeTrustedAdvisorCheckResult
-- | The result of the Trusted Advisor check returned by the
-- DescribeTrustedAdvisorCheckResult operation.
--
-- See: newDescribeTrustedAdvisorCheckResultResponse smart
-- constructor.
data DescribeTrustedAdvisorCheckResultResponse
DescribeTrustedAdvisorCheckResultResponse' :: Maybe TrustedAdvisorCheckResult -> Int -> DescribeTrustedAdvisorCheckResultResponse
-- | Create a value of DescribeTrustedAdvisorCheckResultResponse
-- 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:result:DescribeTrustedAdvisorCheckResultResponse',
-- describeTrustedAdvisorCheckResultResponse_result - The detailed
-- results of the Trusted Advisor check.
--
-- $sel:httpStatus:DescribeTrustedAdvisorCheckResultResponse',
-- describeTrustedAdvisorCheckResultResponse_httpStatus - The
-- response's http status code.
newDescribeTrustedAdvisorCheckResultResponse :: Int -> DescribeTrustedAdvisorCheckResultResponse
-- | See: newDescribeTrustedAdvisorCheckSummaries smart
-- constructor.
data DescribeTrustedAdvisorCheckSummaries
DescribeTrustedAdvisorCheckSummaries' :: [Text] -> DescribeTrustedAdvisorCheckSummaries
-- | Create a value of DescribeTrustedAdvisorCheckSummaries 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:checkIds:DescribeTrustedAdvisorCheckSummaries',
-- describeTrustedAdvisorCheckSummaries_checkIds - The IDs of the
-- Trusted Advisor checks.
newDescribeTrustedAdvisorCheckSummaries :: DescribeTrustedAdvisorCheckSummaries
-- | The summaries of the Trusted Advisor checks returned by the
-- DescribeTrustedAdvisorCheckSummaries operation.
--
-- See: newDescribeTrustedAdvisorCheckSummariesResponse
-- smart constructor.
data DescribeTrustedAdvisorCheckSummariesResponse
DescribeTrustedAdvisorCheckSummariesResponse' :: Int -> [TrustedAdvisorCheckSummary] -> DescribeTrustedAdvisorCheckSummariesResponse
-- | Create a value of DescribeTrustedAdvisorCheckSummariesResponse
-- 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:DescribeTrustedAdvisorCheckSummariesResponse',
-- describeTrustedAdvisorCheckSummariesResponse_httpStatus - The
-- response's http status code.
--
-- $sel:summaries:DescribeTrustedAdvisorCheckSummariesResponse',
-- describeTrustedAdvisorCheckSummariesResponse_summaries - The
-- summary information for the requested Trusted Advisor checks.
newDescribeTrustedAdvisorCheckSummariesResponse :: Int -> DescribeTrustedAdvisorCheckSummariesResponse
-- | See: newDescribeTrustedAdvisorChecks smart constructor.
data DescribeTrustedAdvisorChecks
DescribeTrustedAdvisorChecks' :: Text -> DescribeTrustedAdvisorChecks
-- | Create a value of DescribeTrustedAdvisorChecks 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:
--
-- DescribeTrustedAdvisorChecks,
-- describeTrustedAdvisorChecks_language - The ISO 639-1 code for
-- the language that you want your checks to appear in.
--
-- The Amazon Web Services Support API currently supports the following
-- languages for Trusted Advisor:
--
--
-- - Chinese, Simplified - zh
-- - Chinese, Traditional - zh_TW
-- - English - en
-- - French - fr
-- - German - de
-- - Indonesian - id
-- - Italian - it
-- - Japanese - ja
-- - Korean - ko
-- - Portuguese, Brazilian - pt_BR
-- - Spanish - es
--
newDescribeTrustedAdvisorChecks :: Text -> DescribeTrustedAdvisorChecks
-- | Information about the Trusted Advisor checks returned by the
-- DescribeTrustedAdvisorChecks operation.
--
-- See: newDescribeTrustedAdvisorChecksResponse smart
-- constructor.
data DescribeTrustedAdvisorChecksResponse
DescribeTrustedAdvisorChecksResponse' :: Int -> [TrustedAdvisorCheckDescription] -> DescribeTrustedAdvisorChecksResponse
-- | Create a value of DescribeTrustedAdvisorChecksResponse 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:DescribeTrustedAdvisorChecksResponse',
-- describeTrustedAdvisorChecksResponse_httpStatus - The
-- response's http status code.
--
-- $sel:checks:DescribeTrustedAdvisorChecksResponse',
-- describeTrustedAdvisorChecksResponse_checks - Information about
-- all available Trusted Advisor checks.
newDescribeTrustedAdvisorChecksResponse :: Int -> DescribeTrustedAdvisorChecksResponse
-- | See: newRefreshTrustedAdvisorCheck smart constructor.
data RefreshTrustedAdvisorCheck
RefreshTrustedAdvisorCheck' :: Text -> RefreshTrustedAdvisorCheck
-- | Create a value of RefreshTrustedAdvisorCheck 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:
--
-- RefreshTrustedAdvisorCheck,
-- refreshTrustedAdvisorCheck_checkId - The unique identifier for
-- the Trusted Advisor check to refresh.
--
-- Specifying the check ID of a check that is automatically refreshed
-- causes an InvalidParameterValue error.
newRefreshTrustedAdvisorCheck :: Text -> RefreshTrustedAdvisorCheck
-- | The current refresh status of a Trusted Advisor check.
--
-- See: newRefreshTrustedAdvisorCheckResponse smart
-- constructor.
data RefreshTrustedAdvisorCheckResponse
RefreshTrustedAdvisorCheckResponse' :: Int -> TrustedAdvisorCheckRefreshStatus -> RefreshTrustedAdvisorCheckResponse
-- | Create a value of RefreshTrustedAdvisorCheckResponse 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:RefreshTrustedAdvisorCheckResponse',
-- refreshTrustedAdvisorCheckResponse_httpStatus - The response's
-- http status code.
--
-- RefreshTrustedAdvisorCheckResponse,
-- refreshTrustedAdvisorCheckResponse_status - The current refresh
-- status for a check, including the amount of time until the check is
-- eligible for refresh.
newRefreshTrustedAdvisorCheckResponse :: Int -> TrustedAdvisorCheckRefreshStatus -> RefreshTrustedAdvisorCheckResponse
-- | See: newResolveCase smart constructor.
data ResolveCase
ResolveCase' :: Maybe Text -> ResolveCase
-- | Create a value of ResolveCase 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:
--
-- ResolveCase, resolveCase_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
newResolveCase :: ResolveCase
-- | The status of the case returned by the ResolveCase operation.
--
-- See: newResolveCaseResponse smart constructor.
data ResolveCaseResponse
ResolveCaseResponse' :: Maybe Text -> Maybe Text -> Int -> ResolveCaseResponse
-- | Create a value of ResolveCaseResponse 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:finalCaseStatus:ResolveCaseResponse',
-- resolveCaseResponse_finalCaseStatus - The status of the case
-- after the ResolveCase request was processed.
--
-- $sel:initialCaseStatus:ResolveCaseResponse',
-- resolveCaseResponse_initialCaseStatus - The status of the case
-- when the ResolveCase request was sent.
--
-- $sel:httpStatus:ResolveCaseResponse',
-- resolveCaseResponse_httpStatus - The response's http status
-- code.
newResolveCaseResponse :: Int -> ResolveCaseResponse
-- | An attachment to a case communication. The attachment consists of the
-- file name and the content of the file.
--
-- See: newAttachment smart constructor.
data Attachment
Attachment' :: Maybe Base64 -> Maybe Text -> Attachment
-- | 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.
newAttachment :: Attachment
-- | 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.
data AttachmentDetails
AttachmentDetails' :: Maybe Text -> Maybe Text -> AttachmentDetails
-- | 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.
newAttachmentDetails :: AttachmentDetails
-- | 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
-- Amazon Web Services Support Center.
-- - language - The language in which Amazon Web Services
-- Support handles the case. Amazon Web Services Support currently
-- supports English ("en") and Japanese ("ja"). You must specify the ISO
-- 639-1 code for the language parameter if you want support in
-- that language.
-- - nextToken - A resumption point for pagination.
-- - recentCommunications - One or more Communication objects.
-- Fields of these objects are attachments, body,
-- caseId, submittedBy, and timeCreated.
-- - serviceCode - The identifier for the Amazon Web Services
-- 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, and
-- critical.
-- - status - The status of the case in the Amazon Web Services
-- 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.
data CaseDetails
CaseDetails' :: Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe RecentCaseCommunications -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> CaseDetails
-- | 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: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:categoryCode:CaseDetails', caseDetails_categoryCode
-- - The category of problem for the support case.
--
-- $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 Amazon Web Services Support Center.
-- This is a numeric string.
--
-- $sel:language:CaseDetails', caseDetails_language - The
-- language in which Amazon Web Services Support handles the case. Amazon
-- Web Services Support currently supports English ("en") and Japanese
-- ("ja"). You must specify the ISO 639-1 code for the language
-- parameter if you want support in that language.
--
-- $sel:recentCommunications:CaseDetails',
-- caseDetails_recentCommunications - The five most recent
-- communications between you and Amazon Web Services Support Center,
-- including the IDs of any attachments to the communications. Also
-- includes a nextToken that you can use to retrieve earlier
-- communications.
--
-- $sel:serviceCode:CaseDetails', caseDetails_serviceCode -
-- The code for the Amazon Web Services service. You can get a list of
-- codes and the corresponding service names by calling DescribeServices.
--
-- $sel:severityCode:CaseDetails', caseDetails_severityCode
-- - The code for the severity level returned by the call to
-- DescribeSeverityLevels.
--
-- $sel:status:CaseDetails', caseDetails_status - The
-- status of the case.
--
-- Valid values:
--
--
-- opened
-- pending-customer-action
-- reopened
-- resolved
-- unassigned
-- work-in-progress
--
--
-- $sel:subject:CaseDetails', caseDetails_subject - The
-- subject line for the case in the Amazon Web Services Support Center.
--
-- $sel:submittedBy:CaseDetails', caseDetails_submittedBy -
-- The email address of the account that submitted the case.
--
-- $sel:timeCreated:CaseDetails', caseDetails_timeCreated -
-- The time that the case was created in the Amazon Web Services Support
-- Center.
newCaseDetails :: CaseDetails
-- | A JSON-formatted name/value pair that represents the category name and
-- category code of the problem, selected from the DescribeServices
-- response for each Amazon Web Services service.
--
-- See: newCategory smart constructor.
data Category
Category' :: Maybe Text -> Maybe Text -> Category
-- | 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:code:Category', category_code - The category code
-- for the support case.
--
-- $sel:name:Category', category_name - The category name
-- for the support case.
newCategory :: Category
-- | 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.
data Communication
Communication' :: Maybe [AttachmentDetails] -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Communication
-- | 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:attachmentSet:Communication',
-- communication_attachmentSet - Information about the attachments
-- to the case communication.
--
-- $sel:body:Communication', communication_body - The text
-- of the communication between the customer and Amazon Web Services
-- 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 Amazon
-- Web Services Support team display "Amazon Web Services," and don't
-- show an email address.
--
-- $sel:timeCreated:Communication',
-- communication_timeCreated - The time the communication was
-- created.
newCommunication :: Communication
-- | The five most recent communications associated with the case.
--
-- See: newRecentCaseCommunications smart constructor.
data RecentCaseCommunications
RecentCaseCommunications' :: Maybe [Communication] -> Maybe Text -> RecentCaseCommunications
-- | 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:communications:RecentCaseCommunications',
-- recentCaseCommunications_communications - The five most recent
-- communications associated with the case.
--
-- $sel:nextToken:RecentCaseCommunications',
-- recentCaseCommunications_nextToken - A resumption point for
-- pagination.
newRecentCaseCommunications :: RecentCaseCommunications
-- | 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 Amazon
-- Web Services Support User Guide.
--
-- See: newSeverityLevel smart constructor.
data SeverityLevel
SeverityLevel' :: Maybe Text -> Maybe Text -> SeverityLevel
-- | 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:code:SeverityLevel', severityLevel_code - The code
-- for case severity level.
--
-- Valid values: low | normal | high |
-- urgent | critical
--
-- $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 Amazon Web Services 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 guidance
-- - normal - System impaired
-- - high - Production system impaired
-- - urgent - Production system down
-- - critical - Business-critical system down
--
--
-- For more information, see Choosing a severity in the Amazon
-- Web Services Support User Guide.
newSeverityLevel :: SeverityLevel
-- | Information about an Amazon Web Services service returned by the
-- DescribeServices operation.
--
-- See: newSupportService smart constructor.
data SupportService
SupportService' :: Maybe [Category] -> Maybe Text -> Maybe Text -> SupportService
-- | 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 Amazon Web Services Support when you call CreateCase.
--
-- SupportService, supportService_code - The code for an
-- Amazon Web Services service returned by the DescribeServices response.
-- The name element contains the corresponding friendly name.
--
-- SupportService, supportService_name - The friendly name
-- for an Amazon Web Services service. The code element contains
-- the corresponding code.
newSupportService :: SupportService
-- | The container for summary information that relates to the category of
-- the Trusted Advisor check.
--
-- See: newTrustedAdvisorCategorySpecificSummary smart
-- constructor.
data TrustedAdvisorCategorySpecificSummary
TrustedAdvisorCategorySpecificSummary' :: Maybe TrustedAdvisorCostOptimizingSummary -> TrustedAdvisorCategorySpecificSummary
-- | 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.
newTrustedAdvisorCategorySpecificSummary :: TrustedAdvisorCategorySpecificSummary
-- | The description and metadata for a Trusted Advisor check.
--
-- See: newTrustedAdvisorCheckDescription smart
-- constructor.
data TrustedAdvisorCheckDescription
TrustedAdvisorCheckDescription' :: Text -> 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.
newTrustedAdvisorCheckDescription :: Text -> Text -> Text -> Text -> TrustedAdvisorCheckDescription
-- | The refresh status of a Trusted Advisor check.
--
-- See: newTrustedAdvisorCheckRefreshStatus smart
-- constructor.
data TrustedAdvisorCheckRefreshStatus
TrustedAdvisorCheckRefreshStatus' :: 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 timeout
-- - enqueued - The check refresh requests has entered the
-- refresh queue
-- - processing - The check refresh request is picked up by
-- the rule processing engine
-- - success - The check is successfully refreshed
-- - abandoned - 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.
newTrustedAdvisorCheckRefreshStatus :: Text -> Text -> Integer -> TrustedAdvisorCheckRefreshStatus
-- | The results of a Trusted Advisor check returned by
-- DescribeTrustedAdvisorCheckResult.
--
-- See: newTrustedAdvisorCheckResult smart constructor.
data TrustedAdvisorCheckResult
TrustedAdvisorCheckResult' :: Text -> Text -> Text -> TrustedAdvisorResourcesSummary -> TrustedAdvisorCategorySpecificSummary -> [TrustedAdvisorResourceDetail] -> 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.
--
-- 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.
newTrustedAdvisorCheckResult :: Text -> Text -> Text -> TrustedAdvisorResourcesSummary -> TrustedAdvisorCategorySpecificSummary -> TrustedAdvisorCheckResult
-- | A summary of a Trusted Advisor check result, including the alert
-- status, last refresh, and number of resources examined.
--
-- See: newTrustedAdvisorCheckSummary smart constructor.
data TrustedAdvisorCheckSummary
TrustedAdvisorCheckSummary' :: Maybe Bool -> 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.
newTrustedAdvisorCheckSummary :: Text -> Text -> Text -> TrustedAdvisorResourcesSummary -> TrustedAdvisorCategorySpecificSummary -> TrustedAdvisorCheckSummary
-- | The estimated cost savings that might be realized if the recommended
-- operations are taken.
--
-- See: newTrustedAdvisorCostOptimizingSummary smart
-- constructor.
data TrustedAdvisorCostOptimizingSummary
TrustedAdvisorCostOptimizingSummary' :: 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.
newTrustedAdvisorCostOptimizingSummary :: Double -> Double -> TrustedAdvisorCostOptimizingSummary
-- | Contains information about a resource identified by a Trusted Advisor
-- check.
--
-- See: newTrustedAdvisorResourceDetail smart constructor.
data TrustedAdvisorResourceDetail
TrustedAdvisorResourceDetail' :: Maybe Bool -> Maybe Text -> Text -> 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 Amazon Web Services resource was ignored by Trusted Advisor
-- because it was marked as suppressed by the user.
--
-- $sel:region:TrustedAdvisorResourceDetail',
-- trustedAdvisorResourceDetail_region - The Amazon Web Services
-- 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.
newTrustedAdvisorResourceDetail :: Text -> Text -> TrustedAdvisorResourceDetail
-- | Details about Amazon Web Services resources that were analyzed in a
-- call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.
--
-- See: newTrustedAdvisorResourcesSummary smart
-- constructor.
data TrustedAdvisorResourcesSummary
TrustedAdvisorResourcesSummary' :: 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 Amazon Web Services resources that were analyzed by the Trusted
-- Advisor check.
--
-- $sel:resourcesFlagged:TrustedAdvisorResourcesSummary',
-- trustedAdvisorResourcesSummary_resourcesFlagged - The number of
-- Amazon Web Services resources that were flagged (listed) by the
-- Trusted Advisor check.
--
-- $sel:resourcesIgnored:TrustedAdvisorResourcesSummary',
-- trustedAdvisorResourcesSummary_resourcesIgnored - The number of
-- Amazon Web Services resources ignored by Trusted Advisor because
-- information was unavailable.
--
-- $sel:resourcesSuppressed:TrustedAdvisorResourcesSummary',
-- trustedAdvisorResourcesSummary_resourcesSuppressed - The number
-- of Amazon Web Services resources ignored by Trusted Advisor because
-- they were marked as suppressed by the user.
newTrustedAdvisorResourcesSummary :: Integer -> Integer -> Integer -> Integer -> TrustedAdvisorResourcesSummary