Skip to content

Commit f099ff2

Browse files
committed
fix: bug in iam service
1 parent 4d6351a commit f099ff2

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

packages/client-cloudwatch/src/CloudWatchService.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
* @since 1.0.0
33
*/
44
import {
5-
CloudWatchServiceException,
65
type CloudWatchClient,
76
type CloudWatchClientConfig,
7+
CloudWatchServiceException,
88
DeleteAlarmsCommand,
99
type DeleteAlarmsCommandInput,
1010
type DeleteAlarmsCommandOutput,
@@ -126,9 +126,9 @@ import {
126126
CloudWatchClientInstanceLayer,
127127
} from "./CloudWatchClientInstance";
128128
import {
129+
CloudWatchClientInstanceConfig,
129130
DefaultCloudWatchClientConfigLayer,
130131
makeDefaultCloudWatchClientInstanceConfig,
131-
CloudWatchClientInstanceConfig,
132132
} from "./CloudWatchClientInstanceConfig";
133133
import {
134134
AllServiceErrors,
@@ -144,7 +144,7 @@ import {
144144
LimitExceededFaultError,
145145
MissingRequiredParameterError,
146146
ResourceNotFoundError,
147-
ResourceNotFoundError,
147+
ResourceNotFoundExceptionError,
148148
SdkError,
149149
TaggedException,
150150
} from "./Errors";
@@ -225,7 +225,7 @@ interface CloudWatchService$ {
225225
| InvalidParameterCombinationError
226226
| InvalidParameterValueError
227227
| MissingRequiredParameterError
228-
| ResourceNotFoundError
228+
| ResourceNotFoundExceptionError
229229
>;
230230

231231
/**
@@ -389,7 +389,7 @@ interface CloudWatchService$ {
389389
| SdkError
390390
| InvalidParameterValueError
391391
| MissingRequiredParameterError
392-
| ResourceNotFoundError
392+
| ResourceNotFoundExceptionError
393393
>;
394394

395395
/**
@@ -431,7 +431,7 @@ interface CloudWatchService$ {
431431
| InvalidParameterCombinationError
432432
| InvalidParameterValueError
433433
| MissingRequiredParameterError
434-
| ResourceNotFoundError
434+
| ResourceNotFoundExceptionError
435435
>;
436436

437437
/**
@@ -504,7 +504,7 @@ interface CloudWatchService$ {
504504
| SdkError
505505
| InternalServiceFaultError
506506
| InvalidParameterValueError
507-
| ResourceNotFoundError
507+
| ResourceNotFoundExceptionError
508508
>;
509509

510510
/**
@@ -663,7 +663,7 @@ interface CloudWatchService$ {
663663
| ConcurrentModificationError
664664
| InternalServiceFaultError
665665
| InvalidParameterValueError
666-
| ResourceNotFoundError
666+
| ResourceNotFoundExceptionError
667667
>;
668668

669669
/**
@@ -678,7 +678,7 @@ interface CloudWatchService$ {
678678
| ConcurrentModificationError
679679
| InternalServiceFaultError
680680
| InvalidParameterValueError
681-
| ResourceNotFoundError
681+
| ResourceNotFoundExceptionError
682682
>;
683683
}
684684

packages/client-cloudwatch/src/Errors.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ export type LimitExceededFaultError = TaggedException<LimitExceededFault>;
5353
export type MissingRequiredParameterError =
5454
TaggedException<MissingRequiredParameterException>;
5555
export type ResourceNotFoundError = TaggedException<ResourceNotFound>;
56-
export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
56+
export type ResourceNotFoundExceptionError =
57+
TaggedException<ResourceNotFoundException>;
5758

5859
export type SdkError = TaggedException<Error & { name: "SdkError" }>;
5960
export const SdkError = Data.tagged<SdkError>("SdkError");

0 commit comments

Comments
 (0)