packages feed

amazonka-support 1.4.4 → 1.4.5

raw patch · 19 files changed

+429/−360 lines, 19 filesdep ~amazonka-coredep ~amazonka-supportdep ~amazonka-testPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: amazonka-core, amazonka-support, amazonka-test

API changes (from Hackage documentation)

- Network.AWS.Support.AddAttachmentsToSet: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Support.AddAttachmentsToSet.AddAttachmentsToSet
- Network.AWS.Support.AddCommunicationToCase: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Support.AddCommunicationToCase.AddCommunicationToCase
- Network.AWS.Support.CreateCase: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Support.CreateCase.CreateCase
- Network.AWS.Support.DescribeAttachment: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Support.DescribeAttachment.DescribeAttachment
- Network.AWS.Support.DescribeCases: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Support.DescribeCases.DescribeCases
- Network.AWS.Support.DescribeCommunications: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Support.DescribeCommunications.DescribeCommunications
- Network.AWS.Support.DescribeServices: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Support.DescribeServices.DescribeServices
- Network.AWS.Support.DescribeSeverityLevels: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Support.DescribeSeverityLevels.DescribeSeverityLevels
- Network.AWS.Support.DescribeTrustedAdvisorCheckRefreshStatuses: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Support.DescribeTrustedAdvisorCheckRefreshStatuses.DescribeTrustedAdvisorCheckRefreshStatuses
- Network.AWS.Support.DescribeTrustedAdvisorCheckResult: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Support.DescribeTrustedAdvisorCheckResult.DescribeTrustedAdvisorCheckResult
- Network.AWS.Support.DescribeTrustedAdvisorCheckSummaries: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Support.DescribeTrustedAdvisorCheckSummaries.DescribeTrustedAdvisorCheckSummaries
- Network.AWS.Support.DescribeTrustedAdvisorChecks: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Support.DescribeTrustedAdvisorChecks.DescribeTrustedAdvisorChecks
- Network.AWS.Support.RefreshTrustedAdvisorCheck: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Support.RefreshTrustedAdvisorCheck.RefreshTrustedAdvisorCheck
- Network.AWS.Support.ResolveCase: instance Data.Aeson.Types.Class.ToJSON Network.AWS.Support.ResolveCase.ResolveCase
+ Network.AWS.Support.AddAttachmentsToSet: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Support.AddAttachmentsToSet.AddAttachmentsToSet
+ Network.AWS.Support.AddCommunicationToCase: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Support.AddCommunicationToCase.AddCommunicationToCase
+ Network.AWS.Support.CreateCase: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Support.CreateCase.CreateCase
+ Network.AWS.Support.DescribeAttachment: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Support.DescribeAttachment.DescribeAttachment
+ Network.AWS.Support.DescribeCases: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Support.DescribeCases.DescribeCases
+ Network.AWS.Support.DescribeCommunications: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Support.DescribeCommunications.DescribeCommunications
+ Network.AWS.Support.DescribeServices: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Support.DescribeServices.DescribeServices
+ Network.AWS.Support.DescribeSeverityLevels: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Support.DescribeSeverityLevels.DescribeSeverityLevels
+ Network.AWS.Support.DescribeTrustedAdvisorCheckRefreshStatuses: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Support.DescribeTrustedAdvisorCheckRefreshStatuses.DescribeTrustedAdvisorCheckRefreshStatuses
+ Network.AWS.Support.DescribeTrustedAdvisorCheckResult: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Support.DescribeTrustedAdvisorCheckResult.DescribeTrustedAdvisorCheckResult
+ Network.AWS.Support.DescribeTrustedAdvisorCheckSummaries: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Support.DescribeTrustedAdvisorCheckSummaries.DescribeTrustedAdvisorCheckSummaries
+ Network.AWS.Support.DescribeTrustedAdvisorChecks: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Support.DescribeTrustedAdvisorChecks.DescribeTrustedAdvisorChecks
+ Network.AWS.Support.RefreshTrustedAdvisorCheck: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Support.RefreshTrustedAdvisorCheck.RefreshTrustedAdvisorCheck
+ Network.AWS.Support.ResolveCase: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Support.ResolveCase.ResolveCase

Files

README.md view
@@ -8,56 +8,27 @@  ## Version -`1.4.4`+`1.4.5`   ## Description -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 <http://aws.amazon.com/premiumsupport/trustedadvisor/ 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:---   __Service names, issue categories, and available severity levels.__ The < DescribeServices> and < DescribeSeverityLevels> operations return AWS service names, service codes, service categories, and problem severity levels. You use these values when you call the < CreateCase> operation.---   __Case creation, case details, and case resolution.__ The < CreateCase>, < DescribeCases>, < DescribeAttachment>, and < ResolveCase> operations create AWS Support cases, retrieve information about cases, and resolve cases.---   __Case communication.__ The < DescribeCommunications>, < AddCommunicationToCase>, and < AddAttachmentsToSet> operations retrieve and add communications and attachments to AWS Support cases.--The following list describes the operations available from the AWS Support service for Trusted Advisor:---   < DescribeTrustedAdvisorChecks> returns the list of checks that run against your AWS resources.---   Using the -    @-    checkId-    @-     for a specific check returned by < DescribeTrustedAdvisorChecks>, you can call < DescribeTrustedAdvisorCheckResult> to obtain the results for the check you specified.---   < DescribeTrustedAdvisorCheckSummaries> returns summarized results for one or more Trusted Advisor checks.---   < RefreshTrustedAdvisorCheck> requests that Trusted Advisor rerun a specified check.---   < DescribeTrustedAdvisorCheckRefreshStatuses> reports the refresh status of one or more checks.--For authentication of requests, AWS Support uses <http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html Signature Version 4 Signing Process>.--See <http://docs.aws.amazon.com/awssupport/latest/user/Welcome.html 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.- Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-support) and the [AWS API Reference](https://aws.amazon.com/documentation/).  The types from this library are intended to be used with [amazonka](http://hackage.haskell.org/package/amazonka),-which provides mechanisms for specifying AuthN/AuthZ information and sending requests.+which provides mechanisms for specifying AuthN/AuthZ information, sending requests,+and receiving responses. -Use of lenses is required for constructing and manipulating types.-This is due to the amount of nesting of AWS types and transparency regarding+Lenses are used for constructing and manipulating types,+due to the depth of nesting of AWS types and transparency regarding de/serialisation into more palatable Haskell values. The provided lenses should be compatible with any of the major lens libraries [lens](http://hackage.haskell.org/package/lens) or [lens-family-core](http://hackage.haskell.org/package/lens-family-core).++See [Network.AWS.Support](http://hackage.haskell.org/package/amazonka-support/docs/Network-AWS-Support.html)+or [the AWS documentation](https://aws.amazon.com/documentation/) to get started.+  ## Contribute 
amazonka-support.cabal view
@@ -1,5 +1,5 @@ name:                  amazonka-support-version:               1.4.4+version:               1.4.5 synopsis:              Amazon Support SDK. homepage:              https://github.com/brendanhay/amazonka bug-reports:           https://github.com/brendanhay/amazonka/issues@@ -13,52 +13,19 @@ cabal-version:         >= 1.10 extra-source-files:    README.md fixture/*.yaml fixture/*.proto src/.gitkeep description:-    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 <http://aws.amazon.com/premiumsupport/trustedadvisor/ 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:--    -   __Service names, issue categories, and available severity levels.__ The < DescribeServices> and < DescribeSeverityLevels> operations return AWS service names, service codes, service categories, and problem severity levels. You use these values when you call the < CreateCase> operation.--    -   __Case creation, case details, and case resolution.__ The < CreateCase>, < DescribeCases>, < DescribeAttachment>, and < ResolveCase> operations create AWS Support cases, retrieve information about cases, and resolve cases.--    -   __Case communication.__ The < DescribeCommunications>, < AddCommunicationToCase>, and < AddAttachmentsToSet> operations retrieve and add communications and attachments to AWS Support cases.--    The following list describes the operations available from the AWS Support service for Trusted Advisor:--    -   < DescribeTrustedAdvisorChecks> returns the list of checks that run against your AWS resources.--    -   Using the -    @-    checkId-    @-     for a specific check returned by < DescribeTrustedAdvisorChecks>, you can call < DescribeTrustedAdvisorCheckResult> to obtain the results for the check you specified.--    -   < DescribeTrustedAdvisorCheckSummaries> returns summarized results for one or more Trusted Advisor checks.--    -   < RefreshTrustedAdvisorCheck> requests that Trusted Advisor rerun a specified check.--    -   < DescribeTrustedAdvisorCheckRefreshStatuses> reports the refresh status of one or more checks.--    For authentication of requests, AWS Support uses <http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html Signature Version 4 Signing Process>.--    See <http://docs.aws.amazon.com/awssupport/latest/user/Welcome.html 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.-    .     The types from this library are intended to be used with     <http://hackage.haskell.org/package/amazonka amazonka>, which provides-    mechanisms for specifying AuthN/AuthZ information and sending requests.+    mechanisms for specifying AuthN/AuthZ information, sending requests,+    and receiving responses.     .-    Use of lenses is required for constructing and manipulating types.-    This is due to the amount of nesting of AWS types and transparency regarding+    Lenses are used for constructing and manipulating types,+    due to the depth of nesting of AWS types and transparency regarding     de/serialisation into more palatable Haskell values.     The provided lenses should be compatible with any of the major lens libraries     such as <http://hackage.haskell.org/package/lens lens> or     <http://hackage.haskell.org/package/lens-family-core lens-family-core>.     .-    See "Network.AWS.Support" or <https://aws.amazon.com/documentation/ the AWS Documentation>+    See "Network.AWS.Support" or <https://aws.amazon.com/documentation/ the AWS documentation>     to get started.  source-repository head@@ -95,7 +62,7 @@         , Network.AWS.Support.Types.Sum      build-depends:-          amazonka-core == 1.4.4.*+          amazonka-core == 1.4.5.*         , base          >= 4.7     && < 5  test-suite amazonka-support-test@@ -115,9 +82,9 @@         , Test.AWS.Support.Internal      build-depends:-          amazonka-core == 1.4.4.*-        , amazonka-test == 1.4.4.*-        , amazonka-support == 1.4.4.*+          amazonka-core == 1.4.5.*+        , amazonka-test == 1.4.5.*+        , amazonka-support == 1.4.5.*         , base         , bytestring         , tasty
gen/Network/AWS/Support.hs view
@@ -11,7 +11,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- AWS Support+-- __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. --@@ -19,27 +19,32 @@ -- -- The following list describes the AWS Support case management operations: ----- -   __Service names, issue categories, and available severity levels.__ The < DescribeServices> and < DescribeSeverityLevels> operations return AWS service names, service codes, service categories, and problem severity levels. You use these values when you call the < CreateCase> operation.+--     * __Service names, issue categories, and available severity levels. __ The 'DescribeServices' and 'DescribeSeverityLevels' operations return AWS service names, service codes, service categories, and problem severity levels. You use these values when you call the 'CreateCase' operation. ----- -   __Case creation, case details, and case resolution.__ The < CreateCase>, < DescribeCases>, < DescribeAttachment>, and < ResolveCase> operations create AWS Support cases, retrieve information about cases, and resolve cases.+--     * __Case creation, case details, and case resolution.__ The 'CreateCase' , 'DescribeCases' , 'DescribeAttachment' , and 'ResolveCase' operations create AWS Support cases, retrieve information about cases, and resolve cases. ----- -   __Case communication.__ The < DescribeCommunications>, < AddCommunicationToCase>, and < AddAttachmentsToSet> operations retrieve and add communications and attachments to AWS Support cases.+--     * __Case communication.__ The 'DescribeCommunications' , 'AddCommunicationToCase' , and 'AddAttachmentsToSet' operations retrieve and add communications and attachments to AWS Support cases. --+--+-- -- The following list describes the operations available from the AWS Support service for Trusted Advisor: ----- -   < DescribeTrustedAdvisorChecks> returns the list of checks that run against your AWS resources.+--     * 'DescribeTrustedAdvisorChecks' returns the list of checks that run against your AWS resources. ----- -   Using the 'checkId' for a specific check returned by < DescribeTrustedAdvisorChecks>, you can call < DescribeTrustedAdvisorCheckResult> to obtain the results for the check you specified.+--     * Using the @checkId@ for a specific check returned by 'DescribeTrustedAdvisorChecks' , you can call 'DescribeTrustedAdvisorCheckResult' to obtain the results for the check you specified. ----- -   < DescribeTrustedAdvisorCheckSummaries> returns summarized results for one or more Trusted Advisor checks.+--     * 'DescribeTrustedAdvisorCheckSummaries' returns summarized results for one or more Trusted Advisor checks. ----- -   < RefreshTrustedAdvisorCheck> requests that Trusted Advisor rerun a specified check.+--     * 'RefreshTrustedAdvisorCheck' requests that Trusted Advisor rerun a specified check. ----- -   < DescribeTrustedAdvisorCheckRefreshStatuses> reports the refresh status of one or more checks.+--     * 'DescribeTrustedAdvisorCheckRefreshStatuses' reports the refresh status of one or more checks. ----- For authentication of requests, AWS Support uses <http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html Signature Version 4 Signing Process>. --+--+-- For authentication of requests, AWS Support uses <http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html Signature Version 4 Signing Process> .+-- -- See <http://docs.aws.amazon.com/awssupport/latest/user/Welcome.html 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.+-- module Network.AWS.Support     (     -- * Service Configuration
gen/Network/AWS/Support/AddAttachmentsToSet.hs view
@@ -18,9 +18,11 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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.+--+-- 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.+-- module Network.AWS.Support.AddAttachmentsToSet     (     -- * Creating a Request@@ -48,6 +50,8 @@  -- | --+--+-- -- /See:/ 'addAttachmentsToSet' smart constructor. data AddAttachmentsToSet = AddAttachmentsToSet'     { _aatsAttachmentSetId :: !(Maybe Text)@@ -58,9 +62,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'aatsAttachmentSetId'+-- * 'aatsAttachmentSetId' - 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. ----- * 'aatsAttachments'+-- * 'aatsAttachments' - 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. addAttachmentsToSet     :: AddAttachmentsToSet addAttachmentsToSet =@@ -69,7 +73,7 @@     , _aatsAttachments = mempty     } --- | 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.+-- | 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) aatsAttachmentSetId = lens _aatsAttachmentSetId (\ s a -> s{_aatsAttachmentSetId = a}); @@ -115,8 +119,10 @@ instance ToQuery AddAttachmentsToSet where         toQuery = const mempty --- | The ID and expiry time of the attachment set returned by the < AddAttachmentsToSet> operation.+-- | The ID and expiry time of the attachment set returned by the 'AddAttachmentsToSet' operation. --+--+-- -- /See:/ 'addAttachmentsToSetResponse' smart constructor. data AddAttachmentsToSetResponse = AddAttachmentsToSetResponse'     { _aatsrsExpiryTime      :: !(Maybe Text)@@ -128,11 +134,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'aatsrsExpiryTime'+-- * 'aatsrsExpiryTime' - The time and date when the attachment set expires. ----- * 'aatsrsAttachmentSetId'+-- * 'aatsrsAttachmentSetId' - 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. ----- * 'aatsrsResponseStatus'+-- * 'aatsrsResponseStatus' - -- | The response status code. addAttachmentsToSetResponse     :: Int -- ^ 'aatsrsResponseStatus'     -> AddAttachmentsToSetResponse@@ -147,11 +153,11 @@ aatsrsExpiryTime :: Lens' AddAttachmentsToSetResponse (Maybe Text) aatsrsExpiryTime = lens _aatsrsExpiryTime (\ s a -> s{_aatsrsExpiryTime = a}); --- | 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.+-- | 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) aatsrsAttachmentSetId = lens _aatsrsAttachmentSetId (\ s a -> s{_aatsrsAttachmentSetId = a}); --- | The response status code.+-- | -- | The response status code. aatsrsResponseStatus :: Lens' AddAttachmentsToSetResponse Int aatsrsResponseStatus = lens _aatsrsResponseStatus (\ s a -> s{_aatsrsResponseStatus = a}); 
gen/Network/AWS/Support/AddCommunicationToCase.hs view
@@ -18,11 +18,13 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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.+-- module Network.AWS.Support.AddCommunicationToCase     (     -- * Creating a Request@@ -51,6 +53,8 @@  -- | To be written. --+--+-- -- /See:/ 'addCommunicationToCase' smart constructor. data AddCommunicationToCase = AddCommunicationToCase'     { _actcCaseId            :: !(Maybe Text)@@ -63,13 +67,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'actcCaseId'+-- * 'actcCaseId' - 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/ ----- * 'actcCcEmailAddresses'+-- * 'actcCcEmailAddresses' - The email addresses in the CC line of an email to be added to the support case. ----- * 'actcAttachmentSetId'+-- * 'actcAttachmentSetId' - The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling 'AddAttachmentsToSet' ----- * 'actcCommunicationBody'+-- * 'actcCommunicationBody' - The body of an email communication to add to the support case. addCommunicationToCase     :: Text -- ^ 'actcCommunicationBody'     -> AddCommunicationToCase@@ -89,7 +93,7 @@ actcCcEmailAddresses :: Lens' AddCommunicationToCase [Text] actcCcEmailAddresses = lens _actcCcEmailAddresses (\ s a -> s{_actcCcEmailAddresses = a}) . _Default . _Coerce; --- | The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling < AddAttachmentsToSet>+-- | 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) actcAttachmentSetId = lens _actcAttachmentSetId (\ s a -> s{_actcAttachmentSetId = a}); @@ -137,8 +141,10 @@ instance ToQuery AddCommunicationToCase where         toQuery = const mempty --- | The result of the < AddCommunicationToCase> operation.+-- | The result of the 'AddCommunicationToCase' operation. --+--+-- -- /See:/ 'addCommunicationToCaseResponse' smart constructor. data AddCommunicationToCaseResponse = AddCommunicationToCaseResponse'     { _actcrsResult         :: !(Maybe Bool)@@ -149,9 +155,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'actcrsResult'+-- * 'actcrsResult' - True if 'AddCommunicationToCase' succeeds. Otherwise, returns an error. ----- * 'actcrsResponseStatus'+-- * 'actcrsResponseStatus' - -- | The response status code. addCommunicationToCaseResponse     :: Int -- ^ 'actcrsResponseStatus'     -> AddCommunicationToCaseResponse@@ -161,11 +167,11 @@     , _actcrsResponseStatus = pResponseStatus_     } --- | True if < AddCommunicationToCase> succeeds. Otherwise, returns an error.+-- | True if 'AddCommunicationToCase' succeeds. Otherwise, returns an error. actcrsResult :: Lens' AddCommunicationToCaseResponse (Maybe Bool) actcrsResult = lens _actcrsResult (\ s a -> s{_actcrsResult = a}); --- | The response status code.+-- | -- | The response status code. actcrsResponseStatus :: Lens' AddCommunicationToCaseResponse Int actcrsResponseStatus = lens _actcrsResponseStatus (\ s a -> s{_actcrsResponseStatus = a}); 
gen/Network/AWS/Support/CreateCase.hs view
@@ -20,27 +20,29 @@ -- -- Creates a new case in the AWS Support Center. This operation is modeled on the behavior of the AWS Support Center <https://console.aws.amazon.com/support/home#/case/create Create Case> page. Its parameters require you to specify the following information: ----- -   __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.\" ----- -   __serviceCode.__ The code for an AWS service. You obtain the 'serviceCode' by calling < DescribeServices>.+--     * __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." ----- -   __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.+--     * __serviceCode.__ The code for an AWS service. You obtain the @serviceCode@ by calling 'DescribeServices' . ----- -   __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>.+--     * __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. ----- -   __subject.__ The __Subject__ field on the AWS Support Center <https://console.aws.amazon.com/support/home#/case/create Create Case> page.+--     * __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' . ----- -   __communicationBody.__ The __Description__ field on the AWS Support Center <https://console.aws.amazon.com/support/home#/case/create Create Case> page.+--     * __subject.__ The __Subject__ field on the AWS Support Center <https://console.aws.amazon.com/support/home#/case/create Create Case> page. ----- -   __attachmentSetId.__ The ID of a set of attachments that has been created by using < AddAttachmentsToSet>.+--     * __communicationBody.__ The __Description__ field on the AWS Support Center <https://console.aws.amazon.com/support/home#/case/create Create Case> page. ----- -   __language.__ The human language in which AWS Support handles the case. English and Japanese are currently supported.+--     * __attachmentSetId.__ The ID of a set of attachments that has been created by using 'AddAttachmentsToSet' . ----- -   __ccEmailAddresses.__ The AWS Support Center __CC__ field on the <https://console.aws.amazon.com/support/home#/case/create 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 <http://aws.amazon.com/tools/ AWS SDK>.+--     * __language.__ The human language in which AWS Support handles the case. English and Japanese are currently supported. ----- To add additional communication or attachments to an existing case, use < AddCommunicationToCase>.+--     * __ccEmailAddresses.__ The AWS Support Center __CC__ field on the <https://console.aws.amazon.com/support/home#/case/create 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 <http://aws.amazon.com/tools/ AWS SDK> . ----- A successful < CreateCase> request returns an AWS Support case number. Case numbers are used by the < DescribeCases> operation to retrieve existing AWS Support cases.+--+--+-- A successful 'CreateCase' request returns an AWS Support case number. Case numbers are used by the 'DescribeCases' operation to retrieve existing AWS Support cases.+-- module Network.AWS.Support.CreateCase     (     -- * Creating a Request@@ -74,6 +76,8 @@  -- | --+--+-- -- /See:/ 'createCase' smart constructor. data CreateCase = CreateCase'     { _ccSeverityCode      :: !(Maybe Text)@@ -91,23 +95,23 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ccSeverityCode'+-- * 'ccSeverityCode' - The code for the severity level returned by the call to 'DescribeSeverityLevels' . ----- * 'ccIssueType'+-- * 'ccIssueType' - 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." ----- * 'ccCcEmailAddresses'+-- * 'ccCcEmailAddresses' - A list of email addresses that AWS Support copies on case correspondence. ----- * 'ccLanguage'+-- * 'ccLanguage' - 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. ----- * 'ccCategoryCode'+-- * 'ccCategoryCode' - The category of problem for the AWS Support case. ----- * 'ccServiceCode'+-- * 'ccServiceCode' - The code for the AWS service returned by the call to 'DescribeServices' . ----- * 'ccAttachmentSetId'+-- * 'ccAttachmentSetId' - The ID of a set of one or more attachments for the case. Create the set by using 'AddAttachmentsToSet' . ----- * 'ccSubject'+-- * 'ccSubject' - The title of the AWS Support case. ----- * 'ccCommunicationBody'+-- * 'ccCommunicationBody' - The communication body text when you create an AWS Support case by calling 'CreateCase' . createCase     :: Text -- ^ 'ccSubject'     -> Text -- ^ 'ccCommunicationBody'@@ -125,13 +129,11 @@     , _ccCommunicationBody = pCommunicationBody_     } --- | 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.+-- | The code for the severity level returned by the call to 'DescribeSeverityLevels' . ccSeverityCode :: Lens' CreateCase (Maybe Text) ccSeverityCode = lens _ccSeverityCode (\ s a -> s{_ccSeverityCode = a}); --- | 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.\"+-- | 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) ccIssueType = lens _ccIssueType (\ s a -> s{_ccIssueType = a}); @@ -139,7 +141,7 @@ ccCcEmailAddresses :: Lens' CreateCase [Text] ccCcEmailAddresses = lens _ccCcEmailAddresses (\ s a -> s{_ccCcEmailAddresses = a}) . _Default . _Coerce; --- | 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.+-- | 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) ccLanguage = lens _ccLanguage (\ s a -> s{_ccLanguage = a}); @@ -147,11 +149,11 @@ ccCategoryCode :: Lens' CreateCase (Maybe Text) ccCategoryCode = lens _ccCategoryCode (\ s a -> s{_ccCategoryCode = a}); --- | The code for the AWS service returned by the call to < DescribeServices>.+-- | The code for the AWS service returned by the call to 'DescribeServices' . ccServiceCode :: Lens' CreateCase (Maybe Text) ccServiceCode = lens _ccServiceCode (\ s a -> s{_ccServiceCode = a}); --- | The ID of a set of one or more attachments for the case. Create the set by using < AddAttachmentsToSet>.+-- | The ID of a set of one or more attachments for the case. Create the set by using 'AddAttachmentsToSet' . ccAttachmentSetId :: Lens' CreateCase (Maybe Text) ccAttachmentSetId = lens _ccAttachmentSetId (\ s a -> s{_ccAttachmentSetId = a}); @@ -159,7 +161,7 @@ ccSubject :: Lens' CreateCase Text ccSubject = lens _ccSubject (\ s a -> s{_ccSubject = a}); --- | The communication body text when you create an AWS Support case by calling < CreateCase>.+-- | The communication body text when you create an AWS Support case by calling 'CreateCase' . ccCommunicationBody :: Lens' CreateCase Text ccCommunicationBody = lens _ccCommunicationBody (\ s a -> s{_ccCommunicationBody = a}); @@ -205,8 +207,10 @@ instance ToQuery CreateCase where         toQuery = const mempty --- | The AWS Support case ID returned by a successful completion of the < CreateCase> operation.+-- | The AWS Support case ID returned by a successful completion of the 'CreateCase' operation. --+--+-- -- /See:/ 'createCaseResponse' smart constructor. data CreateCaseResponse = CreateCaseResponse'     { _ccrsCaseId         :: !(Maybe Text)@@ -217,9 +221,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ccrsCaseId'+-- * 'ccrsCaseId' - 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/ ----- * 'ccrsResponseStatus'+-- * 'ccrsResponseStatus' - -- | The response status code. createCaseResponse     :: Int -- ^ 'ccrsResponseStatus'     -> CreateCaseResponse@@ -233,7 +237,7 @@ ccrsCaseId :: Lens' CreateCaseResponse (Maybe Text) ccrsCaseId = lens _ccrsCaseId (\ s a -> s{_ccrsCaseId = a}); --- | The response status code.+-- | -- | The response status code. ccrsResponseStatus :: Lens' CreateCaseResponse Int ccrsResponseStatus = lens _ccrsResponseStatus (\ s a -> s{_ccrsResponseStatus = a}); 
gen/Network/AWS/Support/DescribeAttachment.hs view
@@ -18,7 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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.+--+-- module Network.AWS.Support.DescribeAttachment     (     -- * Creating a Request@@ -51,7 +53,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'daAttachmentId'+-- * 'daAttachmentId' - The ID of the attachment to return. Attachment IDs are returned by the 'DescribeCommunications' operation. describeAttachment     :: Text -- ^ 'daAttachmentId'     -> DescribeAttachment@@ -60,7 +62,7 @@     { _daAttachmentId = pAttachmentId_     } --- | The ID of the attachment to return. Attachment IDs are returned by the < DescribeCommunications> operation.+-- | The ID of the attachment to return. Attachment IDs are returned by the 'DescribeCommunications' operation. daAttachmentId :: Lens' DescribeAttachment Text daAttachmentId = lens _daAttachmentId (\ s a -> s{_daAttachmentId = a}); @@ -100,8 +102,10 @@ instance ToQuery DescribeAttachment where         toQuery = const mempty --- | The content and file name of the attachment returned by the < DescribeAttachment> operation.+-- | The content and file name of the attachment returned by the 'DescribeAttachment' operation. --+--+-- -- /See:/ 'describeAttachmentResponse' smart constructor. data DescribeAttachmentResponse = DescribeAttachmentResponse'     { _darsAttachment     :: !(Maybe Attachment)@@ -112,9 +116,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'darsAttachment'+-- * 'darsAttachment' - The attachment content and file name. ----- * 'darsResponseStatus'+-- * 'darsResponseStatus' - -- | The response status code. describeAttachmentResponse     :: Int -- ^ 'darsResponseStatus'     -> DescribeAttachmentResponse@@ -128,7 +132,7 @@ darsAttachment :: Lens' DescribeAttachmentResponse (Maybe Attachment) darsAttachment = lens _darsAttachment (\ s a -> s{_darsAttachment = a}); --- | The response status code.+-- | -- | The response status code. darsResponseStatus :: Lens' DescribeAttachmentResponse Int darsResponseStatus = lens _darsResponseStatus (\ s a -> s{_darsResponseStatus = a}); 
gen/Network/AWS/Support/DescribeCases.hs view
@@ -18,17 +18,20 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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: ----- -   One or more < CaseDetails> data types.+--     * One or more 'CaseDetails' data types. ----- -   One or more 'nextToken' values, which specify where to paginate the returned records represented by the 'CaseDetails' objects.+--     * One or more @nextToken@ values, which specify where to paginate the returned records represented by the @CaseDetails@ objects. -- --+--+-- -- This operation returns paginated results. module Network.AWS.Support.DescribeCases     (@@ -65,6 +68,8 @@  -- | --+--+-- -- /See:/ 'describeCases' smart constructor. data DescribeCases = DescribeCases'     { _dcIncludeResolvedCases  :: !(Maybe Bool)@@ -82,23 +87,23 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dcIncludeResolvedCases'+-- * 'dcIncludeResolvedCases' - Specifies whether resolved support cases should be included in the 'DescribeCases' results. The default is /false/ . ----- * 'dcCaseIdList'+-- * 'dcCaseIdList' - A list of ID numbers of the support cases you want returned. The maximum number of cases is 100. ----- * 'dcAfterTime'+-- * 'dcAfterTime' - The start date for a filtered date search on support case communications. Case communications are available for 12 months after creation. ----- * 'dcBeforeTime'+-- * 'dcBeforeTime' - The end date for a filtered date search on support case communications. Case communications are available for 12 months after creation. ----- * 'dcNextToken'+-- * 'dcNextToken' - A resumption point for pagination. ----- * 'dcIncludeCommunications'+-- * 'dcIncludeCommunications' - Specifies whether communications should be included in the 'DescribeCases' results. The default is /true/ . ----- * 'dcDisplayId'+-- * 'dcDisplayId' - The ID displayed for a case in the AWS Support Center user interface. ----- * 'dcLanguage'+-- * 'dcLanguage' - 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. ----- * 'dcMaxResults'+-- * 'dcMaxResults' - The maximum number of results to return before paginating. describeCases     :: DescribeCases describeCases =@@ -114,7 +119,7 @@     , _dcMaxResults = Nothing     } --- | Specifies whether resolved support cases should be included in the < DescribeCases> results. The default is /false/.+-- | Specifies whether resolved support cases should be included in the 'DescribeCases' results. The default is /false/ . dcIncludeResolvedCases :: Lens' DescribeCases (Maybe Bool) dcIncludeResolvedCases = lens _dcIncludeResolvedCases (\ s a -> s{_dcIncludeResolvedCases = a}); @@ -134,7 +139,7 @@ dcNextToken :: Lens' DescribeCases (Maybe Text) dcNextToken = lens _dcNextToken (\ s a -> s{_dcNextToken = a}); --- | Specifies whether communications should be included in the < DescribeCases> results. The default is /true/.+-- | Specifies whether communications should be included in the 'DescribeCases' results. The default is /true/ . dcIncludeCommunications :: Lens' DescribeCases (Maybe Bool) dcIncludeCommunications = lens _dcIncludeCommunications (\ s a -> s{_dcIncludeCommunications = a}); @@ -142,7 +147,7 @@ dcDisplayId :: Lens' DescribeCases (Maybe Text) dcDisplayId = lens _dcDisplayId (\ s a -> s{_dcDisplayId = a}); --- | 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.+-- | 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) dcLanguage = lens _dcLanguage (\ s a -> s{_dcLanguage = a}); @@ -202,8 +207,10 @@ instance ToQuery DescribeCases where         toQuery = const mempty --- | Returns an array of < CaseDetails> objects and a 'nextToken' that defines a point for pagination in the result set.+-- | 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 = DescribeCasesResponse'     { _drsCases          :: !(Maybe [CaseDetails])@@ -215,11 +222,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'drsCases'+-- * 'drsCases' - The details for the cases that match the request. ----- * 'drsNextToken'+-- * 'drsNextToken' - A resumption point for pagination. ----- * 'drsResponseStatus'+-- * 'drsResponseStatus' - -- | The response status code. describeCasesResponse     :: Int -- ^ 'drsResponseStatus'     -> DescribeCasesResponse@@ -238,7 +245,7 @@ drsNextToken :: Lens' DescribeCasesResponse (Maybe Text) drsNextToken = lens _drsNextToken (\ s a -> s{_drsNextToken = a}); --- | The response status code.+-- | -- | The response status code. drsResponseStatus :: Lens' DescribeCasesResponse Int drsResponseStatus = lens _drsResponseStatus (\ s a -> s{_drsResponseStatus = a}); 
gen/Network/AWS/Support/DescribeCommunications.hs view
@@ -18,12 +18,14 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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.+-- 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. --+-- -- This operation returns paginated results. module Network.AWS.Support.DescribeCommunications     (@@ -56,6 +58,8 @@  -- | --+--+-- -- /See:/ 'describeCommunications' smart constructor. data DescribeCommunications = DescribeCommunications'     { _dAfterTime  :: !(Maybe Text)@@ -69,15 +73,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dAfterTime'+-- * 'dAfterTime' - The start date for a filtered date search on support case communications. Case communications are available for 12 months after creation. ----- * 'dBeforeTime'+-- * 'dBeforeTime' - The end date for a filtered date search on support case communications. Case communications are available for 12 months after creation. ----- * 'dNextToken'+-- * 'dNextToken' - A resumption point for pagination. ----- * 'dMaxResults'+-- * 'dMaxResults' - The maximum number of results to return before paginating. ----- * 'dCaseId'+-- * 'dCaseId' - 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/ describeCommunications     :: Text -- ^ 'dCaseId'     -> DescribeCommunications@@ -159,8 +163,10 @@ instance ToQuery DescribeCommunications where         toQuery = const mempty --- | The communications returned by the < DescribeCommunications> operation.+-- | The communications returned by the 'DescribeCommunications' operation. --+--+-- -- /See:/ 'describeCommunicationsResponse' smart constructor. data DescribeCommunicationsResponse = DescribeCommunicationsResponse'     { _dcrsNextToken      :: !(Maybe Text)@@ -172,11 +178,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dcrsNextToken'+-- * 'dcrsNextToken' - A resumption point for pagination. ----- * 'dcrsCommunications'+-- * 'dcrsCommunications' - The communications for the case. ----- * 'dcrsResponseStatus'+-- * 'dcrsResponseStatus' - -- | The response status code. describeCommunicationsResponse     :: Int -- ^ 'dcrsResponseStatus'     -> DescribeCommunicationsResponse@@ -195,7 +201,7 @@ dcrsCommunications :: Lens' DescribeCommunicationsResponse [Communication] dcrsCommunications = lens _dcrsCommunications (\ s a -> s{_dcrsCommunications = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. dcrsResponseStatus :: Lens' DescribeCommunicationsResponse Int dcrsResponseStatus = lens _dcrsResponseStatus (\ s a -> s{_dcrsResponseStatus = a}); 
gen/Network/AWS/Support/DescribeServices.hs view
@@ -18,9 +18,11 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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 <https://console.aws.amazon.com/support/home#/case/create 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.+--+-- 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 <https://console.aws.amazon.com/support/home#/case/create 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.+-- module Network.AWS.Support.DescribeServices     (     -- * Creating a Request@@ -47,6 +49,8 @@  -- | --+--+-- -- /See:/ 'describeServices' smart constructor. data DescribeServices = DescribeServices'     { _dsServiceCodeList :: !(Maybe [Text])@@ -57,9 +61,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dsServiceCodeList'+-- * 'dsServiceCodeList' - A JSON-formatted list of service codes available for AWS services. ----- * 'dsLanguage'+-- * 'dsLanguage' - 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. describeServices     :: DescribeServices describeServices =@@ -72,7 +76,7 @@ dsServiceCodeList :: Lens' DescribeServices [Text] dsServiceCodeList = lens _dsServiceCodeList (\ s a -> s{_dsServiceCodeList = a}) . _Default . _Coerce; --- | 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.+-- | 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) dsLanguage = lens _dsLanguage (\ s a -> s{_dsLanguage = a}); @@ -113,8 +117,10 @@ instance ToQuery DescribeServices where         toQuery = const mempty --- | The list of AWS services returned by the < DescribeServices> operation.+-- | The list of AWS services returned by the 'DescribeServices' operation. --+--+-- -- /See:/ 'describeServicesResponse' smart constructor. data DescribeServicesResponse = DescribeServicesResponse'     { _dsrsServices       :: !(Maybe [SupportService])@@ -125,9 +131,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dsrsServices'+-- * 'dsrsServices' - A JSON-formatted list of AWS services. ----- * 'dsrsResponseStatus'+-- * 'dsrsResponseStatus' - -- | The response status code. describeServicesResponse     :: Int -- ^ 'dsrsResponseStatus'     -> DescribeServicesResponse@@ -141,7 +147,7 @@ dsrsServices :: Lens' DescribeServicesResponse [SupportService] dsrsServices = lens _dsrsServices (\ s a -> s{_dsrsServices = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. dsrsResponseStatus :: Lens' DescribeServicesResponse Int dsrsResponseStatus = lens _dsrsResponseStatus (\ s a -> s{_dsrsResponseStatus = a}); 
gen/Network/AWS/Support/DescribeSeverityLevels.hs view
@@ -18,7 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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.+--+-- module Network.AWS.Support.DescribeSeverityLevels     (     -- * Creating a Request@@ -44,6 +46,8 @@  -- | --+--+-- -- /See:/ 'describeSeverityLevels' smart constructor. newtype DescribeSeverityLevels = DescribeSeverityLevels'     { _dslLanguage :: Maybe Text@@ -53,7 +57,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dslLanguage'+-- * 'dslLanguage' - 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. describeSeverityLevels     :: DescribeSeverityLevels describeSeverityLevels =@@ -61,7 +65,7 @@     { _dslLanguage = Nothing     } --- | 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.+-- | 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) dslLanguage = lens _dslLanguage (\ s a -> s{_dslLanguage = a}); @@ -101,8 +105,10 @@ instance ToQuery DescribeSeverityLevels where         toQuery = const mempty --- | The list of severity levels returned by the < DescribeSeverityLevels> operation.+-- | The list of severity levels returned by the 'DescribeSeverityLevels' operation. --+--+-- -- /See:/ 'describeSeverityLevelsResponse' smart constructor. data DescribeSeverityLevelsResponse = DescribeSeverityLevelsResponse'     { _dslrsSeverityLevels :: !(Maybe [SeverityLevel])@@ -113,9 +119,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dslrsSeverityLevels'+-- * 'dslrsSeverityLevels' - The available severity levels for the support case. Available severity levels are defined by your service level agreement with AWS. ----- * 'dslrsResponseStatus'+-- * 'dslrsResponseStatus' - -- | The response status code. describeSeverityLevelsResponse     :: Int -- ^ 'dslrsResponseStatus'     -> DescribeSeverityLevelsResponse@@ -129,7 +135,7 @@ dslrsSeverityLevels :: Lens' DescribeSeverityLevelsResponse [SeverityLevel] dslrsSeverityLevels = lens _dslrsSeverityLevels (\ s a -> s{_dslrsSeverityLevels = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. dslrsResponseStatus :: Lens' DescribeSeverityLevelsResponse Int dslrsResponseStatus = lens _dslrsResponseStatus (\ s a -> s{_dslrsResponseStatus = a}); 
gen/Network/AWS/Support/DescribeTrustedAdvisorCheckRefreshStatuses.hs view
@@ -18,9 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns the refresh status of the Trusted Advisor checks that have the specified check IDs. Check IDs can be obtained by calling < DescribeTrustedAdvisorChecks>.+-- Returns the refresh status of the Trusted Advisor checks that have the specified check IDs. Check IDs can be obtained by calling 'DescribeTrustedAdvisorChecks' . ----- Some checks are refreshed automatically, and their refresh statuses cannot be retrieved by using this operation. Use of the 'DescribeTrustedAdvisorCheckRefreshStatuses' operation for these checks causes an 'InvalidParameterValue' error.+-- module Network.AWS.Support.DescribeTrustedAdvisorCheckRefreshStatuses     (     -- * Creating a Request@@ -46,6 +46,8 @@  -- | --+--+-- -- /See:/ 'describeTrustedAdvisorCheckRefreshStatuses' smart constructor. newtype DescribeTrustedAdvisorCheckRefreshStatuses = DescribeTrustedAdvisorCheckRefreshStatuses'     { _dtacrsCheckIds :: [Text]@@ -55,7 +57,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtacrsCheckIds'+-- * 'dtacrsCheckIds' - The IDs of the Trusted Advisor checks to get the status of. __Note:__ Specifying the check ID of a check that is automatically refreshed causes an @InvalidParameterValue@ error. describeTrustedAdvisorCheckRefreshStatuses     :: DescribeTrustedAdvisorCheckRefreshStatuses describeTrustedAdvisorCheckRefreshStatuses =@@ -63,7 +65,7 @@     { _dtacrsCheckIds = mempty     } --- | The IDs of the Trusted Advisor checks to get the status of. __Note:__ Specifying the check ID of a check that is automatically refreshed causes an 'InvalidParameterValue' error.+-- | The IDs of the Trusted Advisor checks to get the status of. __Note:__ Specifying the check ID of a check that is automatically refreshed causes an @InvalidParameterValue@ error. dtacrsCheckIds :: Lens' DescribeTrustedAdvisorCheckRefreshStatuses [Text] dtacrsCheckIds = lens _dtacrsCheckIds (\ s a -> s{_dtacrsCheckIds = a}) . _Coerce; @@ -112,8 +114,10 @@          DescribeTrustedAdvisorCheckRefreshStatuses where         toQuery = const mempty --- | The statuses of the Trusted Advisor checks returned by the < DescribeTrustedAdvisorCheckRefreshStatuses> operation.+-- | The statuses of the Trusted Advisor checks returned by the 'DescribeTrustedAdvisorCheckRefreshStatuses' operation. --+--+-- -- /See:/ 'describeTrustedAdvisorCheckRefreshStatusesResponse' smart constructor. data DescribeTrustedAdvisorCheckRefreshStatusesResponse = DescribeTrustedAdvisorCheckRefreshStatusesResponse'     { _dtacrsrsResponseStatus :: !Int@@ -124,9 +128,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtacrsrsResponseStatus'+-- * 'dtacrsrsResponseStatus' - -- | The response status code. ----- * 'dtacrsrsStatuses'+-- * 'dtacrsrsStatuses' - The refresh status of the specified Trusted Advisor checks. describeTrustedAdvisorCheckRefreshStatusesResponse     :: Int -- ^ 'dtacrsrsResponseStatus'     -> DescribeTrustedAdvisorCheckRefreshStatusesResponse@@ -136,7 +140,7 @@     , _dtacrsrsStatuses = mempty     } --- | The response status code.+-- | -- | The response status code. dtacrsrsResponseStatus :: Lens' DescribeTrustedAdvisorCheckRefreshStatusesResponse Int dtacrsrsResponseStatus = lens _dtacrsrsResponseStatus (\ s a -> s{_dtacrsrsResponseStatus = a}); 
gen/Network/AWS/Support/DescribeTrustedAdvisorCheckResult.hs view
@@ -18,24 +18,29 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns the results of the Trusted Advisor check that has the specified check ID. Check IDs can be obtained by calling < DescribeTrustedAdvisorChecks>.+-- 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: ----- -   < TrustedAdvisorCategorySpecificSummary>+-- The response contains a 'TrustedAdvisorCheckResult' object, which contains these three objects: ----- -   < TrustedAdvisorResourceDetail>+--     * 'TrustedAdvisorCategorySpecificSummary' ----- -   < TrustedAdvisorResourcesSummary>+--     * 'TrustedAdvisorResourceDetail' --+--     * 'TrustedAdvisorResourcesSummary'+--+--+-- -- In addition, the response contains these fields: ----- -   __status.__ The alert status of the check: \"ok\" (green), \"warning\" (yellow), \"error\" (red), or \"not_available\".+--     * __status.__ The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available". ----- -   __timestamp.__ The time of the last refresh of the check.+--     * __timestamp.__ The time of the last refresh of the check. ----- -   __checkId.__ The unique identifier for the check.+--     * __checkId.__ The unique identifier for the check. --+--+-- module Network.AWS.Support.DescribeTrustedAdvisorCheckResult     (     -- * Creating a Request@@ -62,6 +67,8 @@  -- | --+--+-- -- /See:/ 'describeTrustedAdvisorCheckResult' smart constructor. data DescribeTrustedAdvisorCheckResult = DescribeTrustedAdvisorCheckResult'     { _dtacrLanguage :: !(Maybe Text)@@ -72,9 +79,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtacrLanguage'+-- * 'dtacrLanguage' - 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. ----- * 'dtacrCheckId'+-- * 'dtacrCheckId' - The unique identifier for the Trusted Advisor check. describeTrustedAdvisorCheckResult     :: Text -- ^ 'dtacrCheckId'     -> DescribeTrustedAdvisorCheckResult@@ -84,7 +91,7 @@     , _dtacrCheckId = pCheckId_     } --- | 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.+-- | 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) dtacrLanguage = lens _dtacrLanguage (\ s a -> s{_dtacrLanguage = a}); @@ -134,8 +141,10 @@          where         toQuery = const mempty --- | The result of the Trusted Advisor check returned by the < DescribeTrustedAdvisorCheckResult> operation.+-- | The result of the Trusted Advisor check returned by the 'DescribeTrustedAdvisorCheckResult' operation. --+--+-- -- /See:/ 'describeTrustedAdvisorCheckResultResponse' smart constructor. data DescribeTrustedAdvisorCheckResultResponse = DescribeTrustedAdvisorCheckResultResponse'     { _dtacrrsResult         :: !(Maybe TrustedAdvisorCheckResult)@@ -146,9 +155,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtacrrsResult'+-- * 'dtacrrsResult' - The detailed results of the Trusted Advisor check. ----- * 'dtacrrsResponseStatus'+-- * 'dtacrrsResponseStatus' - -- | The response status code. describeTrustedAdvisorCheckResultResponse     :: Int -- ^ 'dtacrrsResponseStatus'     -> DescribeTrustedAdvisorCheckResultResponse@@ -162,7 +171,7 @@ dtacrrsResult :: Lens' DescribeTrustedAdvisorCheckResultResponse (Maybe TrustedAdvisorCheckResult) dtacrrsResult = lens _dtacrrsResult (\ s a -> s{_dtacrrsResult = a}); --- | The response status code.+-- | -- | The response status code. dtacrrsResponseStatus :: Lens' DescribeTrustedAdvisorCheckResultResponse Int dtacrrsResponseStatus = lens _dtacrrsResponseStatus (\ s a -> s{_dtacrrsResponseStatus = a}); 
gen/Network/AWS/Support/DescribeTrustedAdvisorCheckSummaries.hs view
@@ -18,9 +18,11 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- 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>.+-- 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.+--+-- The response contains an array of 'TrustedAdvisorCheckSummary' objects.+-- module Network.AWS.Support.DescribeTrustedAdvisorCheckSummaries     (     -- * Creating a Request@@ -46,6 +48,8 @@  -- | --+--+-- -- /See:/ 'describeTrustedAdvisorCheckSummaries' smart constructor. newtype DescribeTrustedAdvisorCheckSummaries = DescribeTrustedAdvisorCheckSummaries'     { _dtacsCheckIds :: [Text]@@ -55,7 +59,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtacsCheckIds'+-- * 'dtacsCheckIds' - The IDs of the Trusted Advisor checks. describeTrustedAdvisorCheckSummaries     :: DescribeTrustedAdvisorCheckSummaries describeTrustedAdvisorCheckSummaries =@@ -109,8 +113,10 @@          where         toQuery = const mempty --- | The summaries of the Trusted Advisor checks returned by the < DescribeTrustedAdvisorCheckSummaries> operation.+-- | The summaries of the Trusted Advisor checks returned by the 'DescribeTrustedAdvisorCheckSummaries' operation. --+--+-- -- /See:/ 'describeTrustedAdvisorCheckSummariesResponse' smart constructor. data DescribeTrustedAdvisorCheckSummariesResponse = DescribeTrustedAdvisorCheckSummariesResponse'     { _dtacsrsResponseStatus :: !Int@@ -121,9 +127,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtacsrsResponseStatus'+-- * 'dtacsrsResponseStatus' - -- | The response status code. ----- * 'dtacsrsSummaries'+-- * 'dtacsrsSummaries' - The summary information for the requested Trusted Advisor checks. describeTrustedAdvisorCheckSummariesResponse     :: Int -- ^ 'dtacsrsResponseStatus'     -> DescribeTrustedAdvisorCheckSummariesResponse@@ -133,7 +139,7 @@     , _dtacsrsSummaries = mempty     } --- | The response status code.+-- | -- | The response status code. dtacsrsResponseStatus :: Lens' DescribeTrustedAdvisorCheckSummariesResponse Int dtacsrsResponseStatus = lens _dtacsrsResponseStatus (\ s a -> s{_dtacsrsResponseStatus = a}); 
gen/Network/AWS/Support/DescribeTrustedAdvisorChecks.hs view
@@ -18,7 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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.+--+-- module Network.AWS.Support.DescribeTrustedAdvisorChecks     (     -- * Creating a Request@@ -44,6 +46,8 @@  -- | --+--+-- -- /See:/ 'describeTrustedAdvisorChecks' smart constructor. newtype DescribeTrustedAdvisorChecks = DescribeTrustedAdvisorChecks'     { _dtacLanguage :: Text@@ -53,7 +57,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtacLanguage'+-- * 'dtacLanguage' - 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. describeTrustedAdvisorChecks     :: Text -- ^ 'dtacLanguage'     -> DescribeTrustedAdvisorChecks@@ -62,7 +66,7 @@     { _dtacLanguage = pLanguage_     } --- | 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.+-- | 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 dtacLanguage = lens _dtacLanguage (\ s a -> s{_dtacLanguage = a}); @@ -102,8 +106,10 @@ instance ToQuery DescribeTrustedAdvisorChecks where         toQuery = const mempty --- | Information about the Trusted Advisor checks returned by the < DescribeTrustedAdvisorChecks> operation.+-- | Information about the Trusted Advisor checks returned by the 'DescribeTrustedAdvisorChecks' operation. --+--+-- -- /See:/ 'describeTrustedAdvisorChecksResponse' smart constructor. data DescribeTrustedAdvisorChecksResponse = DescribeTrustedAdvisorChecksResponse'     { _dtacrsResponseStatus :: !Int@@ -114,9 +120,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtacrsResponseStatus'+-- * 'dtacrsResponseStatus' - -- | The response status code. ----- * 'dtacrsChecks'+-- * 'dtacrsChecks' - Information about all available Trusted Advisor checks. describeTrustedAdvisorChecksResponse     :: Int -- ^ 'dtacrsResponseStatus'     -> DescribeTrustedAdvisorChecksResponse@@ -126,7 +132,7 @@     , _dtacrsChecks = mempty     } --- | The response status code.+-- | -- | The response status code. dtacrsResponseStatus :: Lens' DescribeTrustedAdvisorChecksResponse Int dtacrsResponseStatus = lens _dtacrsResponseStatus (\ s a -> s{_dtacrsResponseStatus = a}); 
gen/Network/AWS/Support/RefreshTrustedAdvisorCheck.hs view
@@ -18,18 +18,19 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Requests a refresh of the Trusted Advisor check that has the specified check ID. Check IDs can be obtained by calling < DescribeTrustedAdvisorChecks>.+-- Requests a refresh of the Trusted Advisor check that has the specified check ID. Check IDs can be obtained by calling 'DescribeTrustedAdvisorChecks' . ----- Some checks are refreshed automatically, and they cannot be refreshed by using this operation. Use of the 'RefreshTrustedAdvisorCheck' operation for these checks causes an 'InvalidParameterValue' error. ----- The response contains a < TrustedAdvisorCheckRefreshStatus> object, which contains these fields:+-- The response contains a 'TrustedAdvisorCheckRefreshStatus' object, which contains these fields: ----- -   __status.__ The refresh status of the check: \"none\", \"enqueued\", \"processing\", \"success\", or \"abandoned\".+--     * __status.__ The refresh status of the check: "none", "enqueued", "processing", "success", or "abandoned". ----- -   __millisUntilNextRefreshable.__ The amount of time, in milliseconds, until the check is eligible for refresh.+--     * __millisUntilNextRefreshable.__ The amount of time, in milliseconds, until the check is eligible for refresh. ----- -   __checkId.__ The unique identifier for the check.+--     * __checkId.__ The unique identifier for the check. --+--+-- module Network.AWS.Support.RefreshTrustedAdvisorCheck     (     -- * Creating a Request@@ -55,6 +56,8 @@  -- | --+--+-- -- /See:/ 'refreshTrustedAdvisorCheck' smart constructor. newtype RefreshTrustedAdvisorCheck = RefreshTrustedAdvisorCheck'     { _rtacCheckId :: Text@@ -64,7 +67,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rtacCheckId'+-- * 'rtacCheckId' - The unique identifier for the Trusted Advisor check to refresh. __Note:__ Specifying the check ID of a check that is automatically refreshed causes an @InvalidParameterValue@ error. refreshTrustedAdvisorCheck     :: Text -- ^ 'rtacCheckId'     -> RefreshTrustedAdvisorCheck@@ -73,7 +76,7 @@     { _rtacCheckId = pCheckId_     } --- | The unique identifier for the Trusted Advisor check to refresh. __Note:__ Specifying the check ID of a check that is automatically refreshed causes an 'InvalidParameterValue' error.+-- | The unique identifier for the Trusted Advisor check to refresh. __Note:__ Specifying the check ID of a check that is automatically refreshed causes an @InvalidParameterValue@ error. rtacCheckId :: Lens' RefreshTrustedAdvisorCheck Text rtacCheckId = lens _rtacCheckId (\ s a -> s{_rtacCheckId = a}); @@ -114,6 +117,8 @@  -- | The current refresh status of a Trusted Advisor check. --+--+-- -- /See:/ 'refreshTrustedAdvisorCheckResponse' smart constructor. data RefreshTrustedAdvisorCheckResponse = RefreshTrustedAdvisorCheckResponse'     { _rtacrsResponseStatus :: !Int@@ -124,9 +129,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rtacrsResponseStatus'+-- * 'rtacrsResponseStatus' - -- | The response status code. ----- * 'rtacrsStatus'+-- * 'rtacrsStatus' - The current refresh status for a check, including the amount of time until the check is eligible for refresh. refreshTrustedAdvisorCheckResponse     :: Int -- ^ 'rtacrsResponseStatus'     -> TrustedAdvisorCheckRefreshStatus -- ^ 'rtacrsStatus'@@ -137,7 +142,7 @@     , _rtacrsStatus = pStatus_     } --- | The response status code.+-- | -- | The response status code. rtacrsResponseStatus :: Lens' RefreshTrustedAdvisorCheckResponse Int rtacrsResponseStatus = lens _rtacrsResponseStatus (\ s a -> s{_rtacrsResponseStatus = a}); 
gen/Network/AWS/Support/ResolveCase.hs view
@@ -18,7 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Takes a 'caseId' and returns the initial state of the case along with the state of the case after the call to < ResolveCase> completed.+-- Takes a @caseId@ and returns the initial state of the case along with the state of the case after the call to 'ResolveCase' completed.+--+-- module Network.AWS.Support.ResolveCase     (     -- * Creating a Request@@ -45,6 +47,8 @@  -- | --+--+-- -- /See:/ 'resolveCase' smart constructor. newtype ResolveCase = ResolveCase'     { _rcCaseId :: Maybe Text@@ -54,7 +58,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rcCaseId'+-- * 'rcCaseId' - 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/ resolveCase     :: ResolveCase resolveCase =@@ -100,8 +104,10 @@ instance ToQuery ResolveCase where         toQuery = const mempty --- | The status of the case returned by the < ResolveCase> operation.+-- | The status of the case returned by the 'ResolveCase' operation. --+--+-- -- /See:/ 'resolveCaseResponse' smart constructor. data ResolveCaseResponse = ResolveCaseResponse'     { _rcrsInitialCaseStatus :: !(Maybe Text)@@ -113,11 +119,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rcrsInitialCaseStatus'+-- * 'rcrsInitialCaseStatus' - The status of the case when the 'ResolveCase' request was sent. ----- * 'rcrsFinalCaseStatus'+-- * 'rcrsFinalCaseStatus' - The status of the case after the 'ResolveCase' request was processed. ----- * 'rcrsResponseStatus'+-- * 'rcrsResponseStatus' - -- | The response status code. resolveCaseResponse     :: Int -- ^ 'rcrsResponseStatus'     -> ResolveCaseResponse@@ -128,15 +134,15 @@     , _rcrsResponseStatus = pResponseStatus_     } --- | The status of the case when the < ResolveCase> request was sent.+-- | The status of the case when the 'ResolveCase' request was sent. rcrsInitialCaseStatus :: Lens' ResolveCaseResponse (Maybe Text) rcrsInitialCaseStatus = lens _rcrsInitialCaseStatus (\ s a -> s{_rcrsInitialCaseStatus = a}); --- | The status of the case after the < ResolveCase> request was processed.+-- | The status of the case after the 'ResolveCase' request was processed. rcrsFinalCaseStatus :: Lens' ResolveCaseResponse (Maybe Text) rcrsFinalCaseStatus = lens _rcrsFinalCaseStatus (\ s a -> s{_rcrsFinalCaseStatus = a}); --- | The response status code.+-- | -- | The response status code. rcrsResponseStatus :: Lens' ResolveCaseResponse Int rcrsResponseStatus = lens _rcrsResponseStatus (\ s a -> s{_rcrsResponseStatus = a}); 
gen/Network/AWS/Support/Types.hs view
@@ -159,7 +159,7 @@ import           Network.AWS.Support.Types.Product import           Network.AWS.Support.Types.Sum --- | API version '2013-04-15' of the Amazon Support SDK configuration.+-- | API version @2013-04-15@ of the Amazon Support SDK configuration. support :: Service support =     Service@@ -194,40 +194,58 @@       | otherwise = Nothing  -- | 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 _AttachmentSetExpired = _ServiceError . hasCode "AttachmentSetExpired"  -- | 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 _AttachmentLimitExceeded = _ServiceError . hasCode "AttachmentLimitExceeded" --- | The limit for the number of < DescribeAttachment> requests in a short period of time has been exceeded.+-- | 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 _DescribeAttachmentLimitExceeded =     _ServiceError . hasCode "DescribeAttachmentLimitExceeded" --- | The requested 'caseId' could not be located.+-- | The requested @caseId@ could not be located.+--+-- _CaseIdNotFound :: AsError a => Getting (First ServiceError) a ServiceError _CaseIdNotFound = _ServiceError . hasCode "CaseIdNotFound"  -- | An attachment set with the specified ID could not be found.+--+-- _AttachmentSetIdNotFound :: AsError a => Getting (First ServiceError) a ServiceError _AttachmentSetIdNotFound = _ServiceError . hasCode "AttachmentSetIdNotFound"  -- | 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 _AttachmentSetSizeLimitExceeded =     _ServiceError . hasCode "AttachmentSetSizeLimitExceeded"  -- | An attachment with the specified ID could not be found.+--+-- _AttachmentIdNotFound :: AsError a => Getting (First ServiceError) a ServiceError _AttachmentIdNotFound = _ServiceError . hasCode "AttachmentIdNotFound"  -- | An internal server error occurred.+--+-- _InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError _InternalServerError = _ServiceError . hasCode "InternalServerError"  -- | The case creation limit for the account has been exceeded.+--+-- _CaseCreationLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError _CaseCreationLimitExceeded =     _ServiceError . hasCode "CaseCreationLimitExceeded"
gen/Network/AWS/Support/Types/Product.hs view
@@ -23,6 +23,8 @@  -- | 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 = Attachment'     { _aData     :: !(Maybe Base64)@@ -33,9 +35,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'aData'+-- * 'aData' - 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. ----- * 'aFileName'+-- * 'aFileName' - The name of the attachment file. attachment     :: Attachment attachment =@@ -44,13 +46,7 @@     , _aFileName = Nothing     } --- | 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.+-- | 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. aData :: Lens' Attachment (Maybe ByteString) aData = lens _aData (\ s a -> s{_aData = a}) . mapping _Base64; @@ -76,8 +72,10 @@                  [("data" .=) <$> _aData,                   ("fileName" .=) <$> _aFileName]) --- | 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.+-- | 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 = AttachmentDetails'     { _adAttachmentId :: !(Maybe Text)@@ -88,9 +86,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'adAttachmentId'+-- * 'adAttachmentId' - The ID of the attachment. ----- * 'adFileName'+-- * 'adFileName' - The file name of the attachment. attachmentDetails     :: AttachmentDetails attachmentDetails =@@ -118,33 +116,36 @@  instance NFData AttachmentDetails --- | 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:+-- | 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: ----- -   __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/. ----- -   __categoryCode.__ The category of problem for the AWS Support case. Corresponds to the CategoryCode values returned by a call to < DescribeServices>.+--     * __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/ . ----- -   __displayId.__ The identifier for the case on pages in the AWS Support Center.+--     * __categoryCode.__ The category of problem for the AWS Support case. Corresponds to the CategoryCode values returned by a call to 'DescribeServices' . ----- -   __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.+--     * __displayId.__ The identifier for the case on pages in the AWS Support Center. ----- -   __recentCommunications.__ One or more < Communication> objects. Fields of these objects are 'attachments', 'body', 'caseId', 'submittedBy', and 'timeCreated'.+--     * __language.__ The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them. ----- -   __nextToken.__ A resumption point for pagination.+--     * __recentCommunications.__ One or more 'Communication' objects. Fields of these objects are @attachments@ , @body@ , @caseId@ , @submittedBy@ , and @timeCreated@ . ----- -   __serviceCode.__ The identifier for the AWS service that corresponds to the service code defined in the call to < DescribeServices>.+--     * __nextToken.__ A resumption point for pagination. ----- -   __severityCode.__ The severity code assigned to the case. Contains one of the values returned by the call to < DescribeSeverityLevels>.+--     * __serviceCode.__ The identifier for the AWS service that corresponds to the service code defined in the call to 'DescribeServices' . ----- -   __status.__ The status of the case in the AWS Support Center.+--     * __severityCode. __ The severity code assigned to the case. Contains one of the values returned by the call to 'DescribeSeverityLevels' . ----- -   __subject.__ The subject line of the case.+--     * __status.__ The status of the case in the AWS Support Center. ----- -   __submittedBy.__ The email address of the account that submitted the case.+--     * __subject.__ The subject line of the case. ----- -   __timeCreated.__ The time the case was created, in ISO-8601 format.+--     * __submittedBy.__ The email address of the account that submitted the case. --+--     * __timeCreated.__ The time the case was created, in ISO-8601 format. --+--+--+-- -- /See:/ 'caseDetails' smart constructor. data CaseDetails = CaseDetails'     { _cdSubject              :: !(Maybe Text)@@ -165,29 +166,29 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cdSubject'+-- * 'cdSubject' - The subject line for the case in the AWS Support Center. ----- * 'cdStatus'+-- * 'cdStatus' - The status of the case. ----- * 'cdRecentCommunications'+-- * 'cdRecentCommunications' - 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. ----- * 'cdSeverityCode'+-- * 'cdSeverityCode' - The code for the severity level returned by the call to 'DescribeSeverityLevels' . ----- * 'cdCaseId'+-- * 'cdCaseId' - 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/ ----- * 'cdCcEmailAddresses'+-- * 'cdCcEmailAddresses' - The email addresses that receive copies of communication about the case. ----- * 'cdDisplayId'+-- * 'cdDisplayId' - The ID displayed for the case in the AWS Support Center. This is a numeric string. ----- * 'cdSubmittedBy'+-- * 'cdSubmittedBy' - The email address of the account that submitted the case. ----- * 'cdLanguage'+-- * 'cdLanguage' - 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. ----- * 'cdTimeCreated'+-- * 'cdTimeCreated' - The time that the case was case created in the AWS Support Center. ----- * 'cdCategoryCode'+-- * 'cdCategoryCode' - The category of problem for the AWS Support case. ----- * 'cdServiceCode'+-- * 'cdServiceCode' - The code for the AWS service returned by the call to 'DescribeServices' . caseDetails     :: CaseDetails caseDetails =@@ -214,11 +215,11 @@ cdStatus :: Lens' CaseDetails (Maybe Text) cdStatus = lens _cdStatus (\ s a -> s{_cdStatus = a}); --- | 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.+-- | 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) cdRecentCommunications = lens _cdRecentCommunications (\ s a -> s{_cdRecentCommunications = a}); --- | The code for the severity level returned by the call to < DescribeSeverityLevels>.+-- | The code for the severity level returned by the call to 'DescribeSeverityLevels' . cdSeverityCode :: Lens' CaseDetails (Maybe Text) cdSeverityCode = lens _cdSeverityCode (\ s a -> s{_cdSeverityCode = a}); @@ -238,7 +239,7 @@ cdSubmittedBy :: Lens' CaseDetails (Maybe Text) cdSubmittedBy = lens _cdSubmittedBy (\ s a -> s{_cdSubmittedBy = a}); --- | 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.+-- | 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) cdLanguage = lens _cdLanguage (\ s a -> s{_cdLanguage = a}); @@ -250,7 +251,7 @@ cdCategoryCode :: Lens' CaseDetails (Maybe Text) cdCategoryCode = lens _cdCategoryCode (\ s a -> s{_cdCategoryCode = a}); --- | The code for the AWS service returned by the call to < DescribeServices>.+-- | The code for the AWS service returned by the call to 'DescribeServices' . cdServiceCode :: Lens' CaseDetails (Maybe Text) cdServiceCode = lens _cdServiceCode (\ s a -> s{_cdServiceCode = a}); @@ -275,8 +276,10 @@  instance NFData 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 AWS service.+-- | 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 = Category'     { _cName :: !(Maybe Text)@@ -287,9 +290,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cName'+-- * 'cName' - The category name for the support case. ----- * 'cCode'+-- * 'cCode' - The category code for the support case. category     :: Category category =@@ -318,6 +321,8 @@  -- | 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 = Communication'     { _cBody          :: !(Maybe Text)@@ -331,15 +336,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cBody'+-- * 'cBody' - The text of the communication between the customer and AWS Support. ----- * 'cCaseId'+-- * 'cCaseId' - 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/ ----- * 'cSubmittedBy'+-- * 'cSubmittedBy' - The email address of the account that submitted the AWS Support case. ----- * 'cTimeCreated'+-- * 'cTimeCreated' - The time the communication was created. ----- * 'cAttachmentSet'+-- * 'cAttachmentSet' - Information about the attachments to the case communication. communication     :: Communication communication =@@ -387,6 +392,8 @@  -- | The five most recent communications associated with the case. --+--+-- -- /See:/ 'recentCaseCommunications' smart constructor. data RecentCaseCommunications = RecentCaseCommunications'     { _rccNextToken      :: !(Maybe Text)@@ -397,9 +404,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rccNextToken'+-- * 'rccNextToken' - A resumption point for pagination. ----- * 'rccCommunications'+-- * 'rccCommunications' - The five most recent communications associated with the case. recentCaseCommunications     :: RecentCaseCommunications recentCaseCommunications =@@ -430,6 +437,8 @@  -- | A code and name pair that represent a severity level that can be applied to a support case. --+--+-- -- /See:/ 'severityLevel' smart constructor. data SeverityLevel = SeverityLevel'     { _slName :: !(Maybe Text)@@ -440,9 +449,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'slName'+-- * 'slName' - The name of the severity level that corresponds to the severity level code. ----- * 'slCode'+-- * 'slCode' - One of four values: "low," "medium," "high," and "urgent". These values correspond to response times returned to the caller in @severityLevel.name@ . severityLevel     :: SeverityLevel severityLevel =@@ -455,7 +464,7 @@ slName :: Lens' SeverityLevel (Maybe Text) slName = lens _slName (\ s a -> s{_slName = a}); --- | One of four values: \"low,\" \"medium,\" \"high,\" and \"urgent\". These values correspond to response times returned to the caller in 'severityLevel.name'.+-- | One of four values: "low," "medium," "high," and "urgent". These values correspond to response times returned to the caller in @severityLevel.name@ . slCode :: Lens' SeverityLevel (Maybe Text) slCode = lens _slCode (\ s a -> s{_slCode = a}); @@ -469,8 +478,10 @@  instance NFData SeverityLevel --- | Information about an AWS service returned by the < DescribeServices> operation.+-- | Information about an AWS service returned by the 'DescribeServices' operation. --+--+-- -- /See:/ 'supportService' smart constructor. data SupportService = SupportService'     { _ssCategories :: !(Maybe [Category])@@ -482,11 +493,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ssCategories'+-- * 'ssCategories' - 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' . ----- * 'ssName'+-- * 'ssName' - The friendly name for an AWS service. The @code@ element contains the corresponding code. ----- * 'ssCode'+-- * 'ssCode' - The code for an AWS service returned by the 'DescribeServices' response. The @name@ element contains the corresponding friendly name. supportService     :: SupportService supportService =@@ -496,15 +507,15 @@     , _ssCode = Nothing     } --- | 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>.+-- | 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] ssCategories = lens _ssCategories (\ s a -> s{_ssCategories = a}) . _Default . _Coerce; --- | The friendly name for an AWS service. The 'code' element contains the corresponding code.+-- | The friendly name for an AWS service. The @code@ element contains the corresponding code. ssName :: Lens' SupportService (Maybe Text) ssName = lens _ssName (\ s a -> s{_ssName = a}); --- | The code for an AWS service returned by the < DescribeServices> response. The 'name' element contains the corresponding friendly name.+-- | The code for an AWS service returned by the 'DescribeServices' response. The @name@ element contains the corresponding friendly name. ssCode :: Lens' SupportService (Maybe Text) ssCode = lens _ssCode (\ s a -> s{_ssCode = a}); @@ -522,6 +533,8 @@  -- | The container for summary information that relates to the category of the Trusted Advisor check. --+--+-- -- /See:/ 'trustedAdvisorCategorySpecificSummary' smart constructor. newtype TrustedAdvisorCategorySpecificSummary = TrustedAdvisorCategorySpecificSummary'     { _tacssCostOptimizing :: Maybe TrustedAdvisorCostOptimizingSummary@@ -531,7 +544,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tacssCostOptimizing'+-- * 'tacssCostOptimizing' - The summary information about cost savings for a Trusted Advisor check that is in the Cost Optimizing category. trustedAdvisorCategorySpecificSummary     :: TrustedAdvisorCategorySpecificSummary trustedAdvisorCategorySpecificSummary =@@ -558,6 +571,8 @@  -- | The description and metadata for a Trusted Advisor check. --+--+-- -- /See:/ 'trustedAdvisorCheckDescription' smart constructor. data TrustedAdvisorCheckDescription = TrustedAdvisorCheckDescription'     { _tacdId          :: !Text@@ -571,15 +586,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tacdId'+-- * 'tacdId' - The unique identifier for the Trusted Advisor check. ----- * 'tacdName'+-- * 'tacdName' - The display name for the Trusted Advisor check. ----- * 'tacdDescription'+-- * 'tacdDescription' - The description of the Trusted Advisor check, which includes the alert criteria and recommended actions (contains HTML markup). ----- * 'tacdCategory'+-- * 'tacdCategory' - The category of the Trusted Advisor check. ----- * 'tacdMetadata'+-- * 'tacdMetadata' - 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     :: Text -- ^ 'tacdId'     -> Text -- ^ 'tacdName'@@ -611,7 +626,7 @@ tacdCategory :: Lens' TrustedAdvisorCheckDescription Text tacdCategory = lens _tacdCategory (\ s a -> s{_tacdCategory = a}); --- | 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.+-- | 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] tacdMetadata = lens _tacdMetadata (\ s a -> s{_tacdMetadata = a}) . _Coerce; @@ -632,6 +647,8 @@  -- | The refresh status of a Trusted Advisor check. --+--+-- -- /See:/ 'trustedAdvisorCheckRefreshStatus' smart constructor. data TrustedAdvisorCheckRefreshStatus = TrustedAdvisorCheckRefreshStatus'     { _tacrsCheckId                    :: !Text@@ -643,11 +660,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tacrsCheckId'+-- * 'tacrsCheckId' - The unique identifier for the Trusted Advisor check. ----- * 'tacrsStatus'+-- * 'tacrsStatus' - The status of the Trusted Advisor check for which a refresh has been requested: "none", "enqueued", "processing", "success", or "abandoned". ----- * 'tacrsMillisUntilNextRefreshable'+-- * 'tacrsMillisUntilNextRefreshable' - The amount of time, in milliseconds, until the Trusted Advisor check is eligible for refresh. trustedAdvisorCheckRefreshStatus     :: Text -- ^ 'tacrsCheckId'     -> Text -- ^ 'tacrsStatus'@@ -664,7 +681,7 @@ tacrsCheckId :: Lens' TrustedAdvisorCheckRefreshStatus Text tacrsCheckId = lens _tacrsCheckId (\ s a -> s{_tacrsCheckId = a}); --- | The status of the Trusted Advisor check for which a refresh has been requested: \"none\", \"enqueued\", \"processing\", \"success\", or \"abandoned\".+-- | The status of the Trusted Advisor check for which a refresh has been requested: "none", "enqueued", "processing", "success", or "abandoned". tacrsStatus :: Lens' TrustedAdvisorCheckRefreshStatus Text tacrsStatus = lens _tacrsStatus (\ s a -> s{_tacrsStatus = a}); @@ -685,8 +702,10 @@  instance NFData TrustedAdvisorCheckRefreshStatus --- | The results of a Trusted Advisor check returned by < DescribeTrustedAdvisorCheckResult>.+-- | The results of a Trusted Advisor check returned by 'DescribeTrustedAdvisorCheckResult' . --+--+-- -- /See:/ 'trustedAdvisorCheckResult' smart constructor. data TrustedAdvisorCheckResult = TrustedAdvisorCheckResult'     { _tacrCheckId                 :: !Text@@ -701,17 +720,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tacrCheckId'+-- * 'tacrCheckId' - The unique identifier for the Trusted Advisor check. ----- * 'tacrTimestamp'+-- * 'tacrTimestamp' - The time of the last refresh of the check. ----- * 'tacrStatus'+-- * 'tacrStatus' - The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available". ----- * 'tacrResourcesSummary'+-- * 'tacrResourcesSummary' - Undocumented member. ----- * 'tacrCategorySpecificSummary'+-- * 'tacrCategorySpecificSummary' - Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported. ----- * 'tacrFlaggedResources'+-- * 'tacrFlaggedResources' - The details about each resource listed in the check result. trustedAdvisorCheckResult     :: Text -- ^ 'tacrCheckId'     -> Text -- ^ 'tacrTimestamp'@@ -737,7 +756,7 @@ tacrTimestamp :: Lens' TrustedAdvisorCheckResult Text tacrTimestamp = lens _tacrTimestamp (\ s a -> s{_tacrTimestamp = a}); --- | The alert status of the check: \"ok\" (green), \"warning\" (yellow), \"error\" (red), or \"not_available\".+-- | The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available". tacrStatus :: Lens' TrustedAdvisorCheckResult Text tacrStatus = lens _tacrStatus (\ s a -> s{_tacrStatus = a}); @@ -770,6 +789,8 @@  -- | 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 = TrustedAdvisorCheckSummary'     { _tacsHasFlaggedResources     :: !(Maybe Bool)@@ -784,17 +805,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tacsHasFlaggedResources'+-- * 'tacsHasFlaggedResources' - Specifies whether the Trusted Advisor check has flagged resources. ----- * 'tacsCheckId'+-- * 'tacsCheckId' - The unique identifier for the Trusted Advisor check. ----- * 'tacsTimestamp'+-- * 'tacsTimestamp' - The time of the last refresh of the check. ----- * 'tacsStatus'+-- * 'tacsStatus' - The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available". ----- * 'tacsResourcesSummary'+-- * 'tacsResourcesSummary' - Undocumented member. ----- * 'tacsCategorySpecificSummary'+-- * 'tacsCategorySpecificSummary' - Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported. trustedAdvisorCheckSummary     :: Text -- ^ 'tacsCheckId'     -> Text -- ^ 'tacsTimestamp'@@ -824,7 +845,7 @@ tacsTimestamp :: Lens' TrustedAdvisorCheckSummary Text tacsTimestamp = lens _tacsTimestamp (\ s a -> s{_tacsTimestamp = a}); --- | The alert status of the check: \"ok\" (green), \"warning\" (yellow), \"error\" (red), or \"not_available\".+-- | The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available". tacsStatus :: Lens' TrustedAdvisorCheckSummary Text tacsStatus = lens _tacsStatus (\ s a -> s{_tacsStatus = a}); @@ -853,6 +874,8 @@  -- | The estimated cost savings that might be realized if the recommended actions are taken. --+--+-- -- /See:/ 'trustedAdvisorCostOptimizingSummary' smart constructor. data TrustedAdvisorCostOptimizingSummary = TrustedAdvisorCostOptimizingSummary'     { _tacosEstimatedMonthlySavings        :: !Double@@ -863,9 +886,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tacosEstimatedMonthlySavings'+-- * 'tacosEstimatedMonthlySavings' - The estimated monthly savings that might be realized if the recommended actions are taken. ----- * 'tacosEstimatedPercentMonthlySavings'+-- * 'tacosEstimatedPercentMonthlySavings' - The estimated percentage of savings that might be realized if the recommended actions are taken. trustedAdvisorCostOptimizingSummary     :: Double -- ^ 'tacosEstimatedMonthlySavings'     -> Double -- ^ 'tacosEstimatedPercentMonthlySavings'@@ -899,6 +922,8 @@  -- | Contains information about a resource identified by a Trusted Advisor check. --+--+-- -- /See:/ 'trustedAdvisorResourceDetail' smart constructor. data TrustedAdvisorResourceDetail = TrustedAdvisorResourceDetail'     { _tardIsSuppressed :: !(Maybe Bool)@@ -912,15 +937,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tardIsSuppressed'+-- * 'tardIsSuppressed' - Specifies whether the AWS resource was ignored by Trusted Advisor because it was marked as suppressed by the user. ----- * 'tardRegion'+-- * 'tardRegion' - The AWS region in which the identified resource is located. ----- * 'tardStatus'+-- * 'tardStatus' - The status code for the resource identified in the Trusted Advisor check. ----- * 'tardResourceId'+-- * 'tardResourceId' - The unique identifier for the identified resource. ----- * 'tardMetadata'+-- * 'tardMetadata' - 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     :: Text -- ^ 'tardStatus'     -> Text -- ^ 'tardResourceId'@@ -950,7 +975,7 @@ tardResourceId :: Lens' TrustedAdvisorResourceDetail Text tardResourceId = lens _tardResourceId (\ s a -> s{_tardResourceId = a}); --- | 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.+-- | 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] tardMetadata = lens _tardMetadata (\ s a -> s{_tardMetadata = a}) . _Coerce; @@ -968,8 +993,10 @@  instance NFData TrustedAdvisorResourceDetail --- | Details about AWS resources that were analyzed in a call to Trusted Advisor < DescribeTrustedAdvisorCheckSummaries>.+-- | Details about AWS resources that were analyzed in a call to Trusted Advisor 'DescribeTrustedAdvisorCheckSummaries' . --+--+-- -- /See:/ 'trustedAdvisorResourcesSummary' smart constructor. data TrustedAdvisorResourcesSummary = TrustedAdvisorResourcesSummary'     { _tarsResourcesProcessed  :: !Integer@@ -982,13 +1009,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tarsResourcesProcessed'+-- * 'tarsResourcesProcessed' - The number of AWS resources that were analyzed by the Trusted Advisor check. ----- * 'tarsResourcesFlagged'+-- * 'tarsResourcesFlagged' - The number of AWS resources that were flagged (listed) by the Trusted Advisor check. ----- * 'tarsResourcesIgnored'+-- * 'tarsResourcesIgnored' - The number of AWS resources ignored by Trusted Advisor because information was unavailable. ----- * 'tarsResourcesSuppressed'+-- * 'tarsResourcesSuppressed' - The number of AWS resources ignored by Trusted Advisor because they were marked as suppressed by the user. trustedAdvisorResourcesSummary     :: Integer -- ^ 'tarsResourcesProcessed'     -> Integer -- ^ 'tarsResourcesFlagged'