Skip to content

Commit

Permalink
fix: bug in iam service
Browse files Browse the repository at this point in the history
  • Loading branch information
floydspace committed Nov 10, 2024
1 parent 4d6351a commit f099ff2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
18 changes: 9 additions & 9 deletions packages/client-cloudwatch/src/CloudWatchService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
* @since 1.0.0
*/
import {
CloudWatchServiceException,
type CloudWatchClient,
type CloudWatchClientConfig,
CloudWatchServiceException,
DeleteAlarmsCommand,
type DeleteAlarmsCommandInput,
type DeleteAlarmsCommandOutput,
Expand Down Expand Up @@ -126,9 +126,9 @@ import {
CloudWatchClientInstanceLayer,
} from "./CloudWatchClientInstance";
import {
CloudWatchClientInstanceConfig,
DefaultCloudWatchClientConfigLayer,
makeDefaultCloudWatchClientInstanceConfig,
CloudWatchClientInstanceConfig,
} from "./CloudWatchClientInstanceConfig";
import {
AllServiceErrors,
Expand All @@ -144,7 +144,7 @@ import {
LimitExceededFaultError,
MissingRequiredParameterError,
ResourceNotFoundError,
ResourceNotFoundError,
ResourceNotFoundExceptionError,
SdkError,
TaggedException,
} from "./Errors";
Expand Down Expand Up @@ -225,7 +225,7 @@ interface CloudWatchService$ {
| InvalidParameterCombinationError
| InvalidParameterValueError
| MissingRequiredParameterError
| ResourceNotFoundError
| ResourceNotFoundExceptionError
>;

/**
Expand Down Expand Up @@ -389,7 +389,7 @@ interface CloudWatchService$ {
| SdkError
| InvalidParameterValueError
| MissingRequiredParameterError
| ResourceNotFoundError
| ResourceNotFoundExceptionError
>;

/**
Expand Down Expand Up @@ -431,7 +431,7 @@ interface CloudWatchService$ {
| InvalidParameterCombinationError
| InvalidParameterValueError
| MissingRequiredParameterError
| ResourceNotFoundError
| ResourceNotFoundExceptionError
>;

/**
Expand Down Expand Up @@ -504,7 +504,7 @@ interface CloudWatchService$ {
| SdkError
| InternalServiceFaultError
| InvalidParameterValueError
| ResourceNotFoundError
| ResourceNotFoundExceptionError
>;

/**
Expand Down Expand Up @@ -663,7 +663,7 @@ interface CloudWatchService$ {
| ConcurrentModificationError
| InternalServiceFaultError
| InvalidParameterValueError
| ResourceNotFoundError
| ResourceNotFoundExceptionError
>;

/**
Expand All @@ -678,7 +678,7 @@ interface CloudWatchService$ {
| ConcurrentModificationError
| InternalServiceFaultError
| InvalidParameterValueError
| ResourceNotFoundError
| ResourceNotFoundExceptionError
>;
}

Expand Down
3 changes: 2 additions & 1 deletion packages/client-cloudwatch/src/Errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ export type LimitExceededFaultError = TaggedException<LimitExceededFault>;
export type MissingRequiredParameterError =
TaggedException<MissingRequiredParameterException>;
export type ResourceNotFoundError = TaggedException<ResourceNotFound>;
export type ResourceNotFoundError = TaggedException<ResourceNotFoundException>;
export type ResourceNotFoundExceptionError =
TaggedException<ResourceNotFoundException>;

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

0 comments on commit f099ff2

Please sign in to comment.