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 name, ARN, rules, definition, and effective dates of a Cost Category that's defined in the account.
You have the option to use EffectiveOn
to return a Cost Category that
is active on a specific date. If there is no EffectiveOn
specified,
you’ll see a Cost Category that is effective on the current date. If
Cost Category is still effective, EffectiveEnd
is omitted in the
response.
Synopsis
- data DescribeCostCategoryDefinition = DescribeCostCategoryDefinition' {}
- newDescribeCostCategoryDefinition :: Text -> DescribeCostCategoryDefinition
- describeCostCategoryDefinition_effectiveOn :: Lens' DescribeCostCategoryDefinition (Maybe Text)
- describeCostCategoryDefinition_costCategoryArn :: Lens' DescribeCostCategoryDefinition Text
- data DescribeCostCategoryDefinitionResponse = DescribeCostCategoryDefinitionResponse' {}
- newDescribeCostCategoryDefinitionResponse :: Int -> DescribeCostCategoryDefinitionResponse
- describeCostCategoryDefinitionResponse_costCategory :: Lens' DescribeCostCategoryDefinitionResponse (Maybe CostCategory)
- describeCostCategoryDefinitionResponse_httpStatus :: Lens' DescribeCostCategoryDefinitionResponse Int
Creating a Request
data DescribeCostCategoryDefinition Source #
See: newDescribeCostCategoryDefinition
smart constructor.
DescribeCostCategoryDefinition' | |
|
Instances
newDescribeCostCategoryDefinition Source #
Create a value of DescribeCostCategoryDefinition
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:effectiveOn:DescribeCostCategoryDefinition'
, describeCostCategoryDefinition_effectiveOn
- The date when the Cost Category was effective.
$sel:costCategoryArn:DescribeCostCategoryDefinition'
, describeCostCategoryDefinition_costCategoryArn
- The unique identifier for your Cost Category.
Request Lenses
describeCostCategoryDefinition_effectiveOn :: Lens' DescribeCostCategoryDefinition (Maybe Text) Source #
The date when the Cost Category was effective.
describeCostCategoryDefinition_costCategoryArn :: Lens' DescribeCostCategoryDefinition Text Source #
The unique identifier for your Cost Category.
Destructuring the Response
data DescribeCostCategoryDefinitionResponse Source #
See: newDescribeCostCategoryDefinitionResponse
smart constructor.
DescribeCostCategoryDefinitionResponse' | |
|
Instances
newDescribeCostCategoryDefinitionResponse Source #
Create a value of DescribeCostCategoryDefinitionResponse
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:costCategory:DescribeCostCategoryDefinitionResponse'
, describeCostCategoryDefinitionResponse_costCategory
- Undocumented member.
$sel:httpStatus:DescribeCostCategoryDefinitionResponse'
, describeCostCategoryDefinitionResponse_httpStatus
- The response's http status code.
Response Lenses
describeCostCategoryDefinitionResponse_costCategory :: Lens' DescribeCostCategoryDefinitionResponse (Maybe CostCategory) Source #
Undocumented member.
describeCostCategoryDefinitionResponse_httpStatus :: Lens' DescribeCostCategoryDefinitionResponse Int Source #
The response's http status code.