-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Amazon Support SDK. -- @package amazonka-support @version 1.3.2 module Network.AWS.Support.Types -- | API version '2013-04-15' of the Amazon Support SDK configuration. support :: Service -- | The expiration time of the attachment set has passed. The set expires -- 1 hour after it is created. _AttachmentSetExpired :: AsError a => Getting (First ServiceError) a ServiceError -- | The limit for the number of attachment sets created in a short period -- of time has been exceeded. _AttachmentLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError -- | The limit for the number of DescribeAttachment requests in a short -- period of time has been exceeded. _DescribeAttachmentLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError -- | The requested CaseId could not be located. _CaseIdNotFound :: AsError a => Getting (First ServiceError) a ServiceError -- | An attachment set with the specified ID could not be found. _AttachmentSetIdNotFound :: AsError a => Getting (First ServiceError) a ServiceError -- | A limit for the size of an attachment set has been exceeded. The -- limits are 3 attachments and 5 MB per attachment. _AttachmentSetSizeLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError -- | An attachment with the specified ID could not be found. _AttachmentIdNotFound :: AsError a => Getting (First ServiceError) a ServiceError -- | An internal server error occurred. _InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError -- | The case creation limit for the account has been exceeded. _CaseCreationLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError -- | An attachment to a case communication. The attachment consists of the -- file name and the content of the file. -- -- See: attachment smart constructor. data Attachment -- | Creates a value of Attachment with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- attachment :: Attachment -- | The content of the attachment file. -- -- Note: This Lens automatically encodes and decodes Base64 -- data, despite what the AWS documentation might say. 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. aData :: Lens' Attachment (Maybe ByteString) -- | The name of the attachment file. aFileName :: 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: attachmentDetails smart constructor. data AttachmentDetails -- | Creates a value of AttachmentDetails with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- attachmentDetails :: AttachmentDetails -- | The ID of the attachment. adAttachmentId :: Lens' AttachmentDetails (Maybe Text) -- | The file name of the attachment. adFileName :: Lens' AttachmentDetails (Maybe Text) -- | A JSON-formatted object that contains the metadata for a support case. -- It is contained the response from a DescribeCases request. -- CaseDetails contains the following fields: -- --
    --
  1. CaseID. The AWS 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.
  2. --
  3. CategoryCode. The category of problem for the AWS Support -- case. Corresponds to the CategoryCode values returned by a call to -- DescribeServices.
  4. --
  5. DisplayId. The identifier for the case on pages in the AWS -- Support Center.
  6. --
  7. Language. The ISO 639-1 code for the language in which AWS -- provides support. AWS Support currently supports English ("en") and -- Japanese ("ja"). Language parameters must be passed explicitly for -- operations that take them.
  8. --
  9. RecentCommunications. One or more Communication objects. -- Fields of these objects are Attachments, Body, -- CaseId, SubmittedBy, and TimeCreated.
  10. --
  11. NextToken. A resumption point for pagination.
  12. --
  13. ServiceCode. The identifier for the AWS service that -- corresponds to the service code defined in the call to -- DescribeServices.
  14. --
  15. SeverityCode. The severity code assigned to the case. -- Contains one of the values returned by the call to -- DescribeSeverityLevels.
  16. --
  17. Status. The status of the case in the AWS Support -- Center.
  18. --
  19. Subject. The subject line of the case.
  20. --
  21. SubmittedBy. The email address of the account that -- submitted the case.
  22. --
  23. TimeCreated. The time the case was created, in ISO-8601 -- format.
  24. --
-- -- See: caseDetails smart constructor. data CaseDetails -- | Creates a value of CaseDetails with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- caseDetails :: CaseDetails -- | The subject line for the case in the AWS Support Center. cdSubject :: Lens' CaseDetails (Maybe Text) -- | The status of the case. cdStatus :: Lens' CaseDetails (Maybe Text) -- | The five most recent communications between you and AWS Support -- Center, including the IDs of any attachments to the communications. -- Also includes a nextToken that you can use to retrieve -- earlier communications. cdRecentCommunications :: Lens' CaseDetails (Maybe RecentCaseCommunications) -- | The code for the severity level returned by the call to -- DescribeSeverityLevels. cdSeverityCode :: Lens' CaseDetails (Maybe Text) -- | The AWS 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 cdCaseId :: Lens' CaseDetails (Maybe Text) -- | The email addresses that receive copies of communication about the -- case. cdCcEmailAddresses :: Lens' CaseDetails [Text] -- | The ID displayed for the case in the AWS Support Center. This is a -- numeric string. cdDisplayId :: Lens' CaseDetails (Maybe Text) -- | The email address of the account that submitted the case. cdSubmittedBy :: Lens' CaseDetails (Maybe Text) -- | The ISO 639-1 code for the language in which AWS provides support. AWS -- Support currently supports English ("en") and Japanese ("ja"). -- Language parameters must be passed explicitly for operations that take -- them. cdLanguage :: Lens' CaseDetails (Maybe Text) -- | The time that the case was case created in the AWS Support Center. cdTimeCreated :: Lens' CaseDetails (Maybe Text) -- | The category of problem for the AWS Support case. cdCategoryCode :: Lens' CaseDetails (Maybe Text) -- | The code for the AWS service returned by the call to DescribeServices. cdServiceCode :: 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 AWS service. -- -- See: category smart constructor. data Category -- | Creates a value of Category with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- category :: Category -- | The category name for the support case. cName :: Lens' Category (Maybe Text) -- | The category code for the support case. cCode :: Lens' Category (Maybe Text) -- | A communication associated with an AWS Support case. The communication -- consists of the case ID, the message body, attachment information, the -- account email address, and the date and time of the communication. -- -- See: communication smart constructor. data Communication -- | Creates a value of Communication with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- communication :: Communication -- | The text of the communication between the customer and AWS Support. cBody :: Lens' Communication (Maybe Text) -- | The AWS 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 cCaseId :: Lens' Communication (Maybe Text) -- | The email address of the account that submitted the AWS Support case. cSubmittedBy :: Lens' Communication (Maybe Text) -- | The time the communication was created. cTimeCreated :: Lens' Communication (Maybe Text) -- | Information about the attachments to the case communication. cAttachmentSet :: Lens' Communication [AttachmentDetails] -- | The five most recent communications associated with the case. -- -- See: recentCaseCommunications smart constructor. data RecentCaseCommunications -- | Creates a value of RecentCaseCommunications with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- recentCaseCommunications :: RecentCaseCommunications -- | A resumption point for pagination. rccNextToken :: Lens' RecentCaseCommunications (Maybe Text) -- | The five most recent communications associated with the case. rccCommunications :: Lens' RecentCaseCommunications [Communication] -- | A code and name pair that represent a severity level that can be -- applied to a support case. -- -- See: severityLevel smart constructor. data SeverityLevel -- | Creates a value of SeverityLevel with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- severityLevel :: SeverityLevel -- | The name of the severity level that corresponds to the severity level -- code. slName :: Lens' SeverityLevel (Maybe Text) -- | One of four values: "low," "medium," "high," and "urgent". These -- values correspond to response times returned to the caller in -- name. slCode :: Lens' SeverityLevel (Maybe Text) -- | Information about an AWS service returned by the DescribeServices -- operation. -- -- See: supportService smart constructor. data SupportService -- | Creates a value of SupportService with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- supportService :: 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 AWS Support when you call -- CreateCase. ssCategories :: Lens' SupportService [Category] -- | The friendly name for an AWS service. The Code element -- contains the corresponding code. ssName :: Lens' SupportService (Maybe Text) -- | The code for an AWS service returned by the DescribeServices response. -- The Name element contains the corresponding friendly name. ssCode :: Lens' SupportService (Maybe Text) -- | The container for summary information that relates to the category of -- the Trusted Advisor check. -- -- See: trustedAdvisorCategorySpecificSummary smart -- constructor. data TrustedAdvisorCategorySpecificSummary -- | Creates a value of TrustedAdvisorCategorySpecificSummary with -- the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- trustedAdvisorCategorySpecificSummary :: TrustedAdvisorCategorySpecificSummary -- | The summary information about cost savings for a Trusted Advisor check -- that is in the Cost Optimizing category. tacssCostOptimizing :: Lens' TrustedAdvisorCategorySpecificSummary (Maybe TrustedAdvisorCostOptimizingSummary) -- | The description and metadata for a Trusted Advisor check. -- -- See: trustedAdvisorCheckDescription smart constructor. data TrustedAdvisorCheckDescription -- | Creates a value of TrustedAdvisorCheckDescription with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- trustedAdvisorCheckDescription :: Text -> Text -> Text -> Text -> TrustedAdvisorCheckDescription -- | The unique identifier for the Trusted Advisor check. tacdId :: Lens' TrustedAdvisorCheckDescription Text -- | The display name for the Trusted Advisor check. tacdName :: Lens' TrustedAdvisorCheckDescription Text -- | The description of the Trusted Advisor check, which includes the alert -- criteria and recommended actions (contains HTML markup). tacdDescription :: Lens' TrustedAdvisorCheckDescription Text -- | The category of the Trusted Advisor check. tacdCategory :: 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. tacdMetadata :: Lens' TrustedAdvisorCheckDescription [Text] -- | The refresh status of a Trusted Advisor check. -- -- See: trustedAdvisorCheckRefreshStatus smart constructor. data TrustedAdvisorCheckRefreshStatus -- | Creates a value of TrustedAdvisorCheckRefreshStatus with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- trustedAdvisorCheckRefreshStatus :: Text -> Text -> Integer -> TrustedAdvisorCheckRefreshStatus -- | The unique identifier for the Trusted Advisor check. tacrsCheckId :: Lens' TrustedAdvisorCheckRefreshStatus Text -- | The status of the Trusted Advisor check for which a refresh has been -- requested: "none", "enqueued", "processing", "success", or -- "abandoned". tacrsStatus :: Lens' TrustedAdvisorCheckRefreshStatus Text -- | The amount of time, in milliseconds, until the Trusted Advisor check -- is eligible for refresh. tacrsMillisUntilNextRefreshable :: Lens' TrustedAdvisorCheckRefreshStatus Integer -- | The results of a Trusted Advisor check returned by -- DescribeTrustedAdvisorCheckResult. -- -- See: trustedAdvisorCheckResult smart constructor. data TrustedAdvisorCheckResult -- | Creates a value of TrustedAdvisorCheckResult with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- trustedAdvisorCheckResult :: Text -> Text -> Text -> TrustedAdvisorResourcesSummary -> TrustedAdvisorCategorySpecificSummary -> TrustedAdvisorCheckResult -- | The unique identifier for the Trusted Advisor check. tacrCheckId :: Lens' TrustedAdvisorCheckResult Text -- | The time of the last refresh of the check. tacrTimestamp :: Lens' TrustedAdvisorCheckResult Text -- | The alert status of the check: "ok" (green), "warning" (yellow), -- "error" (red), or "not_available". tacrStatus :: Lens' TrustedAdvisorCheckResult Text -- | Undocumented member. tacrResourcesSummary :: Lens' TrustedAdvisorCheckResult TrustedAdvisorResourcesSummary -- | Summary information that relates to the category of the check. Cost -- Optimizing is the only category that is currently supported. tacrCategorySpecificSummary :: Lens' TrustedAdvisorCheckResult TrustedAdvisorCategorySpecificSummary -- | The details about each resource listed in the check result. tacrFlaggedResources :: Lens' TrustedAdvisorCheckResult [TrustedAdvisorResourceDetail] -- | A summary of a Trusted Advisor check result, including the alert -- status, last refresh, and number of resources examined. -- -- See: trustedAdvisorCheckSummary smart constructor. data TrustedAdvisorCheckSummary -- | Creates a value of TrustedAdvisorCheckSummary with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- trustedAdvisorCheckSummary :: Text -> Text -> Text -> TrustedAdvisorResourcesSummary -> TrustedAdvisorCategorySpecificSummary -> TrustedAdvisorCheckSummary -- | Specifies whether the Trusted Advisor check has flagged resources. tacsHasFlaggedResources :: Lens' TrustedAdvisorCheckSummary (Maybe Bool) -- | The unique identifier for the Trusted Advisor check. tacsCheckId :: Lens' TrustedAdvisorCheckSummary Text -- | The time of the last refresh of the check. tacsTimestamp :: Lens' TrustedAdvisorCheckSummary Text -- | The alert status of the check: "ok" (green), "warning" (yellow), -- "error" (red), or "not_available". tacsStatus :: Lens' TrustedAdvisorCheckSummary Text -- | Undocumented member. tacsResourcesSummary :: Lens' TrustedAdvisorCheckSummary TrustedAdvisorResourcesSummary -- | Summary information that relates to the category of the check. Cost -- Optimizing is the only category that is currently supported. tacsCategorySpecificSummary :: Lens' TrustedAdvisorCheckSummary TrustedAdvisorCategorySpecificSummary -- | The estimated cost savings that might be realized if the recommended -- actions are taken. -- -- See: trustedAdvisorCostOptimizingSummary smart -- constructor. data TrustedAdvisorCostOptimizingSummary -- | Creates a value of TrustedAdvisorCostOptimizingSummary with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- trustedAdvisorCostOptimizingSummary :: Double -> Double -> TrustedAdvisorCostOptimizingSummary -- | The estimated monthly savings that might be realized if the -- recommended actions are taken. tacosEstimatedMonthlySavings :: Lens' TrustedAdvisorCostOptimizingSummary Double -- | The estimated percentage of savings that might be realized if the -- recommended actions are taken. tacosEstimatedPercentMonthlySavings :: Lens' TrustedAdvisorCostOptimizingSummary Double -- | Contains information about a resource identified by a Trusted Advisor -- check. -- -- See: trustedAdvisorResourceDetail smart constructor. data TrustedAdvisorResourceDetail -- | Creates a value of TrustedAdvisorResourceDetail with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- trustedAdvisorResourceDetail :: Text -> Text -> Text -> TrustedAdvisorResourceDetail -- | Specifies whether the AWS resource was ignored by Trusted Advisor -- because it was marked as suppressed by the user. tardIsSuppressed :: Lens' TrustedAdvisorResourceDetail (Maybe Bool) -- | The status code for the resource identified in the Trusted Advisor -- check. tardStatus :: Lens' TrustedAdvisorResourceDetail Text -- | The AWS region in which the identified resource is located. tardRegion :: Lens' TrustedAdvisorResourceDetail Text -- | The unique identifier for the identified resource. tardResourceId :: 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. tardMetadata :: Lens' TrustedAdvisorResourceDetail [Text] -- | Details about AWS resources that were analyzed in a call to Trusted -- Advisor DescribeTrustedAdvisorCheckSummaries. -- -- See: trustedAdvisorResourcesSummary smart constructor. data TrustedAdvisorResourcesSummary -- | Creates a value of TrustedAdvisorResourcesSummary with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- trustedAdvisorResourcesSummary :: Integer -> Integer -> Integer -> Integer -> TrustedAdvisorResourcesSummary -- | The number of AWS resources that were analyzed by the Trusted Advisor -- check. tarsResourcesProcessed :: Lens' TrustedAdvisorResourcesSummary Integer -- | The number of AWS resources that were flagged (listed) by the Trusted -- Advisor check. tarsResourcesFlagged :: Lens' TrustedAdvisorResourcesSummary Integer -- | The number of AWS resources ignored by Trusted Advisor because -- information was unavailable. tarsResourcesIgnored :: Lens' TrustedAdvisorResourcesSummary Integer -- | The number of AWS resources ignored by Trusted Advisor because they -- were marked as suppressed by the user. tarsResourcesSuppressed :: Lens' TrustedAdvisorResourcesSummary Integer module Network.AWS.Support.Waiters -- | Adds additional customer communication to an AWS Support case. You use -- the CaseId value to identify the case to add communication -- to. You can list a set of email addresses to copy on the communication -- using the CcEmailAddresses value. The -- CommunicationBody value contains the text of the -- communication. -- -- The response indicates the success or failure of the request. -- -- This operation implements a subset of the features of the AWS Support -- Center. -- -- See: AWS API Reference for AddCommunicationToCase. module Network.AWS.Support.AddCommunicationToCase -- | Creates a value of AddCommunicationToCase with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- addCommunicationToCase :: Text -> AddCommunicationToCase -- | To be written. -- -- See: addCommunicationToCase smart constructor. data AddCommunicationToCase -- | The AWS 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 actcCaseId :: Lens' AddCommunicationToCase (Maybe Text) -- | The email addresses in the CC line of an email to be added to the -- support case. actcCcEmailAddresses :: Lens' AddCommunicationToCase [Text] -- | The ID of a set of one or more attachments for the communication to -- add to the case. Create the set by calling AddAttachmentsToSet actcAttachmentSetId :: Lens' AddCommunicationToCase (Maybe Text) -- | The body of an email communication to add to the support case. actcCommunicationBody :: Lens' AddCommunicationToCase Text -- | Creates a value of AddCommunicationToCaseResponse with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- addCommunicationToCaseResponse :: Int -> AddCommunicationToCaseResponse -- | The result of the AddCommunicationToCase operation. -- -- See: addCommunicationToCaseResponse smart constructor. data AddCommunicationToCaseResponse -- | True if AddCommunicationToCase succeeds. Otherwise, returns an error. actcrsResult :: Lens' AddCommunicationToCaseResponse (Maybe Bool) -- | The response status code. actcrsResponseStatus :: Lens' AddCommunicationToCaseResponse Int instance Typeable AddCommunicationToCase instance Typeable AddCommunicationToCaseResponse instance Eq AddCommunicationToCase instance Read AddCommunicationToCase instance Show AddCommunicationToCase instance Data AddCommunicationToCase instance Generic AddCommunicationToCase instance Eq AddCommunicationToCaseResponse instance Read AddCommunicationToCaseResponse instance Show AddCommunicationToCaseResponse instance Data AddCommunicationToCaseResponse instance Generic AddCommunicationToCaseResponse instance Datatype D1AddCommunicationToCase instance Constructor C1_0AddCommunicationToCase instance Selector S1_0_0AddCommunicationToCase instance Selector S1_0_1AddCommunicationToCase instance Selector S1_0_2AddCommunicationToCase instance Selector S1_0_3AddCommunicationToCase instance Datatype D1AddCommunicationToCaseResponse instance Constructor C1_0AddCommunicationToCaseResponse instance Selector S1_0_0AddCommunicationToCaseResponse instance Selector S1_0_1AddCommunicationToCaseResponse instance ToQuery AddCommunicationToCase instance ToPath AddCommunicationToCase instance ToJSON AddCommunicationToCase instance ToHeaders AddCommunicationToCase instance AWSRequest AddCommunicationToCase -- | Returns communications (and attachments) for one or more support -- cases. You can use the AfterTime and BeforeTime -- parameters to filter by date. You can use the CaseId -- parameter to restrict the results to a particular 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 result set. Set MaxResults -- to the number of cases you want displayed on each page, and use -- NextToken to specify the resumption of pagination. -- -- See: AWS API Reference for DescribeCommunications. -- -- This operation returns paginated results. module Network.AWS.Support.DescribeCommunications -- | Creates a value of DescribeCommunications with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- describeCommunications :: Text -> DescribeCommunications -- | See: describeCommunications smart constructor. data DescribeCommunications -- | The start date for a filtered date search on support case -- communications. Case communications are available for 12 months after -- creation. dAfterTime :: 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. dBeforeTime :: Lens' DescribeCommunications (Maybe Text) -- | A resumption point for pagination. dNextToken :: Lens' DescribeCommunications (Maybe Text) -- | The maximum number of results to return before paginating. dMaxResults :: Lens' DescribeCommunications (Maybe Natural) -- | The AWS 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 dCaseId :: Lens' DescribeCommunications Text -- | Creates a value of DescribeCommunicationsResponse with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- describeCommunicationsResponse :: Int -> DescribeCommunicationsResponse -- | The communications returned by the DescribeCommunications operation. -- -- See: describeCommunicationsResponse smart constructor. data DescribeCommunicationsResponse -- | A resumption point for pagination. dcrsNextToken :: Lens' DescribeCommunicationsResponse (Maybe Text) -- | The communications for the case. dcrsCommunications :: Lens' DescribeCommunicationsResponse [Communication] -- | The response status code. dcrsResponseStatus :: Lens' DescribeCommunicationsResponse Int instance Typeable DescribeCommunications instance Typeable DescribeCommunicationsResponse instance Eq DescribeCommunications instance Read DescribeCommunications instance Show DescribeCommunications instance Data DescribeCommunications instance Generic DescribeCommunications instance Eq DescribeCommunicationsResponse instance Read DescribeCommunicationsResponse instance Show DescribeCommunicationsResponse instance Data DescribeCommunicationsResponse instance Generic DescribeCommunicationsResponse instance Datatype D1DescribeCommunications instance Constructor C1_0DescribeCommunications instance Selector S1_0_0DescribeCommunications instance Selector S1_0_1DescribeCommunications instance Selector S1_0_2DescribeCommunications instance Selector S1_0_3DescribeCommunications instance Selector S1_0_4DescribeCommunications instance Datatype D1DescribeCommunicationsResponse instance Constructor C1_0DescribeCommunicationsResponse instance Selector S1_0_0DescribeCommunicationsResponse instance Selector S1_0_1DescribeCommunicationsResponse instance Selector S1_0_2DescribeCommunicationsResponse instance ToQuery DescribeCommunications instance ToPath DescribeCommunications instance ToJSON DescribeCommunications instance ToHeaders DescribeCommunications instance AWSRequest DescribeCommunications instance AWSPager DescribeCommunications -- | Returns the current list of AWS services and a list of service -- categories that applies to each one. You then use service names and -- categories in your CreateCase requests. Each AWS service has its own -- set of categories. -- -- The service codes and category codes correspond to the values that are -- displayed in the Service and Category drop-down lists on -- the AWS Support Center Create Case page. The values in those -- fields, however, do not necessarily match the service codes and -- categories returned by the DescribeServices request. Always use -- the service codes and categories obtained programmatically. This -- practice ensures that you always have the most recent set of service -- and category codes. -- -- See: AWS API Reference for DescribeServices. module Network.AWS.Support.DescribeServices -- | Creates a value of DescribeServices with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- describeServices :: DescribeServices -- | See: describeServices smart constructor. data DescribeServices -- | A JSON-formatted list of service codes available for AWS services. dsServiceCodeList :: Lens' DescribeServices [Text] -- | The ISO 639-1 code for the language in which AWS provides support. AWS -- Support currently supports English ("en") and Japanese ("ja"). -- Language parameters must be passed explicitly for operations that take -- them. dsLanguage :: Lens' DescribeServices (Maybe Text) -- | Creates a value of DescribeServicesResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- describeServicesResponse :: Int -> DescribeServicesResponse -- | The list of AWS services returned by the DescribeServices operation. -- -- See: describeServicesResponse smart constructor. data DescribeServicesResponse -- | A JSON-formatted list of AWS services. dsrsServices :: Lens' DescribeServicesResponse [SupportService] -- | The response status code. dsrsResponseStatus :: Lens' DescribeServicesResponse Int instance Typeable DescribeServices instance Typeable DescribeServicesResponse instance Eq DescribeServices instance Read DescribeServices instance Show DescribeServices instance Data DescribeServices instance Generic DescribeServices instance Eq DescribeServicesResponse instance Read DescribeServicesResponse instance Show DescribeServicesResponse instance Data DescribeServicesResponse instance Generic DescribeServicesResponse instance Datatype D1DescribeServices instance Constructor C1_0DescribeServices instance Selector S1_0_0DescribeServices instance Selector S1_0_1DescribeServices instance Datatype D1DescribeServicesResponse instance Constructor C1_0DescribeServicesResponse instance Selector S1_0_0DescribeServicesResponse instance Selector S1_0_1DescribeServicesResponse instance ToQuery DescribeServices instance ToPath DescribeServices instance ToJSON DescribeServices instance ToHeaders DescribeServices instance AWSRequest DescribeServices -- | Returns the results of the Trusted Advisor check that has the -- specified check ID. Check IDs can be obtained by calling -- DescribeTrustedAdvisorChecks. -- -- The response contains a TrustedAdvisorCheckResult object, which -- contains these three objects: -- -- -- -- In addition, the response contains these fields: -- -- -- -- See: AWS API Reference for -- DescribeTrustedAdvisorCheckResult. module Network.AWS.Support.DescribeTrustedAdvisorCheckResult -- | Creates a value of DescribeTrustedAdvisorCheckResult with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- describeTrustedAdvisorCheckResult :: Text -> DescribeTrustedAdvisorCheckResult -- | See: describeTrustedAdvisorCheckResult smart -- constructor. data DescribeTrustedAdvisorCheckResult -- | The ISO 639-1 code for the language in which AWS provides support. AWS -- Support currently supports English ("en") and Japanese ("ja"). -- Language parameters must be passed explicitly for operations that take -- them. dtacrLanguage :: Lens' DescribeTrustedAdvisorCheckResult (Maybe Text) -- | The unique identifier for the Trusted Advisor check. dtacrCheckId :: Lens' DescribeTrustedAdvisorCheckResult Text -- | Creates a value of DescribeTrustedAdvisorCheckResultResponse -- with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- describeTrustedAdvisorCheckResultResponse :: Int -> DescribeTrustedAdvisorCheckResultResponse -- | The result of the Trusted Advisor check returned by the -- DescribeTrustedAdvisorCheckResult operation. -- -- See: describeTrustedAdvisorCheckResultResponse smart -- constructor. data DescribeTrustedAdvisorCheckResultResponse -- | The detailed results of the Trusted Advisor check. dtacrrsResult :: Lens' DescribeTrustedAdvisorCheckResultResponse (Maybe TrustedAdvisorCheckResult) -- | The response status code. dtacrrsResponseStatus :: Lens' DescribeTrustedAdvisorCheckResultResponse Int instance Typeable DescribeTrustedAdvisorCheckResult instance Typeable DescribeTrustedAdvisorCheckResultResponse instance Eq DescribeTrustedAdvisorCheckResult instance Read DescribeTrustedAdvisorCheckResult instance Show DescribeTrustedAdvisorCheckResult instance Data DescribeTrustedAdvisorCheckResult instance Generic DescribeTrustedAdvisorCheckResult instance Eq DescribeTrustedAdvisorCheckResultResponse instance Read DescribeTrustedAdvisorCheckResultResponse instance Show DescribeTrustedAdvisorCheckResultResponse instance Data DescribeTrustedAdvisorCheckResultResponse instance Generic DescribeTrustedAdvisorCheckResultResponse instance Datatype D1DescribeTrustedAdvisorCheckResult instance Constructor C1_0DescribeTrustedAdvisorCheckResult instance Selector S1_0_0DescribeTrustedAdvisorCheckResult instance Selector S1_0_1DescribeTrustedAdvisorCheckResult instance Datatype D1DescribeTrustedAdvisorCheckResultResponse instance Constructor C1_0DescribeTrustedAdvisorCheckResultResponse instance Selector S1_0_0DescribeTrustedAdvisorCheckResultResponse instance Selector S1_0_1DescribeTrustedAdvisorCheckResultResponse instance ToQuery DescribeTrustedAdvisorCheckResult instance ToPath DescribeTrustedAdvisorCheckResult instance ToJSON DescribeTrustedAdvisorCheckResult instance ToHeaders DescribeTrustedAdvisorCheckResult instance AWSRequest DescribeTrustedAdvisorCheckResult -- | Adds one or more attachments to an 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. -- -- An attachment set is a temporary container for attachments that are to -- be added to a case or case communication. The set is available for one -- hour after it is created; the ExpiryTime returned in the -- response indicates when the set expires. The maximum number of -- attachments in a set is 3, and the maximum size of any attachment in -- the set is 5 MB. -- -- See: AWS API Reference for AddAttachmentsToSet. module Network.AWS.Support.AddAttachmentsToSet -- | Creates a value of AddAttachmentsToSet with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- addAttachmentsToSet :: AddAttachmentsToSet -- | See: addAttachmentsToSet smart constructor. data 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. aatsAttachmentSetId :: Lens' AddAttachmentsToSet (Maybe Text) -- | One or more attachments to add to the set. The limit is 3 attachments -- per set, and the size limit is 5 MB per attachment. aatsAttachments :: Lens' AddAttachmentsToSet [Attachment] -- | Creates a value of AddAttachmentsToSetResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- addAttachmentsToSetResponse :: Int -> AddAttachmentsToSetResponse -- | The ID and expiry time of the attachment set returned by the -- AddAttachmentsToSet operation. -- -- See: addAttachmentsToSetResponse smart constructor. data AddAttachmentsToSetResponse -- | The time and date when the attachment set expires. aatsrsExpiryTime :: Lens' AddAttachmentsToSetResponse (Maybe Text) -- | 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. aatsrsAttachmentSetId :: Lens' AddAttachmentsToSetResponse (Maybe Text) -- | The response status code. aatsrsResponseStatus :: Lens' AddAttachmentsToSetResponse Int instance Typeable AddAttachmentsToSet instance Typeable AddAttachmentsToSetResponse instance Eq AddAttachmentsToSet instance Read AddAttachmentsToSet instance Show AddAttachmentsToSet instance Data AddAttachmentsToSet instance Generic AddAttachmentsToSet instance Eq AddAttachmentsToSetResponse instance Read AddAttachmentsToSetResponse instance Show AddAttachmentsToSetResponse instance Data AddAttachmentsToSetResponse instance Generic AddAttachmentsToSetResponse instance Datatype D1AddAttachmentsToSet instance Constructor C1_0AddAttachmentsToSet instance Selector S1_0_0AddAttachmentsToSet instance Selector S1_0_1AddAttachmentsToSet instance Datatype D1AddAttachmentsToSetResponse instance Constructor C1_0AddAttachmentsToSetResponse instance Selector S1_0_0AddAttachmentsToSetResponse instance Selector S1_0_1AddAttachmentsToSetResponse instance Selector S1_0_2AddAttachmentsToSetResponse instance ToQuery AddAttachmentsToSet instance ToPath AddAttachmentsToSet instance ToJSON AddAttachmentsToSet instance ToHeaders AddAttachmentsToSet instance AWSRequest AddAttachmentsToSet -- | Returns the attachment that has the specified ID. 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. -- -- See: AWS API Reference for DescribeAttachment. module Network.AWS.Support.DescribeAttachment -- | Creates a value of DescribeAttachment with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- describeAttachment :: Text -> DescribeAttachment -- | See: describeAttachment smart constructor. data DescribeAttachment -- | The ID of the attachment to return. Attachment IDs are returned by the -- DescribeCommunications operation. daAttachmentId :: Lens' DescribeAttachment Text -- | Creates a value of DescribeAttachmentResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- describeAttachmentResponse :: Int -> DescribeAttachmentResponse -- | The content and file name of the attachment returned by the -- DescribeAttachment operation. -- -- See: describeAttachmentResponse smart constructor. data DescribeAttachmentResponse -- | The attachment content and file name. darsAttachment :: Lens' DescribeAttachmentResponse (Maybe Attachment) -- | The response status code. darsResponseStatus :: Lens' DescribeAttachmentResponse Int instance Typeable DescribeAttachment instance Typeable DescribeAttachmentResponse instance Eq DescribeAttachment instance Read DescribeAttachment instance Show DescribeAttachment instance Data DescribeAttachment instance Generic DescribeAttachment instance Eq DescribeAttachmentResponse instance Read DescribeAttachmentResponse instance Show DescribeAttachmentResponse instance Data DescribeAttachmentResponse instance Generic DescribeAttachmentResponse instance Datatype D1DescribeAttachment instance Constructor C1_0DescribeAttachment instance Selector S1_0_0DescribeAttachment instance Datatype D1DescribeAttachmentResponse instance Constructor C1_0DescribeAttachmentResponse instance Selector S1_0_0DescribeAttachmentResponse instance Selector S1_0_1DescribeAttachmentResponse instance ToQuery DescribeAttachment instance ToPath DescribeAttachment instance ToJSON DescribeAttachment instance ToHeaders DescribeAttachment instance AWSRequest DescribeAttachment -- | Returns information about all available Trusted Advisor checks, -- including name, ID, category, description, and metadata. You must -- specify a language code; English ("en") and Japanese ("ja") are -- currently supported. The response contains a -- TrustedAdvisorCheckDescription for each check. -- -- See: AWS API Reference for DescribeTrustedAdvisorChecks. module Network.AWS.Support.DescribeTrustedAdvisorChecks -- | Creates a value of DescribeTrustedAdvisorChecks with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- describeTrustedAdvisorChecks :: Text -> DescribeTrustedAdvisorChecks -- | See: describeTrustedAdvisorChecks smart constructor. data DescribeTrustedAdvisorChecks -- | The ISO 639-1 code for the language in which AWS provides support. AWS -- Support currently supports English ("en") and Japanese ("ja"). -- Language parameters must be passed explicitly for operations that take -- them. dtacLanguage :: Lens' DescribeTrustedAdvisorChecks Text -- | Creates a value of DescribeTrustedAdvisorChecksResponse with -- the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- describeTrustedAdvisorChecksResponse :: Int -> DescribeTrustedAdvisorChecksResponse -- | Information about the Trusted Advisor checks returned by the -- DescribeTrustedAdvisorChecks operation. -- -- See: describeTrustedAdvisorChecksResponse smart -- constructor. data DescribeTrustedAdvisorChecksResponse -- | The response status code. dtacrsResponseStatus :: Lens' DescribeTrustedAdvisorChecksResponse Int -- | Information about all available Trusted Advisor checks. dtacrsChecks :: Lens' DescribeTrustedAdvisorChecksResponse [TrustedAdvisorCheckDescription] instance Typeable DescribeTrustedAdvisorChecks instance Typeable DescribeTrustedAdvisorChecksResponse instance Eq DescribeTrustedAdvisorChecks instance Read DescribeTrustedAdvisorChecks instance Show DescribeTrustedAdvisorChecks instance Data DescribeTrustedAdvisorChecks instance Generic DescribeTrustedAdvisorChecks instance Eq DescribeTrustedAdvisorChecksResponse instance Read DescribeTrustedAdvisorChecksResponse instance Show DescribeTrustedAdvisorChecksResponse instance Data DescribeTrustedAdvisorChecksResponse instance Generic DescribeTrustedAdvisorChecksResponse instance Datatype D1DescribeTrustedAdvisorChecks instance Constructor C1_0DescribeTrustedAdvisorChecks instance Selector S1_0_0DescribeTrustedAdvisorChecks instance Datatype D1DescribeTrustedAdvisorChecksResponse instance Constructor C1_0DescribeTrustedAdvisorChecksResponse instance Selector S1_0_0DescribeTrustedAdvisorChecksResponse instance Selector S1_0_1DescribeTrustedAdvisorChecksResponse instance ToQuery DescribeTrustedAdvisorChecks instance ToPath DescribeTrustedAdvisorChecks instance ToJSON DescribeTrustedAdvisorChecks instance ToHeaders DescribeTrustedAdvisorChecks instance AWSRequest DescribeTrustedAdvisorChecks -- | Returns the list of severity levels that you can assign to an AWS -- Support case. The severity level for a case is also a field in the -- CaseDetails data type included in any CreateCase request. -- -- See: AWS API Reference for DescribeSeverityLevels. module Network.AWS.Support.DescribeSeverityLevels -- | Creates a value of DescribeSeverityLevels with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- describeSeverityLevels :: DescribeSeverityLevels -- | See: describeSeverityLevels smart constructor. data DescribeSeverityLevels -- | The ISO 639-1 code for the language in which AWS provides support. AWS -- Support currently supports English ("en") and Japanese ("ja"). -- Language parameters must be passed explicitly for operations that take -- them. dslLanguage :: Lens' DescribeSeverityLevels (Maybe Text) -- | Creates a value of DescribeSeverityLevelsResponse with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- describeSeverityLevelsResponse :: Int -> DescribeSeverityLevelsResponse -- | The list of severity levels returned by the DescribeSeverityLevels -- operation. -- -- See: describeSeverityLevelsResponse smart constructor. data DescribeSeverityLevelsResponse -- | The available severity levels for the support case. Available severity -- levels are defined by your service level agreement with AWS. dslrsSeverityLevels :: Lens' DescribeSeverityLevelsResponse [SeverityLevel] -- | The response status code. dslrsResponseStatus :: Lens' DescribeSeverityLevelsResponse Int instance Typeable DescribeSeverityLevels instance Typeable DescribeSeverityLevelsResponse instance Eq DescribeSeverityLevels instance Read DescribeSeverityLevels instance Show DescribeSeverityLevels instance Data DescribeSeverityLevels instance Generic DescribeSeverityLevels instance Eq DescribeSeverityLevelsResponse instance Read DescribeSeverityLevelsResponse instance Show DescribeSeverityLevelsResponse instance Data DescribeSeverityLevelsResponse instance Generic DescribeSeverityLevelsResponse instance Datatype D1DescribeSeverityLevels instance Constructor C1_0DescribeSeverityLevels instance Selector S1_0_0DescribeSeverityLevels instance Datatype D1DescribeSeverityLevelsResponse instance Constructor C1_0DescribeSeverityLevelsResponse instance Selector S1_0_0DescribeSeverityLevelsResponse instance Selector S1_0_1DescribeSeverityLevelsResponse instance ToQuery DescribeSeverityLevels instance ToPath DescribeSeverityLevels instance ToJSON DescribeSeverityLevels instance ToHeaders DescribeSeverityLevels instance AWSRequest DescribeSeverityLevels -- | Takes a CaseId and returns the initial state of the case -- along with the state of the case after the call to ResolveCase -- completed. -- -- See: AWS API Reference for ResolveCase. module Network.AWS.Support.ResolveCase -- | Creates a value of ResolveCase with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- resolveCase :: ResolveCase -- | See: resolveCase smart constructor. data ResolveCase -- | The AWS 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 rcCaseId :: Lens' ResolveCase (Maybe Text) -- | Creates a value of ResolveCaseResponse with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- resolveCaseResponse :: Int -> ResolveCaseResponse -- | The status of the case returned by the ResolveCase operation. -- -- See: resolveCaseResponse smart constructor. data ResolveCaseResponse -- | The status of the case when the ResolveCase request was sent. rcrsInitialCaseStatus :: Lens' ResolveCaseResponse (Maybe Text) -- | The status of the case after the ResolveCase request was processed. rcrsFinalCaseStatus :: Lens' ResolveCaseResponse (Maybe Text) -- | The response status code. rcrsResponseStatus :: Lens' ResolveCaseResponse Int instance Typeable ResolveCase instance Typeable ResolveCaseResponse instance Eq ResolveCase instance Read ResolveCase instance Show ResolveCase instance Data ResolveCase instance Generic ResolveCase instance Eq ResolveCaseResponse instance Read ResolveCaseResponse instance Show ResolveCaseResponse instance Data ResolveCaseResponse instance Generic ResolveCaseResponse instance Datatype D1ResolveCase instance Constructor C1_0ResolveCase instance Selector S1_0_0ResolveCase instance Datatype D1ResolveCaseResponse instance Constructor C1_0ResolveCaseResponse instance Selector S1_0_0ResolveCaseResponse instance Selector S1_0_1ResolveCaseResponse instance Selector S1_0_2ResolveCaseResponse instance ToQuery ResolveCase instance ToPath ResolveCase instance ToJSON ResolveCase instance ToHeaders ResolveCase instance AWSRequest ResolveCase -- | Creates a new case in the AWS Support Center. This operation is -- modeled on the behavior of the AWS Support Center Create Case -- page. Its parameters require you to specify the following information: -- --
    --
  1. IssueType. The type of issue for the case. You can specify -- either "customer-service" or "technical." If you do not indicate a -- value, the default is "technical."
  2. --
  3. ServiceCode. The code for an AWS service. You obtain the -- ServiceCode by calling DescribeServices.
  4. --
  5. CategoryCode. The category for the service defined for the -- ServiceCode value. You also obtain the category code for a -- service by calling DescribeServices. Each AWS service defines its own -- set of category codes.
  6. --
  7. SeverityCode. A value that indicates the urgency of the -- case, which in turn determines the response time according to your -- service level agreement with AWS Support. You obtain the SeverityCode -- by calling DescribeSeverityLevels.
  8. --
  9. Subject. The Subject field on the AWS Support Center -- Create Case page.
  10. --
  11. CommunicationBody. The Description field on the AWS -- Support Center Create Case page.
  12. --
  13. AttachmentSetId. The ID of a set of attachments that has -- been created by using AddAttachmentsToSet.
  14. --
  15. Language. The human language in which AWS Support handles -- the case. English and Japanese are currently supported.
  16. --
  17. CcEmailAddresses. The AWS Support Center CC field on -- the Create Case page. You can list email addresses to be copied -- on any correspondence about the case. The account that opens the case -- is already identified by passing the AWS Credentials in the HTTP POST -- method or in a method or function call from one of the programming -- languages supported by an AWS SDK.
  18. --
-- -- To add additional communication or attachments to an existing case, -- use AddCommunicationToCase. -- -- A successful CreateCase request returns an AWS Support case number. -- Case numbers are used by the DescribeCases operation to retrieve -- existing AWS Support cases. -- -- See: AWS API Reference for CreateCase. module Network.AWS.Support.CreateCase -- | Creates a value of CreateCase with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createCase :: Text -> Text -> CreateCase -- | See: createCase smart constructor. data CreateCase -- | The code for the severity level returned by the call to -- DescribeSeverityLevels. -- -- The availability of severity levels depends on each customer's support -- subscription. In other words, your subscription may not necessarily -- require the urgent level of response time. ccSeverityCode :: Lens' CreateCase (Maybe Text) -- | The type of issue for the case. You can specify either -- "customer-service" or "technical." If you do not indicate a value, the -- default is "technical." ccIssueType :: Lens' CreateCase (Maybe Text) -- | A list of email addresses that AWS Support copies on case -- correspondence. ccCcEmailAddresses :: Lens' CreateCase [Text] -- | The ISO 639-1 code for the language in which AWS provides support. AWS -- Support currently supports English ("en") and Japanese ("ja"). -- Language parameters must be passed explicitly for operations that take -- them. ccLanguage :: Lens' CreateCase (Maybe Text) -- | The category of problem for the AWS Support case. ccCategoryCode :: Lens' CreateCase (Maybe Text) -- | The code for the AWS service returned by the call to DescribeServices. ccServiceCode :: Lens' CreateCase (Maybe Text) -- | The ID of a set of one or more attachments for the case. Create the -- set by using AddAttachmentsToSet. ccAttachmentSetId :: Lens' CreateCase (Maybe Text) -- | The title of the AWS Support case. ccSubject :: Lens' CreateCase Text -- | The communication body text when you create an AWS Support case by -- calling CreateCase. ccCommunicationBody :: Lens' CreateCase Text -- | Creates a value of CreateCaseResponse with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createCaseResponse :: Int -> CreateCaseResponse -- | The AWS Support case ID returned by a successful completion of the -- CreateCase operation. -- -- See: createCaseResponse smart constructor. data CreateCaseResponse -- | The AWS 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 ccrsCaseId :: Lens' CreateCaseResponse (Maybe Text) -- | The response status code. ccrsResponseStatus :: Lens' CreateCaseResponse Int instance Typeable CreateCase instance Typeable CreateCaseResponse instance Eq CreateCase instance Read CreateCase instance Show CreateCase instance Data CreateCase instance Generic CreateCase instance Eq CreateCaseResponse instance Read CreateCaseResponse instance Show CreateCaseResponse instance Data CreateCaseResponse instance Generic CreateCaseResponse instance Datatype D1CreateCase instance Constructor C1_0CreateCase instance Selector S1_0_0CreateCase instance Selector S1_0_1CreateCase instance Selector S1_0_2CreateCase instance Selector S1_0_3CreateCase instance Selector S1_0_4CreateCase instance Selector S1_0_5CreateCase instance Selector S1_0_6CreateCase instance Selector S1_0_7CreateCase instance Selector S1_0_8CreateCase instance Datatype D1CreateCaseResponse instance Constructor C1_0CreateCaseResponse instance Selector S1_0_0CreateCaseResponse instance Selector S1_0_1CreateCaseResponse instance ToQuery CreateCase instance ToPath CreateCase instance ToJSON CreateCase instance ToHeaders CreateCase instance AWSRequest CreateCase -- | Returns the summaries of the results of the Trusted Advisor checks -- that have the specified check IDs. Check IDs can be obtained by -- calling DescribeTrustedAdvisorChecks. -- -- The response contains an array of TrustedAdvisorCheckSummary objects. -- -- See: AWS API Reference for -- DescribeTrustedAdvisorCheckSummaries. module Network.AWS.Support.DescribeTrustedAdvisorCheckSummaries -- | Creates a value of DescribeTrustedAdvisorCheckSummaries with -- the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- describeTrustedAdvisorCheckSummaries :: DescribeTrustedAdvisorCheckSummaries -- | See: describeTrustedAdvisorCheckSummaries smart -- constructor. data DescribeTrustedAdvisorCheckSummaries -- | The IDs of the Trusted Advisor checks. dtacsCheckIds :: Lens' DescribeTrustedAdvisorCheckSummaries [Text] -- | Creates a value of DescribeTrustedAdvisorCheckSummariesResponse -- with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- describeTrustedAdvisorCheckSummariesResponse :: Int -> DescribeTrustedAdvisorCheckSummariesResponse -- | The summaries of the Trusted Advisor checks returned by the -- DescribeTrustedAdvisorCheckSummaries operation. -- -- See: describeTrustedAdvisorCheckSummariesResponse smart -- constructor. data DescribeTrustedAdvisorCheckSummariesResponse -- | The response status code. dtacsrsResponseStatus :: Lens' DescribeTrustedAdvisorCheckSummariesResponse Int -- | The summary information for the requested Trusted Advisor checks. dtacsrsSummaries :: Lens' DescribeTrustedAdvisorCheckSummariesResponse [TrustedAdvisorCheckSummary] instance Typeable DescribeTrustedAdvisorCheckSummaries instance Typeable DescribeTrustedAdvisorCheckSummariesResponse instance Eq DescribeTrustedAdvisorCheckSummaries instance Read DescribeTrustedAdvisorCheckSummaries instance Show DescribeTrustedAdvisorCheckSummaries instance Data DescribeTrustedAdvisorCheckSummaries instance Generic DescribeTrustedAdvisorCheckSummaries instance Eq DescribeTrustedAdvisorCheckSummariesResponse instance Read DescribeTrustedAdvisorCheckSummariesResponse instance Show DescribeTrustedAdvisorCheckSummariesResponse instance Data DescribeTrustedAdvisorCheckSummariesResponse instance Generic DescribeTrustedAdvisorCheckSummariesResponse instance Datatype D1DescribeTrustedAdvisorCheckSummaries instance Constructor C1_0DescribeTrustedAdvisorCheckSummaries instance Selector S1_0_0DescribeTrustedAdvisorCheckSummaries instance Datatype D1DescribeTrustedAdvisorCheckSummariesResponse instance Constructor C1_0DescribeTrustedAdvisorCheckSummariesResponse instance Selector S1_0_0DescribeTrustedAdvisorCheckSummariesResponse instance Selector S1_0_1DescribeTrustedAdvisorCheckSummariesResponse instance ToQuery DescribeTrustedAdvisorCheckSummaries instance ToPath DescribeTrustedAdvisorCheckSummaries instance ToJSON DescribeTrustedAdvisorCheckSummaries instance ToHeaders DescribeTrustedAdvisorCheckSummaries instance AWSRequest DescribeTrustedAdvisorCheckSummaries -- | Returns the refresh status of the Trusted Advisor checks that have the -- specified check IDs. Check IDs can be obtained by calling -- DescribeTrustedAdvisorChecks. -- -- See: AWS API Reference for -- DescribeTrustedAdvisorCheckRefreshStatuses. module Network.AWS.Support.DescribeTrustedAdvisorCheckRefreshStatuses -- | Creates a value of DescribeTrustedAdvisorCheckRefreshStatuses -- with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- describeTrustedAdvisorCheckRefreshStatuses :: DescribeTrustedAdvisorCheckRefreshStatuses -- | See: describeTrustedAdvisorCheckRefreshStatuses smart -- constructor. data DescribeTrustedAdvisorCheckRefreshStatuses -- | The IDs of the Trusted Advisor checks. dtacrsCheckIds :: Lens' DescribeTrustedAdvisorCheckRefreshStatuses [Text] -- | Creates a value of -- DescribeTrustedAdvisorCheckRefreshStatusesResponse with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- describeTrustedAdvisorCheckRefreshStatusesResponse :: Int -> DescribeTrustedAdvisorCheckRefreshStatusesResponse -- | The statuses of the Trusted Advisor checks returned by the -- DescribeTrustedAdvisorCheckRefreshStatuses operation. -- -- See: describeTrustedAdvisorCheckRefreshStatusesResponse -- smart constructor. data DescribeTrustedAdvisorCheckRefreshStatusesResponse -- | The response status code. dtacrsrsResponseStatus :: Lens' DescribeTrustedAdvisorCheckRefreshStatusesResponse Int -- | The refresh status of the specified Trusted Advisor checks. dtacrsrsStatuses :: Lens' DescribeTrustedAdvisorCheckRefreshStatusesResponse [TrustedAdvisorCheckRefreshStatus] instance Typeable DescribeTrustedAdvisorCheckRefreshStatuses instance Typeable DescribeTrustedAdvisorCheckRefreshStatusesResponse instance Eq DescribeTrustedAdvisorCheckRefreshStatuses instance Read DescribeTrustedAdvisorCheckRefreshStatuses instance Show DescribeTrustedAdvisorCheckRefreshStatuses instance Data DescribeTrustedAdvisorCheckRefreshStatuses instance Generic DescribeTrustedAdvisorCheckRefreshStatuses instance Eq DescribeTrustedAdvisorCheckRefreshStatusesResponse instance Read DescribeTrustedAdvisorCheckRefreshStatusesResponse instance Show DescribeTrustedAdvisorCheckRefreshStatusesResponse instance Data DescribeTrustedAdvisorCheckRefreshStatusesResponse instance Generic DescribeTrustedAdvisorCheckRefreshStatusesResponse instance Datatype D1DescribeTrustedAdvisorCheckRefreshStatuses instance Constructor C1_0DescribeTrustedAdvisorCheckRefreshStatuses instance Selector S1_0_0DescribeTrustedAdvisorCheckRefreshStatuses instance Datatype D1DescribeTrustedAdvisorCheckRefreshStatusesResponse instance Constructor C1_0DescribeTrustedAdvisorCheckRefreshStatusesResponse instance Selector S1_0_0DescribeTrustedAdvisorCheckRefreshStatusesResponse instance Selector S1_0_1DescribeTrustedAdvisorCheckRefreshStatusesResponse instance ToQuery DescribeTrustedAdvisorCheckRefreshStatuses instance ToPath DescribeTrustedAdvisorCheckRefreshStatuses instance ToJSON DescribeTrustedAdvisorCheckRefreshStatuses instance ToHeaders DescribeTrustedAdvisorCheckRefreshStatuses instance AWSRequest DescribeTrustedAdvisorCheckRefreshStatuses -- | Returns a list of cases that you specify by passing one or more case -- IDs. In addition, you can filter the cases by date by setting values -- for the AfterTime and BeforeTime request parameters. -- You can set values for the IncludeResolvedCases and -- IncludeCommunications request parameters to control how much -- information is returned. -- -- 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. -- -- The response returns the following in JSON format: -- --
    --
  1. One or more CaseDetails data types.
  2. --
  3. One or more NextToken values, which specify where to -- paginate the returned records represented by the CaseDetails -- objects.
  4. --
-- -- See: AWS API Reference for DescribeCases. -- -- This operation returns paginated results. module Network.AWS.Support.DescribeCases -- | Creates a value of DescribeCases with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- describeCases :: DescribeCases -- | See: describeCases smart constructor. data DescribeCases -- | Specifies whether resolved support cases should be included in the -- DescribeCases results. The default is false. dcIncludeResolvedCases :: Lens' DescribeCases (Maybe Bool) -- | A list of ID numbers of the support cases you want returned. The -- maximum number of cases is 100. dcCaseIdList :: Lens' DescribeCases [Text] -- | The start date for a filtered date search on support case -- communications. Case communications are available for 12 months after -- creation. dcAfterTime :: 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. dcBeforeTime :: Lens' DescribeCases (Maybe Text) -- | A resumption point for pagination. dcNextToken :: Lens' DescribeCases (Maybe Text) -- | Specifies whether communications should be included in the -- DescribeCases results. The default is true. dcIncludeCommunications :: Lens' DescribeCases (Maybe Bool) -- | The ID displayed for a case in the AWS Support Center user interface. dcDisplayId :: Lens' DescribeCases (Maybe Text) -- | The ISO 639-1 code for the language in which AWS provides support. AWS -- Support currently supports English ("en") and Japanese ("ja"). -- Language parameters must be passed explicitly for operations that take -- them. dcLanguage :: Lens' DescribeCases (Maybe Text) -- | The maximum number of results to return before paginating. dcMaxResults :: Lens' DescribeCases (Maybe Natural) -- | Creates a value of DescribeCasesResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- describeCasesResponse :: Int -> DescribeCasesResponse -- | Returns an array of CaseDetails objects and a NextToken that -- defines a point for pagination in the result set. -- -- See: describeCasesResponse smart constructor. data DescribeCasesResponse -- | The details for the cases that match the request. drsCases :: Lens' DescribeCasesResponse [CaseDetails] -- | A resumption point for pagination. drsNextToken :: Lens' DescribeCasesResponse (Maybe Text) -- | The response status code. drsResponseStatus :: Lens' DescribeCasesResponse Int instance Typeable DescribeCases instance Typeable DescribeCasesResponse instance Eq DescribeCases instance Read DescribeCases instance Show DescribeCases instance Data DescribeCases instance Generic DescribeCases instance Eq DescribeCasesResponse instance Read DescribeCasesResponse instance Show DescribeCasesResponse instance Data DescribeCasesResponse instance Generic DescribeCasesResponse instance Datatype D1DescribeCases instance Constructor C1_0DescribeCases instance Selector S1_0_0DescribeCases instance Selector S1_0_1DescribeCases instance Selector S1_0_2DescribeCases instance Selector S1_0_3DescribeCases instance Selector S1_0_4DescribeCases instance Selector S1_0_5DescribeCases instance Selector S1_0_6DescribeCases instance Selector S1_0_7DescribeCases instance Selector S1_0_8DescribeCases instance Datatype D1DescribeCasesResponse instance Constructor C1_0DescribeCasesResponse instance Selector S1_0_0DescribeCasesResponse instance Selector S1_0_1DescribeCasesResponse instance Selector S1_0_2DescribeCasesResponse instance ToQuery DescribeCases instance ToPath DescribeCases instance ToJSON DescribeCases instance ToHeaders DescribeCases instance AWSRequest DescribeCases instance AWSPager DescribeCases -- | Requests a refresh of the Trusted Advisor check that has the specified -- check ID. Check IDs can be obtained by calling -- DescribeTrustedAdvisorChecks. -- -- The response contains a TrustedAdvisorCheckRefreshStatus object, which -- contains these fields: -- -- -- -- See: AWS API Reference for RefreshTrustedAdvisorCheck. module Network.AWS.Support.RefreshTrustedAdvisorCheck -- | Creates a value of RefreshTrustedAdvisorCheck with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- refreshTrustedAdvisorCheck :: Text -> RefreshTrustedAdvisorCheck -- | See: refreshTrustedAdvisorCheck smart constructor. data RefreshTrustedAdvisorCheck -- | The unique identifier for the Trusted Advisor check. rtacCheckId :: Lens' RefreshTrustedAdvisorCheck Text -- | Creates a value of RefreshTrustedAdvisorCheckResponse with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- refreshTrustedAdvisorCheckResponse :: Int -> TrustedAdvisorCheckRefreshStatus -> RefreshTrustedAdvisorCheckResponse -- | The current refresh status of a Trusted Advisor check. -- -- See: refreshTrustedAdvisorCheckResponse smart -- constructor. data RefreshTrustedAdvisorCheckResponse -- | The response status code. rtacrsResponseStatus :: Lens' RefreshTrustedAdvisorCheckResponse Int -- | The current refresh status for a check, including the amount of time -- until the check is eligible for refresh. rtacrsStatus :: Lens' RefreshTrustedAdvisorCheckResponse TrustedAdvisorCheckRefreshStatus instance Typeable RefreshTrustedAdvisorCheck instance Typeable RefreshTrustedAdvisorCheckResponse instance Eq RefreshTrustedAdvisorCheck instance Read RefreshTrustedAdvisorCheck instance Show RefreshTrustedAdvisorCheck instance Data RefreshTrustedAdvisorCheck instance Generic RefreshTrustedAdvisorCheck instance Eq RefreshTrustedAdvisorCheckResponse instance Read RefreshTrustedAdvisorCheckResponse instance Show RefreshTrustedAdvisorCheckResponse instance Data RefreshTrustedAdvisorCheckResponse instance Generic RefreshTrustedAdvisorCheckResponse instance Datatype D1RefreshTrustedAdvisorCheck instance Constructor C1_0RefreshTrustedAdvisorCheck instance Selector S1_0_0RefreshTrustedAdvisorCheck instance Datatype D1RefreshTrustedAdvisorCheckResponse instance Constructor C1_0RefreshTrustedAdvisorCheckResponse instance Selector S1_0_0RefreshTrustedAdvisorCheckResponse instance Selector S1_0_1RefreshTrustedAdvisorCheckResponse instance ToQuery RefreshTrustedAdvisorCheck instance ToPath RefreshTrustedAdvisorCheck instance ToJSON RefreshTrustedAdvisorCheck instance ToHeaders RefreshTrustedAdvisorCheck instance AWSRequest RefreshTrustedAdvisorCheck -- | AWS Support -- -- The AWS Support API reference is intended for programmers who need -- detailed information about the AWS Support operations and data types. -- This service enables you to manage your AWS Support cases -- programmatically. It uses HTTP methods that return results in JSON -- format. -- -- The AWS Support service also exposes a set of Trusted Advisor -- features. You can retrieve a list of checks and their descriptions, -- get check results, specify checks to refresh, and get the refresh -- status of checks. -- -- The following list describes the AWS Support case management -- operations: -- -- -- -- The following list describes the operations available from the AWS -- Support service for Trusted Advisor: -- -- -- -- For authentication of requests, AWS Support uses Signature Version -- 4 Signing Process. -- -- See About the AWS Support API in the AWS Support User -- Guide for information about how to use this service to create and -- manage your support cases, and how to call Trusted Advisor for results -- of checks on your resources. -- -- See: AWS API Reference module Network.AWS.Support -- | API version '2013-04-15' of the Amazon Support SDK configuration. support :: Service -- | The expiration time of the attachment set has passed. The set expires -- 1 hour after it is created. _AttachmentSetExpired :: AsError a => Getting (First ServiceError) a ServiceError -- | The limit for the number of attachment sets created in a short period -- of time has been exceeded. _AttachmentLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError -- | The limit for the number of DescribeAttachment requests in a short -- period of time has been exceeded. _DescribeAttachmentLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError -- | The requested CaseId could not be located. _CaseIdNotFound :: AsError a => Getting (First ServiceError) a ServiceError -- | An attachment set with the specified ID could not be found. _AttachmentSetIdNotFound :: AsError a => Getting (First ServiceError) a ServiceError -- | A limit for the size of an attachment set has been exceeded. The -- limits are 3 attachments and 5 MB per attachment. _AttachmentSetSizeLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError -- | An attachment with the specified ID could not be found. _AttachmentIdNotFound :: AsError a => Getting (First ServiceError) a ServiceError -- | An internal server error occurred. _InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError -- | The case creation limit for the account has been exceeded. _CaseCreationLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError -- | An attachment to a case communication. The attachment consists of the -- file name and the content of the file. -- -- See: attachment smart constructor. data Attachment -- | Creates a value of Attachment with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- attachment :: Attachment -- | The content of the attachment file. -- -- Note: This Lens automatically encodes and decodes Base64 -- data, despite what the AWS documentation might say. 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. aData :: Lens' Attachment (Maybe ByteString) -- | The name of the attachment file. aFileName :: 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: attachmentDetails smart constructor. data AttachmentDetails -- | Creates a value of AttachmentDetails with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- attachmentDetails :: AttachmentDetails -- | The ID of the attachment. adAttachmentId :: Lens' AttachmentDetails (Maybe Text) -- | The file name of the attachment. adFileName :: Lens' AttachmentDetails (Maybe Text) -- | A JSON-formatted object that contains the metadata for a support case. -- It is contained the response from a DescribeCases request. -- CaseDetails contains the following fields: -- --
    --
  1. CaseID. The AWS 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.
  2. --
  3. CategoryCode. The category of problem for the AWS Support -- case. Corresponds to the CategoryCode values returned by a call to -- DescribeServices.
  4. --
  5. DisplayId. The identifier for the case on pages in the AWS -- Support Center.
  6. --
  7. Language. The ISO 639-1 code for the language in which AWS -- provides support. AWS Support currently supports English ("en") and -- Japanese ("ja"). Language parameters must be passed explicitly for -- operations that take them.
  8. --
  9. RecentCommunications. One or more Communication objects. -- Fields of these objects are Attachments, Body, -- CaseId, SubmittedBy, and TimeCreated.
  10. --
  11. NextToken. A resumption point for pagination.
  12. --
  13. ServiceCode. The identifier for the AWS service that -- corresponds to the service code defined in the call to -- DescribeServices.
  14. --
  15. SeverityCode. The severity code assigned to the case. -- Contains one of the values returned by the call to -- DescribeSeverityLevels.
  16. --
  17. Status. The status of the case in the AWS Support -- Center.
  18. --
  19. Subject. The subject line of the case.
  20. --
  21. SubmittedBy. The email address of the account that -- submitted the case.
  22. --
  23. TimeCreated. The time the case was created, in ISO-8601 -- format.
  24. --
-- -- See: caseDetails smart constructor. data CaseDetails -- | Creates a value of CaseDetails with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- caseDetails :: CaseDetails -- | The subject line for the case in the AWS Support Center. cdSubject :: Lens' CaseDetails (Maybe Text) -- | The status of the case. cdStatus :: Lens' CaseDetails (Maybe Text) -- | The five most recent communications between you and AWS Support -- Center, including the IDs of any attachments to the communications. -- Also includes a nextToken that you can use to retrieve -- earlier communications. cdRecentCommunications :: Lens' CaseDetails (Maybe RecentCaseCommunications) -- | The code for the severity level returned by the call to -- DescribeSeverityLevels. cdSeverityCode :: Lens' CaseDetails (Maybe Text) -- | The AWS 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 cdCaseId :: Lens' CaseDetails (Maybe Text) -- | The email addresses that receive copies of communication about the -- case. cdCcEmailAddresses :: Lens' CaseDetails [Text] -- | The ID displayed for the case in the AWS Support Center. This is a -- numeric string. cdDisplayId :: Lens' CaseDetails (Maybe Text) -- | The email address of the account that submitted the case. cdSubmittedBy :: Lens' CaseDetails (Maybe Text) -- | The ISO 639-1 code for the language in which AWS provides support. AWS -- Support currently supports English ("en") and Japanese ("ja"). -- Language parameters must be passed explicitly for operations that take -- them. cdLanguage :: Lens' CaseDetails (Maybe Text) -- | The time that the case was case created in the AWS Support Center. cdTimeCreated :: Lens' CaseDetails (Maybe Text) -- | The category of problem for the AWS Support case. cdCategoryCode :: Lens' CaseDetails (Maybe Text) -- | The code for the AWS service returned by the call to DescribeServices. cdServiceCode :: 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 AWS service. -- -- See: category smart constructor. data Category -- | Creates a value of Category with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- category :: Category -- | The category name for the support case. cName :: Lens' Category (Maybe Text) -- | The category code for the support case. cCode :: Lens' Category (Maybe Text) -- | A communication associated with an AWS Support case. The communication -- consists of the case ID, the message body, attachment information, the -- account email address, and the date and time of the communication. -- -- See: communication smart constructor. data Communication -- | Creates a value of Communication with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- communication :: Communication -- | The text of the communication between the customer and AWS Support. cBody :: Lens' Communication (Maybe Text) -- | The AWS 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 cCaseId :: Lens' Communication (Maybe Text) -- | The email address of the account that submitted the AWS Support case. cSubmittedBy :: Lens' Communication (Maybe Text) -- | The time the communication was created. cTimeCreated :: Lens' Communication (Maybe Text) -- | Information about the attachments to the case communication. cAttachmentSet :: Lens' Communication [AttachmentDetails] -- | The five most recent communications associated with the case. -- -- See: recentCaseCommunications smart constructor. data RecentCaseCommunications -- | Creates a value of RecentCaseCommunications with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- recentCaseCommunications :: RecentCaseCommunications -- | A resumption point for pagination. rccNextToken :: Lens' RecentCaseCommunications (Maybe Text) -- | The five most recent communications associated with the case. rccCommunications :: Lens' RecentCaseCommunications [Communication] -- | A code and name pair that represent a severity level that can be -- applied to a support case. -- -- See: severityLevel smart constructor. data SeverityLevel -- | Creates a value of SeverityLevel with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- severityLevel :: SeverityLevel -- | The name of the severity level that corresponds to the severity level -- code. slName :: Lens' SeverityLevel (Maybe Text) -- | One of four values: "low," "medium," "high," and "urgent". These -- values correspond to response times returned to the caller in -- name. slCode :: Lens' SeverityLevel (Maybe Text) -- | Information about an AWS service returned by the DescribeServices -- operation. -- -- See: supportService smart constructor. data SupportService -- | Creates a value of SupportService with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- supportService :: 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 AWS Support when you call -- CreateCase. ssCategories :: Lens' SupportService [Category] -- | The friendly name for an AWS service. The Code element -- contains the corresponding code. ssName :: Lens' SupportService (Maybe Text) -- | The code for an AWS service returned by the DescribeServices response. -- The Name element contains the corresponding friendly name. ssCode :: Lens' SupportService (Maybe Text) -- | The container for summary information that relates to the category of -- the Trusted Advisor check. -- -- See: trustedAdvisorCategorySpecificSummary smart -- constructor. data TrustedAdvisorCategorySpecificSummary -- | Creates a value of TrustedAdvisorCategorySpecificSummary with -- the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- trustedAdvisorCategorySpecificSummary :: TrustedAdvisorCategorySpecificSummary -- | The summary information about cost savings for a Trusted Advisor check -- that is in the Cost Optimizing category. tacssCostOptimizing :: Lens' TrustedAdvisorCategorySpecificSummary (Maybe TrustedAdvisorCostOptimizingSummary) -- | The description and metadata for a Trusted Advisor check. -- -- See: trustedAdvisorCheckDescription smart constructor. data TrustedAdvisorCheckDescription -- | Creates a value of TrustedAdvisorCheckDescription with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- trustedAdvisorCheckDescription :: Text -> Text -> Text -> Text -> TrustedAdvisorCheckDescription -- | The unique identifier for the Trusted Advisor check. tacdId :: Lens' TrustedAdvisorCheckDescription Text -- | The display name for the Trusted Advisor check. tacdName :: Lens' TrustedAdvisorCheckDescription Text -- | The description of the Trusted Advisor check, which includes the alert -- criteria and recommended actions (contains HTML markup). tacdDescription :: Lens' TrustedAdvisorCheckDescription Text -- | The category of the Trusted Advisor check. tacdCategory :: 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. tacdMetadata :: Lens' TrustedAdvisorCheckDescription [Text] -- | The refresh status of a Trusted Advisor check. -- -- See: trustedAdvisorCheckRefreshStatus smart constructor. data TrustedAdvisorCheckRefreshStatus -- | Creates a value of TrustedAdvisorCheckRefreshStatus with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- trustedAdvisorCheckRefreshStatus :: Text -> Text -> Integer -> TrustedAdvisorCheckRefreshStatus -- | The unique identifier for the Trusted Advisor check. tacrsCheckId :: Lens' TrustedAdvisorCheckRefreshStatus Text -- | The status of the Trusted Advisor check for which a refresh has been -- requested: "none", "enqueued", "processing", "success", or -- "abandoned". tacrsStatus :: Lens' TrustedAdvisorCheckRefreshStatus Text -- | The amount of time, in milliseconds, until the Trusted Advisor check -- is eligible for refresh. tacrsMillisUntilNextRefreshable :: Lens' TrustedAdvisorCheckRefreshStatus Integer -- | The results of a Trusted Advisor check returned by -- DescribeTrustedAdvisorCheckResult. -- -- See: trustedAdvisorCheckResult smart constructor. data TrustedAdvisorCheckResult -- | Creates a value of TrustedAdvisorCheckResult with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- trustedAdvisorCheckResult :: Text -> Text -> Text -> TrustedAdvisorResourcesSummary -> TrustedAdvisorCategorySpecificSummary -> TrustedAdvisorCheckResult -- | The unique identifier for the Trusted Advisor check. tacrCheckId :: Lens' TrustedAdvisorCheckResult Text -- | The time of the last refresh of the check. tacrTimestamp :: Lens' TrustedAdvisorCheckResult Text -- | The alert status of the check: "ok" (green), "warning" (yellow), -- "error" (red), or "not_available". tacrStatus :: Lens' TrustedAdvisorCheckResult Text -- | Undocumented member. tacrResourcesSummary :: Lens' TrustedAdvisorCheckResult TrustedAdvisorResourcesSummary -- | Summary information that relates to the category of the check. Cost -- Optimizing is the only category that is currently supported. tacrCategorySpecificSummary :: Lens' TrustedAdvisorCheckResult TrustedAdvisorCategorySpecificSummary -- | The details about each resource listed in the check result. tacrFlaggedResources :: Lens' TrustedAdvisorCheckResult [TrustedAdvisorResourceDetail] -- | A summary of a Trusted Advisor check result, including the alert -- status, last refresh, and number of resources examined. -- -- See: trustedAdvisorCheckSummary smart constructor. data TrustedAdvisorCheckSummary -- | Creates a value of TrustedAdvisorCheckSummary with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- trustedAdvisorCheckSummary :: Text -> Text -> Text -> TrustedAdvisorResourcesSummary -> TrustedAdvisorCategorySpecificSummary -> TrustedAdvisorCheckSummary -- | Specifies whether the Trusted Advisor check has flagged resources. tacsHasFlaggedResources :: Lens' TrustedAdvisorCheckSummary (Maybe Bool) -- | The unique identifier for the Trusted Advisor check. tacsCheckId :: Lens' TrustedAdvisorCheckSummary Text -- | The time of the last refresh of the check. tacsTimestamp :: Lens' TrustedAdvisorCheckSummary Text -- | The alert status of the check: "ok" (green), "warning" (yellow), -- "error" (red), or "not_available". tacsStatus :: Lens' TrustedAdvisorCheckSummary Text -- | Undocumented member. tacsResourcesSummary :: Lens' TrustedAdvisorCheckSummary TrustedAdvisorResourcesSummary -- | Summary information that relates to the category of the check. Cost -- Optimizing is the only category that is currently supported. tacsCategorySpecificSummary :: Lens' TrustedAdvisorCheckSummary TrustedAdvisorCategorySpecificSummary -- | The estimated cost savings that might be realized if the recommended -- actions are taken. -- -- See: trustedAdvisorCostOptimizingSummary smart -- constructor. data TrustedAdvisorCostOptimizingSummary -- | Creates a value of TrustedAdvisorCostOptimizingSummary with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- trustedAdvisorCostOptimizingSummary :: Double -> Double -> TrustedAdvisorCostOptimizingSummary -- | The estimated monthly savings that might be realized if the -- recommended actions are taken. tacosEstimatedMonthlySavings :: Lens' TrustedAdvisorCostOptimizingSummary Double -- | The estimated percentage of savings that might be realized if the -- recommended actions are taken. tacosEstimatedPercentMonthlySavings :: Lens' TrustedAdvisorCostOptimizingSummary Double -- | Contains information about a resource identified by a Trusted Advisor -- check. -- -- See: trustedAdvisorResourceDetail smart constructor. data TrustedAdvisorResourceDetail -- | Creates a value of TrustedAdvisorResourceDetail with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- trustedAdvisorResourceDetail :: Text -> Text -> Text -> TrustedAdvisorResourceDetail -- | Specifies whether the AWS resource was ignored by Trusted Advisor -- because it was marked as suppressed by the user. tardIsSuppressed :: Lens' TrustedAdvisorResourceDetail (Maybe Bool) -- | The status code for the resource identified in the Trusted Advisor -- check. tardStatus :: Lens' TrustedAdvisorResourceDetail Text -- | The AWS region in which the identified resource is located. tardRegion :: Lens' TrustedAdvisorResourceDetail Text -- | The unique identifier for the identified resource. tardResourceId :: 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. tardMetadata :: Lens' TrustedAdvisorResourceDetail [Text] -- | Details about AWS resources that were analyzed in a call to Trusted -- Advisor DescribeTrustedAdvisorCheckSummaries. -- -- See: trustedAdvisorResourcesSummary smart constructor. data TrustedAdvisorResourcesSummary -- | Creates a value of TrustedAdvisorResourcesSummary with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- trustedAdvisorResourcesSummary :: Integer -> Integer -> Integer -> Integer -> TrustedAdvisorResourcesSummary -- | The number of AWS resources that were analyzed by the Trusted Advisor -- check. tarsResourcesProcessed :: Lens' TrustedAdvisorResourcesSummary Integer -- | The number of AWS resources that were flagged (listed) by the Trusted -- Advisor check. tarsResourcesFlagged :: Lens' TrustedAdvisorResourcesSummary Integer -- | The number of AWS resources ignored by Trusted Advisor because -- information was unavailable. tarsResourcesIgnored :: Lens' TrustedAdvisorResourcesSummary Integer -- | The number of AWS resources ignored by Trusted Advisor because they -- were marked as suppressed by the user. tarsResourcesSuppressed :: Lens' TrustedAdvisorResourcesSummary Integer