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 |
Lists the automatic tape creation policies for a gateway. If there are no automatic tape creation policies for the gateway, it returns an empty list.
This operation is only supported for tape gateways.
Synopsis
- data ListAutomaticTapeCreationPolicies = ListAutomaticTapeCreationPolicies' {
- gatewayARN :: Maybe Text
- newListAutomaticTapeCreationPolicies :: ListAutomaticTapeCreationPolicies
- listAutomaticTapeCreationPolicies_gatewayARN :: Lens' ListAutomaticTapeCreationPolicies (Maybe Text)
- data ListAutomaticTapeCreationPoliciesResponse = ListAutomaticTapeCreationPoliciesResponse' {}
- newListAutomaticTapeCreationPoliciesResponse :: Int -> ListAutomaticTapeCreationPoliciesResponse
- listAutomaticTapeCreationPoliciesResponse_automaticTapeCreationPolicyInfos :: Lens' ListAutomaticTapeCreationPoliciesResponse (Maybe [AutomaticTapeCreationPolicyInfo])
- listAutomaticTapeCreationPoliciesResponse_httpStatus :: Lens' ListAutomaticTapeCreationPoliciesResponse Int
Creating a Request
data ListAutomaticTapeCreationPolicies Source #
See: newListAutomaticTapeCreationPolicies
smart constructor.
Instances
newListAutomaticTapeCreationPolicies :: ListAutomaticTapeCreationPolicies Source #
Create a value of ListAutomaticTapeCreationPolicies
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:gatewayARN:ListAutomaticTapeCreationPolicies'
, listAutomaticTapeCreationPolicies_gatewayARN
- Undocumented member.
Request Lenses
listAutomaticTapeCreationPolicies_gatewayARN :: Lens' ListAutomaticTapeCreationPolicies (Maybe Text) Source #
Undocumented member.
Destructuring the Response
data ListAutomaticTapeCreationPoliciesResponse Source #
See: newListAutomaticTapeCreationPoliciesResponse
smart constructor.
ListAutomaticTapeCreationPoliciesResponse' | |
|
Instances
newListAutomaticTapeCreationPoliciesResponse Source #
Create a value of ListAutomaticTapeCreationPoliciesResponse
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:automaticTapeCreationPolicyInfos:ListAutomaticTapeCreationPoliciesResponse'
, listAutomaticTapeCreationPoliciesResponse_automaticTapeCreationPolicyInfos
- Gets a listing of information about the gateway's automatic tape
creation policies, including the automatic tape creation rules and the
gateway that is using the policies.
$sel:httpStatus:ListAutomaticTapeCreationPoliciesResponse'
, listAutomaticTapeCreationPoliciesResponse_httpStatus
- The response's http status code.
Response Lenses
listAutomaticTapeCreationPoliciesResponse_automaticTapeCreationPolicyInfos :: Lens' ListAutomaticTapeCreationPoliciesResponse (Maybe [AutomaticTapeCreationPolicyInfo]) Source #
Gets a listing of information about the gateway's automatic tape creation policies, including the automatic tape creation rules and the gateway that is using the policies.
listAutomaticTapeCreationPoliciesResponse_httpStatus :: Lens' ListAutomaticTapeCreationPoliciesResponse Int Source #
The response's http status code.