Copyright | (c) 2013-2015 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) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- Errors
- Waiters
- Operations
- RefreshTrustedAdvisorCheck
- DescribeCases (Paginated)
- DescribeTrustedAdvisorCheckRefreshStatuses
- DescribeTrustedAdvisorCheckSummaries
- CreateCase
- ResolveCase
- DescribeSeverityLevels
- DescribeTrustedAdvisorChecks
- DescribeAttachment
- AddAttachmentsToSet
- DescribeTrustedAdvisorCheckResult
- DescribeServices
- DescribeCommunications (Paginated)
- AddCommunicationToCase
- Types
- Attachment
- AttachmentDetails
- CaseDetails
- Category
- Communication
- RecentCaseCommunications
- SeverityLevel
- SupportService
- TrustedAdvisorCategorySpecificSummary
- TrustedAdvisorCheckDescription
- TrustedAdvisorCheckRefreshStatus
- TrustedAdvisorCheckResult
- TrustedAdvisorCheckSummary
- TrustedAdvisorCostOptimizingSummary
- TrustedAdvisorResourceDetail
- TrustedAdvisorResourcesSummary
AWS Support
The AWS Support API reference is intended for programmers who need detailed information about the AWS Support operations and data types. This service enables you to manage your AWS Support cases programmatically. It uses HTTP methods that return results in JSON format.
The AWS Support service also exposes a set of Trusted Advisor features. You can retrieve a list of checks and their descriptions, get check results, specify checks to refresh, and get the refresh status of checks.
The following list describes the AWS Support case management operations:
- 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 Signature Version 4 Signing Process.
See About the AWS Support API in the AWS Support User Guide for information about how to use this service to create and manage your support cases, and how to call Trusted Advisor for results of checks on your resources.
See: AWS API Reference
- support :: Service
- _AttachmentSetExpired :: AsError a => Getting (First ServiceError) a ServiceError
- _AttachmentLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError
- _DescribeAttachmentLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError
- _CaseIdNotFound :: AsError a => Getting (First ServiceError) a ServiceError
- _AttachmentSetIdNotFound :: AsError a => Getting (First ServiceError) a ServiceError
- _AttachmentSetSizeLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError
- _AttachmentIdNotFound :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError
- _CaseCreationLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError
- module Network.AWS.Support.RefreshTrustedAdvisorCheck
- module Network.AWS.Support.DescribeCases
- module Network.AWS.Support.DescribeTrustedAdvisorCheckRefreshStatuses
- module Network.AWS.Support.DescribeTrustedAdvisorCheckSummaries
- module Network.AWS.Support.CreateCase
- module Network.AWS.Support.ResolveCase
- module Network.AWS.Support.DescribeSeverityLevels
- module Network.AWS.Support.DescribeTrustedAdvisorChecks
- module Network.AWS.Support.DescribeAttachment
- module Network.AWS.Support.AddAttachmentsToSet
- module Network.AWS.Support.DescribeTrustedAdvisorCheckResult
- module Network.AWS.Support.DescribeServices
- module Network.AWS.Support.DescribeCommunications
- module Network.AWS.Support.AddCommunicationToCase
- data Attachment
- attachment :: Attachment
- aData :: Lens' Attachment (Maybe ByteString)
- aFileName :: Lens' Attachment (Maybe Text)
- data AttachmentDetails
- attachmentDetails :: AttachmentDetails
- adAttachmentId :: Lens' AttachmentDetails (Maybe Text)
- adFileName :: Lens' AttachmentDetails (Maybe Text)
- data CaseDetails
- caseDetails :: CaseDetails
- cdSubject :: Lens' CaseDetails (Maybe Text)
- cdStatus :: Lens' CaseDetails (Maybe Text)
- cdRecentCommunications :: Lens' CaseDetails (Maybe RecentCaseCommunications)
- cdSeverityCode :: Lens' CaseDetails (Maybe Text)
- cdCaseId :: Lens' CaseDetails (Maybe Text)
- cdCcEmailAddresses :: Lens' CaseDetails [Text]
- cdDisplayId :: Lens' CaseDetails (Maybe Text)
- cdSubmittedBy :: Lens' CaseDetails (Maybe Text)
- cdLanguage :: Lens' CaseDetails (Maybe Text)
- cdTimeCreated :: Lens' CaseDetails (Maybe Text)
- cdCategoryCode :: Lens' CaseDetails (Maybe Text)
- cdServiceCode :: Lens' CaseDetails (Maybe Text)
- data Category
- category :: Category
- cName :: Lens' Category (Maybe Text)
- cCode :: Lens' Category (Maybe Text)
- data Communication
- communication :: Communication
- cBody :: Lens' Communication (Maybe Text)
- cCaseId :: Lens' Communication (Maybe Text)
- cSubmittedBy :: Lens' Communication (Maybe Text)
- cTimeCreated :: Lens' Communication (Maybe Text)
- cAttachmentSet :: Lens' Communication [AttachmentDetails]
- data RecentCaseCommunications
- recentCaseCommunications :: RecentCaseCommunications
- rccNextToken :: Lens' RecentCaseCommunications (Maybe Text)
- rccCommunications :: Lens' RecentCaseCommunications [Communication]
- data SeverityLevel
- severityLevel :: SeverityLevel
- slName :: Lens' SeverityLevel (Maybe Text)
- slCode :: Lens' SeverityLevel (Maybe Text)
- data SupportService
- supportService :: SupportService
- ssCategories :: Lens' SupportService [Category]
- ssName :: Lens' SupportService (Maybe Text)
- ssCode :: Lens' SupportService (Maybe Text)
- data TrustedAdvisorCategorySpecificSummary
- trustedAdvisorCategorySpecificSummary :: TrustedAdvisorCategorySpecificSummary
- tacssCostOptimizing :: Lens' TrustedAdvisorCategorySpecificSummary (Maybe TrustedAdvisorCostOptimizingSummary)
- data TrustedAdvisorCheckDescription
- trustedAdvisorCheckDescription :: Text -> Text -> Text -> Text -> TrustedAdvisorCheckDescription
- tacdId :: Lens' TrustedAdvisorCheckDescription Text
- tacdName :: Lens' TrustedAdvisorCheckDescription Text
- tacdDescription :: Lens' TrustedAdvisorCheckDescription Text
- tacdCategory :: Lens' TrustedAdvisorCheckDescription Text
- tacdMetadata :: Lens' TrustedAdvisorCheckDescription [Text]
- data TrustedAdvisorCheckRefreshStatus
- trustedAdvisorCheckRefreshStatus :: Text -> Text -> Integer -> TrustedAdvisorCheckRefreshStatus
- tacrsCheckId :: Lens' TrustedAdvisorCheckRefreshStatus Text
- tacrsStatus :: Lens' TrustedAdvisorCheckRefreshStatus Text
- tacrsMillisUntilNextRefreshable :: Lens' TrustedAdvisorCheckRefreshStatus Integer
- data TrustedAdvisorCheckResult
- trustedAdvisorCheckResult :: Text -> Text -> Text -> TrustedAdvisorResourcesSummary -> TrustedAdvisorCategorySpecificSummary -> TrustedAdvisorCheckResult
- tacrCheckId :: Lens' TrustedAdvisorCheckResult Text
- tacrTimestamp :: Lens' TrustedAdvisorCheckResult Text
- tacrStatus :: Lens' TrustedAdvisorCheckResult Text
- tacrResourcesSummary :: Lens' TrustedAdvisorCheckResult TrustedAdvisorResourcesSummary
- tacrCategorySpecificSummary :: Lens' TrustedAdvisorCheckResult TrustedAdvisorCategorySpecificSummary
- tacrFlaggedResources :: Lens' TrustedAdvisorCheckResult [TrustedAdvisorResourceDetail]
- data TrustedAdvisorCheckSummary
- trustedAdvisorCheckSummary :: Text -> Text -> Text -> TrustedAdvisorResourcesSummary -> TrustedAdvisorCategorySpecificSummary -> TrustedAdvisorCheckSummary
- tacsHasFlaggedResources :: Lens' TrustedAdvisorCheckSummary (Maybe Bool)
- tacsCheckId :: Lens' TrustedAdvisorCheckSummary Text
- tacsTimestamp :: Lens' TrustedAdvisorCheckSummary Text
- tacsStatus :: Lens' TrustedAdvisorCheckSummary Text
- tacsResourcesSummary :: Lens' TrustedAdvisorCheckSummary TrustedAdvisorResourcesSummary
- tacsCategorySpecificSummary :: Lens' TrustedAdvisorCheckSummary TrustedAdvisorCategorySpecificSummary
- data TrustedAdvisorCostOptimizingSummary
- trustedAdvisorCostOptimizingSummary :: Double -> Double -> TrustedAdvisorCostOptimizingSummary
- tacosEstimatedMonthlySavings :: Lens' TrustedAdvisorCostOptimizingSummary Double
- tacosEstimatedPercentMonthlySavings :: Lens' TrustedAdvisorCostOptimizingSummary Double
- data TrustedAdvisorResourceDetail
- trustedAdvisorResourceDetail :: Text -> Text -> Text -> TrustedAdvisorResourceDetail
- tardIsSuppressed :: Lens' TrustedAdvisorResourceDetail (Maybe Bool)
- tardStatus :: Lens' TrustedAdvisorResourceDetail Text
- tardRegion :: Lens' TrustedAdvisorResourceDetail Text
- tardResourceId :: Lens' TrustedAdvisorResourceDetail Text
- tardMetadata :: Lens' TrustedAdvisorResourceDetail [Text]
- data TrustedAdvisorResourcesSummary
- trustedAdvisorResourcesSummary :: Integer -> Integer -> Integer -> Integer -> TrustedAdvisorResourcesSummary
- tarsResourcesProcessed :: Lens' TrustedAdvisorResourcesSummary Integer
- tarsResourcesFlagged :: Lens' TrustedAdvisorResourcesSummary Integer
- tarsResourcesIgnored :: Lens' TrustedAdvisorResourcesSummary Integer
- tarsResourcesSuppressed :: Lens' TrustedAdvisorResourcesSummary Integer
Service Configuration
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by Support
.
AttachmentSetExpired
_AttachmentSetExpired :: AsError a => Getting (First ServiceError) a ServiceError Source
The expiration time of the attachment set has passed. The set expires 1 hour after it is created.
AttachmentLimitExceeded
_AttachmentLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source
The limit for the number of attachment sets created in a short period of time has been exceeded.
DescribeAttachmentLimitExceeded
_DescribeAttachmentLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source
The limit for the number of DescribeAttachment requests in a short period of time has been exceeded.
CaseIdNotFound
_CaseIdNotFound :: AsError a => Getting (First ServiceError) a ServiceError Source
The requested CaseId
could not be located.
AttachmentSetIdNotFound
_AttachmentSetIdNotFound :: AsError a => Getting (First ServiceError) a ServiceError Source
An attachment set with the specified ID could not be found.
AttachmentSetSizeLimitExceeded
_AttachmentSetSizeLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source
A limit for the size of an attachment set has been exceeded. The limits are 3 attachments and 5 MB per attachment.
AttachmentIdNotFound
_AttachmentIdNotFound :: AsError a => Getting (First ServiceError) a ServiceError Source
An attachment with the specified ID could not be found.
InternalServerError
_InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError Source
An internal server error occurred.
CaseCreationLimitExceeded
_CaseCreationLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source
The case creation limit for the account has been exceeded.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
RefreshTrustedAdvisorCheck
DescribeCases (Paginated)
DescribeTrustedAdvisorCheckRefreshStatuses
DescribeTrustedAdvisorCheckSummaries
CreateCase
ResolveCase
DescribeSeverityLevels
DescribeTrustedAdvisorChecks
DescribeAttachment
AddAttachmentsToSet
DescribeTrustedAdvisorCheckResult
DescribeServices
DescribeCommunications (Paginated)
AddCommunicationToCase
Types
Attachment
data Attachment Source
An attachment to a case communication. The attachment consists of the file name and the content of the file.
See: attachment
smart constructor.
attachment :: Attachment Source
Creates a value of Attachment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aData :: Lens' Attachment (Maybe ByteString) Source
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.
AttachmentDetails
data AttachmentDetails Source
The file name and ID of an attachment to a case communication. You can use the ID to retrieve the attachment with the DescribeAttachment operation.
See: attachmentDetails
smart constructor.
attachmentDetails :: AttachmentDetails Source
Creates a value of AttachmentDetails
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
adAttachmentId :: Lens' AttachmentDetails (Maybe Text) Source
The ID of the attachment.
adFileName :: Lens' AttachmentDetails (Maybe Text) Source
The file name of the attachment.
CaseDetails
data CaseDetails Source
A JSON-formatted object that contains the metadata for a support case. It is contained 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.
- DisplayId. The identifier for the case on pages in the AWS Support Center.
- Language. The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.
- RecentCommunications. One or more Communication objects. Fields
of these objects are
Attachments
,Body
,CaseId
,SubmittedBy
, andTimeCreated
. - NextToken. A resumption point for pagination.
- ServiceCode. The identifier for the AWS service that corresponds to the service code defined in the call to DescribeServices.
- SeverityCode. The severity code assigned to the case. Contains one of the values returned by the call to DescribeSeverityLevels.
- Status. The status of the case in the AWS Support Center.
- Subject. The subject line of the case.
- SubmittedBy. The email address of the account that submitted the case.
- TimeCreated. The time the case was created, in ISO-8601 format.
See: caseDetails
smart constructor.
caseDetails :: CaseDetails Source
Creates a value of CaseDetails
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdSubject :: Lens' CaseDetails (Maybe Text) Source
The subject line for the case in the AWS Support Center.
cdRecentCommunications :: Lens' CaseDetails (Maybe RecentCaseCommunications) Source
The five most recent communications between you and AWS Support Center,
including the IDs of any attachments to the communications. Also
includes a nextToken
that you can use to retrieve earlier
communications.
cdSeverityCode :: Lens' CaseDetails (Maybe Text) Source
The code for the severity level returned by the call to DescribeSeverityLevels.
cdCaseId :: Lens' CaseDetails (Maybe Text) Source
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 :: Lens' CaseDetails [Text] Source
The email addresses that receive copies of communication about the case.
cdDisplayId :: Lens' CaseDetails (Maybe Text) Source
The ID displayed for the case in the AWS Support Center. This is a numeric string.
cdSubmittedBy :: Lens' CaseDetails (Maybe Text) Source
The email address of the account that submitted the case.
cdLanguage :: Lens' CaseDetails (Maybe Text) Source
The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.
cdTimeCreated :: Lens' CaseDetails (Maybe Text) Source
The time that the case was case created in the AWS Support Center.
cdCategoryCode :: Lens' CaseDetails (Maybe Text) Source
The category of problem for the AWS Support case.
cdServiceCode :: Lens' CaseDetails (Maybe Text) Source
The code for the AWS service returned by the call to DescribeServices.
Category
A JSON-formatted name/value pair that represents the category name and category code of the problem, selected from the DescribeServices response for each AWS service.
See: category
smart constructor.
Communication
data Communication Source
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.
communication :: Communication Source
Creates a value of Communication
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cBody :: Lens' Communication (Maybe Text) Source
The text of the communication between the customer and AWS Support.
cCaseId :: Lens' Communication (Maybe Text) Source
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 :: Lens' Communication (Maybe Text) Source
The email address of the account that submitted the AWS Support case.
cTimeCreated :: Lens' Communication (Maybe Text) Source
The time the communication was created.
cAttachmentSet :: Lens' Communication [AttachmentDetails] Source
Information about the attachments to the case communication.
RecentCaseCommunications
data RecentCaseCommunications Source
The five most recent communications associated with the case.
See: recentCaseCommunications
smart constructor.
recentCaseCommunications :: RecentCaseCommunications Source
Creates a value of RecentCaseCommunications
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rccNextToken :: Lens' RecentCaseCommunications (Maybe Text) Source
A resumption point for pagination.
rccCommunications :: Lens' RecentCaseCommunications [Communication] Source
The five most recent communications associated with the case.
SeverityLevel
data SeverityLevel Source
A code and name pair that represent a severity level that can be applied to a support case.
See: severityLevel
smart constructor.
severityLevel :: SeverityLevel Source
Creates a value of SeverityLevel
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
slName :: Lens' SeverityLevel (Maybe Text) Source
The name of the severity level that corresponds to the severity level code.
slCode :: Lens' SeverityLevel (Maybe Text) Source
One of four values: "low," "medium," "high," and "urgent". These
values correspond to response times returned to the caller in
name
.
SupportService
data SupportService Source
Information about an AWS service returned by the DescribeServices operation.
See: supportService
smart constructor.
supportService :: SupportService Source
Creates a value of SupportService
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ssCategories :: Lens' SupportService [Category] Source
A list of categories that describe the type of support issue a case describes. Categories consist of a category name and a category code. Category names and codes are passed to AWS Support when you call CreateCase.
ssName :: Lens' SupportService (Maybe Text) Source
The friendly name for an AWS service. The Code
element contains the
corresponding code.
ssCode :: Lens' SupportService (Maybe Text) Source
The code for an AWS service returned by the DescribeServices response.
The Name
element contains the corresponding friendly name.
TrustedAdvisorCategorySpecificSummary
data TrustedAdvisorCategorySpecificSummary Source
The container for summary information that relates to the category of the Trusted Advisor check.
See: trustedAdvisorCategorySpecificSummary
smart constructor.
trustedAdvisorCategorySpecificSummary :: TrustedAdvisorCategorySpecificSummary Source
Creates a value of TrustedAdvisorCategorySpecificSummary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tacssCostOptimizing :: Lens' TrustedAdvisorCategorySpecificSummary (Maybe TrustedAdvisorCostOptimizingSummary) Source
The summary information about cost savings for a Trusted Advisor check that is in the Cost Optimizing category.
TrustedAdvisorCheckDescription
data TrustedAdvisorCheckDescription Source
The description and metadata for a Trusted Advisor check.
See: trustedAdvisorCheckDescription
smart constructor.
trustedAdvisorCheckDescription Source
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> TrustedAdvisorCheckDescription |
Creates a value of TrustedAdvisorCheckDescription
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tacdId :: Lens' TrustedAdvisorCheckDescription Text Source
The unique identifier for the Trusted Advisor check.
tacdName :: Lens' TrustedAdvisorCheckDescription Text Source
The display name for the Trusted Advisor check.
tacdDescription :: Lens' TrustedAdvisorCheckDescription Text Source
The description of the Trusted Advisor check, which includes the alert criteria and recommended actions (contains HTML markup).
tacdCategory :: Lens' TrustedAdvisorCheckDescription Text Source
The category of the Trusted Advisor check.
tacdMetadata :: Lens' TrustedAdvisorCheckDescription [Text] Source
The column headings for the data returned by the Trusted Advisor check. The order of the headings corresponds to the order of the data in the Metadata element of the TrustedAdvisorResourceDetail for the check. Metadata contains all the data that is shown in the Excel download, even in those cases where the UI shows just summary data.
TrustedAdvisorCheckRefreshStatus
data TrustedAdvisorCheckRefreshStatus Source
The refresh status of a Trusted Advisor check.
See: trustedAdvisorCheckRefreshStatus
smart constructor.
trustedAdvisorCheckRefreshStatus Source
:: Text | |
-> Text | |
-> Integer | |
-> TrustedAdvisorCheckRefreshStatus |
Creates a value of TrustedAdvisorCheckRefreshStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tacrsCheckId :: Lens' TrustedAdvisorCheckRefreshStatus Text Source
The unique identifier for the Trusted Advisor check.
tacrsStatus :: Lens' TrustedAdvisorCheckRefreshStatus Text Source
The status of the Trusted Advisor check for which a refresh has been requested: "none", "enqueued", "processing", "success", or "abandoned".
tacrsMillisUntilNextRefreshable :: Lens' TrustedAdvisorCheckRefreshStatus Integer Source
The amount of time, in milliseconds, until the Trusted Advisor check is eligible for refresh.
TrustedAdvisorCheckResult
data TrustedAdvisorCheckResult Source
The results of a Trusted Advisor check returned by DescribeTrustedAdvisorCheckResult.
See: trustedAdvisorCheckResult
smart constructor.
trustedAdvisorCheckResult Source
:: Text | |
-> Text | |
-> Text | |
-> TrustedAdvisorResourcesSummary | |
-> TrustedAdvisorCategorySpecificSummary | |
-> TrustedAdvisorCheckResult |
Creates a value of TrustedAdvisorCheckResult
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tacrCheckId :: Lens' TrustedAdvisorCheckResult Text Source
The unique identifier for the Trusted Advisor check.
tacrTimestamp :: Lens' TrustedAdvisorCheckResult Text Source
The time of the last refresh of the check.
tacrStatus :: Lens' TrustedAdvisorCheckResult Text Source
The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
tacrResourcesSummary :: Lens' TrustedAdvisorCheckResult TrustedAdvisorResourcesSummary Source
Undocumented member.
tacrCategorySpecificSummary :: Lens' TrustedAdvisorCheckResult TrustedAdvisorCategorySpecificSummary Source
Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.
tacrFlaggedResources :: Lens' TrustedAdvisorCheckResult [TrustedAdvisorResourceDetail] Source
The details about each resource listed in the check result.
TrustedAdvisorCheckSummary
data TrustedAdvisorCheckSummary Source
A summary of a Trusted Advisor check result, including the alert status, last refresh, and number of resources examined.
See: trustedAdvisorCheckSummary
smart constructor.
trustedAdvisorCheckSummary Source
:: Text | |
-> Text | |
-> Text | |
-> TrustedAdvisorResourcesSummary | |
-> TrustedAdvisorCategorySpecificSummary | |
-> TrustedAdvisorCheckSummary |
Creates a value of TrustedAdvisorCheckSummary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tacsHasFlaggedResources :: Lens' TrustedAdvisorCheckSummary (Maybe Bool) Source
Specifies whether the Trusted Advisor check has flagged resources.
tacsCheckId :: Lens' TrustedAdvisorCheckSummary Text Source
The unique identifier for the Trusted Advisor check.
tacsTimestamp :: Lens' TrustedAdvisorCheckSummary Text Source
The time of the last refresh of the check.
tacsStatus :: Lens' TrustedAdvisorCheckSummary Text Source
The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
tacsResourcesSummary :: Lens' TrustedAdvisorCheckSummary TrustedAdvisorResourcesSummary Source
Undocumented member.
tacsCategorySpecificSummary :: Lens' TrustedAdvisorCheckSummary TrustedAdvisorCategorySpecificSummary Source
Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.
TrustedAdvisorCostOptimizingSummary
data TrustedAdvisorCostOptimizingSummary Source
The estimated cost savings that might be realized if the recommended actions are taken.
See: trustedAdvisorCostOptimizingSummary
smart constructor.
trustedAdvisorCostOptimizingSummary Source
Creates a value of TrustedAdvisorCostOptimizingSummary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tacosEstimatedMonthlySavings :: Lens' TrustedAdvisorCostOptimizingSummary Double Source
The estimated monthly savings that might be realized if the recommended actions are taken.
tacosEstimatedPercentMonthlySavings :: Lens' TrustedAdvisorCostOptimizingSummary Double Source
The estimated percentage of savings that might be realized if the recommended actions are taken.
TrustedAdvisorResourceDetail
data TrustedAdvisorResourceDetail Source
Contains information about a resource identified by a Trusted Advisor check.
See: trustedAdvisorResourceDetail
smart constructor.
trustedAdvisorResourceDetail Source
Creates a value of TrustedAdvisorResourceDetail
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tardIsSuppressed :: Lens' TrustedAdvisorResourceDetail (Maybe Bool) Source
Specifies whether the AWS resource was ignored by Trusted Advisor because it was marked as suppressed by the user.
tardStatus :: Lens' TrustedAdvisorResourceDetail Text Source
The status code for the resource identified in the Trusted Advisor check.
tardRegion :: Lens' TrustedAdvisorResourceDetail Text Source
The AWS region in which the identified resource is located.
tardResourceId :: Lens' TrustedAdvisorResourceDetail Text Source
The unique identifier for the identified resource.
tardMetadata :: Lens' TrustedAdvisorResourceDetail [Text] Source
Additional information about the identified resource. The exact metadata and its order can be obtained by inspecting the TrustedAdvisorCheckDescription object returned by the call to DescribeTrustedAdvisorChecks. Metadata contains all the data that is shown in the Excel download, even in those cases where the UI shows just summary data.
TrustedAdvisorResourcesSummary
data TrustedAdvisorResourcesSummary Source
Details about AWS resources that were analyzed in a call to Trusted Advisor DescribeTrustedAdvisorCheckSummaries.
See: trustedAdvisorResourcesSummary
smart constructor.
trustedAdvisorResourcesSummary Source
:: Integer | |
-> Integer | |
-> Integer | |
-> Integer | |
-> TrustedAdvisorResourcesSummary |
Creates a value of TrustedAdvisorResourcesSummary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tarsResourcesProcessed :: Lens' TrustedAdvisorResourcesSummary Integer Source
The number of AWS resources that were analyzed by the Trusted Advisor check.
tarsResourcesFlagged :: Lens' TrustedAdvisorResourcesSummary Integer Source
The number of AWS resources that were flagged (listed) by the Trusted Advisor check.
tarsResourcesIgnored :: Lens' TrustedAdvisorResourcesSummary Integer Source
The number of AWS resources ignored by Trusted Advisor because information was unavailable.
tarsResourcesSuppressed :: Lens' TrustedAdvisorResourcesSummary Integer Source
The number of AWS resources ignored by Trusted Advisor because they were marked as suppressed by the user.