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 |
Describes the default credit option for CPU usage of a burstable performance instance family.
For more information, see Burstable performance instances in the Amazon EC2 User Guide.
Synopsis
- data GetDefaultCreditSpecification = GetDefaultCreditSpecification' {}
- newGetDefaultCreditSpecification :: UnlimitedSupportedInstanceFamily -> GetDefaultCreditSpecification
- getDefaultCreditSpecification_dryRun :: Lens' GetDefaultCreditSpecification (Maybe Bool)
- getDefaultCreditSpecification_instanceFamily :: Lens' GetDefaultCreditSpecification UnlimitedSupportedInstanceFamily
- data GetDefaultCreditSpecificationResponse = GetDefaultCreditSpecificationResponse' {}
- newGetDefaultCreditSpecificationResponse :: Int -> GetDefaultCreditSpecificationResponse
- getDefaultCreditSpecificationResponse_instanceFamilyCreditSpecification :: Lens' GetDefaultCreditSpecificationResponse (Maybe InstanceFamilyCreditSpecification)
- getDefaultCreditSpecificationResponse_httpStatus :: Lens' GetDefaultCreditSpecificationResponse Int
Creating a Request
data GetDefaultCreditSpecification Source #
See: newGetDefaultCreditSpecification
smart constructor.
GetDefaultCreditSpecification' | |
|
Instances
newGetDefaultCreditSpecification Source #
Create a value of GetDefaultCreditSpecification
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:dryRun:GetDefaultCreditSpecification'
, getDefaultCreditSpecification_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
GetDefaultCreditSpecification
, getDefaultCreditSpecification_instanceFamily
- The instance family.
Request Lenses
getDefaultCreditSpecification_dryRun :: Lens' GetDefaultCreditSpecification (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
getDefaultCreditSpecification_instanceFamily :: Lens' GetDefaultCreditSpecification UnlimitedSupportedInstanceFamily Source #
The instance family.
Destructuring the Response
data GetDefaultCreditSpecificationResponse Source #
See: newGetDefaultCreditSpecificationResponse
smart constructor.
GetDefaultCreditSpecificationResponse' | |
|
Instances
newGetDefaultCreditSpecificationResponse Source #
Create a value of GetDefaultCreditSpecificationResponse
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:instanceFamilyCreditSpecification:GetDefaultCreditSpecificationResponse'
, getDefaultCreditSpecificationResponse_instanceFamilyCreditSpecification
- The default credit option for CPU usage of the instance family.
$sel:httpStatus:GetDefaultCreditSpecificationResponse'
, getDefaultCreditSpecificationResponse_httpStatus
- The response's http status code.
Response Lenses
getDefaultCreditSpecificationResponse_instanceFamilyCreditSpecification :: Lens' GetDefaultCreditSpecificationResponse (Maybe InstanceFamilyCreditSpecification) Source #
The default credit option for CPU usage of the instance family.
getDefaultCreditSpecificationResponse_httpStatus :: Lens' GetDefaultCreditSpecificationResponse Int Source #
The response's http status code.