From b24f98045ee3383c54d1152054e5b77f01d5f5e3 Mon Sep 17 00:00:00 2001 From: Victor Korzunin <5180700+floydspace@users.noreply.github.com> Date: Mon, 9 Dec 2024 20:08:39 +0100 Subject: [PATCH] feat: update services --- .changeset/angry-radios-call.md | 15 ++ packages/client-bedrock/src/BedrockService.ts | 186 +++++++++++++ packages/client-bedrock/src/Errors.ts | 4 + .../src/CloudTrailService.ts | 139 ++++++++++ packages/client-cloudtrail/src/Errors.ts | 7 + .../src/CloudWatchLogsService.ts | 250 ++++++++++++++++++ .../src/CognitoIdentityProviderService.ts | 236 +++++++++++++++++ .../src/Errors.ts | 40 +++ .../client-dynamodb/src/DynamoDBService.ts | 4 + packages/client-dynamodb/src/Errors.ts | 4 + packages/client-eventbridge/src/Errors.ts | 6 + .../src/EventBridgeService.ts | 12 +- packages/client-iam/src/Errors.ts | 20 ++ packages/client-iam/src/IAMService.ts | 102 +++++++ .../src/OpenSearchService.ts | 163 ++++++++++++ packages/client-rds/src/Errors.ts | 4 + packages/client-rds/src/RDSService.ts | 8 +- packages/client-ssm/src/Errors.ts | 7 + packages/client-ssm/src/SSMService.ts | 73 +++++ packages/client-sts/src/STSService.ts | 15 ++ 20 files changed, 1292 insertions(+), 3 deletions(-) create mode 100644 .changeset/angry-radios-call.md diff --git a/.changeset/angry-radios-call.md b/.changeset/angry-radios-call.md new file mode 100644 index 0000000..30c39b5 --- /dev/null +++ b/.changeset/angry-radios-call.md @@ -0,0 +1,15 @@ +--- +"@effect-aws/client-cognito-identity-provider": minor +"@effect-aws/client-cloudwatch-logs": minor +"@effect-aws/client-eventbridge": minor +"@effect-aws/client-cloudtrail": minor +"@effect-aws/client-opensearch": minor +"@effect-aws/client-dynamodb": minor +"@effect-aws/client-bedrock": minor +"@effect-aws/client-iam": minor +"@effect-aws/client-rds": minor +"@effect-aws/client-ssm": minor +"@effect-aws/client-sts": minor +--- + +update services diff --git a/packages/client-bedrock/src/BedrockService.ts b/packages/client-bedrock/src/BedrockService.ts index 86f66d0..68de883 100644 --- a/packages/client-bedrock/src/BedrockService.ts +++ b/packages/client-bedrock/src/BedrockService.ts @@ -20,6 +20,9 @@ import { CreateInferenceProfileCommand, type CreateInferenceProfileCommandInput, type CreateInferenceProfileCommandOutput, + CreateMarketplaceModelEndpointCommand, + type CreateMarketplaceModelEndpointCommandInput, + type CreateMarketplaceModelEndpointCommandOutput, CreateModelCopyJobCommand, type CreateModelCopyJobCommandInput, type CreateModelCopyJobCommandOutput, @@ -47,12 +50,18 @@ import { DeleteInferenceProfileCommand, type DeleteInferenceProfileCommandInput, type DeleteInferenceProfileCommandOutput, + DeleteMarketplaceModelEndpointCommand, + type DeleteMarketplaceModelEndpointCommandInput, + type DeleteMarketplaceModelEndpointCommandOutput, DeleteModelInvocationLoggingConfigurationCommand, type DeleteModelInvocationLoggingConfigurationCommandInput, type DeleteModelInvocationLoggingConfigurationCommandOutput, DeleteProvisionedModelThroughputCommand, type DeleteProvisionedModelThroughputCommandInput, type DeleteProvisionedModelThroughputCommandOutput, + DeregisterMarketplaceModelEndpointCommand, + type DeregisterMarketplaceModelEndpointCommandInput, + type DeregisterMarketplaceModelEndpointCommandOutput, GetCustomModelCommand, type GetCustomModelCommandInput, type GetCustomModelCommandOutput, @@ -71,6 +80,9 @@ import { GetInferenceProfileCommand, type GetInferenceProfileCommandInput, type GetInferenceProfileCommandOutput, + GetMarketplaceModelEndpointCommand, + type GetMarketplaceModelEndpointCommandInput, + type GetMarketplaceModelEndpointCommandOutput, GetModelCopyJobCommand, type GetModelCopyJobCommandInput, type GetModelCopyJobCommandOutput, @@ -86,6 +98,9 @@ import { GetModelInvocationLoggingConfigurationCommand, type GetModelInvocationLoggingConfigurationCommandInput, type GetModelInvocationLoggingConfigurationCommandOutput, + GetPromptRouterCommand, + type GetPromptRouterCommandInput, + type GetPromptRouterCommandOutput, GetProvisionedModelThroughputCommand, type GetProvisionedModelThroughputCommandInput, type GetProvisionedModelThroughputCommandOutput, @@ -107,6 +122,9 @@ import { ListInferenceProfilesCommand, type ListInferenceProfilesCommandInput, type ListInferenceProfilesCommandOutput, + ListMarketplaceModelEndpointsCommand, + type ListMarketplaceModelEndpointsCommandInput, + type ListMarketplaceModelEndpointsCommandOutput, ListModelCopyJobsCommand, type ListModelCopyJobsCommandInput, type ListModelCopyJobsCommandOutput, @@ -119,6 +137,9 @@ import { ListModelInvocationJobsCommand, type ListModelInvocationJobsCommandInput, type ListModelInvocationJobsCommandOutput, + ListPromptRoutersCommand, + type ListPromptRoutersCommandInput, + type ListPromptRoutersCommandOutput, ListProvisionedModelThroughputsCommand, type ListProvisionedModelThroughputsCommandInput, type ListProvisionedModelThroughputsCommandOutput, @@ -128,6 +149,9 @@ import { PutModelInvocationLoggingConfigurationCommand, type PutModelInvocationLoggingConfigurationCommandInput, type PutModelInvocationLoggingConfigurationCommandOutput, + RegisterMarketplaceModelEndpointCommand, + type RegisterMarketplaceModelEndpointCommandInput, + type RegisterMarketplaceModelEndpointCommandOutput, StopEvaluationJobCommand, type StopEvaluationJobCommandInput, type StopEvaluationJobCommandOutput, @@ -146,6 +170,9 @@ import { UpdateGuardrailCommand, type UpdateGuardrailCommandInput, type UpdateGuardrailCommandOutput, + UpdateMarketplaceModelEndpointCommand, + type UpdateMarketplaceModelEndpointCommandInput, + type UpdateMarketplaceModelEndpointCommandOutput, UpdateProvisionedModelThroughputCommand, type UpdateProvisionedModelThroughputCommandInput, type UpdateProvisionedModelThroughputCommandOutput, @@ -167,6 +194,7 @@ import { InternalServerError, ResourceNotFoundError, ServiceQuotaExceededError, + ServiceUnavailableError, ThrottlingError, TooManyTagsError, ValidationError, @@ -191,6 +219,7 @@ const commands = { CreateGuardrailCommand, CreateGuardrailVersionCommand, CreateInferenceProfileCommand, + CreateMarketplaceModelEndpointCommand, CreateModelCopyJobCommand, CreateModelCustomizationJobCommand, CreateModelImportJobCommand, @@ -200,19 +229,23 @@ const commands = { DeleteGuardrailCommand, DeleteImportedModelCommand, DeleteInferenceProfileCommand, + DeleteMarketplaceModelEndpointCommand, DeleteModelInvocationLoggingConfigurationCommand, DeleteProvisionedModelThroughputCommand, + DeregisterMarketplaceModelEndpointCommand, GetCustomModelCommand, GetEvaluationJobCommand, GetFoundationModelCommand, GetGuardrailCommand, GetImportedModelCommand, GetInferenceProfileCommand, + GetMarketplaceModelEndpointCommand, GetModelCopyJobCommand, GetModelCustomizationJobCommand, GetModelImportJobCommand, GetModelInvocationJobCommand, GetModelInvocationLoggingConfigurationCommand, + GetPromptRouterCommand, GetProvisionedModelThroughputCommand, ListCustomModelsCommand, ListEvaluationJobsCommand, @@ -220,19 +253,23 @@ const commands = { ListGuardrailsCommand, ListImportedModelsCommand, ListInferenceProfilesCommand, + ListMarketplaceModelEndpointsCommand, ListModelCopyJobsCommand, ListModelCustomizationJobsCommand, ListModelImportJobsCommand, ListModelInvocationJobsCommand, + ListPromptRoutersCommand, ListProvisionedModelThroughputsCommand, ListTagsForResourceCommand, PutModelInvocationLoggingConfigurationCommand, + RegisterMarketplaceModelEndpointCommand, StopEvaluationJobCommand, StopModelCustomizationJobCommand, StopModelInvocationJobCommand, TagResourceCommand, UntagResourceCommand, UpdateGuardrailCommand, + UpdateMarketplaceModelEndpointCommand, UpdateProvisionedModelThroughputCommand, }; @@ -330,6 +367,24 @@ interface BedrockService$ { | ValidationError >; + /** + * @see {@link CreateMarketplaceModelEndpointCommand} + */ + createMarketplaceModelEndpoint( + args: CreateMarketplaceModelEndpointCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + CreateMarketplaceModelEndpointCommandOutput, + | SdkError + | AccessDeniedError + | ConflictError + | InternalServerError + | ResourceNotFoundError + | ServiceQuotaExceededError + | ThrottlingError + | ValidationError + >; + /** * @see {@link CreateModelCopyJobCommand} */ @@ -487,6 +542,22 @@ interface BedrockService$ { | ValidationError >; + /** + * @see {@link DeleteMarketplaceModelEndpointCommand} + */ + deleteMarketplaceModelEndpoint( + args: DeleteMarketplaceModelEndpointCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + DeleteMarketplaceModelEndpointCommandOutput, + | SdkError + | AccessDeniedError + | InternalServerError + | ResourceNotFoundError + | ThrottlingError + | ValidationError + >; + /** * @see {@link DeleteModelInvocationLoggingConfigurationCommand} */ @@ -515,6 +586,23 @@ interface BedrockService$ { | ValidationError >; + /** + * @see {@link DeregisterMarketplaceModelEndpointCommand} + */ + deregisterMarketplaceModelEndpoint( + args: DeregisterMarketplaceModelEndpointCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + DeregisterMarketplaceModelEndpointCommandOutput, + | SdkError + | AccessDeniedError + | InternalServerError + | ResourceNotFoundError + | ServiceUnavailableError + | ThrottlingError + | ValidationError + >; + /** * @see {@link GetCustomModelCommand} */ @@ -611,6 +699,22 @@ interface BedrockService$ { | ValidationError >; + /** + * @see {@link GetMarketplaceModelEndpointCommand} + */ + getMarketplaceModelEndpoint( + args: GetMarketplaceModelEndpointCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + GetMarketplaceModelEndpointCommandOutput, + | SdkError + | AccessDeniedError + | InternalServerError + | ResourceNotFoundError + | ThrottlingError + | ValidationError + >; + /** * @see {@link GetModelCopyJobCommand} */ @@ -686,6 +790,22 @@ interface BedrockService$ { SdkError | AccessDeniedError | InternalServerError | ThrottlingError >; + /** + * @see {@link GetPromptRouterCommand} + */ + getPromptRouter( + args: GetPromptRouterCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + GetPromptRouterCommandOutput, + | SdkError + | AccessDeniedError + | InternalServerError + | ResourceNotFoundError + | ThrottlingError + | ValidationError + >; + /** * @see {@link GetProvisionedModelThroughputCommand} */ @@ -793,6 +913,22 @@ interface BedrockService$ { | ValidationError >; + /** + * @see {@link ListMarketplaceModelEndpointsCommand} + */ + listMarketplaceModelEndpoints( + args: ListMarketplaceModelEndpointsCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + ListMarketplaceModelEndpointsCommandOutput, + | SdkError + | AccessDeniedError + | InternalServerError + | ResourceNotFoundError + | ThrottlingError + | ValidationError + >; + /** * @see {@link ListModelCopyJobsCommand} */ @@ -854,6 +990,21 @@ interface BedrockService$ { | ValidationError >; + /** + * @see {@link ListPromptRoutersCommand} + */ + listPromptRouters( + args: ListPromptRoutersCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + ListPromptRoutersCommandOutput, + | SdkError + | AccessDeniedError + | InternalServerError + | ThrottlingError + | ValidationError + >; + /** * @see {@link ListProvisionedModelThroughputsCommand} */ @@ -900,6 +1051,23 @@ interface BedrockService$ { | ValidationError >; + /** + * @see {@link RegisterMarketplaceModelEndpointCommand} + */ + registerMarketplaceModelEndpoint( + args: RegisterMarketplaceModelEndpointCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + RegisterMarketplaceModelEndpointCommandOutput, + | SdkError + | AccessDeniedError + | InternalServerError + | ResourceNotFoundError + | ServiceUnavailableError + | ThrottlingError + | ValidationError + >; + /** * @see {@link StopEvaluationJobCommand} */ @@ -1002,6 +1170,24 @@ interface BedrockService$ { | ValidationError >; + /** + * @see {@link UpdateMarketplaceModelEndpointCommand} + */ + updateMarketplaceModelEndpoint( + args: UpdateMarketplaceModelEndpointCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + UpdateMarketplaceModelEndpointCommandOutput, + | SdkError + | AccessDeniedError + | ConflictError + | InternalServerError + | ResourceNotFoundError + | ServiceQuotaExceededError + | ThrottlingError + | ValidationError + >; + /** * @see {@link UpdateProvisionedModelThroughputCommand} */ diff --git a/packages/client-bedrock/src/Errors.ts b/packages/client-bedrock/src/Errors.ts index cb45c7c..7fee77d 100644 --- a/packages/client-bedrock/src/Errors.ts +++ b/packages/client-bedrock/src/Errors.ts @@ -4,6 +4,7 @@ import type { InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, + ServiceUnavailableException, ThrottlingException, TooManyTagsException, ValidationException, @@ -16,6 +17,7 @@ export const AllServiceErrors = [ "InternalServerException", "ResourceNotFoundException", "ServiceQuotaExceededException", + "ServiceUnavailableException", "ThrottlingException", "TooManyTagsException", "ValidationException", @@ -31,6 +33,8 @@ export type InternalServerError = TaggedException; export type ResourceNotFoundError = TaggedException; export type ServiceQuotaExceededError = TaggedException; +export type ServiceUnavailableError = + TaggedException; export type ThrottlingError = TaggedException; export type TooManyTagsError = TaggedException; export type ValidationError = TaggedException; diff --git a/packages/client-cloudtrail/src/CloudTrailService.ts b/packages/client-cloudtrail/src/CloudTrailService.ts index 67c186a..290df87 100644 --- a/packages/client-cloudtrail/src/CloudTrailService.ts +++ b/packages/client-cloudtrail/src/CloudTrailService.ts @@ -14,6 +14,9 @@ import { CreateChannelCommand, type CreateChannelCommandInput, type CreateChannelCommandOutput, + CreateDashboardCommand, + type CreateDashboardCommandInput, + type CreateDashboardCommandOutput, CreateEventDataStoreCommand, type CreateEventDataStoreCommandInput, type CreateEventDataStoreCommandOutput, @@ -23,6 +26,9 @@ import { DeleteChannelCommand, type DeleteChannelCommandInput, type DeleteChannelCommandOutput, + DeleteDashboardCommand, + type DeleteDashboardCommandInput, + type DeleteDashboardCommandOutput, DeleteEventDataStoreCommand, type DeleteEventDataStoreCommandInput, type DeleteEventDataStoreCommandOutput, @@ -47,9 +53,15 @@ import { EnableFederationCommand, type EnableFederationCommandInput, type EnableFederationCommandOutput, + GenerateQueryCommand, + type GenerateQueryCommandInput, + type GenerateQueryCommandOutput, GetChannelCommand, type GetChannelCommandInput, type GetChannelCommandOutput, + GetDashboardCommand, + type GetDashboardCommandInput, + type GetDashboardCommandOutput, GetEventDataStoreCommand, type GetEventDataStoreCommandInput, type GetEventDataStoreCommandOutput, @@ -77,6 +89,9 @@ import { ListChannelsCommand, type ListChannelsCommandInput, type ListChannelsCommandOutput, + ListDashboardsCommand, + type ListDashboardsCommandInput, + type ListDashboardsCommandOutput, ListEventDataStoresCommand, type ListEventDataStoresCommandInput, type ListEventDataStoresCommandOutput, @@ -122,6 +137,9 @@ import { RestoreEventDataStoreCommand, type RestoreEventDataStoreCommandInput, type RestoreEventDataStoreCommandOutput, + StartDashboardRefreshCommand, + type StartDashboardRefreshCommandInput, + type StartDashboardRefreshCommandOutput, StartEventDataStoreIngestionCommand, type StartEventDataStoreIngestionCommandInput, type StartEventDataStoreIngestionCommandOutput, @@ -146,6 +164,9 @@ import { UpdateChannelCommand, type UpdateChannelCommandInput, type UpdateChannelCommandOutput, + UpdateDashboardCommand, + type UpdateDashboardCommandInput, + type UpdateDashboardCommandOutput, UpdateEventDataStoreCommand, type UpdateEventDataStoreCommandInput, type UpdateEventDataStoreCommandOutput, @@ -190,6 +211,7 @@ import { EventDataStoreMaxLimitExceededError, EventDataStoreNotFoundError, EventDataStoreTerminationProtectedError, + GenerateResponseError, ImportNotFoundError, InactiveEventDataStoreError, InactiveQueryError, @@ -242,6 +264,7 @@ import { ResourcePolicyNotValidError, ResourceTypeNotSupportedError, S3BucketDoesNotExistError, + ServiceQuotaExceededError, TagsLimitExceededError, ThrottlingError, TrailAlreadyExistsError, @@ -267,9 +290,11 @@ const commands = { AddTagsCommand, CancelQueryCommand, CreateChannelCommand, + CreateDashboardCommand, CreateEventDataStoreCommand, CreateTrailCommand, DeleteChannelCommand, + DeleteDashboardCommand, DeleteEventDataStoreCommand, DeleteResourcePolicyCommand, DeleteTrailCommand, @@ -278,7 +303,9 @@ const commands = { DescribeTrailsCommand, DisableFederationCommand, EnableFederationCommand, + GenerateQueryCommand, GetChannelCommand, + GetDashboardCommand, GetEventDataStoreCommand, GetEventSelectorsCommand, GetImportCommand, @@ -288,6 +315,7 @@ const commands = { GetTrailCommand, GetTrailStatusCommand, ListChannelsCommand, + ListDashboardsCommand, ListEventDataStoresCommand, ListImportFailuresCommand, ListImportsCommand, @@ -303,6 +331,7 @@ const commands = { RegisterOrganizationDelegatedAdminCommand, RemoveTagsCommand, RestoreEventDataStoreCommand, + StartDashboardRefreshCommand, StartEventDataStoreIngestionCommand, StartImportCommand, StartLoggingCommand, @@ -311,6 +340,7 @@ const commands = { StopImportCommand, StopLoggingCommand, UpdateChannelCommand, + UpdateDashboardCommand, UpdateEventDataStoreCommand, UpdateTrailCommand, }; @@ -389,6 +419,25 @@ interface CloudTrailService$ { | UnsupportedOperationError >; + /** + * @see {@link CreateDashboardCommand} + */ + createDashboard( + args: CreateDashboardCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + CreateDashboardCommandOutput, + | SdkError + | ConflictError + | EventDataStoreNotFoundError + | InactiveEventDataStoreError + | InsufficientEncryptionPolicyError + | InvalidQueryStatementError + | InvalidTagParameterError + | ServiceQuotaExceededError + | UnsupportedOperationError + >; + /** * @see {@link CreateEventDataStoreCommand} */ @@ -477,6 +526,17 @@ interface CloudTrailService$ { | UnsupportedOperationError >; + /** + * @see {@link DeleteDashboardCommand} + */ + deleteDashboard( + args: DeleteDashboardCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + DeleteDashboardCommandOutput, + SdkError | ConflictError | ResourceNotFoundError | UnsupportedOperationError + >; + /** * @see {@link DeleteEventDataStoreCommand} */ @@ -511,6 +571,7 @@ interface CloudTrailService$ { ): Effect.Effect< DeleteResourcePolicyCommandOutput, | SdkError + | ConflictError | OperationNotPermittedError | ResourceARNNotValidError | ResourceNotFoundError @@ -649,6 +710,25 @@ interface CloudTrailService$ { | UnsupportedOperationError >; + /** + * @see {@link GenerateQueryCommand} + */ + generateQuery( + args: GenerateQueryCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + GenerateQueryCommandOutput, + | SdkError + | EventDataStoreARNInvalidError + | EventDataStoreNotFoundError + | GenerateResponseError + | InactiveEventDataStoreError + | InvalidParameterError + | NoManagementAccountSLRExistsError + | OperationNotPermittedError + | UnsupportedOperationError + >; + /** * @see {@link GetChannelCommand} */ @@ -664,6 +744,17 @@ interface CloudTrailService$ { | UnsupportedOperationError >; + /** + * @see {@link GetDashboardCommand} + */ + getDashboard( + args: GetDashboardCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + GetDashboardCommandOutput, + SdkError | ResourceNotFoundError | UnsupportedOperationError + >; + /** * @see {@link GetEventDataStoreCommand} */ @@ -819,6 +910,17 @@ interface CloudTrailService$ { | UnsupportedOperationError >; + /** + * @see {@link ListDashboardsCommand} + */ + listDashboards( + args: ListDashboardsCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + ListDashboardsCommandOutput, + SdkError | UnsupportedOperationError + >; + /** * @see {@link ListEventDataStoresCommand} */ @@ -1028,6 +1130,7 @@ interface CloudTrailService$ { ): Effect.Effect< PutResourcePolicyCommandOutput, | SdkError + | ConflictError | OperationNotPermittedError | ResourceARNNotValidError | ResourceNotFoundError @@ -1072,6 +1175,7 @@ interface CloudTrailService$ { | ChannelARNInvalidError | ChannelNotFoundError | CloudTrailARNInvalidError + | ConflictError | EventDataStoreARNInvalidError | EventDataStoreNotFoundError | InactiveEventDataStoreError @@ -1109,6 +1213,22 @@ interface CloudTrailService$ { | UnsupportedOperationError >; + /** + * @see {@link StartDashboardRefreshCommand} + */ + startDashboardRefresh( + args: StartDashboardRefreshCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + StartDashboardRefreshCommandOutput, + | SdkError + | EventDataStoreNotFoundError + | InactiveEventDataStoreError + | ResourceNotFoundError + | ServiceQuotaExceededError + | UnsupportedOperationError + >; + /** * @see {@link StartEventDataStoreIngestionCommand} */ @@ -1279,6 +1399,25 @@ interface CloudTrailService$ { | UnsupportedOperationError >; + /** + * @see {@link UpdateDashboardCommand} + */ + updateDashboard( + args: UpdateDashboardCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + UpdateDashboardCommandOutput, + | SdkError + | ConflictError + | EventDataStoreNotFoundError + | InactiveEventDataStoreError + | InsufficientEncryptionPolicyError + | InvalidQueryStatementError + | ResourceNotFoundError + | ServiceQuotaExceededError + | UnsupportedOperationError + >; + /** * @see {@link UpdateEventDataStoreCommand} */ diff --git a/packages/client-cloudtrail/src/Errors.ts b/packages/client-cloudtrail/src/Errors.ts index 4e6a37c..af3a5dc 100644 --- a/packages/client-cloudtrail/src/Errors.ts +++ b/packages/client-cloudtrail/src/Errors.ts @@ -24,6 +24,7 @@ import type { EventDataStoreMaxLimitExceededException, EventDataStoreNotFoundException, EventDataStoreTerminationProtectedException, + GenerateResponseException, ImportNotFoundException, InactiveEventDataStoreException, InactiveQueryException, @@ -76,6 +77,7 @@ import type { ResourcePolicyNotValidException, ResourceTypeNotSupportedException, S3BucketDoesNotExistException, + ServiceQuotaExceededException, TagsLimitExceededException, ThrottlingException, TrailAlreadyExistsException, @@ -111,6 +113,7 @@ export const AllServiceErrors = [ "EventDataStoreMaxLimitExceededException", "EventDataStoreNotFoundException", "EventDataStoreTerminationProtectedException", + "GenerateResponseException", "ImportNotFoundException", "InactiveEventDataStoreException", "InactiveQueryException", @@ -163,6 +166,7 @@ export const AllServiceErrors = [ "ResourcePolicyNotValidException", "ResourceTypeNotSupportedException", "S3BucketDoesNotExistException", + "ServiceQuotaExceededException", "TagsLimitExceededException", "ThrottlingException", "TrailAlreadyExistsException", @@ -221,6 +225,7 @@ export type EventDataStoreNotFoundError = TaggedException; export type EventDataStoreTerminationProtectedError = TaggedException; +export type GenerateResponseError = TaggedException; export type ImportNotFoundError = TaggedException; export type InactiveEventDataStoreError = TaggedException; @@ -309,6 +314,8 @@ export type ResourceTypeNotSupportedError = TaggedException; export type S3BucketDoesNotExistError = TaggedException; +export type ServiceQuotaExceededError = + TaggedException; export type TagsLimitExceededError = TaggedException; export type ThrottlingError = TaggedException; diff --git a/packages/client-cloudwatch-logs/src/CloudWatchLogsService.ts b/packages/client-cloudwatch-logs/src/CloudWatchLogsService.ts index 40ba5ba..ccdc139 100644 --- a/packages/client-cloudwatch-logs/src/CloudWatchLogsService.ts +++ b/packages/client-cloudwatch-logs/src/CloudWatchLogsService.ts @@ -47,6 +47,12 @@ import { DeleteDestinationCommand, type DeleteDestinationCommandInput, type DeleteDestinationCommandOutput, + DeleteIndexPolicyCommand, + type DeleteIndexPolicyCommandInput, + type DeleteIndexPolicyCommandOutput, + DeleteIntegrationCommand, + type DeleteIntegrationCommandInput, + type DeleteIntegrationCommandOutput, DeleteLogAnomalyDetectorCommand, type DeleteLogAnomalyDetectorCommandInput, type DeleteLogAnomalyDetectorCommandOutput, @@ -71,6 +77,9 @@ import { DeleteSubscriptionFilterCommand, type DeleteSubscriptionFilterCommandInput, type DeleteSubscriptionFilterCommandOutput, + DeleteTransformerCommand, + type DeleteTransformerCommandInput, + type DeleteTransformerCommandOutput, DescribeAccountPoliciesCommand, type DescribeAccountPoliciesCommandInput, type DescribeAccountPoliciesCommandOutput, @@ -92,6 +101,12 @@ import { DescribeExportTasksCommand, type DescribeExportTasksCommandInput, type DescribeExportTasksCommandOutput, + DescribeFieldIndexesCommand, + type DescribeFieldIndexesCommandInput, + type DescribeFieldIndexesCommandOutput, + DescribeIndexPoliciesCommand, + type DescribeIndexPoliciesCommandInput, + type DescribeIndexPoliciesCommandOutput, DescribeLogGroupsCommand, type DescribeLogGroupsCommandInput, type DescribeLogGroupsCommandOutput, @@ -134,6 +149,9 @@ import { GetDeliverySourceCommand, type GetDeliverySourceCommandInput, type GetDeliverySourceCommandOutput, + GetIntegrationCommand, + type GetIntegrationCommandInput, + type GetIntegrationCommandOutput, GetLogAnomalyDetectorCommand, type GetLogAnomalyDetectorCommandInput, type GetLogAnomalyDetectorCommandOutput, @@ -149,12 +167,21 @@ import { GetQueryResultsCommand, type GetQueryResultsCommandInput, type GetQueryResultsCommandOutput, + GetTransformerCommand, + type GetTransformerCommandInput, + type GetTransformerCommandOutput, ListAnomaliesCommand, type ListAnomaliesCommandInput, type ListAnomaliesCommandOutput, + ListIntegrationsCommand, + type ListIntegrationsCommandInput, + type ListIntegrationsCommandOutput, ListLogAnomalyDetectorsCommand, type ListLogAnomalyDetectorsCommandInput, type ListLogAnomalyDetectorsCommandOutput, + ListLogGroupsForQueryCommand, + type ListLogGroupsForQueryCommandInput, + type ListLogGroupsForQueryCommandOutput, ListTagsForResourceCommand, type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput, @@ -182,6 +209,12 @@ import { PutDestinationPolicyCommand, type PutDestinationPolicyCommandInput, type PutDestinationPolicyCommandOutput, + PutIndexPolicyCommand, + type PutIndexPolicyCommandInput, + type PutIndexPolicyCommandOutput, + PutIntegrationCommand, + type PutIntegrationCommandInput, + type PutIntegrationCommandOutput, PutLogEventsCommand, type PutLogEventsCommandInput, type PutLogEventsCommandOutput, @@ -200,6 +233,9 @@ import { PutSubscriptionFilterCommand, type PutSubscriptionFilterCommandInput, type PutSubscriptionFilterCommandOutput, + PutTransformerCommand, + type PutTransformerCommandInput, + type PutTransformerCommandOutput, StartLiveTailCommand, type StartLiveTailCommandInput, type StartLiveTailCommandOutput, @@ -218,6 +254,9 @@ import { TestMetricFilterCommand, type TestMetricFilterCommandInput, type TestMetricFilterCommandOutput, + TestTransformerCommand, + type TestTransformerCommandInput, + type TestTransformerCommandOutput, UntagLogGroupCommand, type UntagLogGroupCommandInput, type UntagLogGroupCommandOutput, @@ -293,6 +332,8 @@ const commands = { DeleteDeliveryDestinationPolicyCommand, DeleteDeliverySourceCommand, DeleteDestinationCommand, + DeleteIndexPolicyCommand, + DeleteIntegrationCommand, DeleteLogAnomalyDetectorCommand, DeleteLogGroupCommand, DeleteLogStreamCommand, @@ -301,6 +342,7 @@ const commands = { DeleteResourcePolicyCommand, DeleteRetentionPolicyCommand, DeleteSubscriptionFilterCommand, + DeleteTransformerCommand, DescribeAccountPoliciesCommand, DescribeConfigurationTemplatesCommand, DescribeDeliveriesCommand, @@ -308,6 +350,8 @@ const commands = { DescribeDeliverySourcesCommand, DescribeDestinationsCommand, DescribeExportTasksCommand, + DescribeFieldIndexesCommand, + DescribeIndexPoliciesCommand, DescribeLogGroupsCommand, DescribeLogStreamsCommand, DescribeMetricFiltersCommand, @@ -322,13 +366,17 @@ const commands = { GetDeliveryDestinationCommand, GetDeliveryDestinationPolicyCommand, GetDeliverySourceCommand, + GetIntegrationCommand, GetLogAnomalyDetectorCommand, GetLogEventsCommand, GetLogGroupFieldsCommand, GetLogRecordCommand, GetQueryResultsCommand, + GetTransformerCommand, ListAnomaliesCommand, + ListIntegrationsCommand, ListLogAnomalyDetectorsCommand, + ListLogGroupsForQueryCommand, ListTagsForResourceCommand, ListTagsLogGroupCommand, PutAccountPolicyCommand, @@ -338,18 +386,22 @@ const commands = { PutDeliverySourceCommand, PutDestinationCommand, PutDestinationPolicyCommand, + PutIndexPolicyCommand, + PutIntegrationCommand, PutLogEventsCommand, PutMetricFilterCommand, PutQueryDefinitionCommand, PutResourcePolicyCommand, PutRetentionPolicyCommand, PutSubscriptionFilterCommand, + PutTransformerCommand, StartLiveTailCommand, StartQueryCommand, StopQueryCommand, TagLogGroupCommand, TagResourceCommand, TestMetricFilterCommand, + TestTransformerCommand, UntagLogGroupCommand, UntagResourceCommand, UpdateAnomalyCommand, @@ -583,6 +635,37 @@ interface CloudWatchLogsService$ { | ServiceUnavailableError >; + /** + * @see {@link DeleteIndexPolicyCommand} + */ + deleteIndexPolicy( + args: DeleteIndexPolicyCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + DeleteIndexPolicyCommandOutput, + | SdkError + | InvalidParameterError + | LimitExceededError + | OperationAbortedError + | ResourceNotFoundError + | ServiceUnavailableError + >; + + /** + * @see {@link DeleteIntegrationCommand} + */ + deleteIntegration( + args: DeleteIntegrationCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + DeleteIntegrationCommandOutput, + | SdkError + | InvalidParameterError + | ResourceNotFoundError + | ServiceUnavailableError + | ValidationError + >; + /** * @see {@link DeleteLogAnomalyDetectorCommand} */ @@ -701,6 +784,22 @@ interface CloudWatchLogsService$ { | ServiceUnavailableError >; + /** + * @see {@link DeleteTransformerCommand} + */ + deleteTransformer( + args: DeleteTransformerCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + DeleteTransformerCommandOutput, + | SdkError + | InvalidOperationError + | InvalidParameterError + | OperationAbortedError + | ResourceNotFoundError + | ServiceUnavailableError + >; + /** * @see {@link DescribeAccountPoliciesCommand} */ @@ -798,6 +897,38 @@ interface CloudWatchLogsService$ { SdkError | InvalidParameterError | ServiceUnavailableError >; + /** + * @see {@link DescribeFieldIndexesCommand} + */ + describeFieldIndexes( + args: DescribeFieldIndexesCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + DescribeFieldIndexesCommandOutput, + | SdkError + | InvalidParameterError + | LimitExceededError + | OperationAbortedError + | ResourceNotFoundError + | ServiceUnavailableError + >; + + /** + * @see {@link DescribeIndexPoliciesCommand} + */ + describeIndexPolicies( + args: DescribeIndexPoliciesCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + DescribeIndexPoliciesCommandOutput, + | SdkError + | InvalidParameterError + | LimitExceededError + | OperationAbortedError + | ResourceNotFoundError + | ServiceUnavailableError + >; + /** * @see {@link DescribeLogGroupsCommand} */ @@ -990,6 +1121,20 @@ interface CloudWatchLogsService$ { | ValidationError >; + /** + * @see {@link GetIntegrationCommand} + */ + getIntegration( + args: GetIntegrationCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + GetIntegrationCommandOutput, + | SdkError + | InvalidParameterError + | ResourceNotFoundError + | ServiceUnavailableError + >; + /** * @see {@link GetLogAnomalyDetectorCommand} */ @@ -1063,6 +1208,21 @@ interface CloudWatchLogsService$ { | ServiceUnavailableError >; + /** + * @see {@link GetTransformerCommand} + */ + getTransformer( + args: GetTransformerCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + GetTransformerCommandOutput, + | SdkError + | InvalidOperationError + | InvalidParameterError + | ResourceNotFoundError + | ServiceUnavailableError + >; + /** * @see {@link ListAnomaliesCommand} */ @@ -1078,6 +1238,17 @@ interface CloudWatchLogsService$ { | ServiceUnavailableError >; + /** + * @see {@link ListIntegrationsCommand} + */ + listIntegrations( + args: ListIntegrationsCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + ListIntegrationsCommandOutput, + SdkError | InvalidParameterError | ServiceUnavailableError + >; + /** * @see {@link ListLogAnomalyDetectorsCommand} */ @@ -1093,6 +1264,21 @@ interface CloudWatchLogsService$ { | ServiceUnavailableError >; + /** + * @see {@link ListLogGroupsForQueryCommand} + */ + listLogGroupsForQuery( + args: ListLogGroupsForQueryCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + ListLogGroupsForQueryCommandOutput, + | SdkError + | AccessDeniedError + | InvalidParameterError + | ResourceNotFoundError + | ServiceUnavailableError + >; + /** * @see {@link ListTagsForResourceCommand} */ @@ -1226,6 +1412,37 @@ interface CloudWatchLogsService$ { | ServiceUnavailableError >; + /** + * @see {@link PutIndexPolicyCommand} + */ + putIndexPolicy( + args: PutIndexPolicyCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + PutIndexPolicyCommandOutput, + | SdkError + | InvalidParameterError + | LimitExceededError + | OperationAbortedError + | ResourceNotFoundError + | ServiceUnavailableError + >; + + /** + * @see {@link PutIntegrationCommand} + */ + putIntegration( + args: PutIntegrationCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + PutIntegrationCommandOutput, + | SdkError + | InvalidParameterError + | LimitExceededError + | ServiceUnavailableError + | ValidationError + >; + /** * @see {@link PutLogEventsCommand} */ @@ -1252,6 +1469,7 @@ interface CloudWatchLogsService$ { ): Effect.Effect< PutMetricFilterCommandOutput, | SdkError + | InvalidOperationError | InvalidParameterError | LimitExceededError | OperationAbortedError @@ -1312,6 +1530,24 @@ interface CloudWatchLogsService$ { ): Effect.Effect< PutSubscriptionFilterCommandOutput, | SdkError + | InvalidOperationError + | InvalidParameterError + | LimitExceededError + | OperationAbortedError + | ResourceNotFoundError + | ServiceUnavailableError + >; + + /** + * @see {@link PutTransformerCommand} + */ + putTransformer( + args: PutTransformerCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + PutTransformerCommandOutput, + | SdkError + | InvalidOperationError | InvalidParameterError | LimitExceededError | OperationAbortedError @@ -1402,6 +1638,20 @@ interface CloudWatchLogsService$ { SdkError | InvalidParameterError | ServiceUnavailableError >; + /** + * @see {@link TestTransformerCommand} + */ + testTransformer( + args: TestTransformerCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + TestTransformerCommandOutput, + | SdkError + | InvalidOperationError + | InvalidParameterError + | ServiceUnavailableError + >; + /** * @see {@link UntagLogGroupCommand} */ diff --git a/packages/client-cognito-identity-provider/src/CognitoIdentityProviderService.ts b/packages/client-cognito-identity-provider/src/CognitoIdentityProviderService.ts index b1bbac6..d5697c1 100644 --- a/packages/client-cognito-identity-provider/src/CognitoIdentityProviderService.ts +++ b/packages/client-cognito-identity-provider/src/CognitoIdentityProviderService.ts @@ -92,6 +92,9 @@ import { ChangePasswordCommand, type ChangePasswordCommandInput, type ChangePasswordCommandOutput, + CompleteWebAuthnRegistrationCommand, + type CompleteWebAuthnRegistrationCommandInput, + type CompleteWebAuthnRegistrationCommandOutput, ConfirmDeviceCommand, type ConfirmDeviceCommandInput, type ConfirmDeviceCommandOutput, @@ -107,6 +110,9 @@ import { CreateIdentityProviderCommand, type CreateIdentityProviderCommandInput, type CreateIdentityProviderCommandOutput, + CreateManagedLoginBrandingCommand, + type CreateManagedLoginBrandingCommandInput, + type CreateManagedLoginBrandingCommandOutput, CreateResourceServerCommand, type CreateResourceServerCommandInput, type CreateResourceServerCommandOutput, @@ -128,6 +134,9 @@ import { DeleteIdentityProviderCommand, type DeleteIdentityProviderCommandInput, type DeleteIdentityProviderCommandOutput, + DeleteManagedLoginBrandingCommand, + type DeleteManagedLoginBrandingCommandInput, + type DeleteManagedLoginBrandingCommandOutput, DeleteResourceServerCommand, type DeleteResourceServerCommandInput, type DeleteResourceServerCommandOutput, @@ -146,9 +155,18 @@ import { DeleteUserPoolDomainCommand, type DeleteUserPoolDomainCommandInput, type DeleteUserPoolDomainCommandOutput, + DeleteWebAuthnCredentialCommand, + type DeleteWebAuthnCredentialCommandInput, + type DeleteWebAuthnCredentialCommandOutput, DescribeIdentityProviderCommand, type DescribeIdentityProviderCommandInput, type DescribeIdentityProviderCommandOutput, + DescribeManagedLoginBrandingCommand, + type DescribeManagedLoginBrandingCommandInput, + type DescribeManagedLoginBrandingCommandOutput, + DescribeManagedLoginBrandingByClientCommand, + type DescribeManagedLoginBrandingByClientCommandInput, + type DescribeManagedLoginBrandingByClientCommandOutput, DescribeResourceServerCommand, type DescribeResourceServerCommandInput, type DescribeResourceServerCommandOutput, @@ -200,6 +218,9 @@ import { GetUserAttributeVerificationCodeCommand, type GetUserAttributeVerificationCodeCommandInput, type GetUserAttributeVerificationCodeCommandOutput, + GetUserAuthFactorsCommand, + type GetUserAuthFactorsCommandInput, + type GetUserAuthFactorsCommandOutput, GetUserPoolMfaConfigCommand, type GetUserPoolMfaConfigCommandInput, type GetUserPoolMfaConfigCommandOutput, @@ -239,6 +260,9 @@ import { ListUsersInGroupCommand, type ListUsersInGroupCommandInput, type ListUsersInGroupCommandOutput, + ListWebAuthnCredentialsCommand, + type ListWebAuthnCredentialsCommandInput, + type ListWebAuthnCredentialsCommandOutput, ResendConfirmationCodeCommand, type ResendConfirmationCodeCommandInput, type ResendConfirmationCodeCommandOutput, @@ -272,6 +296,9 @@ import { StartUserImportJobCommand, type StartUserImportJobCommandInput, type StartUserImportJobCommandOutput, + StartWebAuthnRegistrationCommand, + type StartWebAuthnRegistrationCommandInput, + type StartWebAuthnRegistrationCommandOutput, StopUserImportJobCommand, type StopUserImportJobCommandInput, type StopUserImportJobCommandOutput, @@ -293,6 +320,9 @@ import { UpdateIdentityProviderCommand, type UpdateIdentityProviderCommandInput, type UpdateIdentityProviderCommandOutput, + UpdateManagedLoginBrandingCommand, + type UpdateManagedLoginBrandingCommandInput, + type UpdateManagedLoginBrandingCommandOutput, UpdateResourceServerCommand, type UpdateResourceServerCommandInput, type UpdateResourceServerCommandOutput, @@ -334,6 +364,7 @@ import { DuplicateProviderError, EnableSoftwareTokenMFAError, ExpiredCodeError, + FeatureUnavailableInTierError, ForbiddenError, GroupExistsError, InternalError, @@ -347,6 +378,7 @@ import { InvalidUserPoolConfigurationError, LimitExceededError, MFAMethodNotFoundError, + ManagedLoginBrandingExistsError, NotAuthorizedError, PasswordHistoryPolicyViolationError, PasswordResetRequiredError, @@ -354,6 +386,7 @@ import { ResourceNotFoundError, ScopeDoesNotExistError, SoftwareTokenMFANotFoundError, + TierChangeNotAllowedError, TooManyFailedAttemptsError, TooManyRequestsError, UnauthorizedError, @@ -369,6 +402,13 @@ import { UserPoolAddOnNotEnabledError, UserPoolTaggingError, UsernameExistsError, + WebAuthnChallengeNotFoundError, + WebAuthnClientMismatchError, + WebAuthnConfigurationMissingError, + WebAuthnCredentialNotSupportedError, + WebAuthnNotEnabledError, + WebAuthnOriginNotAllowedError, + WebAuthnRelyingPartyMismatchError, SdkError, TaggedException, } from "./Errors"; @@ -414,11 +454,13 @@ const commands = { AdminUserGlobalSignOutCommand, AssociateSoftwareTokenCommand, ChangePasswordCommand, + CompleteWebAuthnRegistrationCommand, ConfirmDeviceCommand, ConfirmForgotPasswordCommand, ConfirmSignUpCommand, CreateGroupCommand, CreateIdentityProviderCommand, + CreateManagedLoginBrandingCommand, CreateResourceServerCommand, CreateUserImportJobCommand, CreateUserPoolCommand, @@ -426,13 +468,17 @@ const commands = { CreateUserPoolDomainCommand, DeleteGroupCommand, DeleteIdentityProviderCommand, + DeleteManagedLoginBrandingCommand, DeleteResourceServerCommand, DeleteUserCommand, DeleteUserAttributesCommand, DeleteUserPoolCommand, DeleteUserPoolClientCommand, DeleteUserPoolDomainCommand, + DeleteWebAuthnCredentialCommand, DescribeIdentityProviderCommand, + DescribeManagedLoginBrandingCommand, + DescribeManagedLoginBrandingByClientCommand, DescribeResourceServerCommand, DescribeRiskConfigurationCommand, DescribeUserImportJobCommand, @@ -450,6 +496,7 @@ const commands = { GetUICustomizationCommand, GetUserCommand, GetUserAttributeVerificationCodeCommand, + GetUserAuthFactorsCommand, GetUserPoolMfaConfigCommand, GlobalSignOutCommand, InitiateAuthCommand, @@ -463,6 +510,7 @@ const commands = { ListUserPoolsCommand, ListUsersCommand, ListUsersInGroupCommand, + ListWebAuthnCredentialsCommand, ResendConfirmationCodeCommand, RespondToAuthChallengeCommand, RevokeTokenCommand, @@ -474,6 +522,7 @@ const commands = { SetUserSettingsCommand, SignUpCommand, StartUserImportJobCommand, + StartWebAuthnRegistrationCommand, StopUserImportJobCommand, TagResourceCommand, UntagResourceCommand, @@ -481,6 +530,7 @@ const commands = { UpdateDeviceStatusCommand, UpdateGroupCommand, UpdateIdentityProviderCommand, + UpdateManagedLoginBrandingCommand, UpdateResourceServerCommand, UpdateUserAttributesCommand, UpdateUserPoolCommand, @@ -1057,6 +1107,29 @@ interface CognitoIdentityProviderService$ { | UserNotFoundError >; + /** + * @see {@link CompleteWebAuthnRegistrationCommand} + */ + completeWebAuthnRegistration( + args: CompleteWebAuthnRegistrationCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + CompleteWebAuthnRegistrationCommandOutput, + | SdkError + | ForbiddenError + | InternalError + | InvalidParameterError + | LimitExceededError + | NotAuthorizedError + | TooManyRequestsError + | WebAuthnChallengeNotFoundError + | WebAuthnClientMismatchError + | WebAuthnCredentialNotSupportedError + | WebAuthnNotEnabledError + | WebAuthnOriginNotAllowedError + | WebAuthnRelyingPartyMismatchError + >; + /** * @see {@link ConfirmDeviceCommand} */ @@ -1171,6 +1244,25 @@ interface CognitoIdentityProviderService$ { | TooManyRequestsError >; + /** + * @see {@link CreateManagedLoginBrandingCommand} + */ + createManagedLoginBranding( + args: CreateManagedLoginBrandingCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + CreateManagedLoginBrandingCommandOutput, + | SdkError + | ConcurrentModificationError + | InternalError + | InvalidParameterError + | LimitExceededError + | ManagedLoginBrandingExistsError + | NotAuthorizedError + | ResourceNotFoundError + | TooManyRequestsError + >; + /** * @see {@link CreateResourceServerCommand} */ @@ -1215,6 +1307,7 @@ interface CognitoIdentityProviderService$ { ): Effect.Effect< CreateUserPoolCommandOutput, | SdkError + | FeatureUnavailableInTierError | InternalError | InvalidEmailRoleAccessPolicyError | InvalidParameterError @@ -1222,6 +1315,7 @@ interface CognitoIdentityProviderService$ { | InvalidSmsRoleTrustRelationshipError | LimitExceededError | NotAuthorizedError + | TierChangeNotAllowedError | TooManyRequestsError | UserPoolTaggingError >; @@ -1254,6 +1348,7 @@ interface CognitoIdentityProviderService$ { ): Effect.Effect< CreateUserPoolDomainCommandOutput, | SdkError + | FeatureUnavailableInTierError | InternalError | InvalidParameterError | LimitExceededError @@ -1295,6 +1390,23 @@ interface CognitoIdentityProviderService$ { | UnsupportedIdentityProviderError >; + /** + * @see {@link DeleteManagedLoginBrandingCommand} + */ + deleteManagedLoginBranding( + args: DeleteManagedLoginBrandingCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + DeleteManagedLoginBrandingCommandOutput, + | SdkError + | ConcurrentModificationError + | InternalError + | InvalidParameterError + | NotAuthorizedError + | ResourceNotFoundError + | TooManyRequestsError + >; + /** * @see {@link DeleteResourceServerCommand} */ @@ -1400,6 +1512,22 @@ interface CognitoIdentityProviderService$ { | ResourceNotFoundError >; + /** + * @see {@link DeleteWebAuthnCredentialCommand} + */ + deleteWebAuthnCredential( + args: DeleteWebAuthnCredentialCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + DeleteWebAuthnCredentialCommandOutput, + | SdkError + | ForbiddenError + | InternalError + | InvalidParameterError + | NotAuthorizedError + | ResourceNotFoundError + >; + /** * @see {@link DescribeIdentityProviderCommand} */ @@ -1416,6 +1544,38 @@ interface CognitoIdentityProviderService$ { | TooManyRequestsError >; + /** + * @see {@link DescribeManagedLoginBrandingCommand} + */ + describeManagedLoginBranding( + args: DescribeManagedLoginBrandingCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + DescribeManagedLoginBrandingCommandOutput, + | SdkError + | InternalError + | InvalidParameterError + | NotAuthorizedError + | ResourceNotFoundError + | TooManyRequestsError + >; + + /** + * @see {@link DescribeManagedLoginBrandingByClientCommand} + */ + describeManagedLoginBrandingByClient( + args: DescribeManagedLoginBrandingByClientCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + DescribeManagedLoginBrandingByClientCommandOutput, + | SdkError + | InternalError + | InvalidParameterError + | NotAuthorizedError + | ResourceNotFoundError + | TooManyRequestsError + >; + /** * @see {@link DescribeResourceServerCommand} */ @@ -1720,6 +1880,26 @@ interface CognitoIdentityProviderService$ { | UserNotFoundError >; + /** + * @see {@link GetUserAuthFactorsCommand} + */ + getUserAuthFactors( + args: GetUserAuthFactorsCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + GetUserAuthFactorsCommandOutput, + | SdkError + | ForbiddenError + | InternalError + | InvalidParameterError + | NotAuthorizedError + | PasswordResetRequiredError + | ResourceNotFoundError + | TooManyRequestsError + | UserNotConfirmedError + | UserNotFoundError + >; + /** * @see {@link GetUserPoolMfaConfigCommand} */ @@ -1946,6 +2126,21 @@ interface CognitoIdentityProviderService$ { | TooManyRequestsError >; + /** + * @see {@link ListWebAuthnCredentialsCommand} + */ + listWebAuthnCredentials( + args: ListWebAuthnCredentialsCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + ListWebAuthnCredentialsCommandOutput, + | SdkError + | ForbiddenError + | InternalError + | InvalidParameterError + | NotAuthorizedError + >; + /** * @see {@link ResendConfirmationCodeCommand} */ @@ -2033,6 +2228,7 @@ interface CognitoIdentityProviderService$ { ): Effect.Effect< SetLogDeliveryConfigurationCommandOutput, | SdkError + | FeatureUnavailableInTierError | InternalError | InvalidParameterError | NotAuthorizedError @@ -2104,6 +2300,7 @@ interface CognitoIdentityProviderService$ { SetUserPoolMfaConfigCommandOutput, | SdkError | ConcurrentModificationError + | FeatureUnavailableInTierError | InternalError | InvalidParameterError | InvalidSmsRoleAccessPolicyError @@ -2176,6 +2373,25 @@ interface CognitoIdentityProviderService$ { | TooManyRequestsError >; + /** + * @see {@link StartWebAuthnRegistrationCommand} + */ + startWebAuthnRegistration( + args: StartWebAuthnRegistrationCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + StartWebAuthnRegistrationCommandOutput, + | SdkError + | ForbiddenError + | InternalError + | InvalidParameterError + | LimitExceededError + | NotAuthorizedError + | TooManyRequestsError + | WebAuthnConfigurationMissingError + | WebAuthnNotEnabledError + >; + /** * @see {@link StopUserImportJobCommand} */ @@ -2298,6 +2514,23 @@ interface CognitoIdentityProviderService$ { | UnsupportedIdentityProviderError >; + /** + * @see {@link UpdateManagedLoginBrandingCommand} + */ + updateManagedLoginBranding( + args: UpdateManagedLoginBrandingCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + UpdateManagedLoginBrandingCommandOutput, + | SdkError + | ConcurrentModificationError + | InternalError + | InvalidParameterError + | NotAuthorizedError + | ResourceNotFoundError + | TooManyRequestsError + >; + /** * @see {@link UpdateResourceServerCommand} */ @@ -2354,6 +2587,7 @@ interface CognitoIdentityProviderService$ { UpdateUserPoolCommandOutput, | SdkError | ConcurrentModificationError + | FeatureUnavailableInTierError | InternalError | InvalidEmailRoleAccessPolicyError | InvalidParameterError @@ -2361,6 +2595,7 @@ interface CognitoIdentityProviderService$ { | InvalidSmsRoleTrustRelationshipError | NotAuthorizedError | ResourceNotFoundError + | TierChangeNotAllowedError | TooManyRequestsError | UserImportInProgressError | UserPoolTaggingError @@ -2394,6 +2629,7 @@ interface CognitoIdentityProviderService$ { ): Effect.Effect< UpdateUserPoolDomainCommandOutput, | SdkError + | FeatureUnavailableInTierError | InternalError | InvalidParameterError | NotAuthorizedError diff --git a/packages/client-cognito-identity-provider/src/Errors.ts b/packages/client-cognito-identity-provider/src/Errors.ts index f4a9503..27547ab 100644 --- a/packages/client-cognito-identity-provider/src/Errors.ts +++ b/packages/client-cognito-identity-provider/src/Errors.ts @@ -6,6 +6,7 @@ import type { DuplicateProviderException, EnableSoftwareTokenMFAException, ExpiredCodeException, + FeatureUnavailableInTierException, ForbiddenException, GroupExistsException, InternalErrorException, @@ -19,6 +20,7 @@ import type { InvalidUserPoolConfigurationException, LimitExceededException, MFAMethodNotFoundException, + ManagedLoginBrandingExistsException, NotAuthorizedException, PasswordHistoryPolicyViolationException, PasswordResetRequiredException, @@ -26,6 +28,7 @@ import type { ResourceNotFoundException, ScopeDoesNotExistException, SoftwareTokenMFANotFoundException, + TierChangeNotAllowedException, TooManyFailedAttemptsException, TooManyRequestsException, UnauthorizedException, @@ -41,6 +44,13 @@ import type { UserPoolAddOnNotEnabledException, UserPoolTaggingException, UsernameExistsException, + WebAuthnChallengeNotFoundException, + WebAuthnClientMismatchException, + WebAuthnConfigurationMissingException, + WebAuthnCredentialNotSupportedException, + WebAuthnNotEnabledException, + WebAuthnOriginNotAllowedException, + WebAuthnRelyingPartyMismatchException, } from "@aws-sdk/client-cognito-identity-provider"; import { Data } from "effect"; @@ -52,6 +62,7 @@ export const AllServiceErrors = [ "DuplicateProviderException", "EnableSoftwareTokenMFAException", "ExpiredCodeException", + "FeatureUnavailableInTierException", "ForbiddenException", "GroupExistsException", "InternalErrorException", @@ -65,6 +76,7 @@ export const AllServiceErrors = [ "InvalidUserPoolConfigurationException", "LimitExceededException", "MFAMethodNotFoundException", + "ManagedLoginBrandingExistsException", "NotAuthorizedException", "PasswordHistoryPolicyViolationException", "PasswordResetRequiredException", @@ -72,6 +84,7 @@ export const AllServiceErrors = [ "ResourceNotFoundException", "ScopeDoesNotExistException", "SoftwareTokenMFANotFoundException", + "TierChangeNotAllowedException", "TooManyFailedAttemptsException", "TooManyRequestsException", "UnauthorizedException", @@ -87,6 +100,13 @@ export const AllServiceErrors = [ "UserPoolAddOnNotEnabledException", "UserPoolTaggingException", "UsernameExistsException", + "WebAuthnChallengeNotFoundException", + "WebAuthnClientMismatchException", + "WebAuthnConfigurationMissingException", + "WebAuthnCredentialNotSupportedException", + "WebAuthnNotEnabledException", + "WebAuthnOriginNotAllowedException", + "WebAuthnRelyingPartyMismatchException", ]; export type TaggedException = T & { @@ -104,6 +124,8 @@ export type DuplicateProviderError = export type EnableSoftwareTokenMFAError = TaggedException; export type ExpiredCodeError = TaggedException; +export type FeatureUnavailableInTierError = + TaggedException; export type ForbiddenError = TaggedException; export type GroupExistsError = TaggedException; export type InternalError = TaggedException; @@ -123,6 +145,8 @@ export type InvalidUserPoolConfigurationError = export type LimitExceededError = TaggedException; export type MFAMethodNotFoundError = TaggedException; +export type ManagedLoginBrandingExistsError = + TaggedException; export type NotAuthorizedError = TaggedException; export type PasswordHistoryPolicyViolationError = TaggedException; @@ -135,6 +159,8 @@ export type ScopeDoesNotExistError = TaggedException; export type SoftwareTokenMFANotFoundError = TaggedException; +export type TierChangeNotAllowedError = + TaggedException; export type TooManyFailedAttemptsError = TaggedException; export type TooManyRequestsError = TaggedException; @@ -158,6 +184,20 @@ export type UserPoolAddOnNotEnabledError = TaggedException; export type UserPoolTaggingError = TaggedException; export type UsernameExistsError = TaggedException; +export type WebAuthnChallengeNotFoundError = + TaggedException; +export type WebAuthnClientMismatchError = + TaggedException; +export type WebAuthnConfigurationMissingError = + TaggedException; +export type WebAuthnCredentialNotSupportedError = + TaggedException; +export type WebAuthnNotEnabledError = + TaggedException; +export type WebAuthnOriginNotAllowedError = + TaggedException; +export type WebAuthnRelyingPartyMismatchError = + TaggedException; export type SdkError = TaggedException; export const SdkError = Data.tagged("SdkError"); diff --git a/packages/client-dynamodb/src/DynamoDBService.ts b/packages/client-dynamodb/src/DynamoDBService.ts index 7d8e4b0..27e2241 100644 --- a/packages/client-dynamodb/src/DynamoDBService.ts +++ b/packages/client-dynamodb/src/DynamoDBService.ts @@ -213,6 +213,7 @@ import { ProvisionedThroughputExceededError, ReplicaAlreadyExistsError, ReplicaNotFoundError, + ReplicatedWriteConflictError, RequestLimitExceededError, ResourceInUseError, ResourceNotFoundError, @@ -423,6 +424,7 @@ interface DynamoDBService$ { | InvalidEndpointError | ItemCollectionSizeLimitExceededError | ProvisionedThroughputExceededError + | ReplicatedWriteConflictError | RequestLimitExceededError | ResourceNotFoundError | TransactionConflictError @@ -832,6 +834,7 @@ interface DynamoDBService$ { | InvalidEndpointError | ItemCollectionSizeLimitExceededError | ProvisionedThroughputExceededError + | ReplicatedWriteConflictError | RequestLimitExceededError | ResourceNotFoundError | TransactionConflictError @@ -1066,6 +1069,7 @@ interface DynamoDBService$ { | InvalidEndpointError | ItemCollectionSizeLimitExceededError | ProvisionedThroughputExceededError + | ReplicatedWriteConflictError | RequestLimitExceededError | ResourceNotFoundError | TransactionConflictError diff --git a/packages/client-dynamodb/src/Errors.ts b/packages/client-dynamodb/src/Errors.ts index 69d1671..946f8f4 100644 --- a/packages/client-dynamodb/src/Errors.ts +++ b/packages/client-dynamodb/src/Errors.ts @@ -23,6 +23,7 @@ import type { ProvisionedThroughputExceededException, ReplicaAlreadyExistsException, ReplicaNotFoundException, + ReplicatedWriteConflictException, RequestLimitExceeded, ResourceInUseException, ResourceNotFoundException, @@ -60,6 +61,7 @@ export const AllServiceErrors = [ "ProvisionedThroughputExceededException", "ReplicaAlreadyExistsException", "ReplicaNotFoundException", + "ReplicatedWriteConflictException", "RequestLimitExceeded", "ResourceInUseException", "ResourceNotFoundException", @@ -110,6 +112,8 @@ export type ProvisionedThroughputExceededError = export type ReplicaAlreadyExistsError = TaggedException; export type ReplicaNotFoundError = TaggedException; +export type ReplicatedWriteConflictError = + TaggedException; export type RequestLimitExceededError = TaggedException; export type ResourceInUseError = TaggedException; export type ResourceNotFoundError = TaggedException; diff --git a/packages/client-eventbridge/src/Errors.ts b/packages/client-eventbridge/src/Errors.ts index c2bb1c9..91b44d7 100644 --- a/packages/client-eventbridge/src/Errors.ts +++ b/packages/client-eventbridge/src/Errors.ts @@ -1,4 +1,5 @@ import type { + AccessDeniedException, ConcurrentModificationException, IllegalStatusException, InternalException, @@ -10,10 +11,12 @@ import type { PolicyLengthExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, + ThrottlingException, } from "@aws-sdk/client-eventbridge"; import { Data } from "effect"; export const AllServiceErrors = [ + "AccessDeniedException", "ConcurrentModificationException", "IllegalStatusException", "InternalException", @@ -25,12 +28,14 @@ export const AllServiceErrors = [ "PolicyLengthExceededException", "ResourceAlreadyExistsException", "ResourceNotFoundException", + "ThrottlingException", ]; export type TaggedException = T & { readonly _tag: T["name"]; }; +export type AccessDeniedError = TaggedException; export type ConcurrentModificationError = TaggedException; export type IllegalStatusError = TaggedException; @@ -47,6 +52,7 @@ export type PolicyLengthExceededError = export type ResourceAlreadyExistsError = TaggedException; export type ResourceNotFoundError = TaggedException; +export type ThrottlingError = TaggedException; export type SdkError = TaggedException; export const SdkError = Data.tagged("SdkError"); diff --git a/packages/client-eventbridge/src/EventBridgeService.ts b/packages/client-eventbridge/src/EventBridgeService.ts index ed630d4..9dd7d24 100644 --- a/packages/client-eventbridge/src/EventBridgeService.ts +++ b/packages/client-eventbridge/src/EventBridgeService.ts @@ -180,6 +180,7 @@ import { import { Data, Effect, Layer, Record } from "effect"; import { AllServiceErrors, + AccessDeniedError, ConcurrentModificationError, IllegalStatusError, InternalError, @@ -191,6 +192,7 @@ import { PolicyLengthExceededError, ResourceAlreadyExistsError, ResourceNotFoundError, + ThrottlingError, SdkError, TaggedException, } from "./Errors"; @@ -349,7 +351,13 @@ interface EventBridgeService$ { options?: HttpHandlerOptions, ): Effect.Effect< CreateConnectionCommandOutput, - SdkError | InternalError | LimitExceededError | ResourceAlreadyExistsError + | SdkError + | AccessDeniedError + | InternalError + | LimitExceededError + | ResourceAlreadyExistsError + | ResourceNotFoundError + | ThrottlingError >; /** @@ -978,10 +986,12 @@ interface EventBridgeService$ { ): Effect.Effect< UpdateConnectionCommandOutput, | SdkError + | AccessDeniedError | ConcurrentModificationError | InternalError | LimitExceededError | ResourceNotFoundError + | ThrottlingError >; /** diff --git a/packages/client-iam/src/Errors.ts b/packages/client-iam/src/Errors.ts index 26bd0eb..5e3c442 100644 --- a/packages/client-iam/src/Errors.ts +++ b/packages/client-iam/src/Errors.ts @@ -1,4 +1,6 @@ import type { + AccountNotManagementOrDelegatedAdministratorException, + CallerIsNotManagementAccountException, ConcurrentModificationException, CredentialReportExpiredException, CredentialReportNotPresentException, @@ -19,10 +21,13 @@ import type { MalformedPolicyDocumentException, NoSuchEntityException, OpenIdIdpCommunicationErrorException, + OrganizationNotFoundException, + OrganizationNotInAllFeaturesModeException, PasswordPolicyViolationException, PolicyEvaluationException, PolicyNotAttachableException, ReportGenerationLimitExceededException, + ServiceAccessNotEnabledException, ServiceFailureException, ServiceNotSupportedException, UnmodifiableEntityException, @@ -31,6 +36,8 @@ import type { import { Data } from "effect"; export const AllServiceErrors = [ + "AccountNotManagementOrDelegatedAdministratorException", + "CallerIsNotManagementAccountException", "ConcurrentModificationException", "CredentialReportExpiredException", "CredentialReportNotPresentException", @@ -51,10 +58,13 @@ export const AllServiceErrors = [ "MalformedPolicyDocumentException", "NoSuchEntityException", "OpenIdIdpCommunicationErrorException", + "OrganizationNotFoundException", + "OrganizationNotInAllFeaturesModeException", "PasswordPolicyViolationException", "PolicyEvaluationException", "PolicyNotAttachableException", "ReportGenerationLimitExceededException", + "ServiceAccessNotEnabledException", "ServiceFailureException", "ServiceNotSupportedException", "UnmodifiableEntityException", @@ -65,6 +75,10 @@ export type TaggedException = T & { readonly _tag: T["name"]; }; +export type AccountNotManagementOrDelegatedAdministratorError = + TaggedException; +export type CallerIsNotManagementAccountError = + TaggedException; export type ConcurrentModificationError = TaggedException; export type CredentialReportExpiredError = @@ -98,6 +112,10 @@ export type MalformedPolicyDocumentError = export type NoSuchEntityError = TaggedException; export type OpenIdIdpCommunicationError = TaggedException; +export type OrganizationNotFoundError = + TaggedException; +export type OrganizationNotInAllFeaturesModeError = + TaggedException; export type PasswordPolicyViolationError = TaggedException; export type PolicyEvaluationError = TaggedException; @@ -105,6 +123,8 @@ export type PolicyNotAttachableError = TaggedException; export type ReportGenerationLimitExceededError = TaggedException; +export type ServiceAccessNotEnabledError = + TaggedException; export type ServiceFailureError = TaggedException; export type ServiceNotSupportedError = TaggedException; diff --git a/packages/client-iam/src/IAMService.ts b/packages/client-iam/src/IAMService.ts index 7c29dc9..8a2ffb1 100644 --- a/packages/client-iam/src/IAMService.ts +++ b/packages/client-iam/src/IAMService.ts @@ -149,9 +149,21 @@ import { DetachUserPolicyCommand, type DetachUserPolicyCommandInput, type DetachUserPolicyCommandOutput, + DisableOrganizationsRootCredentialsManagementCommand, + type DisableOrganizationsRootCredentialsManagementCommandInput, + type DisableOrganizationsRootCredentialsManagementCommandOutput, + DisableOrganizationsRootSessionsCommand, + type DisableOrganizationsRootSessionsCommandInput, + type DisableOrganizationsRootSessionsCommandOutput, EnableMFADeviceCommand, type EnableMFADeviceCommandInput, type EnableMFADeviceCommandOutput, + EnableOrganizationsRootCredentialsManagementCommand, + type EnableOrganizationsRootCredentialsManagementCommandInput, + type EnableOrganizationsRootCredentialsManagementCommandOutput, + EnableOrganizationsRootSessionsCommand, + type EnableOrganizationsRootSessionsCommandInput, + type EnableOrganizationsRootSessionsCommandOutput, GenerateCredentialReportCommand, type GenerateCredentialReportCommandInput, type GenerateCredentialReportCommandOutput, @@ -287,6 +299,9 @@ import { ListOpenIDConnectProvidersCommand, type ListOpenIDConnectProvidersCommandInput, type ListOpenIDConnectProvidersCommandOutput, + ListOrganizationsFeaturesCommand, + type ListOrganizationsFeaturesCommandInput, + type ListOrganizationsFeaturesCommandOutput, ListPoliciesCommand, type ListPoliciesCommandInput, type ListPoliciesCommandOutput, @@ -486,6 +501,8 @@ import { import { Data, Effect, Layer, Record } from "effect"; import { AllServiceErrors, + AccountNotManagementOrDelegatedAdministratorError, + CallerIsNotManagementAccountError, ConcurrentModificationError, CredentialReportExpiredError, CredentialReportNotPresentError, @@ -506,10 +523,13 @@ import { MalformedPolicyDocumentError, NoSuchEntityError, OpenIdIdpCommunicationError, + OrganizationNotFoundError, + OrganizationNotInAllFeaturesModeError, PasswordPolicyViolationError, PolicyEvaluationError, PolicyNotAttachableError, ReportGenerationLimitExceededError, + ServiceAccessNotEnabledError, ServiceFailureError, ServiceNotSupportedError, UnmodifiableEntityError, @@ -584,7 +604,11 @@ const commands = { DetachGroupPolicyCommand, DetachRolePolicyCommand, DetachUserPolicyCommand, + DisableOrganizationsRootCredentialsManagementCommand, + DisableOrganizationsRootSessionsCommand, EnableMFADeviceCommand, + EnableOrganizationsRootCredentialsManagementCommand, + EnableOrganizationsRootSessionsCommand, GenerateCredentialReportCommand, GenerateOrganizationsAccessReportCommand, GenerateServiceLastAccessedDetailsCommand, @@ -630,6 +654,7 @@ const commands = { ListMFADevicesCommand, ListOpenIDConnectProviderTagsCommand, ListOpenIDConnectProvidersCommand, + ListOrganizationsFeaturesCommand, ListPoliciesCommand, ListPoliciesGrantingServiceAccessCommand, ListPolicyTagsCommand, @@ -1396,6 +1421,36 @@ interface IAMService$ { | ServiceFailureError >; + /** + * @see {@link DisableOrganizationsRootCredentialsManagementCommand} + */ + disableOrganizationsRootCredentialsManagement( + args: DisableOrganizationsRootCredentialsManagementCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + DisableOrganizationsRootCredentialsManagementCommandOutput, + | SdkError + | AccountNotManagementOrDelegatedAdministratorError + | OrganizationNotFoundError + | OrganizationNotInAllFeaturesModeError + | ServiceAccessNotEnabledError + >; + + /** + * @see {@link DisableOrganizationsRootSessionsCommand} + */ + disableOrganizationsRootSessions( + args: DisableOrganizationsRootSessionsCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + DisableOrganizationsRootSessionsCommandOutput, + | SdkError + | AccountNotManagementOrDelegatedAdministratorError + | OrganizationNotFoundError + | OrganizationNotInAllFeaturesModeError + | ServiceAccessNotEnabledError + >; + /** * @see {@link EnableMFADeviceCommand} */ @@ -1414,6 +1469,38 @@ interface IAMService$ { | ServiceFailureError >; + /** + * @see {@link EnableOrganizationsRootCredentialsManagementCommand} + */ + enableOrganizationsRootCredentialsManagement( + args: EnableOrganizationsRootCredentialsManagementCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + EnableOrganizationsRootCredentialsManagementCommandOutput, + | SdkError + | AccountNotManagementOrDelegatedAdministratorError + | CallerIsNotManagementAccountError + | OrganizationNotFoundError + | OrganizationNotInAllFeaturesModeError + | ServiceAccessNotEnabledError + >; + + /** + * @see {@link EnableOrganizationsRootSessionsCommand} + */ + enableOrganizationsRootSessions( + args: EnableOrganizationsRootSessionsCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + EnableOrganizationsRootSessionsCommandOutput, + | SdkError + | AccountNotManagementOrDelegatedAdministratorError + | CallerIsNotManagementAccountError + | OrganizationNotFoundError + | OrganizationNotInAllFeaturesModeError + | ServiceAccessNotEnabledError + >; + /** * @see {@link GenerateCredentialReportCommand} */ @@ -1907,6 +1994,21 @@ interface IAMService$ { SdkError | ServiceFailureError >; + /** + * @see {@link ListOrganizationsFeaturesCommand} + */ + listOrganizationsFeatures( + args: ListOrganizationsFeaturesCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + ListOrganizationsFeaturesCommandOutput, + | SdkError + | AccountNotManagementOrDelegatedAdministratorError + | OrganizationNotFoundError + | OrganizationNotInAllFeaturesModeError + | ServiceAccessNotEnabledError + >; + /** * @see {@link ListPoliciesCommand} */ diff --git a/packages/client-opensearch/src/OpenSearchService.ts b/packages/client-opensearch/src/OpenSearchService.ts index 54749fb..3e9f16d 100644 --- a/packages/client-opensearch/src/OpenSearchService.ts +++ b/packages/client-opensearch/src/OpenSearchService.ts @@ -11,12 +11,18 @@ import { AddDataSourceCommand, type AddDataSourceCommandInput, type AddDataSourceCommandOutput, + AddDirectQueryDataSourceCommand, + type AddDirectQueryDataSourceCommandInput, + type AddDirectQueryDataSourceCommandOutput, AddTagsCommand, type AddTagsCommandInput, type AddTagsCommandOutput, AssociatePackageCommand, type AssociatePackageCommandInput, type AssociatePackageCommandOutput, + AssociatePackagesCommand, + type AssociatePackagesCommandInput, + type AssociatePackagesCommandOutput, AuthorizeVpcEndpointAccessCommand, type AuthorizeVpcEndpointAccessCommandInput, type AuthorizeVpcEndpointAccessCommandOutput, @@ -47,6 +53,9 @@ import { DeleteDataSourceCommand, type DeleteDataSourceCommandInput, type DeleteDataSourceCommandOutput, + DeleteDirectQueryDataSourceCommand, + type DeleteDirectQueryDataSourceCommandInput, + type DeleteDirectQueryDataSourceCommandOutput, DeleteDomainCommand, type DeleteDomainCommandInput, type DeleteDomainCommandOutput, @@ -110,6 +119,9 @@ import { DissociatePackageCommand, type DissociatePackageCommandInput, type DissociatePackageCommandOutput, + DissociatePackagesCommand, + type DissociatePackagesCommandInput, + type DissociatePackagesCommandOutput, GetApplicationCommand, type GetApplicationCommandInput, type GetApplicationCommandOutput, @@ -119,6 +131,9 @@ import { GetDataSourceCommand, type GetDataSourceCommandInput, type GetDataSourceCommandOutput, + GetDirectQueryDataSourceCommand, + type GetDirectQueryDataSourceCommandInput, + type GetDirectQueryDataSourceCommandOutput, GetDomainMaintenanceStatusCommand, type GetDomainMaintenanceStatusCommandInput, type GetDomainMaintenanceStatusCommandOutput, @@ -137,6 +152,9 @@ import { ListDataSourcesCommand, type ListDataSourcesCommandInput, type ListDataSourcesCommandOutput, + ListDirectQueryDataSourcesCommand, + type ListDirectQueryDataSourcesCommandInput, + type ListDirectQueryDataSourcesCommandOutput, ListDomainMaintenancesCommand, type ListDomainMaintenancesCommandInput, type ListDomainMaintenancesCommandOutput, @@ -194,12 +212,18 @@ import { UpdateDataSourceCommand, type UpdateDataSourceCommandInput, type UpdateDataSourceCommandOutput, + UpdateDirectQueryDataSourceCommand, + type UpdateDirectQueryDataSourceCommandInput, + type UpdateDirectQueryDataSourceCommandOutput, UpdateDomainConfigCommand, type UpdateDomainConfigCommandInput, type UpdateDomainConfigCommandOutput, UpdatePackageCommand, type UpdatePackageCommandInput, type UpdatePackageCommandOutput, + UpdatePackageScopeCommand, + type UpdatePackageScopeCommandInput, + type UpdatePackageScopeCommandOutput, UpdateScheduledActionCommand, type UpdateScheduledActionCommandInput, type UpdateScheduledActionCommandOutput, @@ -253,8 +277,10 @@ export interface HttpHandlerOptions { const commands = { AcceptInboundConnectionCommand, AddDataSourceCommand, + AddDirectQueryDataSourceCommand, AddTagsCommand, AssociatePackageCommand, + AssociatePackagesCommand, AuthorizeVpcEndpointAccessCommand, CancelDomainConfigChangeCommand, CancelServiceSoftwareUpdateCommand, @@ -265,6 +291,7 @@ const commands = { CreateVpcEndpointCommand, DeleteApplicationCommand, DeleteDataSourceCommand, + DeleteDirectQueryDataSourceCommand, DeleteDomainCommand, DeleteInboundConnectionCommand, DeleteOutboundConnectionCommand, @@ -286,15 +313,18 @@ const commands = { DescribeReservedInstancesCommand, DescribeVpcEndpointsCommand, DissociatePackageCommand, + DissociatePackagesCommand, GetApplicationCommand, GetCompatibleVersionsCommand, GetDataSourceCommand, + GetDirectQueryDataSourceCommand, GetDomainMaintenanceStatusCommand, GetPackageVersionHistoryCommand, GetUpgradeHistoryCommand, GetUpgradeStatusCommand, ListApplicationsCommand, ListDataSourcesCommand, + ListDirectQueryDataSourcesCommand, ListDomainMaintenancesCommand, ListDomainNamesCommand, ListDomainsForPackageCommand, @@ -314,8 +344,10 @@ const commands = { StartServiceSoftwareUpdateCommand, UpdateApplicationCommand, UpdateDataSourceCommand, + UpdateDirectQueryDataSourceCommand, UpdateDomainConfigCommand, UpdatePackageCommand, + UpdatePackageScopeCommand, UpdateScheduledActionCommand, UpdateVpcEndpointCommand, UpgradeDomainCommand, @@ -356,6 +388,23 @@ interface OpenSearchService$ { | ValidationError >; + /** + * @see {@link AddDirectQueryDataSourceCommand} + */ + addDirectQueryDataSource( + args: AddDirectQueryDataSourceCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + AddDirectQueryDataSourceCommandOutput, + | SdkError + | BaseError + | DisabledOperationError + | InternalError + | LimitExceededError + | ResourceNotFoundError + | ValidationError + >; + /** * @see {@link AddTagsCommand} */ @@ -384,6 +433,23 @@ interface OpenSearchService$ { | ValidationError >; + /** + * @see {@link AssociatePackagesCommand} + */ + associatePackages( + args: AssociatePackagesCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + AssociatePackagesCommandOutput, + | SdkError + | BaseError + | ConflictError + | DisabledOperationError + | InternalError + | ResourceNotFoundError + | ValidationError + >; + /** * @see {@link AuthorizeVpcEndpointAccessCommand} */ @@ -552,6 +618,22 @@ interface OpenSearchService$ { | ValidationError >; + /** + * @see {@link DeleteDirectQueryDataSourceCommand} + */ + deleteDirectQueryDataSource( + args: DeleteDirectQueryDataSourceCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + DeleteDirectQueryDataSourceCommandOutput, + | SdkError + | BaseError + | DisabledOperationError + | InternalError + | ResourceNotFoundError + | ValidationError + >; + /** * @see {@link DeleteDomainCommand} */ @@ -858,6 +940,23 @@ interface OpenSearchService$ { | ValidationError >; + /** + * @see {@link DissociatePackagesCommand} + */ + dissociatePackages( + args: DissociatePackagesCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + DissociatePackagesCommandOutput, + | SdkError + | BaseError + | ConflictError + | DisabledOperationError + | InternalError + | ResourceNotFoundError + | ValidationError + >; + /** * @see {@link GetApplicationCommand} */ @@ -908,6 +1007,22 @@ interface OpenSearchService$ { | ValidationError >; + /** + * @see {@link GetDirectQueryDataSourceCommand} + */ + getDirectQueryDataSource( + args: GetDirectQueryDataSourceCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + GetDirectQueryDataSourceCommandOutput, + | SdkError + | BaseError + | DisabledOperationError + | InternalError + | ResourceNotFoundError + | ValidationError + >; + /** * @see {@link GetDomainMaintenanceStatusCommand} */ @@ -1006,6 +1121,22 @@ interface OpenSearchService$ { | ValidationError >; + /** + * @see {@link ListDirectQueryDataSourcesCommand} + */ + listDirectQueryDataSources( + args: ListDirectQueryDataSourcesCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + ListDirectQueryDataSourcesCommandOutput, + | SdkError + | BaseError + | DisabledOperationError + | InternalError + | ResourceNotFoundError + | ValidationError + >; + /** * @see {@link ListDomainMaintenancesCommand} */ @@ -1288,6 +1419,22 @@ interface OpenSearchService$ { | ValidationError >; + /** + * @see {@link UpdateDirectQueryDataSourceCommand} + */ + updateDirectQueryDataSource( + args: UpdateDirectQueryDataSourceCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + UpdateDirectQueryDataSourceCommandOutput, + | SdkError + | BaseError + | DisabledOperationError + | InternalError + | ResourceNotFoundError + | ValidationError + >; + /** * @see {@link UpdateDomainConfigCommand} */ @@ -1322,6 +1469,22 @@ interface OpenSearchService$ { | ValidationError >; + /** + * @see {@link UpdatePackageScopeCommand} + */ + updatePackageScope( + args: UpdatePackageScopeCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + UpdatePackageScopeCommandOutput, + | SdkError + | BaseError + | DisabledOperationError + | InternalError + | ResourceNotFoundError + | ValidationError + >; + /** * @see {@link UpdateScheduledActionCommand} */ diff --git a/packages/client-rds/src/Errors.ts b/packages/client-rds/src/Errors.ts index 19262f7..a68e221 100644 --- a/packages/client-rds/src/Errors.ts +++ b/packages/client-rds/src/Errors.ts @@ -30,6 +30,7 @@ import type { DBInstanceAutomatedBackupNotFoundFault, DBInstanceAutomatedBackupQuotaExceededFault, DBInstanceNotFoundFault, + DBInstanceNotReadyFault, DBInstanceRoleAlreadyExistsFault, DBInstanceRoleNotFoundFault, DBInstanceRoleQuotaExceededFault, @@ -178,6 +179,7 @@ export const AllServiceErrors = [ "DBInstanceAutomatedBackupNotFoundFault", "DBInstanceAutomatedBackupQuotaExceededFault", "DBInstanceNotFoundFault", + "DBInstanceNotReadyFault", "DBInstanceRoleAlreadyExistsFault", "DBInstanceRoleNotFoundFault", "DBInstanceRoleQuotaExceededFault", @@ -359,6 +361,8 @@ export type DBInstanceAutomatedBackupQuotaExceededFaultError = TaggedException; export type DBInstanceNotFoundFaultError = TaggedException; +export type DBInstanceNotReadyFaultError = + TaggedException; export type DBInstanceRoleAlreadyExistsFaultError = TaggedException; export type DBInstanceRoleNotFoundFaultError = diff --git a/packages/client-rds/src/RDSService.ts b/packages/client-rds/src/RDSService.ts index 76cc90f..777d0a5 100644 --- a/packages/client-rds/src/RDSService.ts +++ b/packages/client-rds/src/RDSService.ts @@ -526,6 +526,7 @@ import { DBInstanceAutomatedBackupNotFoundFaultError, DBInstanceAutomatedBackupQuotaExceededFaultError, DBInstanceNotFoundFaultError, + DBInstanceNotReadyFaultError, DBInstanceRoleAlreadyExistsFaultError, DBInstanceRoleNotFoundFaultError, DBInstanceRoleQuotaExceededFaultError, @@ -1837,7 +1838,7 @@ interface RDSService$ { options?: HttpHandlerOptions, ): Effect.Effect< DescribeDBLogFilesCommandOutput, - SdkError | DBInstanceNotFoundFaultError + SdkError | DBInstanceNotFoundFaultError | DBInstanceNotReadyFaultError >; /** @@ -2175,7 +2176,10 @@ interface RDSService$ { options?: HttpHandlerOptions, ): Effect.Effect< DownloadDBLogFilePortionCommandOutput, - SdkError | DBInstanceNotFoundFaultError | DBLogFileNotFoundFaultError + | SdkError + | DBInstanceNotFoundFaultError + | DBInstanceNotReadyFaultError + | DBLogFileNotFoundFaultError >; /** diff --git a/packages/client-ssm/src/Errors.ts b/packages/client-ssm/src/Errors.ts index 1a39734..2009523 100644 --- a/packages/client-ssm/src/Errors.ts +++ b/packages/client-ssm/src/Errors.ts @@ -130,8 +130,10 @@ import type { UnsupportedInventoryItemContextException, UnsupportedInventorySchemaVersionException, UnsupportedOperatingSystem, + UnsupportedOperationException, UnsupportedParameterType, UnsupportedPlatformType, + ValidationException, } from "@aws-sdk/client-ssm"; import { Data } from "effect"; @@ -267,8 +269,10 @@ export const AllServiceErrors = [ "UnsupportedInventoryItemContextException", "UnsupportedInventorySchemaVersionException", "UnsupportedOperatingSystem", + "UnsupportedOperationException", "UnsupportedParameterType", "UnsupportedPlatformType", + "ValidationException", ]; export type TaggedException = T & { @@ -492,10 +496,13 @@ export type UnsupportedInventorySchemaVersionError = TaggedException; export type UnsupportedOperatingSystemError = TaggedException; +export type UnsupportedOperationError = + TaggedException; export type UnsupportedParameterTypeError = TaggedException; export type UnsupportedPlatformTypeError = TaggedException; +export type ValidationError = TaggedException; export type SdkError = TaggedException; export const SdkError = Data.tagged("SdkError"); diff --git a/packages/client-ssm/src/SSMService.ts b/packages/client-ssm/src/SSMService.ts index 2abc4d3..6165bd1 100644 --- a/packages/client-ssm/src/SSMService.ts +++ b/packages/client-ssm/src/SSMService.ts @@ -215,6 +215,9 @@ import { GetDocumentCommand, type GetDocumentCommandInput, type GetDocumentCommandOutput, + GetExecutionPreviewCommand, + type GetExecutionPreviewCommandInput, + type GetExecutionPreviewCommandOutput, GetInventoryCommand, type GetInventoryCommandInput, type GetInventoryCommandOutput, @@ -302,6 +305,12 @@ import { ListInventoryEntriesCommand, type ListInventoryEntriesCommandInput, type ListInventoryEntriesCommandOutput, + ListNodesCommand, + type ListNodesCommandInput, + type ListNodesCommandOutput, + ListNodesSummaryCommand, + type ListNodesSummaryCommandInput, + type ListNodesSummaryCommandOutput, ListOpsItemEventsCommand, type ListOpsItemEventsCommandInput, type ListOpsItemEventsCommandOutput, @@ -371,6 +380,9 @@ import { StartChangeRequestExecutionCommand, type StartChangeRequestExecutionCommandInput, type StartChangeRequestExecutionCommandOutput, + StartExecutionPreviewCommand, + type StartExecutionPreviewCommandInput, + type StartExecutionPreviewCommandOutput, StartSessionCommand, type StartSessionCommandInput, type StartSessionCommandOutput, @@ -560,8 +572,10 @@ import { UnsupportedInventoryItemContextError, UnsupportedInventorySchemaVersionError, UnsupportedOperatingSystemError, + UnsupportedOperationError, UnsupportedParameterTypeError, UnsupportedPlatformTypeError, + ValidationError, SdkError, TaggedException, } from "./Errors"; @@ -654,6 +668,7 @@ const commands = { GetDefaultPatchBaselineCommand, GetDeployablePatchSnapshotForInstanceCommand, GetDocumentCommand, + GetExecutionPreviewCommand, GetInventoryCommand, GetInventorySchemaCommand, GetMaintenanceWindowCommand, @@ -683,6 +698,8 @@ const commands = { ListDocumentVersionsCommand, ListDocumentsCommand, ListInventoryEntriesCommand, + ListNodesCommand, + ListNodesSummaryCommand, ListOpsItemEventsCommand, ListOpsItemRelatedItemsCommand, ListOpsMetadataCommand, @@ -706,6 +723,7 @@ const commands = { StartAssociationsOnceCommand, StartAutomationExecutionCommand, StartChangeRequestExecutionCommand, + StartExecutionPreviewCommand, StartSessionCommand, StopAutomationExecutionCommand, TerminateSessionCommand, @@ -1681,6 +1699,17 @@ interface SSMService$ { | InvalidDocumentVersionError >; + /** + * @see {@link GetExecutionPreviewCommand} + */ + getExecutionPreview( + args: GetExecutionPreviewCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + GetExecutionPreviewCommandOutput, + SdkError | InternalServerError | ResourceNotFoundError + >; + /** * @see {@link GetInventoryCommand} */ @@ -2077,6 +2106,39 @@ interface SSMService$ { | InvalidTypeNameError >; + /** + * @see {@link ListNodesCommand} + */ + listNodes( + args: ListNodesCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + ListNodesCommandOutput, + | SdkError + | InternalServerError + | InvalidFilterError + | InvalidNextTokenError + | ResourceDataSyncNotFoundError + | UnsupportedOperationError + >; + + /** + * @see {@link ListNodesSummaryCommand} + */ + listNodesSummary( + args: ListNodesSummaryCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + ListNodesSummaryCommandOutput, + | SdkError + | InternalServerError + | InvalidAggregatorError + | InvalidFilterError + | InvalidNextTokenError + | ResourceDataSyncNotFoundError + | UnsupportedOperationError + >; + /** * @see {@link ListOpsItemEventsCommand} */ @@ -2436,6 +2498,17 @@ interface SSMService$ { | InvalidAutomationExecutionParametersError >; + /** + * @see {@link StartExecutionPreviewCommand} + */ + startExecutionPreview( + args: StartExecutionPreviewCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + StartExecutionPreviewCommandOutput, + SdkError | InternalServerError | ValidationError + >; + /** * @see {@link StartSessionCommand} */ diff --git a/packages/client-sts/src/STSService.ts b/packages/client-sts/src/STSService.ts index fb9806f..f540908 100644 --- a/packages/client-sts/src/STSService.ts +++ b/packages/client-sts/src/STSService.ts @@ -14,6 +14,9 @@ import { AssumeRoleWithWebIdentityCommand, type AssumeRoleWithWebIdentityCommandInput, type AssumeRoleWithWebIdentityCommandOutput, + AssumeRootCommand, + type AssumeRootCommandInput, + type AssumeRootCommandOutput, DecodeAuthorizationMessageCommand, type DecodeAuthorizationMessageCommandInput, type DecodeAuthorizationMessageCommandOutput, @@ -66,6 +69,7 @@ const commands = { AssumeRoleCommand, AssumeRoleWithSAMLCommand, AssumeRoleWithWebIdentityCommand, + AssumeRootCommand, DecodeAuthorizationMessageCommand, GetAccessKeyInfoCommand, GetCallerIdentityCommand, @@ -126,6 +130,17 @@ interface STSService$ { | RegionDisabledError >; + /** + * @see {@link AssumeRootCommand} + */ + assumeRoot( + args: AssumeRootCommandInput, + options?: HttpHandlerOptions, + ): Effect.Effect< + AssumeRootCommandOutput, + SdkError | ExpiredTokenError | RegionDisabledError + >; + /** * @see {@link DecodeAuthorizationMessageCommand} */