amazonka-support 1.3.7 → 1.4.0
raw patch · 25 files changed
+232/−193 lines, 25 filesdep ~amazonka-coredep ~amazonka-supportdep ~amazonka-testPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: amazonka-core, amazonka-support, amazonka-test
API changes (from Hackage documentation)
+ Network.AWS.Support.AddAttachmentsToSet: instance Data.Hashable.Class.Hashable Network.AWS.Support.AddAttachmentsToSet.AddAttachmentsToSet
+ Network.AWS.Support.AddCommunicationToCase: instance Data.Hashable.Class.Hashable Network.AWS.Support.AddCommunicationToCase.AddCommunicationToCase
+ Network.AWS.Support.CreateCase: instance Data.Hashable.Class.Hashable Network.AWS.Support.CreateCase.CreateCase
+ Network.AWS.Support.DescribeAttachment: instance Data.Hashable.Class.Hashable Network.AWS.Support.DescribeAttachment.DescribeAttachment
+ Network.AWS.Support.DescribeCases: instance Data.Hashable.Class.Hashable Network.AWS.Support.DescribeCases.DescribeCases
+ Network.AWS.Support.DescribeCommunications: instance Data.Hashable.Class.Hashable Network.AWS.Support.DescribeCommunications.DescribeCommunications
+ Network.AWS.Support.DescribeServices: instance Data.Hashable.Class.Hashable Network.AWS.Support.DescribeServices.DescribeServices
+ Network.AWS.Support.DescribeSeverityLevels: instance Data.Hashable.Class.Hashable Network.AWS.Support.DescribeSeverityLevels.DescribeSeverityLevels
+ Network.AWS.Support.DescribeTrustedAdvisorCheckRefreshStatuses: instance Data.Hashable.Class.Hashable Network.AWS.Support.DescribeTrustedAdvisorCheckRefreshStatuses.DescribeTrustedAdvisorCheckRefreshStatuses
+ Network.AWS.Support.DescribeTrustedAdvisorCheckResult: instance Data.Hashable.Class.Hashable Network.AWS.Support.DescribeTrustedAdvisorCheckResult.DescribeTrustedAdvisorCheckResult
+ Network.AWS.Support.DescribeTrustedAdvisorCheckSummaries: instance Data.Hashable.Class.Hashable Network.AWS.Support.DescribeTrustedAdvisorCheckSummaries.DescribeTrustedAdvisorCheckSummaries
+ Network.AWS.Support.DescribeTrustedAdvisorChecks: instance Data.Hashable.Class.Hashable Network.AWS.Support.DescribeTrustedAdvisorChecks.DescribeTrustedAdvisorChecks
+ Network.AWS.Support.RefreshTrustedAdvisorCheck: instance Data.Hashable.Class.Hashable Network.AWS.Support.RefreshTrustedAdvisorCheck.RefreshTrustedAdvisorCheck
+ Network.AWS.Support.ResolveCase: instance Data.Hashable.Class.Hashable Network.AWS.Support.ResolveCase.ResolveCase
Files
- README.md +20/−19
- amazonka-support.cabal +25/−24
- gen/Network/AWS/Support.hs +19/−20
- gen/Network/AWS/Support/AddAttachmentsToSet.hs +4/−4
- gen/Network/AWS/Support/AddCommunicationToCase.hs +6/−6
- gen/Network/AWS/Support/CreateCase.hs +18/−17
- gen/Network/AWS/Support/DescribeAttachment.hs +7/−7
- gen/Network/AWS/Support/DescribeCases.hs +9/−9
- gen/Network/AWS/Support/DescribeCommunications.hs +4/−4
- gen/Network/AWS/Support/DescribeServices.hs +6/−6
- gen/Network/AWS/Support/DescribeSeverityLevels.hs +5/−5
- gen/Network/AWS/Support/DescribeTrustedAdvisorCheckRefreshStatuses.hs +6/−5
- gen/Network/AWS/Support/DescribeTrustedAdvisorCheckResult.hs +10/−10
- gen/Network/AWS/Support/DescribeTrustedAdvisorCheckSummaries.hs +7/−6
- gen/Network/AWS/Support/DescribeTrustedAdvisorChecks.hs +5/−5
- gen/Network/AWS/Support/RefreshTrustedAdvisorCheck.hs +6/−6
- gen/Network/AWS/Support/ResolveCase.hs +7/−7
- gen/Network/AWS/Support/Types.hs +3/−2
- gen/Network/AWS/Support/Types/Product.hs +59/−25
- gen/Network/AWS/Support/Types/Sum.hs +1/−1
- gen/Network/AWS/Support/Waiters.hs +1/−1
- test/Main.hs +1/−1
- test/Test/AWS/Gen/Support.hs +1/−1
- test/Test/AWS/Support.hs +1/−1
- test/Test/AWS/Support/Internal.hs +1/−1
README.md view
@@ -8,7 +8,7 @@ ## Version -`1.3.7`+`1.4.0` ## Description@@ -30,32 +30,33 @@ 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.+ 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.+ < 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+- < 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+ < 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+- < DescribeTrustedAdvisorCheckSummaries> returns summarized results+ for one or more Trusted Advisor checks.+- < RefreshTrustedAdvisorCheck> requests that Trusted Advisor rerun a specified check.-- DescribeTrustedAdvisorCheckRefreshStatuses reports the refresh+- < DescribeTrustedAdvisorCheckRefreshStatuses> reports the refresh status of one or more checks. For authentication of requests, AWS Support uses@@ -68,7 +69,7 @@ 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](http://docs.aws.amazon.com/awssupport/latest/APIReference/Welcome.html).+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.
amazonka-support.cabal view
@@ -1,5 +1,5 @@ name: amazonka-support-version: 1.3.7+version: 1.4.0 synopsis: Amazon Support SDK. homepage: https://github.com/brendanhay/amazonka bug-reports: https://github.com/brendanhay/amazonka/issues@@ -7,7 +7,7 @@ license-file: LICENSE author: Brendan Hay maintainer: Brendan Hay <brendan.g.hay@gmail.com>-copyright: Copyright (c) 2013-2015 Brendan Hay+copyright: Copyright (c) 2013-2016 Brendan Hay category: Network, AWS, Cloud, Distributed Computing build-type: Simple cabal-version: >= 1.10@@ -30,32 +30,33 @@ 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.+ 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.+ < 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+ - < 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+ < 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+ - < DescribeTrustedAdvisorCheckSummaries> returns summarized results+ for one or more Trusted Advisor checks.+ - < RefreshTrustedAdvisorCheck> requests that Trusted Advisor rerun a specified check.- - DescribeTrustedAdvisorCheckRefreshStatuses reports the refresh+ - < DescribeTrustedAdvisorCheckRefreshStatuses> reports the refresh status of one or more checks. For authentication of requests, AWS Support uses@@ -78,7 +79,7 @@ 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" and the <http://docs.aws.amazon.com/awssupport/latest/APIReference/Welcome.html AWS API Reference>+ See "Network.AWS.Support" or <https://aws.amazon.com/documentation/ the AWS Documentation> to get started. source-repository head@@ -115,7 +116,7 @@ , Network.AWS.Support.Types.Sum build-depends:- amazonka-core == 1.3.7.*+ amazonka-core == 1.4.0.* , base >= 4.7 && < 5 test-suite amazonka-support-test@@ -135,9 +136,9 @@ , Test.AWS.Support.Internal build-depends:- amazonka-core == 1.3.7.*- , amazonka-test == 1.3.7.*- , amazonka-support == 1.3.7.*+ amazonka-core == 1.4.0.*+ , amazonka-test == 1.4.0.*+ , amazonka-support == 1.4.0.* , base , bytestring , tasty
gen/Network/AWS/Support.hs view
@@ -5,7 +5,7 @@ -- | -- Module : Network.AWS.Support--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -28,32 +28,33 @@ -- 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.+-- 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.+-- < 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+-- - < 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+-- < 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+-- - < DescribeTrustedAdvisorCheckSummaries> returns summarized results+-- for one or more Trusted Advisor checks.+-- - < RefreshTrustedAdvisorCheck> requests that Trusted Advisor rerun a -- specified check.--- - DescribeTrustedAdvisorCheckRefreshStatuses reports the refresh+-- - < DescribeTrustedAdvisorCheckRefreshStatuses> reports the refresh -- status of one or more checks. -- -- For authentication of requests, AWS Support uses@@ -64,8 +65,6 @@ -- in the /AWS Support User Guide/ for information about how to use this -- service to create and manage your support cases, and how to call Trusted -- Advisor for results of checks on your resources.------ /See:/ <http://docs.aws.amazon.com/awssupport/latest/APIReference/Welcome.html AWS API Reference> module Network.AWS.Support ( -- * Service Configuration
gen/Network/AWS/Support/AddAttachmentsToSet.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Support.AddAttachmentsToSet--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -29,8 +29,6 @@ -- hour after it is created; the 'ExpiryTime' returned in the response -- indicates when the set expires. The maximum number of attachments in a -- set is 3, and the maximum size of any attachment in the set is 5 MB.------ /See:/ <http://docs.aws.amazon.com/awssupport/latest/APIReference/API_AddAttachmentsToSet.html AWS API Reference> for AddAttachmentsToSet. module Network.AWS.Support.AddAttachmentsToSet ( -- * Creating a Request@@ -100,6 +98,8 @@ (x .?> "expiryTime") <*> (x .?> "attachmentSetId") <*> (pure (fromEnum s))) +instance Hashable AddAttachmentsToSet+ instance ToHeaders AddAttachmentsToSet where toHeaders = const@@ -124,7 +124,7 @@ toQuery = const mempty -- | The ID and expiry time of the attachment set returned by the--- AddAttachmentsToSet operation.+-- < AddAttachmentsToSet> operation. -- -- /See:/ 'addAttachmentsToSetResponse' smart constructor. data AddAttachmentsToSetResponse = AddAttachmentsToSetResponse'
gen/Network/AWS/Support/AddCommunicationToCase.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Support.AddCommunicationToCase--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -28,8 +28,6 @@ -- -- This operation implements a subset of the features of the AWS Support -- Center.------ /See:/ <http://docs.aws.amazon.com/awssupport/latest/APIReference/API_AddCommunicationToCase.html AWS API Reference> for AddCommunicationToCase. module Network.AWS.Support.AddCommunicationToCase ( -- * Creating a Request@@ -100,7 +98,7 @@ 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+-- to the case. Create the set by calling < AddAttachmentsToSet> actcAttachmentSetId :: Lens' AddCommunicationToCase (Maybe Text) actcAttachmentSetId = lens _actcAttachmentSetId (\ s a -> s{_actcAttachmentSetId = a}); @@ -118,6 +116,8 @@ AddCommunicationToCaseResponse' <$> (x .?> "result") <*> (pure (fromEnum s))) +instance Hashable AddCommunicationToCase+ instance ToHeaders AddCommunicationToCase where toHeaders = const@@ -144,7 +144,7 @@ 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'@@ -168,7 +168,7 @@ , _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});
gen/Network/AWS/Support/CreateCase.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Support.CreateCase--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -27,15 +27,15 @@ -- either \"customer-service\" or \"technical.\" If you do not indicate -- a value, the default is \"technical.\" -- 2. __ServiceCode.__ The code for an AWS service. You obtain the--- 'ServiceCode' by calling DescribeServices.+-- 'ServiceCode' by calling < DescribeServices>. -- 3. __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.+-- by calling < DescribeServices>. Each AWS service defines its own set+-- of category codes. -- 4. __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.+-- calling < DescribeSeverityLevels>. -- 5. __Subject.__ The __Subject__ field on the AWS Support Center -- <https://console.aws.amazon.com/support/home#/case/create Create Case> -- page.@@ -44,7 +44,7 @@ -- <https://console.aws.amazon.com/support/home#/case/create Create Case> -- page. -- 7. __AttachmentSetId.__ The ID of a set of attachments that has been--- created by using AddAttachmentsToSet.+-- created by using < AddAttachmentsToSet>. -- 8. __Language.__ The human language in which AWS Support handles the -- case. English and Japanese are currently supported. -- 9. __CcEmailAddresses.__ The AWS Support Center __CC__ field on the@@ -56,13 +56,11 @@ -- languages supported by an <http://aws.amazon.com/tools/ AWS SDK>. -- -- To add additional communication or attachments to an existing case, use--- AddCommunicationToCase.------ A successful CreateCase request returns an AWS Support case number. Case--- numbers are used by the DescribeCases operation to retrieve existing AWS--- Support cases.+-- < AddCommunicationToCase>. ----- /See:/ <http://docs.aws.amazon.com/awssupport/latest/APIReference/API_CreateCase.html AWS API Reference> for CreateCase.+-- 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@@ -146,7 +144,7 @@ } -- | The code for the severity level returned by the call to--- DescribeSeverityLevels.+-- < DescribeSeverityLevels>. -- -- The availability of severity levels depends on each customer\'s support -- subscription. In other words, your subscription may not necessarily@@ -176,12 +174,13 @@ 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.+-- by using < AddAttachmentsToSet>. ccAttachmentSetId :: Lens' CreateCase (Maybe Text) ccAttachmentSetId = lens _ccAttachmentSetId (\ s a -> s{_ccAttachmentSetId = a}); @@ -190,7 +189,7 @@ ccSubject = lens _ccSubject (\ s a -> s{_ccSubject = a}); -- | The communication body text when you create an AWS Support case by--- calling CreateCase.+-- calling < CreateCase>. ccCommunicationBody :: Lens' CreateCase Text ccCommunicationBody = lens _ccCommunicationBody (\ s a -> s{_ccCommunicationBody = a}); @@ -203,6 +202,8 @@ CreateCaseResponse' <$> (x .?> "caseId") <*> (pure (fromEnum s))) +instance Hashable CreateCase+ instance ToHeaders CreateCase where toHeaders = const@@ -233,7 +234,7 @@ toQuery = const mempty -- | The AWS Support case ID returned by a successful completion of the--- CreateCase operation.+-- < CreateCase> operation. -- -- /See:/ 'createCaseResponse' smart constructor. data CreateCaseResponse = CreateCaseResponse'
gen/Network/AWS/Support/DescribeAttachment.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Support.DescribeAttachment--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -21,10 +21,8 @@ -- Returns the attachment that has the specified ID. Attachment IDs are -- generated by the case management system when you add an attachment to a -- case or case communication. Attachment IDs are returned in the--- AttachmentDetails objects that are returned by the--- DescribeCommunications operation.------ /See:/ <http://docs.aws.amazon.com/awssupport/latest/APIReference/API_DescribeAttachment.html AWS API Reference> for DescribeAttachment.+-- < AttachmentDetails> objects that are returned by the+-- < DescribeCommunications> operation. module Network.AWS.Support.DescribeAttachment ( -- * Creating a Request@@ -67,7 +65,7 @@ } -- | The ID of the attachment to return. Attachment IDs are returned by the--- DescribeCommunications operation.+-- < DescribeCommunications> operation. daAttachmentId :: Lens' DescribeAttachment Text daAttachmentId = lens _daAttachmentId (\ s a -> s{_daAttachmentId = a}); @@ -81,6 +79,8 @@ DescribeAttachmentResponse' <$> (x .?> "attachment") <*> (pure (fromEnum s))) +instance Hashable DescribeAttachment+ instance ToHeaders DescribeAttachment where toHeaders = const@@ -104,7 +104,7 @@ toQuery = const mempty -- | The content and file name of the attachment returned by the--- DescribeAttachment operation.+-- < DescribeAttachment> operation. -- -- /See:/ 'describeAttachmentResponse' smart constructor. data DescribeAttachmentResponse = DescribeAttachmentResponse'
gen/Network/AWS/Support/DescribeCases.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Support.DescribeCases--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -30,12 +30,10 @@ -- -- The response returns the following in JSON format: ----- 1. One or more CaseDetails data types.+-- 1. One or more < CaseDetails> data types. -- 2. One or more 'NextToken' values, which specify where to paginate the -- returned records represented by the 'CaseDetails' objects. ----- /See:/ <http://docs.aws.amazon.com/awssupport/latest/APIReference/API_DescribeCases.html AWS API Reference> for DescribeCases.--- -- This operation returns paginated results. module Network.AWS.Support.DescribeCases (@@ -120,7 +118,7 @@ } -- | Specifies whether resolved support cases should be included in the--- DescribeCases results. The default is /false/.+-- < DescribeCases> results. The default is /false/. dcIncludeResolvedCases :: Lens' DescribeCases (Maybe Bool) dcIncludeResolvedCases = lens _dcIncludeResolvedCases (\ s a -> s{_dcIncludeResolvedCases = a}); @@ -144,8 +142,8 @@ 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}); @@ -181,6 +179,8 @@ (x .?> "cases" .!@ mempty) <*> (x .?> "nextToken") <*> (pure (fromEnum s))) +instance Hashable DescribeCases+ instance ToHeaders DescribeCases where toHeaders = const@@ -212,8 +212,8 @@ 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'
gen/Network/AWS/Support/DescribeCommunications.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Support.DescribeCommunications--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -32,8 +32,6 @@ -- you want displayed on each page, and use 'NextToken' to specify the -- resumption of pagination. ----- /See:/ <http://docs.aws.amazon.com/awssupport/latest/APIReference/API_DescribeCommunications.html AWS API Reference> for DescribeCommunications.--- -- This operation returns paginated results. module Network.AWS.Support.DescribeCommunications (@@ -142,6 +140,8 @@ (x .?> "communications" .!@ mempty) <*> (pure (fromEnum s))) +instance Hashable DescribeCommunications+ instance ToHeaders DescribeCommunications where toHeaders = const@@ -168,7 +168,7 @@ 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'
gen/Network/AWS/Support/DescribeServices.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Support.DescribeServices--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -20,8 +20,8 @@ -- -- 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.+-- 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@@ -32,8 +32,6 @@ -- Always use the service codes and categories obtained programmatically. -- This practice ensures that you always have the most recent set of -- service and category codes.------ /See:/ <http://docs.aws.amazon.com/awssupport/latest/APIReference/API_DescribeServices.html AWS API Reference> for DescribeServices. module Network.AWS.Support.DescribeServices ( -- * Creating a Request@@ -100,6 +98,8 @@ (x .?> "services" .!@ mempty) <*> (pure (fromEnum s))) +instance Hashable DescribeServices+ instance ToHeaders DescribeServices where toHeaders = const@@ -123,7 +123,7 @@ 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'
gen/Network/AWS/Support/DescribeSeverityLevels.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Support.DescribeSeverityLevels--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -20,9 +20,7 @@ -- -- Returns the list of severity levels that you can assign to an AWS -- Support case. The severity level for a case is also a field in the--- CaseDetails data type included in any CreateCase request.------ /See:/ <http://docs.aws.amazon.com/awssupport/latest/APIReference/API_DescribeSeverityLevels.html AWS API Reference> for DescribeSeverityLevels.+-- < CaseDetails> data type included in any < CreateCase> request. module Network.AWS.Support.DescribeSeverityLevels ( -- * Creating a Request@@ -81,6 +79,8 @@ (x .?> "severityLevels" .!@ mempty) <*> (pure (fromEnum s))) +instance Hashable DescribeSeverityLevels+ instance ToHeaders DescribeSeverityLevels where toHeaders = const@@ -102,7 +102,7 @@ instance ToQuery DescribeSeverityLevels where toQuery = const mempty --- | The list of severity levels returned by the DescribeSeverityLevels+-- | The list of severity levels returned by the < DescribeSeverityLevels> -- operation. -- -- /See:/ 'describeSeverityLevelsResponse' smart constructor.
gen/Network/AWS/Support/DescribeTrustedAdvisorCheckRefreshStatuses.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Support.DescribeTrustedAdvisorCheckRefreshStatuses--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -20,9 +20,7 @@ -- -- Returns the refresh status of the Trusted Advisor checks that have the -- specified check IDs. Check IDs can be obtained by calling--- DescribeTrustedAdvisorChecks.------ /See:/ <http://docs.aws.amazon.com/awssupport/latest/APIReference/API_DescribeTrustedAdvisorCheckRefreshStatuses.html AWS API Reference> for DescribeTrustedAdvisorCheckRefreshStatuses.+-- < DescribeTrustedAdvisorChecks>. module Network.AWS.Support.DescribeTrustedAdvisorCheckRefreshStatuses ( -- * Creating a Request@@ -80,6 +78,9 @@ (pure (fromEnum s)) <*> (x .?> "statuses" .!@ mempty)) +instance Hashable+ DescribeTrustedAdvisorCheckRefreshStatuses+ instance ToHeaders DescribeTrustedAdvisorCheckRefreshStatuses where toHeaders@@ -107,7 +108,7 @@ toQuery = const mempty -- | The statuses of the Trusted Advisor checks returned by the--- DescribeTrustedAdvisorCheckRefreshStatuses operation.+-- < DescribeTrustedAdvisorCheckRefreshStatuses> operation. -- -- /See:/ 'describeTrustedAdvisorCheckRefreshStatusesResponse' smart constructor. data DescribeTrustedAdvisorCheckRefreshStatusesResponse = DescribeTrustedAdvisorCheckRefreshStatusesResponse'
gen/Network/AWS/Support/DescribeTrustedAdvisorCheckResult.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Support.DescribeTrustedAdvisorCheckResult--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -20,14 +20,14 @@ -- -- Returns the results of the Trusted Advisor check that has the specified -- check ID. Check IDs can be obtained by calling--- DescribeTrustedAdvisorChecks.+-- < DescribeTrustedAdvisorChecks>. ----- The response contains a TrustedAdvisorCheckResult object, which contains--- these three objects:+-- The response contains a < TrustedAdvisorCheckResult> object, which+-- contains these three objects: ----- - TrustedAdvisorCategorySpecificSummary--- - TrustedAdvisorResourceDetail--- - TrustedAdvisorResourcesSummary+-- - < TrustedAdvisorCategorySpecificSummary>+-- - < TrustedAdvisorResourceDetail>+-- - < TrustedAdvisorResourcesSummary> -- -- In addition, the response contains these fields: --@@ -35,8 +35,6 @@ -- \"warning\" (yellow), \"error\" (red), or \"not_available\". -- - __Timestamp.__ The time of the last refresh of the check. -- - __CheckId.__ The unique identifier for the check.------ /See:/ <http://docs.aws.amazon.com/awssupport/latest/APIReference/API_DescribeTrustedAdvisorCheckResult.html AWS API Reference> for DescribeTrustedAdvisorCheckResult. module Network.AWS.Support.DescribeTrustedAdvisorCheckResult ( -- * Creating a Request@@ -105,6 +103,8 @@ DescribeTrustedAdvisorCheckResultResponse' <$> (x .?> "result") <*> (pure (fromEnum s))) +instance Hashable DescribeTrustedAdvisorCheckResult+ instance ToHeaders DescribeTrustedAdvisorCheckResult where toHeaders@@ -133,7 +133,7 @@ toQuery = const mempty -- | The result of the Trusted Advisor check returned by the--- DescribeTrustedAdvisorCheckResult operation.+-- < DescribeTrustedAdvisorCheckResult> operation. -- -- /See:/ 'describeTrustedAdvisorCheckResultResponse' smart constructor. data DescribeTrustedAdvisorCheckResultResponse = DescribeTrustedAdvisorCheckResultResponse'
gen/Network/AWS/Support/DescribeTrustedAdvisorCheckSummaries.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Support.DescribeTrustedAdvisorCheckSummaries--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -20,11 +20,9 @@ -- -- 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.+-- < DescribeTrustedAdvisorChecks>. ----- /See:/ <http://docs.aws.amazon.com/awssupport/latest/APIReference/API_DescribeTrustedAdvisorCheckSummaries.html AWS API Reference> for DescribeTrustedAdvisorCheckSummaries.+-- The response contains an array of < TrustedAdvisorCheckSummary> objects. module Network.AWS.Support.DescribeTrustedAdvisorCheckSummaries ( -- * Creating a Request@@ -81,6 +79,9 @@ (pure (fromEnum s)) <*> (x .?> "summaries" .!@ mempty)) +instance Hashable+ DescribeTrustedAdvisorCheckSummaries+ instance ToHeaders DescribeTrustedAdvisorCheckSummaries where toHeaders@@ -107,7 +108,7 @@ toQuery = const mempty -- | The summaries of the Trusted Advisor checks returned by the--- DescribeTrustedAdvisorCheckSummaries operation.+-- < DescribeTrustedAdvisorCheckSummaries> operation. -- -- /See:/ 'describeTrustedAdvisorCheckSummariesResponse' smart constructor. data DescribeTrustedAdvisorCheckSummariesResponse = DescribeTrustedAdvisorCheckSummariesResponse'
gen/Network/AWS/Support/DescribeTrustedAdvisorChecks.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Support.DescribeTrustedAdvisorChecks--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -22,9 +22,7 @@ -- including name, ID, category, description, and metadata. You must -- specify a language code; English (\"en\") and Japanese (\"ja\") are -- currently supported. The response contains a--- TrustedAdvisorCheckDescription for each check.------ /See:/ <http://docs.aws.amazon.com/awssupport/latest/APIReference/API_DescribeTrustedAdvisorChecks.html AWS API Reference> for DescribeTrustedAdvisorChecks.+-- < TrustedAdvisorCheckDescription> for each check. module Network.AWS.Support.DescribeTrustedAdvisorChecks ( -- * Creating a Request@@ -84,6 +82,8 @@ DescribeTrustedAdvisorChecksResponse' <$> (pure (fromEnum s)) <*> (x .?> "checks" .!@ mempty)) +instance Hashable DescribeTrustedAdvisorChecks+ instance ToHeaders DescribeTrustedAdvisorChecks where toHeaders = const@@ -106,7 +106,7 @@ toQuery = const mempty -- | Information about the Trusted Advisor checks returned by the--- DescribeTrustedAdvisorChecks operation.+-- < DescribeTrustedAdvisorChecks> operation. -- -- /See:/ 'describeTrustedAdvisorChecksResponse' smart constructor. data DescribeTrustedAdvisorChecksResponse = DescribeTrustedAdvisorChecksResponse'
gen/Network/AWS/Support/RefreshTrustedAdvisorCheck.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.Support.RefreshTrustedAdvisorCheck--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -20,18 +20,16 @@ -- -- Requests a refresh of the Trusted Advisor check that has the specified -- check ID. Check IDs can be obtained by calling--- DescribeTrustedAdvisorChecks.+-- < DescribeTrustedAdvisorChecks>. ----- 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\". -- - __MillisUntilNextRefreshable.__ The amount of time, in milliseconds, -- until the check is eligible for refresh. -- - __CheckId.__ The unique identifier for the check.------ /See:/ <http://docs.aws.amazon.com/awssupport/latest/APIReference/API_RefreshTrustedAdvisorCheck.html AWS API Reference> for RefreshTrustedAdvisorCheck. module Network.AWS.Support.RefreshTrustedAdvisorCheck ( -- * Creating a Request@@ -86,6 +84,8 @@ (\ s h x -> RefreshTrustedAdvisorCheckResponse' <$> (pure (fromEnum s)) <*> (x .:> "status"))++instance Hashable RefreshTrustedAdvisorCheck instance ToHeaders RefreshTrustedAdvisorCheck where toHeaders
gen/Network/AWS/Support/ResolveCase.hs view
@@ -12,16 +12,14 @@ -- | -- Module : Network.AWS.Support.ResolveCase--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- 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.------ /See:/ <http://docs.aws.amazon.com/awssupport/latest/APIReference/API_ResolveCase.html AWS API Reference> for ResolveCase.+-- the state of the case after the call to < ResolveCase> completed. module Network.AWS.Support.ResolveCase ( -- * Creating a Request@@ -80,6 +78,8 @@ (x .?> "finalCaseStatus") <*> (pure (fromEnum s))) +instance Hashable ResolveCase+ instance ToHeaders ResolveCase where toHeaders = const@@ -99,7 +99,7 @@ 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'@@ -127,11 +127,11 @@ , _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});
gen/Network/AWS/Support/Types.hs view
@@ -4,7 +4,7 @@ -- | -- Module : Network.AWS.Support.Types--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -182,6 +182,7 @@ , _retryCheck = check } check e+ | has (hasStatus 429) e = Just "too_many_requests" | has (hasCode "ThrottlingException" . hasStatus 400) e = Just "throttling_exception" | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"@@ -200,7 +201,7 @@ _AttachmentLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError _AttachmentLimitExceeded = _ServiceError . hasCode "AttachmentLimitExceeded" --- | The limit for the number of DescribeAttachment requests in a short+-- | 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 =
gen/Network/AWS/Support/Types/Product.hs view
@@ -9,7 +9,7 @@ -- | -- Module : Network.AWS.Support.Types.Product--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -66,6 +66,8 @@ Attachment' <$> (x .:? "data") <*> (x .:? "fileName")) +instance Hashable Attachment+ instance ToJSON Attachment where toJSON Attachment'{..} = object@@ -74,7 +76,7 @@ ("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+-- use the ID to retrieve the attachment with the < DescribeAttachment> -- operation. -- -- /See:/ 'attachmentDetails' smart constructor.@@ -113,8 +115,10 @@ AttachmentDetails' <$> (x .:? "attachmentId") <*> (x .:? "fileName")) +instance Hashable AttachmentDetails+ -- | A JSON-formatted object that contains the metadata for a support case.--- It is contained the response from a DescribeCases request.+-- It is contained the response from a < DescribeCases> request. -- __CaseDetails__ contains the following fields: -- -- 1. __CaseID.__ The AWS Support case ID requested or returned in the@@ -122,21 +126,21 @@ -- this example: case-/12345678910-2013-c4c1d2bf33c5cf47/. -- 2. __CategoryCode.__ The category of problem for the AWS Support case. -- Corresponds to the CategoryCode values returned by a call to--- DescribeServices.+-- < DescribeServices>. -- 3. __DisplayId.__ The identifier for the case on pages in the AWS -- Support Center. -- 4. __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.--- 5. __RecentCommunications.__ One or more Communication objects. Fields--- of these objects are 'Attachments', 'Body', 'CaseId', 'SubmittedBy',--- and 'TimeCreated'.+-- 5. __RecentCommunications.__ One or more < Communication> objects.+-- Fields of these objects are 'Attachments', 'Body', 'CaseId',+-- 'SubmittedBy', and 'TimeCreated'. -- 6. __NextToken.__ A resumption point for pagination. -- 7. __ServiceCode.__ The identifier for the AWS service that corresponds--- to the service code defined in the call to DescribeServices.+-- to the service code defined in the call to < DescribeServices>. -- 8. __SeverityCode.__ The severity code assigned to the case. Contains--- one of the values returned by the call to DescribeSeverityLevels.+-- one of the values returned by the call to < DescribeSeverityLevels>. -- 9. __Status.__ The status of the case in the AWS Support Center. -- 10. __Subject.__ The subject line of the case. -- 11. __SubmittedBy.__ The email address of the account that submitted the@@ -220,7 +224,7 @@ cdRecentCommunications = lens _cdRecentCommunications (\ s a -> s{_cdRecentCommunications = a}); -- | The code for the severity level returned by the call to--- DescribeSeverityLevels.+-- < DescribeSeverityLevels>. cdSeverityCode :: Lens' CaseDetails (Maybe Text) cdSeverityCode = lens _cdSeverityCode (\ s a -> s{_cdSeverityCode = a}); @@ -258,7 +262,8 @@ 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}); @@ -279,8 +284,10 @@ <*> (x .:? "categoryCode") <*> (x .:? "serviceCode")) +instance Hashable CaseDetails+ -- | A JSON-formatted name\/value pair that represents the category name and--- category code of the problem, selected from the DescribeServices+-- category code of the problem, selected from the < DescribeServices> -- response for each AWS service. -- -- /See:/ 'category' smart constructor.@@ -318,6 +325,8 @@ (\ x -> Category' <$> (x .:? "name") <*> (x .:? "code")) +instance Hashable Category+ -- | 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.@@ -387,6 +396,8 @@ <*> (x .:? "timeCreated") <*> (x .:? "attachmentSet" .!= mempty)) +instance Hashable Communication+ -- | The five most recent communications associated with the case. -- -- /See:/ 'recentCaseCommunications' smart constructor.@@ -426,6 +437,8 @@ (x .:? "nextToken") <*> (x .:? "communications" .!= mempty)) +instance Hashable RecentCaseCommunications+ -- | A code and name pair that represent a severity level that can be applied -- to a support case. --@@ -467,7 +480,9 @@ (\ x -> SeverityLevel' <$> (x .:? "name") <*> (x .:? "code")) --- | Information about an AWS service returned by the DescribeServices+instance Hashable SeverityLevel++-- | Information about an AWS service returned by the < DescribeServices> -- operation. -- -- /See:/ 'supportService' smart constructor.@@ -498,7 +513,7 @@ -- | 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.+-- < CreateCase>. ssCategories :: Lens' SupportService [Category] ssCategories = lens _ssCategories (\ s a -> s{_ssCategories = a}) . _Default . _Coerce; @@ -507,8 +522,8 @@ 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}); @@ -520,6 +535,8 @@ (x .:? "categories" .!= mempty) <*> (x .:? "name") <*> (x .:? "code")) +instance Hashable SupportService+ -- | The container for summary information that relates to the category of -- the Trusted Advisor check. --@@ -553,6 +570,9 @@ TrustedAdvisorCategorySpecificSummary' <$> (x .:? "costOptimizing")) +instance Hashable+ TrustedAdvisorCategorySpecificSummary+ -- | The description and metadata for a Trusted Advisor check. -- -- /See:/ 'trustedAdvisorCheckDescription' smart constructor.@@ -611,9 +631,9 @@ -- | 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.+-- __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; @@ -628,6 +648,8 @@ <*> (x .: "category") <*> (x .:? "metadata" .!= mempty)) +instance Hashable TrustedAdvisorCheckDescription+ -- | The refresh status of a Trusted Advisor check. -- -- /See:/ 'trustedAdvisorCheckRefreshStatus' smart constructor.@@ -682,8 +704,10 @@ (x .: "checkId") <*> (x .: "status") <*> (x .: "millisUntilNextRefreshable")) +instance Hashable TrustedAdvisorCheckRefreshStatus+ -- | The results of a Trusted Advisor check returned by--- DescribeTrustedAdvisorCheckResult.+-- < DescribeTrustedAdvisorCheckResult>. -- -- /See:/ 'trustedAdvisorCheckResult' smart constructor. data TrustedAdvisorCheckResult = TrustedAdvisorCheckResult'@@ -764,6 +788,8 @@ <*> (x .: "categorySpecificSummary") <*> (x .:? "flaggedResources" .!= mempty)) +instance Hashable TrustedAdvisorCheckResult+ -- | A summary of a Trusted Advisor check result, including the alert status, -- last refresh, and number of resources examined. --@@ -846,6 +872,8 @@ <*> (x .: "resourcesSummary") <*> (x .: "categorySpecificSummary")) +instance Hashable TrustedAdvisorCheckSummary+ -- | The estimated cost savings that might be realized if the recommended -- actions are taken. --@@ -891,6 +919,8 @@ (x .: "estimatedMonthlySavings") <*> (x .: "estimatedPercentMonthlySavings")) +instance Hashable TrustedAdvisorCostOptimizingSummary+ -- | Contains information about a resource identified by a Trusted Advisor -- check. --@@ -950,10 +980,10 @@ -- | 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.+-- < 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; @@ -967,8 +997,10 @@ <*> (x .: "resourceId") <*> (x .:? "metadata" .!= mempty)) +instance Hashable TrustedAdvisorResourceDetail+ -- | Details about AWS resources that were analyzed in a call to Trusted--- Advisor DescribeTrustedAdvisorCheckSummaries.+-- Advisor < DescribeTrustedAdvisorCheckSummaries>. -- -- /See:/ 'trustedAdvisorResourcesSummary' smart constructor. data TrustedAdvisorResourcesSummary = TrustedAdvisorResourcesSummary'@@ -1033,3 +1065,5 @@ (x .: "resourcesFlagged") <*> (x .: "resourcesIgnored") <*> (x .: "resourcesSuppressed"))++instance Hashable TrustedAdvisorResourcesSummary
gen/Network/AWS/Support/Types/Sum.hs view
@@ -9,7 +9,7 @@ -- | -- Module : Network.AWS.Support.Types.Sum--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated
gen/Network/AWS/Support/Waiters.hs view
@@ -7,7 +7,7 @@ -- | -- Module : Network.AWS.Support.Waiters--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated
test/Main.hs view
@@ -2,7 +2,7 @@ -- | -- Module : Main--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated
test/Test/AWS/Gen/Support.hs view
@@ -5,7 +5,7 @@ -- | -- Module : Test.AWS.Gen.Support--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated
test/Test/AWS/Support.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE OverloadedStrings #-} -- Module : Test.AWS.Support--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : This Source Code Form is subject to the terms of -- the Mozilla Public License, v. 2.0. -- A copy of the MPL can be found in the LICENSE file or
test/Test/AWS/Support/Internal.hs view
@@ -2,7 +2,7 @@ {-# OPTIONS_GHC -fno-warn-unused-imports #-} -- Module : Test.AWS.Support.Internal--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : This Source Code Form is subject to the terms of -- the Mozilla Public License, v. 2.0. -- A copy of the MPL can be found in the LICENSE file or