@@ -380,7 +380,7 @@ func schemaCostExplorerCostCategoryRuleExpression() *schema.Resource {
380
380
}
381
381
382
382
func resourceCostExplorerCostCategoryCreate (ctx context.Context , d * schema.ResourceData , meta interface {}) diag.Diagnostics {
383
- conn := meta .(* conns.AWSClient ).CostExplorerConn
383
+ conn := meta .(* conns.AWSClient ).CEConn
384
384
input := & costexplorer.CreateCostCategoryDefinitionInput {
385
385
Name : aws .String (d .Get ("name" ).(string )),
386
386
Rules : expandCostExplorerCostCategoryRules (d .Get ("rule" ).(* schema.Set ).List ()),
@@ -424,7 +424,7 @@ func resourceCostExplorerCostCategoryCreate(ctx context.Context, d *schema.Resou
424
424
}
425
425
426
426
func resourceCostExplorerCostCategoryRead (ctx context.Context , d * schema.ResourceData , meta interface {}) diag.Diagnostics {
427
- conn := meta .(* conns.AWSClient ).CostExplorerConn
427
+ conn := meta .(* conns.AWSClient ).CEConn
428
428
429
429
resp , err := conn .DescribeCostCategoryDefinitionWithContext (ctx , & costexplorer.DescribeCostCategoryDefinitionInput {CostCategoryArn : aws .String (d .Id ())})
430
430
if ! d .IsNewResource () && tfawserr .ErrCodeEquals (err , costexplorer .ErrCodeResourceNotFoundException ) {
@@ -454,7 +454,7 @@ func resourceCostExplorerCostCategoryRead(ctx context.Context, d *schema.Resourc
454
454
}
455
455
456
456
func resourceCostExplorerCostCategoryUpdate (ctx context.Context , d * schema.ResourceData , meta interface {}) diag.Diagnostics {
457
- conn := meta .(* conns.AWSClient ).CostExplorerConn
457
+ conn := meta .(* conns.AWSClient ).CEConn
458
458
459
459
input := & costexplorer.UpdateCostCategoryDefinitionInput {
460
460
CostCategoryArn : aws .String (d .Id ()),
@@ -480,7 +480,7 @@ func resourceCostExplorerCostCategoryUpdate(ctx context.Context, d *schema.Resou
480
480
}
481
481
482
482
func resourceCostExplorerCostCategoryDelete (ctx context.Context , d * schema.ResourceData , meta interface {}) diag.Diagnostics {
483
- conn := meta .(* conns.AWSClient ).CostExplorerConn
483
+ conn := meta .(* conns.AWSClient ).CEConn
484
484
485
485
_ , err := conn .DeleteCostCategoryDefinitionWithContext (ctx , & costexplorer.DeleteCostCategoryDefinitionInput {
486
486
CostCategoryArn : aws .String (d .Id ()),
0 commit comments