| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Backup.GetSupportedResourceTypes
Description
Returns the Amazon Web Services resource types supported by Backup.
Synopsis
- data GetSupportedResourceTypes = GetSupportedResourceTypes' {
- newGetSupportedResourceTypes :: GetSupportedResourceTypes
- data GetSupportedResourceTypesResponse = GetSupportedResourceTypesResponse' {
- resourceTypes :: Maybe [Text]
- httpStatus :: Int
- newGetSupportedResourceTypesResponse :: Int -> GetSupportedResourceTypesResponse
- getSupportedResourceTypesResponse_resourceTypes :: Lens' GetSupportedResourceTypesResponse (Maybe [Text])
- getSupportedResourceTypesResponse_httpStatus :: Lens' GetSupportedResourceTypesResponse Int
Creating a Request
data GetSupportedResourceTypes Source #
See: newGetSupportedResourceTypes smart constructor.
Constructors
| GetSupportedResourceTypes' | |
Instances
newGetSupportedResourceTypes :: GetSupportedResourceTypes Source #
Create a value of GetSupportedResourceTypes with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetSupportedResourceTypesResponse Source #
See: newGetSupportedResourceTypesResponse smart constructor.
Constructors
| GetSupportedResourceTypesResponse' | |
Fields
| |
Instances
newGetSupportedResourceTypesResponse Source #
Arguments
| :: Int | |
| -> GetSupportedResourceTypesResponse |
Create a value of GetSupportedResourceTypesResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceTypes:GetSupportedResourceTypesResponse', getSupportedResourceTypesResponse_resourceTypes - Contains a string with the supported Amazon Web Services resource types:
Aurorafor Amazon AuroraDynamoDBfor Amazon DynamoDBEBSfor Amazon Elastic Block StoreEC2for Amazon Elastic Compute CloudEFSfor Amazon Elastic File SystemFSXfor Amazon FSxRDSfor Amazon Relational Database ServiceStorage Gatewayfor Storage GatewayDocDBfor Amazon DocumentDB (with MongoDB compatibility)Neptunefor Amazon Neptune
$sel:httpStatus:GetSupportedResourceTypesResponse', getSupportedResourceTypesResponse_httpStatus - The response's http status code.
Response Lenses
getSupportedResourceTypesResponse_resourceTypes :: Lens' GetSupportedResourceTypesResponse (Maybe [Text]) Source #
Contains a string with the supported Amazon Web Services resource types:
Aurorafor Amazon AuroraDynamoDBfor Amazon DynamoDBEBSfor Amazon Elastic Block StoreEC2for Amazon Elastic Compute CloudEFSfor Amazon Elastic File SystemFSXfor Amazon FSxRDSfor Amazon Relational Database ServiceStorage Gatewayfor Storage GatewayDocDBfor Amazon DocumentDB (with MongoDB compatibility)Neptunefor Amazon Neptune
getSupportedResourceTypesResponse_httpStatus :: Lens' GetSupportedResourceTypesResponse Int Source #
The response's http status code.