Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
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.
GetSupportedResourceTypesResponse' | |
|
Instances
Eq GetSupportedResourceTypesResponse Source # | |
Read GetSupportedResourceTypesResponse Source # | |
Show GetSupportedResourceTypesResponse Source # | |
Generic GetSupportedResourceTypesResponse Source # | |
NFData GetSupportedResourceTypesResponse Source # | |
Defined in Amazonka.Backup.GetSupportedResourceTypes rnf :: GetSupportedResourceTypesResponse -> () # | |
type Rep GetSupportedResourceTypesResponse Source # | |
Defined in Amazonka.Backup.GetSupportedResourceTypes type Rep GetSupportedResourceTypesResponse = D1 ('MetaData "GetSupportedResourceTypesResponse" "Amazonka.Backup.GetSupportedResourceTypes" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "GetSupportedResourceTypesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetSupportedResourceTypesResponse Source #
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:
Aurora
for Amazon AuroraDynamoDB
for Amazon DynamoDBEBS
for Amazon Elastic Block StoreEC2
for Amazon Elastic Compute CloudEFS
for Amazon Elastic File SystemFSX
for Amazon FSxRDS
for Amazon Relational Database ServiceStorage Gateway
for Storage Gateway
$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:
Aurora
for Amazon AuroraDynamoDB
for Amazon DynamoDBEBS
for Amazon Elastic Block StoreEC2
for Amazon Elastic Compute CloudEFS
for Amazon Elastic File SystemFSX
for Amazon FSxRDS
for Amazon Relational Database ServiceStorage Gateway
for Storage Gateway
getSupportedResourceTypesResponse_httpStatus :: Lens' GetSupportedResourceTypesResponse Int Source #
The response's http status code.